org.androidtransfuse.analysis.astAnalyzer
Class RegistrationAnalyzer
java.lang.Object
org.androidtransfuse.analysis.astAnalyzer.RegistrationAnalyzer
- All Implemented Interfaces:
- ASTAnalysis
public class RegistrationAnalyzer
- extends Object
- implements ASTAnalysis
- Author:
- John Ericksen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegistrationAnalyzer
@Inject
public RegistrationAnalyzer(Analyzer analyzer,
ASTClassFactory astClassFactory,
com.sun.codemodel.JCodeModel codeModel,
VariableInjectionBuilderFactory variableInjectionBuilderFactory,
InjectionPointFactory injectionPointFactory,
ComponentBuilderFactory componentBuilderFactory)
throws NoSuchMethodException
- Throws:
NoSuchMethodException
analyzeType
public void analyzeType(InjectionNode injectionNode,
ASTType astType,
AnalysisContext context)
- Description copied from interface:
ASTAnalysis
- Analyze the given type. Used during the class scanning phase to perform class level operations.
- Specified by:
analyzeType in interface ASTAnalysis
- Parameters:
injectionNode - current injection nodeastType - typecontext - current context
analyzeMethod
public void analyzeMethod(InjectionNode injectionNode,
ASTType concreteType,
ASTMethod astMethod,
AnalysisContext context)
- Description copied from interface:
ASTAnalysis
- Analyze the given method. Used during the class scanning phase to perform method level operations.
- Specified by:
analyzeMethod in interface ASTAnalysis
- Parameters:
injectionNode - current injection nodeconcreteType - concrete type being analyzed. This will be either the same type as represented by the
injection node or a super type under analysis.astMethod - methodcontext - current context
analyzeField
public void analyzeField(InjectionNode injectionNode,
ASTType concreteType,
ASTField astField,
AnalysisContext context)
- Description copied from interface:
ASTAnalysis
- Analyze the given field. Used during the class scanning phase to perform field level operations.
- Specified by:
analyzeField in interface ASTAnalysis
- Parameters:
injectionNode - current injection nodeconcreteType - concrete type being analyzed. This will be either the same type as represented by the
injection node or a super type under analysis.astField - fieldcontext - current context
Copyright © 2012. All Rights Reserved.