public class ProxettaCtorBuilder extends EmptyMethodVisitor
Modifier and Type | Field and Description |
---|---|
protected MethodVisitor |
methodVisitor |
protected MethodSignatureVisitor |
msign |
protected WorkData |
wd |
api, mv
Constructor and Description |
---|
ProxettaCtorBuilder(MethodVisitor methodVisitor,
MethodSignatureVisitor msign,
WorkData wd) |
Modifier and Type | Method and Description |
---|---|
AnnotationVisitor |
visitAnnotation(java.lang.String desc,
boolean visible)
Visits an annotation of this method.
|
AnnotationVisitor |
visitAnnotationDefault()
Visits the default value of this annotation interface method.
|
void |
visitEnd()
Visits the end of the method.
|
AnnotationVisitor |
visitParameterAnnotation(int parameter,
java.lang.String desc,
boolean visible)
Visits an annotation of a parameter this method.
|
visitAnnotableParameterCount, 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 final MethodSignatureVisitor msign
protected final MethodVisitor methodVisitor
protected final WorkData wd
public ProxettaCtorBuilder(MethodVisitor methodVisitor, MethodSignatureVisitor msign, WorkData wd)
public AnnotationVisitor visitAnnotation(java.lang.String desc, boolean visible)
MethodVisitor
visitAnnotation
in class MethodVisitor
desc
- the class descriptor of the annotation class.visible
- true if the annotation is visible at runtime.public AnnotationVisitor visitParameterAnnotation(int parameter, java.lang.String desc, boolean visible)
MethodVisitor
visitParameterAnnotation
in class MethodVisitor
parameter
- the parameter index. This index must be strictly smaller than the number of
parameters in the method descriptor, and strictly smaller than the parameter count
specified in MethodVisitor.visitAnnotableParameterCount(int, boolean)
. Important note: a parameter index i
is not required to correspond to the i'th parameter descriptor in the method
descriptor, in particular in case of synthetic parameters (see
https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.7.18).desc
- the class descriptor of the annotation class.visible
- true if the annotation is visible at runtime.public AnnotationVisitor visitAnnotationDefault()
MethodVisitor
visitAnnotationDefault
in class MethodVisitor
public void visitEnd()
MethodVisitor
visitEnd
in class MethodVisitor
Copyright © 2003-present Jodd Team