com.caucho.bytecode
Interface ByteCodeClassMatcher


@Module
public interface ByteCodeClassMatcher

Returns true if the class matches, i.e. if enhancement is necessary.


Method Summary
 void addClassAnnotation(char[] buffer, int offset, int length)
          Adds the class annotation type
 void addInterface(char[] buffer, int offset, int length)
          Adds information about an interface.
 void addPoolString(char[] charBuffer, int offset, int length)
          Adds a class defined in the constant pool
 void addSuperClass(char[] buffer, int offset, int length)
          Adds information about the superclass.
 boolean finishScan()
          Complete the scan.
 boolean isAnnotationMatch(CharBuffer annotationClassName)
          Returns true if the annotation class is a match.
 boolean scanClass(java.lang.String className, int modifiers)
          Returns true if the class is a match.
 

Method Detail

scanClass

boolean scanClass(java.lang.String className,
                  int modifiers)
Returns true if the class is a match.


isAnnotationMatch

boolean isAnnotationMatch(CharBuffer annotationClassName)
Returns true if the annotation class is a match.


addSuperClass

void addSuperClass(char[] buffer,
                   int offset,
                   int length)
Adds information about the superclass.


addInterface

void addInterface(char[] buffer,
                  int offset,
                  int length)
Adds information about an interface.


addClassAnnotation

void addClassAnnotation(char[] buffer,
                        int offset,
                        int length)
Adds the class annotation type


addPoolString

void addPoolString(char[] charBuffer,
                   int offset,
                   int length)
Adds a class defined in the constant pool


finishScan

boolean finishScan()
Complete the scan.