Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Mirror API DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
TypeVisitor
.
@Deprecated public interface TypeVisitor
A visitor for types, in the style of the standard visitor design pattern.
This is used to operate on a type when the kind
of type is unknown at compile time.
When a visitor is passed to a type's
accept
method,
the most specific visitXxx method applicable to
that type is invoked.
Modifier and Type | Method and Description |
---|---|
void |
visitAnnotationType(AnnotationType t)
Deprecated. Visits an annotation type. |
void |
visitArrayType(ArrayType t)
Deprecated. Visits an array type. |
void |
visitClassType(ClassType t)
Deprecated. Visits a class type. |
void |
visitDeclaredType(DeclaredType t)
Deprecated. Visits a declared type. |
void |
visitEnumType(EnumType t)
Deprecated. Visits an enum type. |
void |
visitInterfaceType(InterfaceType t)
Deprecated. Visits an interface type. |
void |
visitPrimitiveType(PrimitiveType t)
Deprecated. Visits a primitive type. |
void |
visitReferenceType(ReferenceType t)
Deprecated. Visits a reference type. |
void |
visitTypeMirror(TypeMirror t)
Deprecated. Visits a type mirror. |
void |
visitTypeVariable(TypeVariable t)
Deprecated. Visits a type variable. |
void |
visitVoidType(VoidType t)
Deprecated. Visits a void type. |
void |
visitWildcardType(WildcardType t)
Deprecated. Visits a wildcard. |
Method Detail |
---|
void visitTypeMirror(TypeMirror t)
t
- the type to visitvoid visitPrimitiveType(PrimitiveType t)
t
- the type to visitvoid visitVoidType(VoidType t)
t
- the type to visitvoid visitReferenceType(ReferenceType t)
t
- the type to visitvoid visitDeclaredType(DeclaredType t)
t
- the type to visitvoid visitClassType(ClassType t)
t
- the type to visitvoid visitEnumType(EnumType t)
t
- the type to visitvoid visitInterfaceType(InterfaceType t)
t
- the type to visitvoid visitAnnotationType(AnnotationType t)
t
- the type to visitvoid visitArrayType(ArrayType t)
t
- the type to visitvoid visitTypeVariable(TypeVariable t)
t
- the type to visitvoid visitWildcardType(WildcardType t)
t
- the type to visit
|
Mirror API DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2004, 2010, Oracle Corporation. All rights reserved.