|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.tools.xjc.model.nav.EagerNClass
public class EagerNClass
| Constructor Summary | |
|---|---|
EagerNClass(Class type)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
String |
fullName()
Human readable name of this type. |
int |
hashCode()
|
boolean |
isAbstract()
|
boolean |
isBoxedType()
Returns true iff this type represents a class that has a unboxed form. |
JClass |
toType(Outline o,
Aspect aspect)
Returns the representation of this type in code model. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.tools.xjc.model.nav.NType |
|---|
fullName |
| Constructor Detail |
|---|
public EagerNClass(Class type)
| Method Detail |
|---|
public boolean isBoxedType()
NTypeString this is false, but for Integer
this is true.
isBoxedType in interface NType
public JClass toType(Outline o,
Aspect aspect)
NType
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.
toType in interface NClasstoType in interface NTypeaspect - If Aspect.IMPLEMENTATION, this method returns the
implementation specific class that this type represents.
If Aspect.EXPOSED, this method returns the
publicly exposed type that this type represents.
For ordinary classes, the aspect parameter is meaningless.public boolean isAbstract()
isAbstract in interface NClasspublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String fullName()
NType
fullName in interface NType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||