org.androidtransfuse.analysis.astAnalyzer
Class DeclareFieldAnalysis

Package class diagram package DeclareFieldAnalysis
java.lang.Object
  extended by org.androidtransfuse.analysis.astAnalyzer.ASTAnalysisAdaptor
      extended by 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

Constructor Summary
DeclareFieldAnalysis()
           
 
Method Summary
 void analyzeType(InjectionNode injectionNode, ASTType astType, AnalysisContext context)
          Analyze the given type.
 
Methods inherited from class org.androidtransfuse.analysis.astAnalyzer.ASTAnalysisAdaptor
analyzeField, analyzeMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeclareFieldAnalysis

public DeclareFieldAnalysis()
Method Detail

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 node
astType - type
context - current context


Copyright © 2012. All Rights Reserved.