com.sun.tools.jxc.model.nav
public class APTNavigator extends Object implements Navigator<TypeMirror,TypeDeclaration,FieldDeclaration,MethodDeclaration>
| Constructor Summary | |
|---|---|
| APTNavigator(AnnotationProcessorEnvironment env) | |
| Method Summary | |
|---|---|
| TypeDeclaration | asDecl(TypeMirror m) |
| TypeDeclaration | asDecl(Class c) |
| <T> TypeMirror | erasure(TypeMirror t) |
| TypeDeclaration | findClass(String className, TypeDeclaration referencePoint) |
| TypeMirror | getBaseClass(TypeMirror type, TypeDeclaration sup) |
| Location | getClassLocation(TypeDeclaration decl) |
| String | getClassName(TypeDeclaration t) |
| String | getClassShortName(TypeDeclaration t) |
| TypeMirror | getComponentType(TypeMirror t) |
| FieldDeclaration | getDeclaredField(TypeDeclaration clazz, String fieldName) |
| Collection<FieldDeclaration> | getDeclaredFields(TypeDeclaration c) |
| Collection<MethodDeclaration> | getDeclaredMethods(TypeDeclaration c) |
| ClassDeclaration | getDeclaringClassForField(FieldDeclaration f) |
| ClassDeclaration | getDeclaringClassForMethod(MethodDeclaration m) |
| FieldDeclaration[] | getEnumConstants(TypeDeclaration clazz) |
| Location | getFieldLocation(FieldDeclaration decl) |
| String | getFieldName(FieldDeclaration f) |
| TypeMirror | getFieldType(FieldDeclaration f) |
| Location | getMethodLocation(MethodDeclaration decl) |
| String | getMethodName(MethodDeclaration m) |
| TypeMirror[] | getMethodParameters(MethodDeclaration m) |
| String | getPackageName(TypeDeclaration clazz) |
| TypeMirror | getPrimitive(Class primitiveType) |
| TypeMirror | getReturnType(MethodDeclaration m) |
| TypeDeclaration | getSuperClass(TypeDeclaration t) |
| TypeMirror | getTypeArgument(TypeMirror typeMirror, int i) |
| String | getTypeName(TypeMirror typeMirror) |
| TypeMirror | getVoidType() |
| boolean | hasDefaultConstructor(TypeDeclaration t) |
| boolean | isAbstract(TypeDeclaration clazz) |
| boolean | isArray(TypeMirror t) |
| boolean | isArrayButNotByteArray(TypeMirror t) |
| boolean | isBridgeMethod(MethodDeclaration method) |
| boolean | isEnum(TypeDeclaration t) |
| boolean | isFinal(TypeDeclaration clazz) |
| boolean | isFinalMethod(MethodDeclaration m) |
| boolean | isInnerClass(TypeDeclaration clazz) |
| boolean | isInterface(TypeDeclaration clazz) |
| boolean | isOverriding(MethodDeclaration method, TypeDeclaration base) |
| boolean | isParameterizedType(TypeMirror t) |
| boolean | isPrimitive(TypeMirror t) |
| boolean | isPublicField(FieldDeclaration f) |
| boolean | isPublicMethod(MethodDeclaration m) |
| boolean | isStaticField(FieldDeclaration f) |
| boolean | isStaticMethod(MethodDeclaration m) |
| boolean | isSubClassOf(TypeMirror sub, TypeMirror sup) |
| boolean | isTransient(FieldDeclaration f) |
| TypeMirror | ref(Class c) |
| TypeMirror | use(TypeDeclaration t) |