- java.lang.Object
-
- com.sun.tools.xjc.model.nav.NavigatorImpl
-
public final class NavigatorImpl extends Object implements Navigator<NType,NClass,Void,Void>
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
Fields Modifier and Type Field Description static NavigatorImpl
theInstance
-
Method Summary
-
-
-
Field Detail
-
theInstance
public static final NavigatorImpl theInstance
-
-
Method Detail
-
getDeclaredFields
public Collection<? extends Void> getDeclaredFields(NClass nClass)
-
getDeclaredMethods
public Collection<? extends Void> getDeclaredMethods(NClass nClass)
-
isStaticMethod
public boolean isStaticMethod(Void aVoid)
-
isFinalMethod
public boolean isFinalMethod(Void aVoid)
-
isArray
public boolean isArray(NType nType)
-
isArrayButNotByteArray
public boolean isArrayButNotByteArray(NType t)
-
isParameterizedType
public boolean isParameterizedType(NType nt)
-
isPrimitive
public boolean isPrimitive(NType type)
-
createParameterizedType
public static NType createParameterizedType(NClass rawType, NType... args)
Creates aNType
representation for a parameterized typeRawType<ParamType1,ParamType2,...>
.
-
hasDefaultConstructor
public boolean hasDefaultConstructor(NClass nClass)
-
isStaticField
public boolean isStaticField(Void aVoid)
-
isPublicMethod
public boolean isPublicMethod(Void aVoid)
-
isPublicField
public boolean isPublicField(Void aVoid)
-
isEnum
public boolean isEnum(NClass c)
-
isAbstract
public boolean isAbstract(NClass clazz)
-
isFinal
@Deprecated public boolean isFinal(NClass clazz)
Deprecated.no class generated by XJC is final.
-
getVoidType
public NType getVoidType()
-
isBridgeMethod
public boolean isBridgeMethod(Void method)
-
isInterface
public boolean isInterface(NClass clazz)
-
isTransient
public boolean isTransient(Void f)
-
isInnerClass
public boolean isInnerClass(NClass clazz)
-
-