org.springframework.config.java.parsing
Class ClassNameVisitor

java.lang.Object
  extended by org.objectweb.asm.commons.EmptyVisitor
      extended by org.springframework.config.java.parsing.ClassNameVisitor
All Implemented Interfaces:
org.objectweb.asm.AnnotationVisitor, org.objectweb.asm.ClassVisitor, org.objectweb.asm.FieldVisitor, org.objectweb.asm.MethodVisitor

public class ClassNameVisitor
extends org.objectweb.asm.commons.EmptyVisitor

ASM class visitor which looks only for the classname and implemented types. Inner classes are not handled by the visitor but by the lookup class.

Author:
Costin Leau

Constructor Summary
ClassNameVisitor()
           
 
Method Summary
 java.lang.String getClassName()
           
 java.lang.String[] getInterfaceNames()
           
 java.lang.String getSuperName()
           
 java.lang.Class loadClass()
           
 void visit(int version, int access, java.lang.String name, java.lang.String signature, java.lang.String supername, java.lang.String[] interfaces)
           
 
Methods inherited from class org.objectweb.asm.commons.EmptyVisitor
visit, visitAnnotation, visitAnnotation, visitAnnotationDefault, visitArray, visitAttribute, visitCode, visitEnd, visitEnum, visitField, visitFieldInsn, visitIincInsn, visitInnerClass, visitInsn, visitIntInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLookupSwitchInsn, visitMaxs, visitMethod, visitMethodInsn, visitMultiANewArrayInsn, visitOuterClass, visitParameterAnnotation, visitSource, visitTableSwitchInsn, visitTryCatchBlock, visitTypeInsn, visitVarInsn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassNameVisitor

public ClassNameVisitor()
Method Detail

visit

public void visit(int version,
                  int access,
                  java.lang.String name,
                  java.lang.String signature,
                  java.lang.String supername,
                  java.lang.String[] interfaces)
Specified by:
visit in interface org.objectweb.asm.ClassVisitor
Overrides:
visit in class org.objectweb.asm.commons.EmptyVisitor

getClassName

public java.lang.String getClassName()
Returns:
the name

getSuperName

public java.lang.String getSuperName()
Returns:
the superName

getInterfaceNames

public java.lang.String[] getInterfaceNames()
Returns:
the interfaces

loadClass

public java.lang.Class loadClass()


Copyright © 2005-2007 Spring Framework. All Rights Reserved.