类 LocalVariableTableParameterNameDiscoverer.LocalVariableTableVisitor
java.lang.Object
cn.taketoday.bytecode.MethodVisitor
cn.taketoday.core.LocalVariableTableParameterNameDiscoverer.LocalVariableTableVisitor
private static class LocalVariableTableParameterNameDiscoverer.LocalVariableTableVisitor
extends MethodVisitor
-
字段概要
字段修饰符和类型字段说明private final Type[]private final Class<?>private static final Stringprivate final Map<Executable,String[]> private booleanprivate final booleanprivate final int[]private final Stringprivate final String[]从类继承的字段 cn.taketoday.bytecode.MethodVisitor
mv -
构造器概要
构造器构造器说明LocalVariableTableVisitor(Class<?> clazz, Map<Executable, String[]> map, String name, String desc, boolean isStatic) -
方法概要
修饰符和类型方法说明private static int[]computeLvtSlotIndices(boolean isStatic, Type[] paramTypes) private static booleanisWideType(Type aType) private ExecutablevoidvisitEnd()Visits the end of the method.voidvisitLocalVariable(String name, String description, String signature, Label start, Label end, int index) Visits a local variable declaration.从类继承的方法 cn.taketoday.bytecode.MethodVisitor
visitAnnotableParameterCount, visitAnnotation, visitAnnotationDefault, visitAttribute, visitCode, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitParameter, visitParameterAnnotation, visitTableSwitchInsn, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation, visitTypeInsn, visitVarInsn
-
字段详细资料
-
CONSTRUCTOR
- 另请参阅:
-
name
-
args
-
clazz
-
isStatic
private final boolean isStatic -
parameterNames
-
executableMap
-
hasLvtInfo
private boolean hasLvtInfo -
lvtSlotIndex
private final int[] lvtSlotIndex
-
-
构造器详细资料
-
LocalVariableTableVisitor
-
-
方法详细资料
-
visitLocalVariable
public void visitLocalVariable(String name, String description, String signature, Label start, Label end, int index) 从类复制的说明:MethodVisitorVisits a local variable declaration.- 覆盖:
visitLocalVariable在类中MethodVisitor- 参数:
name- the name of a local variable.description- the type descriptor of this local variable.signature- the type signature of this local variable. May be null if the local variable type does not use generic types.start- the first instruction corresponding to the scope of this local variable (inclusive).end- the last instruction corresponding to the scope of this local variable (exclusive).index- the local variable's index.
-
visitEnd
public void visitEnd()从类复制的说明:MethodVisitorVisits the end of the method. This method, which is the last one to be called, is used to inform the visitor that all the annotations and attributes of the method have been visited.- 覆盖:
visitEnd在类中MethodVisitor
-
resolveExecutable
-
computeLvtSlotIndices
-
isWideType
-