protected class TypePool.Default.TypeExtractor.MethodExtractor extends org.objectweb.asm.MethodVisitor implements TypePool.Default.AnnotationRegistrant
TypePool.Default.AnnotationRegistrant.AbstractBase, TypePool.Default.AnnotationRegistrant.ForByteCodeElement, TypePool.Default.AnnotationRegistrant.ForTypeVariable| Modifier | Constructor and Description |
|---|---|
protected |
MethodExtractor(int modifiers,
String internalName,
String descriptor,
String genericSignature,
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,
AnnotationValue<?,?> annotationValue)
Registers an annotation value.
|
void |
visitAnnotableParameterCount(int count,
boolean visible) |
org.objectweb.asm.AnnotationVisitor |
visitAnnotation(String descriptor,
boolean visible) |
org.objectweb.asm.AnnotationVisitor |
visitAnnotationDefault() |
void |
visitEnd() |
void |
visitLabel(org.objectweb.asm.Label label) |
void |
visitLocalVariable(String name,
String descriptor,
String signature,
org.objectweb.asm.Label start,
org.objectweb.asm.Label end,
int index) |
void |
visitParameter(String name,
int modifiers) |
org.objectweb.asm.AnnotationVisitor |
visitParameterAnnotation(int index,
String descriptor,
boolean visible) |
org.objectweb.asm.AnnotationVisitor |
visitTypeAnnotation(int rawTypeReference,
org.objectweb.asm.TypePath typePath,
String descriptor,
boolean visible) |
visitAttribute, visitCode, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLdcInsn, visitLineNumber, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitTableSwitchInsn, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeInsn, visitVarInsnprotected MethodExtractor(int modifiers,
String internalName,
String descriptor,
String genericSignature,
String[] exceptionName)
modifiers - The modifiers found for this method.internalName - The internal name found for this method.descriptor - The descriptor found for this method.genericSignature - The generic signature of the method or null if it is not generic.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 visitTypeAnnotation(int rawTypeReference,
org.objectweb.asm.TypePath typePath,
String descriptor,
boolean visible)
visitTypeAnnotation in class org.objectweb.asm.MethodVisitorpublic org.objectweb.asm.AnnotationVisitor visitAnnotation(String descriptor, boolean visible)
visitAnnotation in class org.objectweb.asm.MethodVisitorpublic void visitAnnotableParameterCount(int count,
boolean visible)
visitAnnotableParameterCount in class org.objectweb.asm.MethodVisitorpublic org.objectweb.asm.AnnotationVisitor visitParameterAnnotation(int index,
String descriptor,
boolean visible)
visitParameterAnnotation in class org.objectweb.asm.MethodVisitorpublic void visitLabel(org.objectweb.asm.Label label)
visitLabel in class org.objectweb.asm.MethodVisitorpublic void visitLocalVariable(String name, String descriptor, String signature, org.objectweb.asm.Label start, org.objectweb.asm.Label end, int index)
visitLocalVariable in class org.objectweb.asm.MethodVisitorpublic void visitParameter(String name, int modifiers)
visitParameter in class org.objectweb.asm.MethodVisitorpublic org.objectweb.asm.AnnotationVisitor visitAnnotationDefault()
visitAnnotationDefault in class org.objectweb.asm.MethodVisitorpublic void register(String ignored, AnnotationValue<?,?> annotationValue)
register in interface TypePool.Default.AnnotationRegistrantignored - The name of the annotation value.annotationValue - The value of the annotation.public void onComplete()
onComplete in interface TypePool.Default.AnnotationRegistrantpublic void visitEnd()
visitEnd in class org.objectweb.asm.MethodVisitorCopyright © 2014–2019. All rights reserved.