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

Package class diagram package ASTElementConverter
java.lang.Object
  extended by org.androidtransfuse.analysis.adapter.ASTElementConverter<T>
All Implemented Interfaces:
com.google.common.base.Function<Element,T>

public class ASTElementConverter<T>
extends Object
implements com.google.common.base.Function<Element,T>

Element to AST converter, converts the given type of javax.lang.model.element.Element to the transfuse internal AST representation.

Author:
John Ericksen

Constructor Summary
ASTElementConverter(Class<T> astTypeClass, ElementConverterFactory elementConverterFactory)
           
 
Method Summary
 T apply(Element element)
           
 
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

ASTElementConverter

public ASTElementConverter(Class<T> astTypeClass,
                           ElementConverterFactory elementConverterFactory)
Method Detail

apply

public T apply(Element element)
Specified by:
apply in interface com.google.common.base.Function<Element,T>


Copyright © 2012. All Rights Reserved.