SimpleTypeVisitor6
.@Deprecated 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()
Deprecated.
Creates a new SimpleTypeVisitor.
|
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.
|
public SimpleTypeVisitor()
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
Copyright © 2004, 2013, Oracle and/or its affiliates. All rights reserved.