|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.androidtransfuse.analysis.adapter.ASTElementFactory
@Singleton public class ASTElementFactory
Factory class to build a specific AST tree element from the provided Element base type
| Constructor Summary | |
|---|---|
ASTElementFactory()
|
|
| Method Summary | |
|---|---|
ASTConstructor |
buildASTElementConstructor(ExecutableElement executableElement)
Build an ASTConstructor from the input ExecutableElement |
ASTMethod |
buildASTElementMethod(ExecutableElement executableElement)
Build an ASTMethod from the provided ExecutableElement |
ASTParameter |
buildASTElementParameter(TypeParameterElement typeParameterElement)
Build an ASTParameter from the input TypeParameterElement |
ASTType |
buildASTElementType(DeclaredType declaredType)
|
ASTType |
buildASTElementType(TypeElement typeElement)
Build a ASTType from the provided TypeElement. |
ASTField |
buildASTElementVariable(VariableElement variableElement)
Build a ASTElementField from the given VariableElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ASTElementFactory()
| Method Detail |
|---|
public ASTType buildASTElementType(DeclaredType declaredType)
public ASTType buildASTElementType(TypeElement typeElement)
typeElement - required input Element
public ASTField buildASTElementVariable(VariableElement variableElement)
variableElement - required input Element
public ASTMethod buildASTElementMethod(ExecutableElement executableElement)
executableElement - required input element
public ASTParameter buildASTElementParameter(TypeParameterElement typeParameterElement)
typeParameterElement - required input element
public ASTConstructor buildASTElementConstructor(ExecutableElement executableElement)
executableElement - require input element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||