public class CheckFieldAdapter
extends org.objectweb.asm.FieldVisitor
FieldVisitor that checks that its methods are properly used.| Modifier | Constructor | Description |
|---|---|---|
protected |
CheckFieldAdapter(int api,
org.objectweb.asm.FieldVisitor fieldVisitor) |
Constructs a new
CheckFieldAdapter. |
|
CheckFieldAdapter(org.objectweb.asm.FieldVisitor fieldVisitor) |
Constructs a new
CheckFieldAdapter. |
| Modifier and Type | Method | Description |
|---|---|---|
org.objectweb.asm.AnnotationVisitor |
visitAnnotation(java.lang.String descriptor,
boolean visible) |
|
void |
visitAttribute(org.objectweb.asm.Attribute attribute) |
|
void |
visitEnd() |
|
org.objectweb.asm.AnnotationVisitor |
visitTypeAnnotation(int typeRef,
org.objectweb.asm.TypePath typePath,
java.lang.String descriptor,
boolean visible) |
public CheckFieldAdapter(org.objectweb.asm.FieldVisitor fieldVisitor)
CheckFieldAdapter. Subclasses must not use this constructor.
Instead, they must use the CheckFieldAdapter(int, FieldVisitor) version.fieldVisitor - the field visitor to which this adapter must delegate calls.java.lang.IllegalStateException - If a subclass calls this constructor.protected CheckFieldAdapter(int api,
org.objectweb.asm.FieldVisitor fieldVisitor)
CheckFieldAdapter.api - the ASM API version implemented by this visitor. Must be one of Opcodes.ASM4, Opcodes.ASM5, Opcodes.ASM6 or Opcodes.ASM7_EXPERIMENTAL.fieldVisitor - the field visitor to which this adapter must delegate calls.public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String descriptor,
boolean visible)
visitAnnotation in class org.objectweb.asm.FieldVisitorpublic org.objectweb.asm.AnnotationVisitor visitTypeAnnotation(int typeRef,
org.objectweb.asm.TypePath typePath,
java.lang.String descriptor,
boolean visible)
visitTypeAnnotation in class org.objectweb.asm.FieldVisitorpublic void visitAttribute(org.objectweb.asm.Attribute attribute)
visitAttribute in class org.objectweb.asm.FieldVisitorpublic void visitEnd()
visitEnd in class org.objectweb.asm.FieldVisitor