protected class TypePool.Default.TypeExtractor.MethodExtractor extends org.objectweb.asm.MethodVisitor implements TypePool.Default.AnnotationRegistrant
Modifier and Type | Class and Description |
---|---|
protected class |
TypePool.Default.TypeExtractor.MethodExtractor.OnMethodCollector
An annotation registrant for annotations found on the method itself.
|
protected class |
TypePool.Default.TypeExtractor.MethodExtractor.OnMethodParameterCollector
An annotation registrant that collects annotations that are found on a specific parameter.
|
Modifier | Constructor and Description |
---|---|
protected |
MethodExtractor(int modifiers,
String internalName,
String descriptor,
String[] exceptionName)
Creates a method extractor.
|
Modifier and Type | Method and Description |
---|---|
void |
onComplete()
Called once all annotation values are visited.
|
void |
register(String ignored,
TypePool.LazyTypeDescription.AnnotationValue<?,?> annotationValue)
Registers an annotation value.
|
String |
toString() |
org.objectweb.asm.AnnotationVisitor |
visitAnnotation(String descriptor,
boolean visible) |
org.objectweb.asm.AnnotationVisitor |
visitAnnotationDefault() |
void |
visitEnd() |
org.objectweb.asm.AnnotationVisitor |
visitParameterAnnotation(int index,
String descriptor,
boolean visible) |
visitAttribute, visitCode, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitParameter, visitTableSwitchInsn, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation, visitTypeInsn, visitVarInsn
protected MethodExtractor(int modifiers, String internalName, String descriptor, String[] exceptionName)
modifiers
- The modifiers found for this method.internalName
- The internal name found for this method.descriptor
- The descriptor found for this method.exceptionName
- An array of internal names of the exceptions of the found method
or null
if there are no such exceptions.public org.objectweb.asm.AnnotationVisitor visitAnnotation(String descriptor, boolean visible)
visitAnnotation
in class org.objectweb.asm.MethodVisitor
public org.objectweb.asm.AnnotationVisitor visitParameterAnnotation(int index, String descriptor, boolean visible)
visitParameterAnnotation
in class org.objectweb.asm.MethodVisitor
public org.objectweb.asm.AnnotationVisitor visitAnnotationDefault()
visitAnnotationDefault
in class org.objectweb.asm.MethodVisitor
public void register(String ignored, TypePool.LazyTypeDescription.AnnotationValue<?,?> annotationValue)
TypePool.Default.AnnotationRegistrant
register
in interface TypePool.Default.AnnotationRegistrant
ignored
- The name of the annotation value.annotationValue
- The value of the annotation.public void onComplete()
TypePool.Default.AnnotationRegistrant
onComplete
in interface TypePool.Default.AnnotationRegistrant
public void visitEnd()
visitEnd
in class org.objectweb.asm.MethodVisitor
Copyright © 2014. All rights reserved.