org.iqual.chaplin
Class ToContextFieldsResolver

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

public class ToContextFieldsResolver
extends org.objectweb.asm.ClassAdapter

This class searches for all context fields (ie. annotated by ToContext) in the given context class.

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 FieldDescriptor resolve(String contextClassName, String fieldName)
           
 void visit(int version, int access, String name, String signature, String superName, String[] interfaces)
           
 org.objectweb.asm.FieldVisitor visitField(int access, String name, String desc, String signature, Object value)
           
 
Methods inherited from class org.objectweb.asm.ClassAdapter
visitAnnotation, visitAttribute, visitEnd, visitInnerClass, visitMethod, visitOuterClass, visitSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

visitField

public org.objectweb.asm.FieldVisitor visitField(int access,
                                                 String name,
                                                 String desc,
                                                 String signature,
                                                 Object value)
Specified by:
visitField in interface org.objectweb.asm.ClassVisitor
Overrides:
visitField in class org.objectweb.asm.ClassAdapter

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

resolve

public static FieldDescriptor resolve(String contextClassName,
                                      String fieldName)


Copyright © 2009 iquality.org. All Rights Reserved.