org.androidtransfuse.analysis.adapter
Class ASTTypeBuilderVisitor

Package class diagram package ASTTypeBuilderVisitor
java.lang.Object
  extended by javax.lang.model.util.AbstractTypeVisitor6<R,P>
      extended by javax.lang.model.util.SimpleTypeVisitor6<ASTType,Void>
          extended by org.androidtransfuse.analysis.adapter.ASTTypeBuilderVisitor
All Implemented Interfaces:
com.google.common.base.Function<TypeMirror,ASTType>, TypeVisitor<ASTType,Void>

public class ASTTypeBuilderVisitor
extends SimpleTypeVisitor6<ASTType,Void>
implements com.google.common.base.Function<TypeMirror,ASTType>

Builder of an ASTType from a TypeMirror input

Author:
John Ericksen

Field Summary
 
Fields inherited from class javax.lang.model.util.SimpleTypeVisitor6
DEFAULT_VALUE
 
Constructor Summary
ASTTypeBuilderVisitor()
           
 
Method Summary
 ASTType apply(TypeMirror input)
           
 void setAstElementFactory(ASTElementFactory astElementFactory)
           
 ASTType visitArray(ArrayType arrayType, Void v)
           
 ASTType visitDeclared(DeclaredType declaredType, Void v)
           
 ASTType visitError(ErrorType errorType, Void v)
           
 ASTType visitExecutable(ExecutableType executableType, Void v)
           
 ASTType visitNoType(NoType noType, Void v)
           
 ASTType visitNull(NullType nullType, Void v)
           
 ASTType visitPrimitive(PrimitiveType primitiveType, Void v)
           
 ASTType visitTypeVariable(TypeVariable typeVariable, Void v)
           
 ASTType visitUnknown(TypeMirror typeMirror, Void v)
           
 ASTType visitWildcard(WildcardType wildcardType, Void v)
           
 
Methods inherited from class javax.lang.model.util.SimpleTypeVisitor6
defaultAction
 
Methods inherited from class javax.lang.model.util.AbstractTypeVisitor6
visit, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

ASTTypeBuilderVisitor

public ASTTypeBuilderVisitor()
Method Detail

visitPrimitive

public ASTType visitPrimitive(PrimitiveType primitiveType,
                              Void v)
Specified by:
visitPrimitive in interface TypeVisitor<ASTType,Void>
Overrides:
visitPrimitive in class SimpleTypeVisitor6<ASTType,Void>

visitNull

public ASTType visitNull(NullType nullType,
                         Void v)
Specified by:
visitNull in interface TypeVisitor<ASTType,Void>
Overrides:
visitNull in class SimpleTypeVisitor6<ASTType,Void>

visitArray

public ASTType visitArray(ArrayType arrayType,
                          Void v)
Specified by:
visitArray in interface TypeVisitor<ASTType,Void>
Overrides:
visitArray in class SimpleTypeVisitor6<ASTType,Void>

visitDeclared

public ASTType visitDeclared(DeclaredType declaredType,
                             Void v)
Specified by:
visitDeclared in interface TypeVisitor<ASTType,Void>
Overrides:
visitDeclared in class SimpleTypeVisitor6<ASTType,Void>

visitError

public ASTType visitError(ErrorType errorType,
                          Void v)
Specified by:
visitError in interface TypeVisitor<ASTType,Void>
Overrides:
visitError in class SimpleTypeVisitor6<ASTType,Void>

visitTypeVariable

public ASTType visitTypeVariable(TypeVariable typeVariable,
                                 Void v)
Specified by:
visitTypeVariable in interface TypeVisitor<ASTType,Void>
Overrides:
visitTypeVariable in class SimpleTypeVisitor6<ASTType,Void>

visitWildcard

public ASTType visitWildcard(WildcardType wildcardType,
                             Void v)
Specified by:
visitWildcard in interface TypeVisitor<ASTType,Void>
Overrides:
visitWildcard in class SimpleTypeVisitor6<ASTType,Void>

visitExecutable

public ASTType visitExecutable(ExecutableType executableType,
                               Void v)
Specified by:
visitExecutable in interface TypeVisitor<ASTType,Void>
Overrides:
visitExecutable in class SimpleTypeVisitor6<ASTType,Void>

visitNoType

public ASTType visitNoType(NoType noType,
                           Void v)
Specified by:
visitNoType in interface TypeVisitor<ASTType,Void>
Overrides:
visitNoType in class SimpleTypeVisitor6<ASTType,Void>

visitUnknown

public ASTType visitUnknown(TypeMirror typeMirror,
                            Void v)
Specified by:
visitUnknown in interface TypeVisitor<ASTType,Void>
Overrides:
visitUnknown in class AbstractTypeVisitor6<ASTType,Void>

setAstElementFactory

@Inject
public void setAstElementFactory(ASTElementFactory astElementFactory)

apply

public ASTType apply(TypeMirror input)
Specified by:
apply in interface com.google.common.base.Function<TypeMirror,ASTType>


Copyright © 2012. All Rights Reserved.