Top Description Methods
com.sun.tools.xjc.api

public Interface TypeAndAnnotation

Known Direct Implementers
com.sun.tools.xjc.api.impl.s2j.TypeAndAnnotationImpl
Imports
com.sun.codemodel.JAnnotatable, .JType

Java type and associated JAXB annotations.
Author
Kohsuke Kawaguchi

Method Summary

Modifier and TypeMethod and Description
public void
annotate(JAnnotatable programElement)

Annotates the given program element by additional JAXB annotations that need to be there at the point of reference.

public boolean
equals(Object o)

Two are equal if they has the same type and annotations.

public JType

Returns:

never be null.
getTypeClass
()

Returns the Java type.

Method Detail

annotateback to summary
public void annotate(JAnnotatable programElement)

Annotates the given program element by additional JAXB annotations that need to be there at the point of reference.

equalsback to summary
public boolean equals(Object o)

Two are equal if they has the same type and annotations.

Annotations
@Override
getTypeClassback to summary
public 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, call JType#fullName().

Returns:JType

never be null.