|
Mirror API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.mirror.util.SimpleTypeVisitor
public class SimpleTypeVisitor
A simple visitor for types.
The implementations of the methods of this class do nothing but delegate up the type hierarchy. A subclass should override the methods that correspond to the kinds of types on which it will operate.
Constructor Summary | |
---|---|
SimpleTypeVisitor()
Creates a new SimpleTypeVisitor. |
Method Summary | |
---|---|
void |
visitAnnotationType(AnnotationType t)
Visits an annotation type. |
void |
visitArrayType(ArrayType t)
Visits an array type. |
void |
visitClassType(ClassType t)
Visits a class type. |
void |
visitDeclaredType(DeclaredType t)
Visits a declared type. |
void |
visitEnumType(EnumType t)
Visits an enum type. |
void |
visitInterfaceType(InterfaceType t)
Visits an interface type. |
void |
visitPrimitiveType(PrimitiveType t)
Visits a primitive type. |
void |
visitReferenceType(ReferenceType t)
Visits a reference type. |
void |
visitTypeMirror(TypeMirror t)
Visits a type mirror. |
void |
visitTypeVariable(TypeVariable t)
Visits a type variable. |
void |
visitVoidType(VoidType t)
Visits a void type. |
void |
visitWildcardType(WildcardType t)
Visits a wildcard. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleTypeVisitor()
Method Detail |
---|
public void visitTypeMirror(TypeMirror t)
visitTypeMirror
in interface TypeVisitor
t
- the type to visitpublic void visitPrimitiveType(PrimitiveType t)
visitTypeMirror
.
visitPrimitiveType
in interface TypeVisitor
t
- the type to visitpublic void visitVoidType(VoidType t)
visitTypeMirror
.
visitVoidType
in interface TypeVisitor
t
- the type to visitpublic void visitReferenceType(ReferenceType t)
visitTypeMirror
.
visitReferenceType
in interface TypeVisitor
t
- the type to visitpublic void visitDeclaredType(DeclaredType t)
visitReferenceType
.
visitDeclaredType
in interface TypeVisitor
t
- the type to visitpublic void visitClassType(ClassType t)
visitDeclaredType
.
visitClassType
in interface TypeVisitor
t
- the type to visitpublic void visitEnumType(EnumType t)
visitClassType
.
visitEnumType
in interface TypeVisitor
t
- the type to visitpublic void visitInterfaceType(InterfaceType t)
visitDeclaredType
.
visitInterfaceType
in interface TypeVisitor
t
- the type to visitpublic void visitAnnotationType(AnnotationType t)
visitInterfaceType
.
visitAnnotationType
in interface TypeVisitor
t
- the type to visitpublic void visitArrayType(ArrayType t)
visitReferenceType
.
visitArrayType
in interface TypeVisitor
t
- the type to visitpublic void visitTypeVariable(TypeVariable t)
visitReferenceType
.
visitTypeVariable
in interface TypeVisitor
t
- the type to visitpublic void visitWildcardType(WildcardType t)
visitTypeMirror
.
visitWildcardType
in interface TypeVisitor
t
- the type to visit
|
Mirror API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |