All Methods Static Methods Concrete Methods
| Modifier and Type |
Method and Description |
static boolean |
areTypesCompatible(TypeMirror type1,
TypeMirror type2) |
static TypeMirror |
boxType(ProcessorContext context,
TypeMirror primitiveType) |
static boolean |
canThrowType(List<? extends TypeMirror> thrownTypes,
TypeMirror exceptionType) |
static List<AnnotationMirror> |
collectAnnotations(ProcessorContext context,
AnnotationMirror markerAnnotation,
String elementName,
Element element,
Class<? extends Annotation> annotationClass) |
static int |
compareByTypeHierarchy(TypeMirror t1,
Set<String> t1SuperSet,
TypeMirror t2,
Set<String> t2SuperSet) |
static int |
compareByTypeHierarchy(TypeMirror t1,
TypeMirror t2) |
static int |
compareMethod(ExecutableElement method1,
ExecutableElement method2) |
static int |
compareType(TypeMirror signature1,
TypeMirror signature2) |
static String |
createConstantName(String simpleName) |
static String |
createReferenceName(ExecutableElement method) |
static boolean |
elementEquals(Element element1,
Element element2) |
static TypeMirror |
eraseGenericTypes(TypeMirror type) |
static boolean |
executableEquals(ExecutableElement var1,
ExecutableElement var2) |
static TypeMirror |
fillInGenericWildcards(TypeMirror type) |
static AnnotationMirror |
findAnnotationMirror(List<? extends AnnotationMirror> mirrors,
TypeElement expectedAnnotationType) |
static AnnotationMirror |
findAnnotationMirror(List<? extends AnnotationMirror> mirrors,
TypeMirror expectedAnnotationType) |
static AnnotationMirror |
findAnnotationMirror(ProcessingEnvironment processingEnv,
Element element,
Class<?> annotationClass) |
static AnnotationMirror |
findAnnotationMirror(ProcessingEnvironment processingEnv,
List<? extends AnnotationMirror> mirrors,
Class<?> annotationClass) |
static ExecutableElement |
findExecutableElement(DeclaredType type,
String name) |
static TypeElement |
findNearestEnclosingType(Element element) |
static PackageElement |
findPackageElement(Element type) |
static TypeElement |
findRootEnclosingType(Element element) |
static VariableElement |
findVariableElement(DeclaredType type,
String name) |
static String |
firstLetterLowerCase(String name) |
static String |
firstLetterUpperCase(String name) |
static String |
fixECJBinaryNameIssue(String name) |
static TypeElement |
fromTypeMirror(TypeMirror mirror) |
static AnnotationValue |
getAnnotationValue(AnnotationMirror mirror,
String name) |
static AnnotationValue |
getAnnotationValue(AnnotationMirror mirror,
String name,
boolean resolveDefault) |
static <T> T |
getAnnotationValue(Class<T> expectedType,
AnnotationMirror mirror,
String name) |
static <T> List<T> |
getAnnotationValueList(Class<T> expectedListType,
AnnotationMirror mirror,
String name) |
static TypeMirror |
getCommonSuperType(ProcessorContext context,
Collection<TypeMirror> types) |
static List<ExecutableElement> |
getDeclaredMethodsInSuperTypes(TypeElement declaringElement,
String name,
TypeMirror... params)
Gets the methods in the super type hierarchy (excluding interfaces) that are overridden by a
method in a subtype.
|
static String |
getDeclaredName(DeclaredType element,
boolean includeTypeVariables) |
static DeclaredType |
getDeclaredType(TypeElement typeElem,
TypeMirror... typeArgs) |
static List<TypeElement> |
getDeclaredTypes(TypeElement element) |
static List<TypeElement> |
getDirectSuperTypes(TypeElement element) |
static List<Element> |
getElementHierarchy(Element e) |
static String |
getEnclosedQualifiedName(DeclaredType mirror) |
static String |
getPackageName(TypeElement element) |
static String |
getPackageName(TypeMirror mirror) |
static String |
getQualifiedName(TypeElement element) |
static String |
getQualifiedName(TypeMirror mirror) |
static List<String> |
getQualifiedSuperTypeNames(TypeElement element) |
static String |
getReadableSignature(ExecutableElement method) |
static String |
getSimpleName(TypeElement element) |
static String |
getSimpleName(TypeMirror mirror) |
static TypeElement |
getSuperType(TypeElement element)
Gets the element representing the super class of a
given type element.
|
static List<TypeElement> |
getSuperTypes(TypeElement element) |
static TypeMirror |
getType(ProcessingEnvironment processingEnv,
Class<?> element) |
static String |
getTypeId(TypeMirror mirror) |
static String |
getUniqueIdentifier(TypeMirror typeMirror) |
static List<String> |
getUniqueIdentifiers(List<TypeMirror> typeMirror) |
static Modifier |
getVisibility(Set<Modifier> modifier) |
static boolean |
hasError(TypeMirror mirror) |
static boolean |
isAssignable(TypeMirror from,
TypeMirror to) |
static boolean |
isDeclaredMethodInSuperType(TypeElement element,
String name,
TypeMirror[] params) |
static boolean |
isEnclosedIn(Element enclosedIn,
Element element) |
static boolean |
isObject(TypeMirror actualType) |
static boolean |
isPrimitive(TypeMirror mirror) |
static boolean |
isSubtype(TypeMirror type1,
TypeMirror type2) |
static boolean |
isSubtypeBoxed(ProcessorContext context,
TypeMirror from,
TypeMirror to) |
static boolean |
isTopLevelClass(TypeMirror importType) |
static boolean |
isVoid(TypeMirror mirror) |
static Set<Modifier> |
modifiers(Modifier... modifier) |
static boolean |
needsCastTo(TypeMirror sourceType,
TypeMirror targetType) |
static String |
printException(Throwable e) |
static void |
setVisibility(Set<Modifier> modifiers,
Modifier visibility) |
static List<TypeMirror> |
sortTypes(List<TypeMirror> list,
boolean reverse) |
static boolean |
typeEquals(TypeMirror type1,
TypeMirror type2) |
static List<TypeMirror> |
uniqueSortedTypes(Collection<TypeMirror> types,
boolean reverse) |
static boolean |
variableEquals(VariableElement var1,
VariableElement var2) |