org.iqual.chaplin.trait
Class TraitResolver

java.lang.Object
  extended by org.objectweb.asm.ClassAdapter
      extended by 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.


Field Summary
 
Fields inherited from class org.objectweb.asm.ClassAdapter
cv
 
Method Summary
 org.objectweb.asm.Type getTargetType()
           
static org.objectweb.asm.Type resolveTargetType(String className)
           
 org.objectweb.asm.AnnotationVisitor visitAnnotation(String desc, boolean visible)
           
 
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
 

Method Detail

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.