org.androidtransfuse.analysis.astAnalyzer
Class RegistrationAnalyzer

Package class diagram package RegistrationAnalyzer
java.lang.Object
  extended by org.androidtransfuse.analysis.astAnalyzer.RegistrationAnalyzer
All Implemented Interfaces:
ASTAnalysis

public class RegistrationAnalyzer
extends Object
implements ASTAnalysis

Author:
John Ericksen

Constructor Summary
RegistrationAnalyzer(Analyzer analyzer, ASTClassFactory astClassFactory, com.sun.codemodel.JCodeModel codeModel, VariableInjectionBuilderFactory variableInjectionBuilderFactory, InjectionPointFactory injectionPointFactory, ComponentBuilderFactory componentBuilderFactory)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistrationAnalyzer

@Inject
public RegistrationAnalyzer(Analyzer analyzer,
                                   ASTClassFactory astClassFactory,
                                   com.sun.codemodel.JCodeModel codeModel,
                                   VariableInjectionBuilderFactory variableInjectionBuilderFactory,
                                   InjectionPointFactory injectionPointFactory,
                                   ComponentBuilderFactory componentBuilderFactory)
                     throws NoSuchMethodException
Throws:
NoSuchMethodException
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
Parameters:
injectionNode - current injection node
astType - type
context - 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 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

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 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.