protected class Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.ExceptionTableCollector extends MethodVisitor
api, mv
Modifier | Constructor and Description |
---|---|
protected |
ExceptionTableCollector(MethodVisitor methodVisitor)
Creates a new exception table collector.
|
Modifier and Type | Method and Description |
---|---|
AnnotationVisitor |
visitTryCatchAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
void |
visitTryCatchBlock(Label start,
Label end,
Label handler,
String type) |
visitAnnotableParameterCount, visitAnnotation, visitAnnotationDefault, visitAttribute, visitCode, visitEnd, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitParameter, visitParameterAnnotation, visitTableSwitchInsn, visitTypeAnnotation, visitTypeInsn, visitVarInsn
protected ExceptionTableCollector(MethodVisitor methodVisitor)
methodVisitor
- The method visitor for which the try-catch-finally blocks should be written.public void visitTryCatchBlock(Label start, Label end, Label handler, String type)
visitTryCatchBlock
in class MethodVisitor
public AnnotationVisitor visitTryCatchAnnotation(int typeReference, TypePath typePath, String descriptor, boolean visible)
visitTryCatchAnnotation
in class MethodVisitor
Copyright © 2014–2018. All rights reserved.