public class sun.reflect.annotation.AnnotationType
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.reflect.annotation.AnnotationType
super_class: java.lang.Object
{
private final java.util.Map<java.lang.String, java.lang.Class<?>> memberTypes;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Class<*>;>;
private final java.util.Map<java.lang.String, java.lang.Object> memberDefaults;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
private final java.util.Map<java.lang.String, java.lang.reflect.Method> members;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/reflect/Method;>;
private final java.lang.annotation.RetentionPolicy retention;
descriptor: Ljava/lang/annotation/RetentionPolicy;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean inherited;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lsun/reflect/annotation/AnnotationType;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.reflect.annotation.AnnotationType.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public static sun.reflect.annotation.AnnotationType getInstance(java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Ljava/lang/Class;)Lsun/reflect/annotation/AnnotationType;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: invokestatic jdk.internal.access.SharedSecrets.getJavaLangAccess:()Ljdk/internal/access/JavaLangAccess;
astore 1
start local 1 1: aload 1
aload 0
invokeinterface jdk.internal.access.JavaLangAccess.getAnnotationType:(Ljava/lang/Class;)Lsun/reflect/annotation/AnnotationType;
astore 2
start local 2 2: aload 2
ifnonnull 7
3: new sun.reflect.annotation.AnnotationType
dup
aload 0
invokespecial sun.reflect.annotation.AnnotationType.<init>:(Ljava/lang/Class;)V
astore 2
4: aload 1
aload 0
aconst_null
aload 2
invokeinterface jdk.internal.access.JavaLangAccess.casAnnotationType:(Ljava/lang/Class;Lsun/reflect/annotation/AnnotationType;Lsun/reflect/annotation/AnnotationType;)Z
ifne 7
5: aload 1
aload 0
invokeinterface jdk.internal.access.JavaLangAccess.getAnnotationType:(Ljava/lang/Class;)Lsun/reflect/annotation/AnnotationType;
astore 2
6: getstatic sun.reflect.annotation.AnnotationType.$assertionsDisabled:Z
ifne 7
aload 2
ifnonnull 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals: jdk.internal.access.JavaLangAccess sun.reflect.annotation.AnnotationType
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 annotationClass Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
1 8 1 jla Ljdk/internal/access/JavaLangAccess;
2 8 2 result Lsun/reflect/annotation/AnnotationType;
Signature: (Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)Lsun/reflect/annotation/AnnotationType;
MethodParameters:
Name Flags
annotationClass
private void <init>(java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=10, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokevirtual java.lang.Class.isAnnotation:()Z
ifne 3
2: new java.lang.IllegalArgumentException
dup
ldc "Not an annotation type"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: sun.reflect.annotation.AnnotationType java.lang.Class
StackMap stack:
new sun.reflect.annotation.AnnotationType$1
dup
aload 0
aload 1
invokespecial sun.reflect.annotation.AnnotationType$1.<init>:(Lsun/reflect/annotation/AnnotationType;Ljava/lang/Class;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.reflect.Method[]
4: astore 2
start local 2 5: aload 0
new java.util.HashMap
dup
aload 2
arraylength
iconst_1
iadd
fconst_1
invokespecial java.util.HashMap.<init>:(IF)V
putfield sun.reflect.annotation.AnnotationType.memberTypes:Ljava/util/Map;
6: aload 0
new java.util.HashMap
dup
iconst_0
invokespecial java.util.HashMap.<init>:(I)V
putfield sun.reflect.annotation.AnnotationType.memberDefaults:Ljava/util/Map;
7: aload 0
new java.util.HashMap
dup
aload 2
arraylength
iconst_1
iadd
fconst_1
invokespecial java.util.HashMap.<init>:(IF)V
putfield sun.reflect.annotation.AnnotationType.members:Ljava/util/Map;
8: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 23
StackMap locals: sun.reflect.annotation.AnnotationType java.lang.Class java.lang.reflect.Method[] top int int java.lang.reflect.Method[]
StackMap stack:
9: aload 6
iload 4
aaload
astore 3
start local 3 10: aload 3
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifeq 22
11: aload 3
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isAbstract:(I)Z
ifeq 22
12: aload 3
invokevirtual java.lang.reflect.Method.isSynthetic:()Z
ifne 22
13: aload 3
invokevirtual java.lang.reflect.Method.getParameterCount:()I
ifeq 15
14: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " has params"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals: sun.reflect.annotation.AnnotationType java.lang.Class java.lang.reflect.Method[] java.lang.reflect.Method int int java.lang.reflect.Method[]
StackMap stack:
aload 3
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
astore 7
start local 7 16: aload 3
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
astore 8
start local 8 17: aload 0
getfield sun.reflect.annotation.AnnotationType.memberTypes:Ljava/util/Map;
aload 7
aload 8
invokestatic sun.reflect.annotation.AnnotationType.invocationHandlerReturnType:(Ljava/lang/Class;)Ljava/lang/Class;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: aload 0
getfield sun.reflect.annotation.AnnotationType.members:Ljava/util/Map;
aload 7
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: aload 3
invokevirtual java.lang.reflect.Method.getDefaultValue:()Ljava/lang/Object;
astore 9
start local 9 20: aload 9
ifnull 22
21: aload 0
getfield sun.reflect.annotation.AnnotationType.memberDefaults:Ljava/util/Map;
aload 7
aload 9
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 9 end local 8 end local 7 end local 3 22: StackMap locals: sun.reflect.annotation.AnnotationType java.lang.Class java.lang.reflect.Method[] top int int java.lang.reflect.Method[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
23: iload 4
iload 5
if_icmplt 9
24: aload 1
ldc Ljava/lang/annotation/Retention;
if_acmpeq 39
25: aload 1
ldc Ljava/lang/annotation/Inherited;
if_acmpeq 39
26: invokestatic jdk.internal.access.SharedSecrets.getJavaLangAccess:()Ljdk/internal/access/JavaLangAccess;
astore 3
start local 3 27: aload 3
aload 1
invokeinterface jdk.internal.access.JavaLangAccess.getRawClassAnnotations:(Ljava/lang/Class;)[B
28: aload 3
aload 1
invokeinterface jdk.internal.access.JavaLangAccess.getConstantPool:(Ljava/lang/Class;)Ljdk/internal/reflect/ConstantPool;
29: aload 1
iconst_2
anewarray java.lang.Class
dup
iconst_0
30: ldc Ljava/lang/annotation/Retention;
aastore
dup
iconst_1
ldc Ljava/lang/annotation/Inherited;
aastore
31: invokestatic sun.reflect.annotation.AnnotationParser.parseSelectAnnotations:([BLjdk/internal/reflect/ConstantPool;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/util/Map;
32: astore 4
start local 4 33: aload 4
ldc Ljava/lang/annotation/Retention;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.annotation.Retention
astore 5
start local 5 34: aload 0
aload 5
ifnonnull 35
getstatic java.lang.annotation.RetentionPolicy.CLASS:Ljava/lang/annotation/RetentionPolicy;
goto 36
StackMap locals: sun.reflect.annotation.AnnotationType java.lang.Class java.lang.reflect.Method[] jdk.internal.access.JavaLangAccess java.util.Map java.lang.annotation.Retention
StackMap stack: sun.reflect.annotation.AnnotationType
35: aload 5
invokeinterface java.lang.annotation.Retention.value:()Ljava/lang/annotation/RetentionPolicy;
StackMap locals: sun.reflect.annotation.AnnotationType java.lang.Class java.lang.reflect.Method[] jdk.internal.access.JavaLangAccess java.util.Map java.lang.annotation.Retention
StackMap stack: sun.reflect.annotation.AnnotationType java.lang.annotation.RetentionPolicy
36: putfield sun.reflect.annotation.AnnotationType.retention:Ljava/lang/annotation/RetentionPolicy;
37: aload 0
aload 4
ldc Ljava/lang/annotation/Inherited;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
putfield sun.reflect.annotation.AnnotationType.inherited:Z
end local 5 end local 4 end local 3 38: goto 41
39: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.annotation.RetentionPolicy.RUNTIME:Ljava/lang/annotation/RetentionPolicy;
putfield sun.reflect.annotation.AnnotationType.retention:Ljava/lang/annotation/RetentionPolicy;
40: aload 0
iconst_0
putfield sun.reflect.annotation.AnnotationType.inherited:Z
41: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lsun/reflect/annotation/AnnotationType;
0 42 1 annotationClass Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
5 42 2 methods [Ljava/lang/reflect/Method;
10 22 3 method Ljava/lang/reflect/Method;
16 22 7 name Ljava/lang/String;
17 22 8 type Ljava/lang/Class<*>;
20 22 9 defaultValue Ljava/lang/Object;
27 38 3 jla Ljdk/internal/access/JavaLangAccess;
33 38 4 metaAnnotations Ljava/util/Map<Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;Ljava/lang/annotation/Annotation;>;
34 38 5 ret Ljava/lang/annotation/Retention;
Signature: (Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)V
MethodParameters:
Name Flags
annotationClass final
public static java.lang.Class<?> invocationHandlerReturnType(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
if_acmpne 2
1: ldc Ljava/lang/Byte;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Character.TYPE:Ljava/lang/Class;
if_acmpne 4
3: ldc Ljava/lang/Character;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
if_acmpne 6
5: ldc Ljava/lang/Double;
areturn
6: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
if_acmpne 8
7: ldc Ljava/lang/Float;
areturn
8: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
if_acmpne 10
9: ldc Ljava/lang/Integer;
areturn
10: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
if_acmpne 12
11: ldc Ljava/lang/Long;
areturn
12: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
if_acmpne 14
13: ldc Ljava/lang/Short;
areturn
14: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
if_acmpne 16
15: ldc Ljava/lang/Boolean;
areturn
16: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 type Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
type
public java.util.Map<java.lang.String, java.lang.Class<?>> memberTypes();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.reflect.annotation.AnnotationType.memberTypes:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/annotation/AnnotationType;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/Class<*>;>;
public java.util.Map<java.lang.String, java.lang.reflect.Method> members();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.reflect.annotation.AnnotationType.members:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/annotation/AnnotationType;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/reflect/Method;>;
public java.util.Map<java.lang.String, java.lang.Object> memberDefaults();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.reflect.annotation.AnnotationType.memberDefaults:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/annotation/AnnotationType;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
public java.lang.annotation.RetentionPolicy retention();
descriptor: ()Ljava/lang/annotation/RetentionPolicy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.reflect.annotation.AnnotationType.retention:Ljava/lang/annotation/RetentionPolicy;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/annotation/AnnotationType;
public boolean isInherited();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.reflect.annotation.AnnotationType.inherited:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/annotation/AnnotationType;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Annotation Type:\n Member types: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield sun.reflect.annotation.AnnotationType.memberTypes:Ljava/util/Map;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc " Member defaults: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.reflect.annotation.AnnotationType.memberDefaults:Ljava/util/Map;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc " Retention policy: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.reflect.annotation.AnnotationType.retention:Ljava/lang/annotation/RetentionPolicy;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc " Inherited: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.reflect.annotation.AnnotationType.inherited:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/reflect/annotation/AnnotationType;
}
SourceFile: "AnnotationType.java"
NestMembers:
sun.reflect.annotation.AnnotationType$1
InnerClasses:
sun.reflect.annotation.AnnotationType$1