org.springframework.config.java.parsing
Class AnnotationTypeFilter.AnnotationReader

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

public static class AnnotationTypeFilter.AnnotationReader
extends org.objectweb.asm.commons.EmptyVisitor

ASM annotation visitor used for reading innerClasses without loading the class. The reader is simplified and considers only the innerClasses description and not their value.


Constructor Summary
AnnotationTypeFilter.AnnotationReader()
           
 
Method Summary
protected  java.util.List<java.lang.String> createList()
           
 java.util.List<java.lang.String> getAnnotationNames()
           
 org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String desc, boolean visible)
           
 org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String name, java.lang.String desc)
           
 
Methods inherited from class org.objectweb.asm.commons.EmptyVisitor
visit, visit, 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

AnnotationTypeFilter.AnnotationReader

public AnnotationTypeFilter.AnnotationReader()
Method Detail

visitAnnotation

public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String desc,
                                                           boolean visible)
Specified by:
visitAnnotation in interface org.objectweb.asm.ClassVisitor
Specified by:
visitAnnotation in interface org.objectweb.asm.FieldVisitor
Specified by:
visitAnnotation in interface org.objectweb.asm.MethodVisitor
Overrides:
visitAnnotation in class org.objectweb.asm.commons.EmptyVisitor

visitAnnotation

public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String name,
                                                           java.lang.String desc)
Specified by:
visitAnnotation in interface org.objectweb.asm.AnnotationVisitor
Overrides:
visitAnnotation in class org.objectweb.asm.commons.EmptyVisitor

createList

protected java.util.List<java.lang.String> createList()

getAnnotationNames

public java.util.List<java.lang.String> getAnnotationNames()
Returns:
the annotations


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