Package com.sun.tools.xjc.model.nav
Class EagerNClass
java.lang.Object
com.sun.tools.xjc.model.nav.EagerNClass
- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EagerNClass
-
-
Method Details
-
isBoxedType
public boolean isBoxedType()Description copied from interface:NType
Returns true iff this type represents a class that has a unboxed form. For example, forString
this is false, but forInteger
this is true.- Specified by:
isBoxedType
in interfaceNType
-
toType
Description copied from interface:NType
Returns the representation of this type in code model.This operation requires the whole model to be built, and hence it takes
Outline
.Under some code generation strategy, some bean classes are considered implementation specific (such as impl.FooImpl class) These classes always have accompanying "exposed" type (such as the Foo interface).
For such Jekyll and Hyde type, the aspect parameter determines which personality is returned.
- Specified by:
toType
in interfaceNClass
- Specified by:
toType
in interfaceNType
aspect
- IfAspect.IMPLEMENTATION
, this method returns the implementation specific class that this type represents. IfAspect.EXPOSED
, this method returns the publicly exposed type that this type represents. For ordinary classes, the aspect parameter is meaningless.
-
isAbstract
public boolean isAbstract()- Specified by:
isAbstract
in interfaceNClass
-
equals
-
hashCode
public int hashCode() -
fullName
Description copied from interface:NType
Human readable name of this type.
-