Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse JDT
Release 3.5

com.sun.mirror.util
Class SimpleTypeVisitor

java.lang.Object
  extended by 
com.sun.mirror.util.SimpleTypeVisitor
All Implemented Interfaces:
TypeVisitor

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.

Since:
1.5

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

SimpleTypeVisitor

public SimpleTypeVisitor()
Creates a new SimpleTypeVisitor.

Method Detail

visitTypeMirror

public void visitTypeMirror(
TypeMirror t)
Visits a type mirror. The implementation does nothing.

Specified by:
visitTypeMirror in interface TypeVisitor
Parameters:
t - the type to visit

visitPrimitiveType

public void visitPrimitiveType(
PrimitiveType t)
Visits a primitive type. The implementation simply invokes visitTypeMirror.

Specified by:
visitPrimitiveType in interface TypeVisitor
Parameters:
t - the type to visit

visitVoidType

public void visitVoidType(
VoidType t)
Visits a void type. The implementation simply invokes visitTypeMirror.

Specified by:
visitVoidType in interface TypeVisitor
Parameters:
t - the type to visit

visitReferenceType

public void visitReferenceType(
ReferenceType t)
Visits a reference type. The implementation simply invokes visitTypeMirror.

Specified by:
visitReferenceType in interface TypeVisitor
Parameters:
t - the type to visit

visitDeclaredType

public void visitDeclaredType(
DeclaredType t)
Visits a declared type. The implementation simply invokes visitReferenceType.

Specified by:
visitDeclaredType in interface TypeVisitor
Parameters:
t - the type to visit

visitClassType

public void visitClassType(
ClassType t)
Visits a class type. The implementation simply invokes visitDeclaredType.

Specified by:
visitClassType in interface TypeVisitor
Parameters:
t - the type to visit

visitEnumType

public void visitEnumType(
EnumType t)
Visits an enum type. The implementation simply invokes visitClassType.

Specified by:
visitEnumType in interface TypeVisitor
Parameters:
t - the type to visit

visitInterfaceType

public void visitInterfaceType(
InterfaceType t)
Visits an interface type. The implementation simply invokes visitDeclaredType.

Specified by:
visitInterfaceType in interface TypeVisitor
Parameters:
t - the type to visit

visitAnnotationType

public void visitAnnotationType(
AnnotationType t)
Visits an annotation type. The implementation simply invokes visitInterfaceType.

Specified by:
visitAnnotationType in interface TypeVisitor
Parameters:
t - the type to visit

visitArrayType

public void visitArrayType(
ArrayType t)
Visits an array type. The implementation simply invokes visitReferenceType.

Specified by:
visitArrayType in interface TypeVisitor
Parameters:
t - the type to visit

visitTypeVariable

public void visitTypeVariable(
TypeVariable t)
Visits a type variable. The implementation simply invokes visitReferenceType.

Specified by:
visitTypeVariable in interface TypeVisitor
Parameters:
t - the type to visit

visitWildcardType

public void visitWildcardType(
WildcardType t)
Visits a wildcard. The implementation simply invokes visitTypeMirror.

Specified by:
visitWildcardType in interface TypeVisitor
Parameters:
t - the type to visit

Eclipse JDT
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire