Spec-Zone .ru
спецификации, руководства, описания, API

Mirror API
DRAFT ea-b118

com.sun.mirror.util
Interface TypeVisitor

All Known Implementing Classes:
SimpleTypeVisitor

Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is 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.

Since:
1.5

Method Summary
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

visitTypeMirror

void visitTypeMirror(TypeMirror t)
Deprecated. 
Visits a type mirror.

Parameters:
t - the type to visit

visitPrimitiveType

void visitPrimitiveType(PrimitiveType t)
Deprecated. 
Visits a primitive type.

Parameters:
t - the type to visit

visitVoidType

void visitVoidType(VoidType t)
Deprecated. 
Visits a void type.

Parameters:
t - the type to visit

visitReferenceType

void visitReferenceType(ReferenceType t)
Deprecated. 
Visits a reference type.

Parameters:
t - the type to visit

visitDeclaredType

void visitDeclaredType(DeclaredType t)
Deprecated. 
Visits a declared type.

Parameters:
t - the type to visit

visitClassType

void visitClassType(ClassType t)
Deprecated. 
Visits a class type.

Parameters:
t - the type to visit

visitEnumType

void visitEnumType(EnumType t)
Deprecated. 
Visits an enum type.

Parameters:
t - the type to visit

visitInterfaceType

void visitInterfaceType(InterfaceType t)
Deprecated. 
Visits an interface type.

Parameters:
t - the type to visit

visitAnnotationType

void visitAnnotationType(AnnotationType t)
Deprecated. 
Visits an annotation type.

Parameters:
t - the type to visit

visitArrayType

void visitArrayType(ArrayType t)
Deprecated. 
Visits an array type.

Parameters:
t - the type to visit

visitTypeVariable

void visitTypeVariable(TypeVariable t)
Deprecated. 
Visits a type variable.

Parameters:
t - the type to visit

visitWildcardType

void visitWildcardType(WildcardType t)
Deprecated. 
Visits a wildcard.

Parameters:
t - the type to visit

Mirror API
DRAFT ea-b118

Copyright © 2004, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.