org.ow2.asmdex.specificAnnotationParser
Interface ISpecificAnnotationParser

All Known Implementing Classes:
DefaultAnnotationSpecificAnnotationParser, EnclosingClassSpecificAnnotationParser, EnclosingMethodSpecificAnnotationParser, ExceptionSpecificAnnotationParser, InnerClassSpecificAnnotationParser, MemberClassesSpecificAnnotationParser, SignatureSpecificAnnotationParser

public interface ISpecificAnnotationParser

Interface to defines the behavior to perform when finding the desired annotation.

Author:
Julien Névo.

Method Summary
 java.lang.String getAnnotationName()
          Returns the annotation to find.
 void treat(DexFileReader dexFile, ApplicationReader applicationReader, AnnotationVisitor annotationVisitor)
          Behavior to perform when the desired annotation is found.
 

Method Detail

getAnnotationName

java.lang.String getAnnotationName()
Returns the annotation to find.

Returns:
the annotation to find.

treat

void treat(DexFileReader dexFile,
           ApplicationReader applicationReader,
           AnnotationVisitor annotationVisitor)
Behavior to perform when the desired annotation is found.

Parameters:
dexFile - the Dex file.
applicationReader - application reader.
annotationVisitor - visitor that visits the annotation and recovers the information it needs.