com.springsource.bundlor.support.asm
Class ArtefactAnalyserFieldVisitor

java.lang.Object
  extended by org.objectweb.asm.commons.EmptyVisitor
      extended by com.springsource.bundlor.support.asm.ArtefactAnalyserFieldVisitor
All Implemented Interfaces:
org.objectweb.asm.AnnotationVisitor, org.objectweb.asm.ClassVisitor, org.objectweb.asm.FieldVisitor, org.objectweb.asm.MethodVisitor

final class ArtefactAnalyserFieldVisitor
extends org.objectweb.asm.commons.EmptyVisitor
implements org.objectweb.asm.FieldVisitor

ASM FieldVisitor for scanning class files.

Concurrent Semantics
Not thread safe.

Author:
Glyn Normington

Field Summary
private  PartialManifest partialManifest
          That PartialManifest being updated.
private  org.objectweb.asm.Type type
          The type that is being scanned.
 
Constructor Summary
ArtefactAnalyserFieldVisitor(PartialManifest partialManifest, org.objectweb.asm.Type type)
          Creates a new ArtefactAnalyserClassVisitor to scan the supplied PartialManifest.
 
Method Summary
 org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String desc, boolean visible)
          
 
Methods inherited from class org.objectweb.asm.commons.EmptyVisitor
visit, visit, visitAnnotation, visitAnnotationDefault, visitArray, visitAttribute, visitCode, visitEnd, visitEnum, visitField, visitFieldInsn, visitFrame, 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
 
Methods inherited from interface org.objectweb.asm.FieldVisitor
visitAttribute, visitEnd
 

Field Detail

partialManifest

private final PartialManifest partialManifest
That PartialManifest being updated.


type

private final org.objectweb.asm.Type type
The type that is being scanned.

Constructor Detail

ArtefactAnalyserFieldVisitor

ArtefactAnalyserFieldVisitor(PartialManifest partialManifest,
                             org.objectweb.asm.Type type)
Creates a new ArtefactAnalyserClassVisitor to scan the supplied PartialManifest.

Parameters:
partialManifest - the PartialManifest to scan.
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