|
||||||||||
| 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(java.lang.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()
|
java.lang.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 TypeAndAnnotationpublic void annotate(com.sun.codemodel.JAnnotatable programElement)
TypeAndAnnotation
annotate in interface TypeAndAnnotationpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
TypeAndAnnotationTypeAndAnnotation are equal if they
has the same type and annotations.
equals in interface TypeAndAnnotationequals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||