FileDocCategorySizeDatePackage
SimpleTypeVisitor.javaAPI DocJava SE 5 API3711Fri Aug 26 14:55:16 BST 2005com.sun.mirror.util

SimpleTypeVisitor

public class SimpleTypeVisitor extends Object implements TypeVisitor
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.

author
Joseph D. Darcy
author
Scott Seligman
version
1.4 04/06/07
since
1.5

Fields Summary
Constructors Summary
public SimpleTypeVisitor()
Creates a new SimpleTypeVisitor.

Methods Summary
public voidvisitAnnotationType(com.sun.mirror.type.AnnotationType t)
Visits an annotation type. The implementation simply invokes {@link #visitInterfaceType visitInterfaceType}.

param
t the type to visit

	visitInterfaceType(t);
    
public voidvisitArrayType(com.sun.mirror.type.ArrayType t)
Visits an array type. The implementation simply invokes {@link #visitReferenceType visitReferenceType}.

param
t the type to visit

	visitReferenceType(t);
    
public voidvisitClassType(com.sun.mirror.type.ClassType t)
Visits a class type. The implementation simply invokes {@link #visitDeclaredType visitDeclaredType}.

param
t the type to visit

	visitDeclaredType(t);
    
public voidvisitDeclaredType(com.sun.mirror.type.DeclaredType t)
Visits a declared type. The implementation simply invokes {@link #visitReferenceType visitReferenceType}.

param
t the type to visit

	visitReferenceType(t);
    
public voidvisitEnumType(com.sun.mirror.type.EnumType t)
Visits an enum type. The implementation simply invokes {@link #visitClassType visitClassType}.

param
t the type to visit

	visitClassType(t);
    
public voidvisitInterfaceType(com.sun.mirror.type.InterfaceType t)
Visits an interface type. The implementation simply invokes {@link #visitDeclaredType visitDeclaredType}.

param
t the type to visit

	visitDeclaredType(t);
    
public voidvisitPrimitiveType(com.sun.mirror.type.PrimitiveType t)
Visits a primitive type. The implementation simply invokes {@link #visitTypeMirror visitTypeMirror}.

param
t the type to visit

	visitTypeMirror(t);
    
public voidvisitReferenceType(com.sun.mirror.type.ReferenceType t)
Visits a reference type. The implementation simply invokes {@link #visitTypeMirror visitTypeMirror}.

param
t the type to visit

	visitTypeMirror(t);
    
public voidvisitTypeMirror(com.sun.mirror.type.TypeMirror t)
Visits a type mirror. The implementation does nothing.

param
t the type to visit

    
public voidvisitTypeVariable(com.sun.mirror.type.TypeVariable t)
Visits a type variable. The implementation simply invokes {@link #visitReferenceType visitReferenceType}.

param
t the type to visit

	visitReferenceType(t);
    
public voidvisitVoidType(com.sun.mirror.type.VoidType t)
Visits a void type. The implementation simply invokes {@link #visitTypeMirror visitTypeMirror}.

param
t the type to visit

	visitTypeMirror(t);
    
public voidvisitWildcardType(com.sun.mirror.type.WildcardType t)
Visits a wildcard. The implementation simply invokes {@link #visitTypeMirror visitTypeMirror}.

param
t the type to visit

	visitTypeMirror(t);