public interface TypeAndAnnotation
Modifier and Type | Method and Description |
---|---|
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.
|
com.sun.codemodel.JType getTypeClass()
JType
is a representation of a Java type in a codeModel.
If you just need the fully-qualified class name, call JType.fullName()
.
void annotate(com.sun.codemodel.JAnnotatable programElement)
boolean equals(java.lang.Object o)
TypeAndAnnotation
are equal if they
has the same type and annotations.equals
in class java.lang.Object