|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.tools.xjc.api.impl.s2j.TypeAndAnnotationImpl
final class TypeAndAnnotationImpl
TypeAndAnnotation
implementation.
Constructor Summary | |
---|---|
TypeAndAnnotationImpl(Outline outline,
TypeUse typeUse)
|
Method Summary | |
---|---|
void |
annotate(com.sun.codemodel.JAnnotatable programElement)
Annotates the given program element by additional JAXB annotations that need to be there at the point of reference. |
boolean |
equals(Object o)
Two TypeAndAnnotation are equal if they
has the same type and annotations. |
com.sun.codemodel.JType |
getTypeClass()
Returns the Java type. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TypeAndAnnotationImpl(Outline outline, TypeUse typeUse)
Method Detail |
---|
public com.sun.codemodel.JType getTypeClass()
TypeAndAnnotation
JType
is a representation of a Java type in a codeModel.
If you just need the fully-qualified class name, call JType.fullName()
.
getTypeClass
in interface TypeAndAnnotation
public void annotate(com.sun.codemodel.JAnnotatable programElement)
TypeAndAnnotation
annotate
in interface TypeAndAnnotation
public String toString()
toString
in class Object
public boolean equals(Object o)
TypeAndAnnotation
TypeAndAnnotation
are equal if they
has the same type and annotations.
equals
in interface TypeAndAnnotation
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |