org.iqual.chaplin
Class BondClassResolver

java.lang.Object
  extended by org.objectweb.asm.ClassAdapter
      extended by org.iqual.chaplin.BondClassResolver
All Implemented Interfaces:
org.objectweb.asm.ClassVisitor

public class BondClassResolver
extends org.objectweb.asm.ClassAdapter

This class resolves whether the given class is a bond class. A class is a bond class if it is annotated by the Binder annotation or it implements the IBinder interface.

Since:
Mar 10, 2009 11:14:50 PM
Author:
Zbynek Slajchrt

Field Summary
 
Fields inherited from class org.objectweb.asm.ClassAdapter
cv
 
Method Summary
static boolean isBondClass(String className)
           
 void visit(int version, int access, String name, String signature, String superName, String[] interfaces)
           
 org.objectweb.asm.AnnotationVisitor visitAnnotation(String desc, boolean visible)
           
 
Methods inherited from class org.objectweb.asm.ClassAdapter
visitAttribute, visitEnd, visitField, visitInnerClass, visitMethod, visitOuterClass, visitSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

visit

public void visit(int version,
                  int access,
                  String name,
                  String signature,
                  String superName,
                  String[] interfaces)
Specified by:
visit in interface org.objectweb.asm.ClassVisitor
Overrides:
visit in class org.objectweb.asm.ClassAdapter

visitAnnotation

public org.objectweb.asm.AnnotationVisitor visitAnnotation(String desc,
                                                           boolean visible)
Specified by:
visitAnnotation in interface org.objectweb.asm.ClassVisitor
Overrides:
visitAnnotation in class org.objectweb.asm.ClassAdapter

isBondClass

public static boolean isBondClass(String className)


Copyright © 2009 iquality.org. All Rights Reserved.