Package com.sun.tools.xjc.api
Interface TypeAndAnnotation
public interface TypeAndAnnotation
Java type and associated JAXB annotations.
- Author:
- Kohsuke Kawaguchi
-
Method Summary
Modifier and TypeMethodDescriptionvoid
annotate
(JAnnotatable programElement) Annotates the given program element by additional JAXB annotations that need to be there at the point of reference.boolean
Two are equal if they has the same type and annotations.Returns the Java type.
-
Method Details
-
getTypeClass
JType getTypeClass()Returns the Java type.JType
is a representation of a Java type in a codeModel. If you just need the fully-qualified class name, callJType.fullName()
.- Returns:
- never be null.
-
annotate
Annotates the given program element by additional JAXB annotations that need to be there at the point of reference. -
equals
Two are equal if they has the same type and annotations.
-