Java javax.lang.model.element TypeElement fields, constructors, methods, implement or subclass

Example usage for Java javax.lang.model.element TypeElement fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.lang.model.element TypeElement.

The text is from its open source code.

Implementation

javax.lang.model.element.TypeElement has the following implementations.
Click this link to see all its implementation.

Method

TypeMirrorasType()
Returns the type defined by this type element, returning the prototypical type for an element representing a generic type.
booleanequals(Object obj)
Returns true if the argument represents the same element as this , or false otherwise.
AgetAnnotation(Class annotationType)
ListgetAnnotationMirrors()

To get inherited annotations as well, use Elements#getAllAnnotationMirrors(Element) getAllAnnotationMirrors .

A[]getAnnotationsByType(Class annotationType)
Returns annotations that are associated with this construct.
ClassgetClass()
Returns the runtime class of this Object .
ListgetEnclosedElements()
Returns the fields, methods, constructors, and member types that are directly declared in this class or interface.
ElementgetEnclosingElement()
Returns the package of a top-level type and returns the immediately lexically enclosing element for a NestingKind#isNested nested type.
ListgetInterfaces()
Returns the interface types directly implemented by this class or extended by this interface.
ElementKindgetKind()
Returns the kind of this element.
SetgetModifiers()
Returns the modifiers of this element, excluding annotations.
NestingKindgetNestingKind()
Returns the nesting kind of this type element.
NamegetQualifiedName()
Returns the fully qualified name of this type element.
NamegetSimpleName()
Returns the simple name of this type element.
TypeMirrorgetSuperclass()
Returns the direct superclass of this type element.
ListgetTypeParameters()
Returns the formal type parameters of this type element in declaration order.
StringtoString()
Returns a string representation of the object.