org.androidtransfuse.analysis.adapter
Class ASTTypeElementConverter<T>

Package class diagram package ASTTypeElementConverter
java.lang.Object
  extended by javax.lang.model.util.AbstractElementVisitor6<R,P>
      extended by javax.lang.model.util.SimpleElementVisitor6<T,R>
          extended by org.androidtransfuse.util.ElementVisitorAdaptor<T,Void>
              extended by org.androidtransfuse.analysis.adapter.ASTTypeElementConverter<T>
Type Parameters:
T -
All Implemented Interfaces:
ElementVisitor<T,Void>

public class ASTTypeElementConverter<T>
extends ElementVisitorAdaptor<T,Void>

Builds the appropriate (expected) ASTType for the visited Element


Field Summary
 
Fields inherited from class javax.lang.model.util.SimpleElementVisitor6
DEFAULT_VALUE
 
Constructor Summary
ASTTypeElementConverter(Class<T> astTypeClass, ASTElementFactory astElementFactory)
           
 
Method Summary
 T visitExecutable(ExecutableElement executableElement, Void aVoid)
           
 T visitType(TypeElement typeElement, Void aVoid)
           
 T visitTypeParameter(TypeParameterElement typeParameterElement, Void aVoid)
           
 T visitVariable(VariableElement variableElement, Void aVoid)
           
 
Methods inherited from class org.androidtransfuse.util.ElementVisitorAdaptor
visitPackage, visitUnknown
 
Methods inherited from class javax.lang.model.util.SimpleElementVisitor6
defaultAction
 
Methods inherited from class javax.lang.model.util.AbstractElementVisitor6
visit, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASTTypeElementConverter

public ASTTypeElementConverter(Class<T> astTypeClass,
                               ASTElementFactory astElementFactory)
Method Detail

visitType

public T visitType(TypeElement typeElement,
                   Void aVoid)
Specified by:
visitType in interface ElementVisitor<T,Void>
Overrides:
visitType in class ElementVisitorAdaptor<T,Void>

visitVariable

public T visitVariable(VariableElement variableElement,
                       Void aVoid)
Specified by:
visitVariable in interface ElementVisitor<T,Void>
Overrides:
visitVariable in class ElementVisitorAdaptor<T,Void>

visitExecutable

public T visitExecutable(ExecutableElement executableElement,
                         Void aVoid)
Specified by:
visitExecutable in interface ElementVisitor<T,Void>
Overrides:
visitExecutable in class ElementVisitorAdaptor<T,Void>

visitTypeParameter

public T visitTypeParameter(TypeParameterElement typeParameterElement,
                            Void aVoid)
Specified by:
visitTypeParameter in interface ElementVisitor<T,Void>
Overrides:
visitTypeParameter in class ElementVisitorAdaptor<T,Void>


Copyright © 2012. All Rights Reserved.