public abstract class AnalysisElement extends Object implements AnnotatedElement
| Modifier and Type | Class and Description |
|---|---|
static class |
AnalysisElement.ElementNotification |
static class |
AnalysisElement.MethodOverrideReachableNotification |
static class |
AnalysisElement.ReachabilityReason |
static class |
AnalysisElement.ReachabilityTraceBuilder |
static class |
AnalysisElement.SubtypeReachableNotification |
| Constructor and Description |
|---|
AnalysisElement() |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotationsByType, getDeclaredAnnotationsByTypepublic abstract AnnotatedElement getWrapped()
protected abstract AnalysisUniverse getUniverse()
public final boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
isAnnotationPresent in interface AnnotatedElementpublic final <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation in interface AnnotatedElementpublic final <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass)
getDeclaredAnnotation in interface AnnotatedElementpublic final Annotation[] getAnnotations()
getAnnotations in interface AnnotatedElementpublic final Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface AnnotatedElementpublic void registerReachabilityNotification(AnalysisElement.ElementNotification notification)
public void notifyReachabilityCallback(AnalysisUniverse universe, AnalysisElement.ElementNotification notification)
protected void notifyReachabilityCallbacks(AnalysisUniverse universe, List<AnalysisFuture<Void>> futures)
public abstract boolean isReachable()
protected abstract void onReachable()
public boolean isTriggered()
protected static void execute(AnalysisUniverse universe, Runnable task)