public class TreeBackedAnnotatedConstruct extends Object
AnnotatedConstruct
that uses only the information
available from a Tree
. This results in an incomplete implementation;
see documentation for individual methods and com.facebook.buck.jvm.java.abi.source
for
more information.Constructor and Description |
---|
TreeBackedAnnotatedConstruct(AnnotatedConstruct underlyingConstruct) |
Modifier and Type | Method and Description |
---|---|
<A extends Annotation> |
getAnnotation(Class<A> annotationType) |
List<? extends com.facebook.buck.jvm.java.abi.source.ArtificialAnnotationMirror> |
getAnnotationMirrors() |
<A extends Annotation> |
getAnnotationsByType(Class<A> annotationType) |
public TreeBackedAnnotatedConstruct(AnnotatedConstruct underlyingConstruct)
public List<? extends com.facebook.buck.jvm.java.abi.source.ArtificialAnnotationMirror> getAnnotationMirrors()
public <A extends Annotation> A getAnnotation(Class<A> annotationType)
public <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationType)