Package com.sun.tools.xjc.model.nav
Class NavigatorImpl
java.lang.Object
com.sun.tools.xjc.model.nav.NavigatorImpl
Navigator
implementation for XJC.
Most of the Navigator methods are used for parsing the model, which doesn't happen
in XJC. So Most of the methods aren't really implemented. Implementations should
be filled in as needed.- Author:
- Kohsuke Kawaguchi
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NClass
static NType
static NType
createParameterizedType
(NClass rawType, NType... args) Creates aNType
representation for a parameterized typeRawType<ParamType1,ParamType2,...>
.static NType
createParameterizedType
(Class rawType, NType... args) <T> NType
getBaseClass
(NType nt, NClass base) getClassName
(NClass nClass) getClassShortName
(NClass nClass) getComponentType
(NType nType) getDeclaredField
(NClass clazz, String fieldName) Collection<? extends Void>
getDeclaredFields
(NClass nClass) Collection<? extends Void>
getDeclaredMethods
(NClass nClass) getDeclaringClassForField
(Void aVoid) getDeclaringClassForMethod
(Void aVoid) Void[]
getEnumConstants
(NClass clazz) getFieldName
(Void aVoid) getFieldType
(Void aVoid) getMethodName
(Void aVoid) NType[]
getMethodParameters
(Void aVoid) getPackageName
(NClass clazz) getPrimitive
(Class primitiveType) getReturnType
(Void aVoid) getSuperClass
(NClass nClass) getTypeArgument
(NType nt, int i) getTypeName
(NType type) boolean
hasDefaultConstructor
(NClass nClass) boolean
isAbstract
(NClass clazz) boolean
boolean
boolean
isBridgeMethod
(Void method) boolean
boolean
Deprecated.no class generated by XJC is final.boolean
isFinalMethod
(Void aVoid) boolean
isInnerClass
(NClass clazz) boolean
isInterface
(NClass clazz) boolean
isOverriding
(Void method, NClass clazz) boolean
boolean
isPrimitive
(NType type) boolean
isPublicField
(Void aVoid) boolean
isPublicMethod
(Void aVoid) boolean
isSameType
(NType t1, NType t2) boolean
isStaticField
(Void aVoid) boolean
isStaticMethod
(Void aVoid) boolean
isSubClassOf
(NType sub, NType sup) boolean
isTransient
(Void f) loadObjectFactory
(NClass referencePoint, String pkg)
-
Field Details
-
theInstance
-
-
Method Details
-
getDeclaringClassForField
-
getDeclaringClassForMethod
-
getFieldType
-
getFieldName
-
getMethodName
-
getReturnType
-
getMethodParameters
-
isStaticMethod
-
isFinalMethod
-
ref
-
ref
-
asDecl
-
getPrimitive
-
create
-
create
-
getFieldLocation
-
getMethodLocation
-
isStaticField
-
isPublicMethod
-
isPublicField
-
getVoidType
-
isBridgeMethod
-
isTransient