All Methods Static Methods Concrete Methods Deprecated Methods
Modifier and Type |
Method and Description |
static AnnotationMirror |
annotationFromAnnotationTree(AnnotationTree tree)
|
static List<? extends AnnotationMirror> |
annotationsFromArrayCreation(NewArrayTree node,
int level)
|
static List<? extends AnnotationMirror> |
annotationsFromTree(AnnotatedTypeTree node)
|
static List<? extends AnnotationMirror> |
annotationsFromTree(TypeParameterTree node)
|
static List<AnnotationMirror> |
annotationsFromTypeAnnotationTrees(List<? extends AnnotationTree> annos)
|
static int |
compareDiagnosticPosition(Tree tree1,
Tree tree2)
Compares tree1 to tree2 by the position at which a diagnostic (e.g., an error message) for
the tree should be printed.
|
static ExecutableElement |
constructor(NewClassTree tree)
|
static com.sun.tools.javac.code.Symbol |
findFunction(Tree tree,
ProcessingEnvironment env)
|
static WildcardType |
getCapturedWildcard(TypeVariable typeVar)
|
static ClassLoader |
getClassLoaderForClass(Class<? extends Object> clazz)
Obtain the class loader for clazz .
|
static com.sun.tools.javac.util.Context |
getJavacContext(ProcessingEnvironment env)
Helper function to extract the javac Context from the javac processing environment.
|
static TypeElement |
getTypeElement(TypeMirror type)
|
static TypeMirror |
greatestLowerBound(ProcessingEnvironment processingEnv,
TypeMirror tm1,
TypeMirror tm2)
|
static boolean |
isAnonymousConstructor(MethodTree method)
|
static boolean |
isCaptured(TypeVariable typeVar)
|
static boolean |
isClassType(TypeMirror type)
|
static boolean |
isFunctionalInterface(TypeMirror type,
ProcessingEnvironment env)
|
static TypeMirror |
leastUpperBound(ProcessingEnvironment processingEnv,
TypeMirror tm1,
TypeMirror tm2)
|
static TypeMirror |
substituteMethodReturnType(ProcessingEnvironment env,
Element methodElement,
TypeMirror substitutedReceiverType)
|
static @Nullable Element |
symbol(Tree tree)
|
static TypeMirror |
typeOf(Tree tree)
|