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

java.lang.Objectorg.androidtransfuse.analysis.adapter.ASTClassFactory
@Singleton public class ASTClassFactory
Factory building AST objects from the relevant class attributes
| Constructor Summary | |
|---|---|
ASTClassFactory(ASTFactory astFactory)
|
|
| Method Summary | |
|---|---|
ASTAnnotation |
buildAnnotation(Annotation annotation)
|
ASTConstructor |
buildASTClassConstructor(Constructor constructor)
Build an AST Constructor from the given constructor |
ASTField |
buildASTClassField(Field field)
Builds an AST Field from the given field |
ASTMethod |
buildASTClassMethod(Method method)
Builds an AST Method fromm the given input method. |
ASTType |
buildASTClassType(Class<?> clazz)
Build an ASTType from the given class |
com.google.common.collect.ImmutableList<ASTParameter> |
buildASTTypeParameters(Class<?>[] parameterTypes,
Type[] genericParameterTypes,
Annotation[][] parameterAnnotations)
Builds the parameters for a set of parallel arrays: type and annotations |
com.google.common.collect.ImmutableList<ASTParameter> |
buildASTTypeParameters(Method method)
Builds the parameters for a given method |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Inject public ASTClassFactory(ASTFactory astFactory)
| Method Detail |
|---|
public ASTType buildASTClassType(Class<?> clazz)
clazz - input Class
public com.google.common.collect.ImmutableList<ASTParameter> buildASTTypeParameters(Method method)
method -
public com.google.common.collect.ImmutableList<ASTParameter> buildASTTypeParameters(Class<?>[] parameterTypes,
Type[] genericParameterTypes,
Annotation[][] parameterAnnotations)
parameterTypes - genericParameterTypes - parameterAnnotations - @return AST Parameterspublic ASTMethod buildASTClassMethod(Method method)
method -
public ASTField buildASTClassField(Field field)
field -
public ASTConstructor buildASTClassConstructor(Constructor constructor)
constructor -
public ASTAnnotation buildAnnotation(Annotation annotation)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||