|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.tools.xjc.api.Reference
public final class Reference
Reference to a JAXB type (from JAX-RPC.)
A reference is a Java type (represented as a TypeMirror
)
and a set of annotations (represented as a Element
).
Together they describe a root reference to a JAXB type binding.
Those two values can be supplied independently, or you can use other convenience constructors to supply two values at once.
Field Summary | |
---|---|
javax.lang.model.element.Element |
annotations
The declaration from which annotations for the type is read. |
javax.lang.model.type.TypeMirror |
type
The JAXB type being referenced. |
Constructor Summary | |
---|---|
Reference(javax.lang.model.element.ExecutableElement method)
Creates a reference from the return type of the method and annotations on the method. |
|
Reference(javax.lang.model.element.TypeElement type,
javax.annotation.processing.ProcessingEnvironment env)
Creates a reference from a class declaration and its annotations. |
|
Reference(javax.lang.model.type.TypeMirror type,
javax.lang.model.element.Element annotations)
Creates a reference by providing two values independently. |
|
Reference(javax.lang.model.element.VariableElement param)
Creates a reference from the parameter type and annotations on the parameter. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final javax.lang.model.type.TypeMirror type
public final javax.lang.model.element.Element annotations
type
is read.
Must not be null.
Constructor Detail |
---|
public Reference(javax.lang.model.element.ExecutableElement method)
public Reference(javax.lang.model.element.VariableElement param)
public Reference(javax.lang.model.element.TypeElement type, javax.annotation.processing.ProcessingEnvironment env)
public Reference(javax.lang.model.type.TypeMirror type, javax.lang.model.element.Element annotations)
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |