org.iqual.chaplin.trait
Class TraitResolver
java.lang.Object
org.objectweb.asm.ClassAdapter
org.iqual.chaplin.trait.TraitResolver
- All Implemented Interfaces:
- org.objectweb.asm.ClassVisitor
public class TraitResolver
- extends org.objectweb.asm.ClassAdapter
This class resolves whether the given class is annotated by Trait annotation.
It is used during the byte code injection phase from within TraitTransformer.
| Fields inherited from class org.objectweb.asm.ClassAdapter |
cv |
| Methods inherited from class org.objectweb.asm.ClassAdapter |
visit, 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 |
getTargetType
public org.objectweb.asm.Type getTargetType()
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
resolveTargetType
public static org.objectweb.asm.Type resolveTargetType(String className)
Copyright © 2009 iquality.org. All Rights Reserved.