public class sun.tools.tree.CastExpression extends sun.tools.tree.BinaryExpression
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.tree.CastExpression
super_class: sun.tools.tree.BinaryExpression
{
public void <init>(long, sun.tools.tree.Expression, sun.tools.tree.Expression);
descriptor: (JLsun/tools/tree/Expression;Lsun/tools/tree/Expression;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 3 start local 4 0: aload 0
bipush 34
lload 1
aload 3
getfield sun.tools.tree.Expression.type:Lsun/tools/java/Type;
aload 3
aload 4
invokespecial sun.tools.tree.BinaryExpression.<init>:(IJLsun/tools/java/Type;Lsun/tools/tree/Expression;Lsun/tools/tree/Expression;)V
1: return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/tree/CastExpression;
0 2 1 where J
0 2 3 left Lsun/tools/tree/Expression;
0 2 4 right Lsun/tools/tree/Expression;
MethodParameters:
Name Flags
where
left
right
public sun.tools.tree.Vset checkValue(sun.tools.java.Environment, sun.tools.tree.Context, sun.tools.tree.Vset, java.util.Hashtable<java.lang.Object, java.lang.Object>);
descriptor: (Lsun/tools/java/Environment;Lsun/tools/tree/Context;Lsun/tools/tree/Vset;Ljava/util/Hashtable;)Lsun/tools/tree/Vset;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 0
getfield sun.tools.tree.CastExpression.left:Lsun/tools/tree/Expression;
aload 1
aload 2
invokevirtual sun.tools.tree.Expression.toType:(Lsun/tools/java/Environment;Lsun/tools/tree/Context;)Lsun/tools/java/Type;
putfield sun.tools.tree.CastExpression.type:Lsun/tools/java/Type;
1: aload 0
getfield sun.tools.tree.CastExpression.right:Lsun/tools/tree/Expression;
aload 1
aload 2
aload 3
aload 4
invokevirtual sun.tools.tree.Expression.checkValue:(Lsun/tools/java/Environment;Lsun/tools/tree/Context;Lsun/tools/tree/Vset;Ljava/util/Hashtable;)Lsun/tools/tree/Vset;
astore 3
2: aload 0
getfield sun.tools.tree.CastExpression.type:Lsun/tools/java/Type;
bipush 13
invokevirtual sun.tools.java.Type.isType:(I)Z
ifne 3
aload 0
getfield sun.tools.tree.CastExpression.right:Lsun/tools/tree/Expression;
getfield sun.tools.tree.Expression.type:Lsun/tools/java/Type;
bipush 13
invokevirtual sun.tools.java.Type.isType:(I)Z
ifeq 4
3: StackMap locals:
StackMap stack:
aload 3
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.tree.CastExpression.type:Lsun/tools/java/Type;
aload 0
getfield sun.tools.tree.CastExpression.right:Lsun/tools/tree/Expression;
getfield sun.tools.tree.Expression.type:Lsun/tools/java/Type;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 6
5: aload 3
areturn
6: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.tools.tree.CastExpression.right:Lsun/tools/tree/Expression;
getfield sun.tools.tree.Expression.type:Lsun/tools/java/Type;
aload 0
getfield sun.tools.tree.CastExpression.type:Lsun/tools/java/Type;
invokevirtual sun.tools.java.Environment.explicitCast:(Lsun/tools/java/Type;Lsun/tools/java/Type;)Z
ifeq 12
7: aload 0
new sun.tools.tree.ConvertExpression
dup
aload 0
getfield sun.tools.tree.CastExpression.where:J
aload 0
getfield sun.tools.tree.CastExpression.type:Lsun/tools/java/Type;
aload 0
getfield sun.tools.tree.CastExpression.right:Lsun/tools/tree/Expression;
invokespecial sun.tools.tree.ConvertExpression.<init>:(JLsun/tools/java/Type;Lsun/tools/tree/Expression;)V
putfield sun.tools.tree.CastExpression.right:Lsun/tools/tree/Expression;
8: aload 3
9: areturn
10: StackMap locals:
StackMap stack: sun.tools.java.ClassNotFound
astore 5
start local 5 11: aload 1
aload 0
getfield sun.tools.tree.CastExpression.where:J
ldc "class.not.found"
aload 5
getfield sun.tools.java.ClassNotFound.name:Lsun/tools/java/Identifier;
getstatic sun.tools.tree.CastExpression.opNames:[Ljava/lang/String;
aload 0
getfield sun.tools.tree.CastExpression.op:I
aaload
invokevirtual sun.tools.java.Environment.error:(JLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 5 12: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.tools.tree.CastExpression.where:J
ldc "invalid.cast"
aload 0
getfield sun.tools.tree.CastExpression.right:Lsun/tools/tree/Expression;
getfield sun.tools.tree.Expression.type:Lsun/tools/java/Type;
aload 0
getfield sun.tools.tree.CastExpression.type:Lsun/tools/java/Type;
invokevirtual sun.tools.java.Environment.error:(JLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
13: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/tools/tree/CastExpression;
0 14 1 env Lsun/tools/java/Environment;
0 14 2 ctx Lsun/tools/tree/Context;
0 14 3 vset Lsun/tools/tree/Vset;
0 14 4 exp Ljava/util/Hashtable<Ljava/lang/Object;Ljava/lang/Object;>;
11 12 5 e Lsun/tools/java/ClassNotFound;
Exception table:
from to target type
6 9 10 Class sun.tools.java.ClassNotFound
Signature: (Lsun/tools/java/Environment;Lsun/tools/tree/Context;Lsun/tools/tree/Vset;Ljava/util/Hashtable<Ljava/lang/Object;Ljava/lang/Object;>;)Lsun/tools/tree/Vset;
MethodParameters:
Name Flags
env
ctx
vset
exp
public boolean isConstant();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.tree.CastExpression.type:Lsun/tools/java/Type;
sipush 1792
invokevirtual sun.tools.java.Type.inMask:(I)Z
ifeq 2
aload 0
getfield sun.tools.tree.CastExpression.type:Lsun/tools/java/Type;
getstatic sun.tools.java.Type.tString:Lsun/tools/java/Type;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.tree.CastExpression.right:Lsun/tools/tree/Expression;
invokevirtual sun.tools.tree.Expression.isConstant:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/tree/CastExpression;
public sun.tools.tree.Expression inline(sun.tools.java.Environment, sun.tools.tree.Context);
descriptor: (Lsun/tools/java/Environment;Lsun/tools/tree/Context;)Lsun/tools/tree/Expression;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.tools.tree.CastExpression.right:Lsun/tools/tree/Expression;
aload 1
aload 2
invokevirtual sun.tools.tree.Expression.inline:(Lsun/tools/java/Environment;Lsun/tools/tree/Context;)Lsun/tools/tree/Expression;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/tree/CastExpression;
0 1 1 env Lsun/tools/java/Environment;
0 1 2 ctx Lsun/tools/tree/Context;
MethodParameters:
Name Flags
env
ctx
public sun.tools.tree.Expression inlineValue(sun.tools.java.Environment, sun.tools.tree.Context);
descriptor: (Lsun/tools/java/Environment;Lsun/tools/tree/Context;)Lsun/tools/tree/Expression;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.tools.tree.CastExpression.right:Lsun/tools/tree/Expression;
aload 1
aload 2
invokevirtual sun.tools.tree.Expression.inlineValue:(Lsun/tools/java/Environment;Lsun/tools/tree/Context;)Lsun/tools/tree/Expression;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/tree/CastExpression;
0 1 1 env Lsun/tools/java/Environment;
0 1 2 ctx Lsun/tools/tree/Context;
MethodParameters:
Name Flags
env
ctx
public int costInline(int, sun.tools.java.Environment, sun.tools.tree.Context);
descriptor: (ILsun/tools/java/Environment;Lsun/tools/tree/Context;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnonnull 2
1: iconst_1
aload 0
getfield sun.tools.tree.CastExpression.right:Lsun/tools/tree/Expression;
iload 1
aload 2
aload 3
invokevirtual sun.tools.tree.Expression.costInline:(ILsun/tools/java/Environment;Lsun/tools/tree/Context;)I
iadd
ireturn
2: StackMap locals:
StackMap stack:
aload 3
getfield sun.tools.tree.Context.field:Lsun/tools/java/MemberDefinition;
invokevirtual sun.tools.java.MemberDefinition.getClassDefinition:()Lsun/tools/java/ClassDefinition;
astore 4
start local 4 3: aload 0
getfield sun.tools.tree.CastExpression.left:Lsun/tools/tree/Expression;
getfield sun.tools.tree.Expression.type:Lsun/tools/java/Type;
bipush 9
invokevirtual sun.tools.java.Type.isType:(I)Z
ifne 8
4: aload 4
aload 2
5: aload 2
aload 0
getfield sun.tools.tree.CastExpression.left:Lsun/tools/tree/Expression;
getfield sun.tools.tree.Expression.type:Lsun/tools/java/Type;
invokevirtual sun.tools.java.Environment.getClassDeclaration:(Lsun/tools/java/Type;)Lsun/tools/java/ClassDeclaration;
6: invokevirtual sun.tools.java.ClassDefinition.permitInlinedAccess:(Lsun/tools/java/Environment;Lsun/tools/java/ClassDeclaration;)Z
7: ifeq 11
8: StackMap locals: sun.tools.java.ClassDefinition
StackMap stack:
iconst_1
aload 0
getfield sun.tools.tree.CastExpression.right:Lsun/tools/tree/Expression;
iload 1
aload 2
aload 3
invokevirtual sun.tools.tree.Expression.costInline:(ILsun/tools/java/Environment;Lsun/tools/tree/Context;)I
iadd
9: ireturn
10: StackMap locals:
StackMap stack: sun.tools.java.ClassNotFound
pop
11: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/tools/tree/CastExpression;
0 12 1 thresh I
0 12 2 env Lsun/tools/java/Environment;
0 12 3 ctx Lsun/tools/tree/Context;
3 12 4 sourceClass Lsun/tools/java/ClassDefinition;
Exception table:
from to target type
3 9 10 Class sun.tools.java.ClassNotFound
MethodParameters:
Name Flags
thresh
env
ctx
public void print(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
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 "("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic sun.tools.tree.CastExpression.opNames:[Ljava/lang/String;
aload 0
getfield sun.tools.tree.CastExpression.op:I
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
1: aload 0
getfield sun.tools.tree.CastExpression.type:Lsun/tools/java/Type;
bipush 13
invokevirtual sun.tools.java.Type.isType:(I)Z
ifeq 4
2: aload 0
getfield sun.tools.tree.CastExpression.left:Lsun/tools/tree/Expression;
aload 1
invokevirtual sun.tools.tree.Expression.print:(Ljava/io/PrintStream;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.tools.tree.CastExpression.type:Lsun/tools/java/Type;
invokevirtual java.io.PrintStream.print:(Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
aload 1
ldc " "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
6: aload 0
getfield sun.tools.tree.CastExpression.right:Lsun/tools/tree/Expression;
aload 1
invokevirtual sun.tools.tree.Expression.print:(Ljava/io/PrintStream;)V
7: aload 1
ldc ")"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/tools/tree/CastExpression;
0 9 1 out Ljava/io/PrintStream;
MethodParameters:
Name Flags
out
}
SourceFile: "CastExpression.java"