@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) |
JvmAnnotationReference |
removeAnnotation(JvmAnnotationTarget annotationTarget,
java.lang.Class<? extends java.lang.annotation.Annotation> type) |
@Nullable public JvmAnnotationReference findAnnotation(@NonNull JvmAnnotationTarget annotationTarget, @NonNull java.lang.Class<? extends java.lang.annotation.Annotation> lookupType)
@Nullable public JvmAnnotationReference removeAnnotation(@NonNull JvmAnnotationTarget annotationTarget, @NonNull java.lang.Class<? extends java.lang.annotation.Annotation> type)
@Nullable public JvmAnnotationReference findOrAddAnnotation(@NonNull JvmAnnotationTarget annotationTarget, @NonNull org.eclipse.emf.common.notify.Notifier context, @NonNull java.lang.Class<? extends java.lang.annotation.Annotation> type)