@Beta
public class AnnotationLookup
extends java.lang.Object
Constructor and Description |
---|
AnnotationLookup() |
Modifier and Type | Method and Description |
---|---|
JvmAnnotationReference |
findAnnotation(JvmAnnotationTarget annotationTarget,
java.lang.Class<? extends java.lang.annotation.Annotation> lookupType) |
JvmAnnotationReference |
findOrAddAnnotation(JvmAnnotationTarget annotationTarget,
org.eclipse.emf.common.notify.Notifier context,
java.lang.Class<? extends java.lang.annotation.Annotation> type) |
boolean |
isRepeatable(JvmAnnotationType annotationType) |
JvmAnnotationReference |
removeAnnotation(JvmAnnotationTarget annotationTarget,
java.lang.Class<? extends java.lang.annotation.Annotation> type) |
public JvmAnnotationReference findAnnotation(JvmAnnotationTarget annotationTarget, java.lang.Class<? extends java.lang.annotation.Annotation> lookupType)
public JvmAnnotationReference removeAnnotation(JvmAnnotationTarget annotationTarget, java.lang.Class<? extends java.lang.annotation.Annotation> type)
public JvmAnnotationReference findOrAddAnnotation(JvmAnnotationTarget annotationTarget, org.eclipse.emf.common.notify.Notifier context, java.lang.Class<? extends java.lang.annotation.Annotation> type)
public boolean isRepeatable(JvmAnnotationType annotationType)
true
if this annotation is annotated with Java8 Repeatable meta-annotation.