Top Methods
org.graalvm.nativeimage.impl

public Interface AnnotationExtractor

Annotations
@Platforms:HOSTED_ONLY
Imports
java.lang.annotation.Annotation, java.lang.reflect.AnnotatedElement, org.graalvm.nativeimage.Platform, .Platforms

Method Summary

Modifier and TypeMethod and Description
public <T extends Annotation> T
extractAnnotation(AnnotatedElement element, Class<T> annotationType, boolean declaredOnly)

public Class<? extends Annotation>[]
public boolean
hasAnnotation(AnnotatedElement element, Class<? extends Annotation> annotationType)

Method Detail

extractAnnotationback to summary
public <T extends Annotation> T extractAnnotation(AnnotatedElement element, Class<T> annotationType, boolean declaredOnly)
getAnnotationTypesback to summary
public Class<? extends Annotation>[] getAnnotationTypes(AnnotatedElement element)
hasAnnotationback to summary
public boolean hasAnnotation(AnnotatedElement element, Class<? extends Annotation> annotationType)