com.sun.istack.tools
Class APTTypeVisitor<T,P>

java.lang.Object
  extended by com.sun.istack.tools.APTTypeVisitor<T,P>

Deprecated.

@Deprecated
public abstract class APTTypeVisitor<T,P>
extends Object

Visitor that works on APT TypeMirror and computes a value.

This visitor takes a parameter 'P' so that visitor code can be made stateless.

Author:
Kohsuke Kawaguchi

Constructor Summary
APTTypeVisitor()
          Deprecated.  
 
Method Summary
 T apply(TypeMirror type, P param)
          Deprecated.  
protected abstract  T onArrayType(ArrayType type, P param)
          Deprecated.  
protected abstract  T onClassType(ClassType type, P param)
          Deprecated.  
protected abstract  T onInterfaceType(InterfaceType type, P param)
          Deprecated.  
protected abstract  T onPrimitiveType(PrimitiveType type, P param)
          Deprecated.  
protected abstract  T onTypeVariable(TypeVariable type, P param)
          Deprecated.  
protected abstract  T onVoidType(VoidType type, P param)
          Deprecated.  
protected abstract  T onWildcard(WildcardType type, P param)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

APTTypeVisitor

public APTTypeVisitor()
Deprecated. 
Method Detail

apply

public final T apply(TypeMirror type,
                     P param)
Deprecated. 

onPrimitiveType

protected abstract T onPrimitiveType(PrimitiveType type,
                                     P param)
Deprecated. 

onArrayType

protected abstract T onArrayType(ArrayType type,
                                 P param)
Deprecated. 

onClassType

protected abstract T onClassType(ClassType type,
                                 P param)
Deprecated. 

onInterfaceType

protected abstract T onInterfaceType(InterfaceType type,
                                     P param)
Deprecated. 

onTypeVariable

protected abstract T onTypeVariable(TypeVariable type,
                                    P param)
Deprecated. 

onVoidType

protected abstract T onVoidType(VoidType type,
                                P param)
Deprecated. 

onWildcard

protected abstract T onWildcard(WildcardType type,
                                P param)
Deprecated. 


Copyright © 2005-2012 Oracle Corporation. All Rights Reserved.