org.androidtransfuse.analysis.astAnalyzer
Class DeclareFieldAnalysis
java.lang.Object
org.androidtransfuse.analysis.astAnalyzer.ASTAnalysisAdaptor
org.androidtransfuse.analysis.astAnalyzer.DeclareFieldAnalysis
- All Implemented Interfaces:
- ASTAnalysis
public class DeclareFieldAnalysis
- extends ASTAnalysisAdaptor
Analysis to determine if a type is annotated with @DeclareField. If so, it set the AssignmentType of the
ASTInjectionAspect to FIELD.
- Author:
- John Ericksen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeclareFieldAnalysis
public DeclareFieldAnalysis()
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- Overrides:
analyzeType in class ASTAnalysisAdaptor
- Parameters:
injectionNode - current injection nodeastType - typecontext - current context
Copyright © 2012. All Rights Reserved.