public class SimpleTypeVisitor extends Object implements TypeVisitor
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 and Description |
|---|
SimpleTypeVisitor()
Creates a new SimpleTypeVisitor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public void visitTypeMirror(TypeMirror t)
visitTypeMirror in interface TypeVisitort - the type to visitpublic void visitPrimitiveType(PrimitiveType t)
visitTypeMirror.visitPrimitiveType in interface TypeVisitort - the type to visitpublic void visitVoidType(VoidType t)
visitTypeMirror.visitVoidType in interface TypeVisitort - the type to visitpublic void visitReferenceType(ReferenceType t)
visitTypeMirror.visitReferenceType in interface TypeVisitort - the type to visitpublic void visitDeclaredType(DeclaredType t)
visitReferenceType.visitDeclaredType in interface TypeVisitort - the type to visitpublic void visitClassType(ClassType t)
visitDeclaredType.visitClassType in interface TypeVisitort - the type to visitpublic void visitEnumType(EnumType t)
visitClassType.visitEnumType in interface TypeVisitort - the type to visitpublic void visitInterfaceType(InterfaceType t)
visitDeclaredType.visitInterfaceType in interface TypeVisitort - the type to visitpublic void visitAnnotationType(AnnotationType t)
visitInterfaceType.visitAnnotationType in interface TypeVisitort - the type to visitpublic void visitArrayType(ArrayType t)
visitReferenceType.visitArrayType in interface TypeVisitort - the type to visitpublic void visitTypeVariable(TypeVariable t)
visitReferenceType.visitTypeVariable in interface TypeVisitort - the type to visitpublic void visitWildcardType(WildcardType t)
visitTypeMirror.visitWildcardType in interface TypeVisitort - the type to visitCopyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.