Top Methods
com.sun.tools.xjc.model.nav

public Interface NClass

extends NType
Known Direct Implementers
com.sun.tools.xjc.model.nav.NClassByJClass, com.sun.tools.xjc.model.nav.NParameterizedType, com.sun.tools.xjc.model.CClassInfo, com.sun.tools.xjc.model.CClassRef, com.sun.tools.xjc.model.CEnumLeafInfo, com.sun.tools.xjc.model.nav.EagerNClass
Imports
com.sun.codemodel.JClass, com.sun.tools.xjc.outline.Aspect, .Outline

Author
Kohsuke Kawaguchi

Method Summary

Modifier and TypeMethod and Description
public boolean
public JClass
toType(Outline o, Aspect aspect)

Redeclares com.sun.tools.xjc.model.nav.NType.toType.

Returns the representation of this type in code model.

Inherited from com.sun.tools.xjc.model.nav.NType:
fullNameisBoxedType

Method Detail

isAbstractback to summary
public boolean isAbstract()
toTypeback to summary
public JClass toType(Outline o, Aspect aspect)

Redeclares com.sun.tools.xjc.model.nav.NType.toType.

Doc from com.sun.tools.xjc.model.nav.NType.toType.

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.

Annotations
@Override