Package | Description |
---|---|
com.sun.mirror.apt |
Classes used to communicate information between
annotation processors
and an annotation processing tool.
|
com.sun.mirror.declaration |
Interfaces used to model program element declarations.
|
com.sun.mirror.type |
Interfaces used to model types.
|
com.sun.mirror.util |
Utilities to assist in the processing of declarations and types.
|
Modifier and Type | Method and Description |
---|---|
TypeDeclaration |
AnnotationProcessorEnvironment.getTypeDeclaration(String name)
Returns the declaration of a type given its fully qualified name.
|
Modifier and Type | Method and Description |
---|---|
Collection<TypeDeclaration> |
AnnotationProcessorEnvironment.getSpecifiedTypeDeclarations()
Returns the declarations of the types specified when the
annotation processing tool was invoked.
|
Collection<TypeDeclaration> |
AnnotationProcessorEnvironment.getTypeDeclarations()
A convenience method that returns the declarations of the types
included
in this invocation of the annotation processing tool.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AnnotationTypeDeclaration
Represents the declaration of an annotation type.
|
interface |
ClassDeclaration
Represents the declaration of a class.
|
interface |
EnumDeclaration
Represents the declaration of an enum type.
|
interface |
InterfaceDeclaration
Represents the declaration of an interface.
|
Modifier and Type | Method and Description |
---|---|
TypeDeclaration |
MemberDeclaration.getDeclaringType()
Returns the type declaration within which this member or constructor
is declared.
|
Modifier and Type | Method and Description |
---|---|
Collection<TypeDeclaration> |
TypeDeclaration.getNestedTypes()
Returns the declarations of the nested classes and interfaces
that are directly declared by this class or interface.
|
Modifier and Type | Method and Description |
---|---|
TypeDeclaration |
DeclaredType.getDeclaration()
Returns the declaration of this type.
|
Modifier and Type | Method and Description |
---|---|
DeclaredType |
Types.getDeclaredType(DeclaredType containing,
TypeDeclaration decl,
TypeMirror... typeArgs)
Returns the type corresponding to a type declaration
and actual arguments, given a
containing type
of which it is a member.
|
DeclaredType |
Types.getDeclaredType(TypeDeclaration decl,
TypeMirror... typeArgs)
Returns the type corresponding to a type declaration and
actual type arguments.
|
void |
SimpleDeclarationVisitor.visitTypeDeclaration(TypeDeclaration d)
Visits a type declaration.
|
void |
DeclarationVisitor.visitTypeDeclaration(TypeDeclaration d)
Visits a type declaration.
|
Copyright © 2004, 2014, Oracle and/or its affiliates. All rights reserved.