public class jdk.internal.org.objectweb.asm.util.CheckAnnotationAdapter extends jdk.internal.org.objectweb.asm.AnnotationVisitor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.org.objectweb.asm.util.CheckAnnotationAdapter
super_class: jdk.internal.org.objectweb.asm.AnnotationVisitor
{
private final boolean useNamedValue;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean visitEndCalled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(jdk.internal.org.objectweb.asm.AnnotationVisitor);
descriptor: (Ljdk/internal/org/objectweb/asm/AnnotationVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokespecial jdk.internal.org.objectweb.asm.util.CheckAnnotationAdapter.<init>:(Ljdk/internal/org/objectweb/asm/AnnotationVisitor;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/objectweb/asm/util/CheckAnnotationAdapter;
0 2 1 annotationVisitor Ljdk/internal/org/objectweb/asm/AnnotationVisitor;
MethodParameters:
Name Flags
annotationVisitor final
void <init>(jdk.internal.org.objectweb.asm.AnnotationVisitor, boolean);
descriptor: (Ljdk/internal/org/objectweb/asm/AnnotationVisitor;Z)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc 524288
aload 1
invokespecial jdk.internal.org.objectweb.asm.AnnotationVisitor.<init>:(ILjdk/internal/org/objectweb/asm/AnnotationVisitor;)V
1: aload 0
iload 2
putfield jdk.internal.org.objectweb.asm.util.CheckAnnotationAdapter.useNamedValue:Z
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/objectweb/asm/util/CheckAnnotationAdapter;
0 3 1 annotationVisitor Ljdk/internal/org/objectweb/asm/AnnotationVisitor;
0 3 2 useNamedValues Z
MethodParameters:
Name Flags
annotationVisitor final
useNamedValues final
public void visit(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual jdk.internal.org.objectweb.asm.util.CheckAnnotationAdapter.checkVisitEndNotCalled:()V
1: aload 0
aload 1
invokevirtual jdk.internal.org.objectweb.asm.util.CheckAnnotationAdapter.checkName:(Ljava/lang/String;)V
2: aload 2
instanceof java.lang.Byte
ifne 21
3: aload 2
instanceof java.lang.Boolean
ifne 21
4: aload 2
instanceof java.lang.Character
ifne 21
5: aload 2
instanceof java.lang.Short
ifne 21
6: aload 2
instanceof java.lang.Integer
ifne 21
7: aload 2
instanceof java.lang.Long
ifne 21
8: aload 2
instanceof java.lang.Float
ifne 21
9: aload 2
instanceof java.lang.Double
ifne 21
10: aload 2
instanceof java.lang.String
ifne 21
11: aload 2
instanceof jdk.internal.org.objectweb.asm.Type
ifne 21
12: aload 2
instanceof byte[]
ifne 21
13: aload 2
instanceof boolean[]
ifne 21
14: aload 2
instanceof char[]
ifne 21
15: aload 2
instanceof short[]
ifne 21
16: aload 2
instanceof int[]
ifne 21
17: aload 2
instanceof long[]
ifne 21
18: aload 2
instanceof float[]
ifne 21
19: aload 2
instanceof double[]
ifne 21
20: new java.lang.IllegalArgumentException
dup
ldc "Invalid annotation value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals:
StackMap stack:
aload 2
instanceof jdk.internal.org.objectweb.asm.Type
ifeq 23
aload 2
checkcast jdk.internal.org.objectweb.asm.Type
invokevirtual jdk.internal.org.objectweb.asm.Type.getSort:()I
bipush 11
if_icmpne 23
22: new java.lang.IllegalArgumentException
dup
ldc "Invalid annotation value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokespecial jdk.internal.org.objectweb.asm.AnnotationVisitor.visit:(Ljava/lang/String;Ljava/lang/Object;)V
24: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Ljdk/internal/org/objectweb/asm/util/CheckAnnotationAdapter;
0 25 1 name Ljava/lang/String;
0 25 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
name final
value final
public void visitEnum(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual jdk.internal.org.objectweb.asm.util.CheckAnnotationAdapter.checkVisitEndNotCalled:()V
1: aload 0
aload 1
invokevirtual jdk.internal.org.objectweb.asm.util.CheckAnnotationAdapter.checkName:(Ljava/lang/String;)V
2: bipush 49
aload 2
iconst_0
invokestatic jdk.internal.org.objectweb.asm.util.CheckMethodAdapter.checkDescriptor:(ILjava/lang/String;Z)V
3: aload 3
ifnonnull 5
4: new java.lang.IllegalArgumentException
dup
ldc "Invalid enum value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokespecial jdk.internal.org.objectweb.asm.AnnotationVisitor.visitEnum:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/org/objectweb/asm/util/CheckAnnotationAdapter;
0 7 1 name Ljava/lang/String;
0 7 2 descriptor Ljava/lang/String;
0 7 3 value Ljava/lang/String;
MethodParameters:
Name Flags
name final
descriptor final
value final
public jdk.internal.org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljdk/internal/org/objectweb/asm/AnnotationVisitor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual jdk.internal.org.objectweb.asm.util.CheckAnnotationAdapter.checkVisitEndNotCalled:()V
1: aload 0
aload 1
invokevirtual jdk.internal.org.objectweb.asm.util.CheckAnnotationAdapter.checkName:(Ljava/lang/String;)V
2: bipush 49
aload 2
iconst_0
invokestatic jdk.internal.org.objectweb.asm.util.CheckMethodAdapter.checkDescriptor:(ILjava/lang/String;Z)V
3: new jdk.internal.org.objectweb.asm.util.CheckAnnotationAdapter
dup
aload 0
aload 1
aload 2
invokespecial jdk.internal.org.objectweb.asm.AnnotationVisitor.visitAnnotation:(Ljava/lang/String;Ljava/lang/String;)Ljdk/internal/org/objectweb/asm/AnnotationVisitor;
invokespecial jdk.internal.org.objectweb.asm.util.CheckAnnotationAdapter.<init>:(Ljdk/internal/org/objectweb/asm/AnnotationVisitor;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/org/objectweb/asm/util/CheckAnnotationAdapter;
0 4 1 name Ljava/lang/String;
0 4 2 descriptor Ljava/lang/String;
MethodParameters:
Name Flags
name final
descriptor final
public jdk.internal.org.objectweb.asm.AnnotationVisitor visitArray(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/org/objectweb/asm/AnnotationVisitor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.internal.org.objectweb.asm.util.CheckAnnotationAdapter.checkVisitEndNotCalled:()V
1: aload 0
aload 1
invokevirtual jdk.internal.org.objectweb.asm.util.CheckAnnotationAdapter.checkName:(Ljava/lang/String;)V
2: new jdk.internal.org.objectweb.asm.util.CheckAnnotationAdapter
dup
aload 0
aload 1
invokespecial jdk.internal.org.objectweb.asm.AnnotationVisitor.visitArray:(Ljava/lang/String;)Ljdk/internal/org/objectweb/asm/AnnotationVisitor;
iconst_0
invokespecial jdk.internal.org.objectweb.asm.util.CheckAnnotationAdapter.<init>:(Ljdk/internal/org/objectweb/asm/AnnotationVisitor;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/objectweb/asm/util/CheckAnnotationAdapter;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
public void visitEnd();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.org.objectweb.asm.util.CheckAnnotationAdapter.checkVisitEndNotCalled:()V
1: aload 0
iconst_1
putfield jdk.internal.org.objectweb.asm.util.CheckAnnotationAdapter.visitEndCalled:Z
2: aload 0
invokespecial jdk.internal.org.objectweb.asm.AnnotationVisitor.visitEnd:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/org/objectweb/asm/util/CheckAnnotationAdapter;
private void checkName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.org.objectweb.asm.util.CheckAnnotationAdapter.useNamedValue:Z
ifeq 2
aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Annotation value name must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/objectweb/asm/util/CheckAnnotationAdapter;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
private void checkVisitEndNotCalled();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.objectweb.asm.util.CheckAnnotationAdapter.visitEndCalled:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Cannot call a visit method after visitEnd has been called"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/objectweb/asm/util/CheckAnnotationAdapter;
}
SourceFile: "CheckAnnotationAdapter.java"