org.datanucleus.enhancer.asm
Class ASMClassEnhancer.MyClassVisitor

java.lang.Object
  extended by org.datanucleus.enhancer.asm.ASMClassEnhancer.MyClassVisitor
All Implemented Interfaces:
org.objectweb.asm.ClassVisitor
Enclosing class:
ASMClassEnhancer

public static class ASMClassEnhancer.MyClassVisitor
extends java.lang.Object
implements org.objectweb.asm.ClassVisitor

Convenience class to look up the class name for a file.


Constructor Summary
ASMClassEnhancer.MyClassVisitor()
           
 
Method Summary
 java.lang.String getClassName()
           
 void visit(int version, int access, java.lang.String name, java.lang.String sig, java.lang.String supername, java.lang.String[] intfs)
           
 org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String desc, boolean visible)
           
 void visitAttribute(org.objectweb.asm.Attribute attr)
           
 void visitEnd()
           
 org.objectweb.asm.FieldVisitor visitField(int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.Object value)
           
 void visitInnerClass(java.lang.String name, java.lang.String outerName, java.lang.String innerName, int access)
           
 org.objectweb.asm.MethodVisitor visitMethod(int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.String[] excpts)
           
 void visitOuterClass(java.lang.String owner, java.lang.String name, java.lang.String desc)
           
 void visitSource(java.lang.String source, java.lang.String debug)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASMClassEnhancer.MyClassVisitor

public ASMClassEnhancer.MyClassVisitor()
Method Detail

getClassName

public java.lang.String getClassName()

visitInnerClass

public void visitInnerClass(java.lang.String name,
                            java.lang.String outerName,
                            java.lang.String innerName,
                            int access)
Specified by:
visitInnerClass in interface org.objectweb.asm.ClassVisitor

visit

public void visit(int version,
                  int access,
                  java.lang.String name,
                  java.lang.String sig,
                  java.lang.String supername,
                  java.lang.String[] intfs)
Specified by:
visit in interface org.objectweb.asm.ClassVisitor

visitAnnotation

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

visitField

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

visitMethod

public org.objectweb.asm.MethodVisitor visitMethod(int access,
                                                   java.lang.String name,
                                                   java.lang.String desc,
                                                   java.lang.String signature,
                                                   java.lang.String[] excpts)
Specified by:
visitMethod in interface org.objectweb.asm.ClassVisitor

visitAttribute

public void visitAttribute(org.objectweb.asm.Attribute attr)
Specified by:
visitAttribute in interface org.objectweb.asm.ClassVisitor

visitOuterClass

public void visitOuterClass(java.lang.String owner,
                            java.lang.String name,
                            java.lang.String desc)
Specified by:
visitOuterClass in interface org.objectweb.asm.ClassVisitor

visitSource

public void visitSource(java.lang.String source,
                        java.lang.String debug)
Specified by:
visitSource in interface org.objectweb.asm.ClassVisitor

visitEnd

public void visitEnd()
Specified by:
visitEnd in interface org.objectweb.asm.ClassVisitor


Copyright © 2009. All Rights Reserved.