org.androidtransfuse.analysis.astAnalyzer
Interface ASTAnalysis

Package class diagram package ASTAnalysis
All Known Implementing Classes:
AOPProxyAnalyzer, ASTAnalysisAdaptor, DeclareFieldAnalysis, InjectionAnalyzer, ListenerAnalysis, NonConfigurationAnalysis, ObservesAnalysis, RegistrationAnalyzer, ScopeAnalysis

public interface ASTAnalysis

Analysis interface targeting the individual elements of an ASTType.

Author:
John Ericksen

Method Summary
 void analyzeField(InjectionNode injectionNode, ASTType concreteType, ASTField astField, AnalysisContext context)
          Analyze the given field.
 void analyzeMethod(InjectionNode injectionNode, ASTType concreteType, ASTMethod astMethod, AnalysisContext context)
          Analyze the given method.
 void analyzeType(InjectionNode injectionNode, ASTType astType, AnalysisContext context)
          Analyze the given type.
 

Method Detail

analyzeType

void analyzeType(InjectionNode injectionNode,
                 ASTType astType,
                 AnalysisContext context)
Analyze the given type. Used during the class scanning phase to perform class level operations.

Parameters:
injectionNode - current injection node
astType - type
context - current context

analyzeMethod

void analyzeMethod(InjectionNode injectionNode,
                   ASTType concreteType,
                   ASTMethod astMethod,
                   AnalysisContext context)
Analyze the given method. Used during the class scanning phase to perform method level operations.

Parameters:
injectionNode - current injection node
concreteType - concrete type being analyzed. This will be either the same type as represented by the injection node or a super type under analysis.
astMethod - method
context - current context

analyzeField

void analyzeField(InjectionNode injectionNode,
                  ASTType concreteType,
                  ASTField astField,
                  AnalysisContext context)
Analyze the given field. Used during the class scanning phase to perform field level operations.

Parameters:
injectionNode - current injection node
concreteType - concrete type being analyzed. This will be either the same type as represented by the injection node or a super type under analysis.
astField - field
context - current context


Copyright © 2012. All Rights Reserved.