public final class sun.tools.java.ClassDeclaration implements sun.tools.java.Constants
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.tools.java.ClassDeclaration
super_class: java.lang.Object
{
int status;
descriptor: I
flags: (0x0000)
sun.tools.java.Type type;
descriptor: Lsun/tools/java/Type;
flags: (0x0000)
sun.tools.java.ClassDefinition definition;
descriptor: Lsun/tools/java/ClassDefinition;
flags: (0x0000)
private boolean found;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(sun.tools.java.Identifier);
descriptor: (Lsun/tools/java/Identifier;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield sun.tools.java.ClassDeclaration.found:Z
2: aload 0
aload 1
invokestatic sun.tools.java.Type.tClass:(Lsun/tools/java/Identifier;)Lsun/tools/java/Type;
putfield sun.tools.java.ClassDeclaration.type:Lsun/tools/java/Type;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/java/ClassDeclaration;
0 4 1 name Lsun/tools/java/Identifier;
MethodParameters:
Name Flags
name
public int getStatus();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.java.ClassDeclaration.status:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/java/ClassDeclaration;
public sun.tools.java.Identifier getName();
descriptor: ()Lsun/tools/java/Identifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.java.ClassDeclaration.type:Lsun/tools/java/Type;
invokevirtual sun.tools.java.Type.getClassName:()Lsun/tools/java/Identifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/java/ClassDeclaration;
public sun.tools.java.Type getType();
descriptor: ()Lsun/tools/java/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.java.ClassDeclaration.type:Lsun/tools/java/Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/java/ClassDeclaration;
public boolean isDefined();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.java.ClassDeclaration.status:I
tableswitch { // 2 - 6
2: 1
3: 2
4: 1
5: 1
6: 1
default: 2
}
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/java/ClassDeclaration;
public sun.tools.java.ClassDefinition getClassDefinition();
descriptor: ()Lsun/tools/java/ClassDefinition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.java.ClassDeclaration.definition:Lsun/tools/java/ClassDefinition;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/java/ClassDeclaration;
public sun.tools.java.ClassDefinition getClassDefinition(sun.tools.java.Environment);
descriptor: (Lsun/tools/java/Environment;)Lsun/tools/java/ClassDefinition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
new java.lang.StringBuilder
dup
ldc "getClassDefinition: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
invokevirtual sun.tools.java.ClassDeclaration.getName:()Lsun/tools/java/Identifier;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", status "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.tools.java.ClassDeclaration.getStatus:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokevirtual sun.tools.java.Environment.dtEvent:(Ljava/lang/String;)V
3: aload 0
getfield sun.tools.java.ClassDeclaration.found:Z
ifeq 5
4: aload 0
getfield sun.tools.java.ClassDeclaration.definition:Lsun/tools/java/ClassDefinition;
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.java.ClassDeclaration.status:I
tableswitch { // 0 - 6
0: 6
1: 6
2: 8
3: 6
4: 8
5: 12
6: 12
default: 14
}
6: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual sun.tools.java.Environment.loadDefinition:(Lsun/tools/java/ClassDeclaration;)V
7: goto 5
8: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.java.ClassDeclaration.definition:Lsun/tools/java/ClassDefinition;
invokevirtual sun.tools.java.ClassDefinition.isInsideLocal:()Z
ifne 10
9: aload 0
getfield sun.tools.java.ClassDeclaration.definition:Lsun/tools/java/ClassDefinition;
aload 1
invokevirtual sun.tools.java.ClassDefinition.basicCheck:(Lsun/tools/java/Environment;)V
10: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.tools.java.ClassDeclaration.found:Z
11: aload 0
getfield sun.tools.java.ClassDeclaration.definition:Lsun/tools/java/ClassDefinition;
areturn
12: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.tools.java.ClassDeclaration.found:Z
13: aload 0
getfield sun.tools.java.ClassDeclaration.definition:Lsun/tools/java/ClassDefinition;
areturn
14: StackMap locals:
StackMap stack:
new sun.tools.java.ClassNotFound
dup
aload 0
invokevirtual sun.tools.java.ClassDeclaration.getName:()Lsun/tools/java/Identifier;
invokespecial sun.tools.java.ClassNotFound.<init>:(Lsun/tools/java/Identifier;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/tools/java/ClassDeclaration;
0 15 1 env Lsun/tools/java/Environment;
Exceptions:
throws sun.tools.java.ClassNotFound
MethodParameters:
Name Flags
env
public sun.tools.java.ClassDefinition getClassDefinitionNoCheck(sun.tools.java.Environment);
descriptor: (Lsun/tools/java/Environment;)Lsun/tools/java/ClassDefinition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
new java.lang.StringBuilder
dup
ldc "getClassDefinition: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
invokevirtual sun.tools.java.ClassDeclaration.getName:()Lsun/tools/java/Identifier;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", status "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.tools.java.ClassDeclaration.getStatus:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokevirtual sun.tools.java.Environment.dtEvent:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.java.ClassDeclaration.status:I
tableswitch { // 0 - 6
0: 4
1: 4
2: 6
3: 4
4: 6
5: 6
6: 6
default: 7
}
4: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual sun.tools.java.Environment.loadDefinition:(Lsun/tools/java/ClassDeclaration;)V
5: goto 3
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.java.ClassDeclaration.definition:Lsun/tools/java/ClassDefinition;
areturn
7: StackMap locals:
StackMap stack:
new sun.tools.java.ClassNotFound
dup
aload 0
invokevirtual sun.tools.java.ClassDeclaration.getName:()Lsun/tools/java/Identifier;
invokespecial sun.tools.java.ClassNotFound.<init>:(Lsun/tools/java/Identifier;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/tools/java/ClassDeclaration;
0 8 1 env Lsun/tools/java/Environment;
Exceptions:
throws sun.tools.java.ClassNotFound
MethodParameters:
Name Flags
env
public void setDefinition(sun.tools.java.ClassDefinition, int);
descriptor: (Lsun/tools/java/ClassDefinition;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 4
aload 0
invokevirtual sun.tools.java.ClassDeclaration.getName:()Lsun/tools/java/Identifier;
aload 1
invokevirtual sun.tools.java.ClassDefinition.getName:()Lsun/tools/java/Identifier;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 4
1: new sun.tools.java.CompilerError
dup
new java.lang.StringBuilder
dup
ldc "setDefinition: name mismatch: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial sun.tools.java.CompilerError.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.tools.java.ClassDeclaration.definition:Lsun/tools/java/ClassDefinition;
5: aload 0
iload 2
putfield sun.tools.java.ClassDeclaration.status:I
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/tools/java/ClassDeclaration;
0 7 1 definition Lsun/tools/java/ClassDefinition;
0 7 2 status I
MethodParameters:
Name Flags
definition
status
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof sun.tools.java.ClassDeclaration
ifeq 2
1: aload 0
getfield sun.tools.java.ClassDeclaration.type:Lsun/tools/java/Type;
aload 1
checkcast sun.tools.java.ClassDeclaration
getfield sun.tools.java.ClassDeclaration.type:Lsun/tools/java/Type;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/java/ClassDeclaration;
0 3 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.java.ClassDeclaration.type:Lsun/tools/java/Type;
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/java/ClassDeclaration;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual sun.tools.java.ClassDeclaration.getName:()Lsun/tools/java/Identifier;
invokevirtual sun.tools.java.Identifier.toString:()Ljava/lang/String;
astore 1
start local 1 1: ldc "type "
astore 2
start local 2 2: aload 0
invokevirtual sun.tools.java.ClassDeclaration.getName:()Lsun/tools/java/Identifier;
invokevirtual sun.tools.java.Identifier.isInner:()Z
ifeq 3
ldc "nested "
goto 4
StackMap locals: java.lang.String java.lang.String
StackMap stack:
3: ldc ""
StackMap locals:
StackMap stack: java.lang.String
4: astore 3
start local 3 5: aload 0
invokevirtual sun.tools.java.ClassDeclaration.getClassDefinition:()Lsun/tools/java/ClassDefinition;
ifnull 18
6: aload 0
invokevirtual sun.tools.java.ClassDeclaration.getClassDefinition:()Lsun/tools/java/ClassDefinition;
invokevirtual sun.tools.java.ClassDefinition.isInterface:()Z
ifeq 9
7: ldc "interface "
astore 2
8: goto 10
9: StackMap locals: java.lang.String
StackMap stack:
ldc "class "
astore 2
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.tools.java.ClassDeclaration.getClassDefinition:()Lsun/tools/java/ClassDefinition;
invokevirtual sun.tools.java.ClassDefinition.isTopLevel:()Z
ifne 18
11: ldc "inner "
astore 3
12: aload 0
invokevirtual sun.tools.java.ClassDeclaration.getClassDefinition:()Lsun/tools/java/ClassDefinition;
invokevirtual sun.tools.java.ClassDefinition.isLocal:()Z
ifeq 18
13: ldc "local "
astore 3
14: aload 0
invokevirtual sun.tools.java.ClassDeclaration.getClassDefinition:()Lsun/tools/java/ClassDefinition;
invokevirtual sun.tools.java.ClassDefinition.isAnonymous:()Z
ifne 18
15: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual sun.tools.java.ClassDeclaration.getClassDefinition:()Lsun/tools/java/ClassDefinition;
invokevirtual sun.tools.java.ClassDefinition.getLocalName:()Lsun/tools/java/Identifier;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
16: ldc " ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
18: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/tools/java/ClassDeclaration;
1 19 1 name Ljava/lang/String;
2 19 2 type Ljava/lang/String;
5 19 3 nested Ljava/lang/String;
}
SourceFile: "ClassDeclaration.java"