public final class ParamExtractor extends EmptyMethodVisitor
api, mv| 限定符和类型 | 方法和说明 |
|---|---|
static <T> T[] |
subarray(T[] buffer,
int offset,
int length)
Returns subarray.
|
static <T> T[] |
subarray(T[] buffer,
int offset,
int length,
Class<T> componentType)
Returns subarray.
|
void |
visitEnd()
Visits the end of the method.
|
void |
visitLocalVariable(String name,
String desc,
String signature,
Label start,
Label end,
int index)
Visits a local variable declaration.
|
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, visitVarInsnpublic void visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index)
MethodVisitorvisitLocalVariable 在类中 MethodVisitorname - the name of a local variable.desc - 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.public void visitEnd()
MethodVisitorvisitEnd 在类中 MethodVisitorpublic static <T> T[] subarray(T[] buffer,
int offset,
int length)
public static <T> T[] subarray(T[] buffer,
int offset,
int length,
Class<T> componentType)
Copyright © 2022. All rights reserved.