org.androidtransfuse.analysis.astAnalyzer
Class ListenerAnalysis

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

public class ListenerAnalysis
extends ASTAnalysisAdaptor

Analyzes the given class for listener annotations. Addes these annotated methods to a ListenerAspect for code generation during the generation phase.

Author:
John Ericksen

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

Constructor Detail

ListenerAnalysis

public ListenerAnalysis()
Method Detail

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
Overrides:
analyzeMethod in class ASTAnalysisAdaptor
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


Copyright © 2012. All Rights Reserved.