Package com.sun.tools.jxc.model.nav
Class ApNavigator
java.lang.Object
com.sun.tools.jxc.model.nav.ApNavigator
- All Implemented Interfaces:
org.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
public final class ApNavigator
extends Object
implements org.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement,VariableElement,ExecutableElement>
Navigator implementation for annotation processing.
TODO: check the spec on how generics are supposed to be handled- Author:
- Kohsuke Kawaguchi (kk@kohsuke.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasDecl(TypeMirror m) getBaseClass(TypeMirror type, TypeElement sup) org.glassfish.jaxb.core.v2.runtime.LocationgetClassLocation(TypeElement typeElement) getDeclaredField(TypeElement clazz, String fieldName) getDeclaredFields(TypeElement typeElement) getDeclaredMethods(TypeElement typeElement) getEnumConstants(TypeElement clazz) org.glassfish.jaxb.core.v2.runtime.LocationgetFieldLocation(VariableElement variableElement) org.glassfish.jaxb.core.v2.runtime.LocationgetMethodLocation(ExecutableElement executableElement) getPackageName(TypeElement clazz) getPrimitive(Class<?> primitiveType) getSuperClass(TypeElement typeElement) getTypeArgument(TypeMirror typeMirror, int i) getTypeName(TypeMirror typeMirror) booleanbooleanisAbstract(TypeElement clazz) booleanisArray(TypeMirror type) booleanbooleanisBridgeMethod(ExecutableElement method) booleanbooleanisFinal(TypeElement clazz) booleanbooleanisInnerClass(TypeElement clazz) booleanisInterface(TypeElement clazz) booleanisOverriding(ExecutableElement method, TypeElement base) booleanisParameterizedType(TypeMirror typeMirror) booleanbooleanbooleanbooleanisSameType(TypeMirror t1, TypeMirror t2) booleanbooleanbooleanisSubClassOf(TypeMirror sub, TypeMirror sup) booleanloadObjectFactory(TypeElement referencePoint, String packageName) use(TypeElement t)
-
Constructor Details
-
ApNavigator
-
-
Method Details
-
getSuperClass
- Specified by:
getSuperClassin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getBaseClass
- Specified by:
getBaseClassin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getClassName
- Specified by:
getClassNamein interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getTypeName
- Specified by:
getTypeNamein interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getClassShortName
- Specified by:
getClassShortNamein interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getDeclaredFields
- Specified by:
getDeclaredFieldsin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getDeclaredField
- Specified by:
getDeclaredFieldin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getDeclaredMethods
- Specified by:
getDeclaredMethodsin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getDeclaringClassForField
- Specified by:
getDeclaringClassForFieldin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getDeclaringClassForMethod
- Specified by:
getDeclaringClassForMethodin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getFieldType
- Specified by:
getFieldTypein interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getFieldName
- Specified by:
getFieldNamein interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getMethodName
- Specified by:
getMethodNamein interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getReturnType
- Specified by:
getReturnTypein interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getMethodParameters
- Specified by:
getMethodParametersin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
isStaticMethod
- Specified by:
isStaticMethodin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
isFinalMethod
- Specified by:
isFinalMethodin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
isSubClassOf
- Specified by:
isSubClassOfin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
ref
- Specified by:
refin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
use
- Specified by:
usein interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
asDecl
- Specified by:
asDeclin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
asDecl
- Specified by:
asDeclin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
erasure
- Specified by:
erasurein interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
isAbstract
- Specified by:
isAbstractin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
isFinal
- Specified by:
isFinalin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getEnumConstants
- Specified by:
getEnumConstantsin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getVoidType
- Specified by:
getVoidTypein interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getPackageName
- Specified by:
getPackageNamein interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
loadObjectFactory
- Specified by:
loadObjectFactoryin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
isBridgeMethod
- Specified by:
isBridgeMethodin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
isOverriding
- Specified by:
isOverridingin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
isInterface
- Specified by:
isInterfacein interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
isTransient
- Specified by:
isTransientin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
isInnerClass
- Specified by:
isInnerClassin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
isSameType
- Specified by:
isSameTypein interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
isArray
- Specified by:
isArrayin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
isArrayButNotByteArray
- Specified by:
isArrayButNotByteArrayin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getComponentType
- Specified by:
getComponentTypein interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getTypeArgument
- Specified by:
getTypeArgumentin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
isParameterizedType
- Specified by:
isParameterizedTypein interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
isPrimitive
- Specified by:
isPrimitivein interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getPrimitive
- Specified by:
getPrimitivein interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getClassLocation
- Specified by:
getClassLocationin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getFieldLocation
public org.glassfish.jaxb.core.v2.runtime.Location getFieldLocation(VariableElement variableElement) - Specified by:
getFieldLocationin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
getMethodLocation
public org.glassfish.jaxb.core.v2.runtime.Location getMethodLocation(ExecutableElement executableElement) - Specified by:
getMethodLocationin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
hasDefaultConstructor
- Specified by:
hasDefaultConstructorin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
isStaticField
- Specified by:
isStaticFieldin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
isPublicMethod
- Specified by:
isPublicMethodin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
isPublicField
- Specified by:
isPublicFieldin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-
isEnum
- Specified by:
isEnumin interfaceorg.glassfish.jaxb.core.v2.model.nav.Navigator<TypeMirror,TypeElement, VariableElement, ExecutableElement>
-