public class sun.tools.tree.UnaryExpression extends sun.tools.tree.Expression
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.tree.UnaryExpression
super_class: sun.tools.tree.Expression
{
sun.tools.tree.Expression right;
descriptor: Lsun/tools/tree/Expression;
flags: (0x0000)
void <init>(int, long, sun.tools.java.Type, sun.tools.tree.Expression);
descriptor: (IJLsun/tools/java/Type;Lsun/tools/tree/Expression;)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 5 0: aload 0
iload 1
lload 2
aload 4
invokespecial sun.tools.tree.Expression.<init>:(IJLsun/tools/java/Type;)V
1: aload 0
aload 5
putfield sun.tools.tree.UnaryExpression.right:Lsun/tools/tree/Expression;
2: return
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/tree/UnaryExpression;
0 3 1 op I
0 3 2 where J
0 3 4 type Lsun/tools/java/Type;
0 3 5 right Lsun/tools/tree/Expression;
MethodParameters:
Name Flags
op
where
type
right
public sun.tools.tree.Expression order();
descriptor: ()Lsun/tools/tree/Expression;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.tools.tree.UnaryExpression.precedence:()I
aload 0
getfield sun.tools.tree.UnaryExpression.right:Lsun/tools/tree/Expression;
invokevirtual sun.tools.tree.Expression.precedence:()I
if_icmple 5
1: aload 0
getfield sun.tools.tree.UnaryExpression.right:Lsun/tools/tree/Expression;
checkcast sun.tools.tree.UnaryExpression
astore 1
start local 1 2: aload 0
aload 1
getfield sun.tools.tree.UnaryExpression.right:Lsun/tools/tree/Expression;
putfield sun.tools.tree.UnaryExpression.right:Lsun/tools/tree/Expression;
3: aload 1
aload 0
invokevirtual sun.tools.tree.UnaryExpression.order:()Lsun/tools/tree/Expression;
putfield sun.tools.tree.UnaryExpression.right:Lsun/tools/tree/Expression;
4: aload 1
areturn
end local 1 5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/tools/tree/UnaryExpression;
2 5 1 e Lsun/tools/tree/UnaryExpression;
void selectType(sun.tools.java.Environment, sun.tools.tree.Context, int);
descriptor: (Lsun/tools/java/Environment;Lsun/tools/tree/Context;I)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new sun.tools.java.CompilerError
dup
new java.lang.StringBuilder
dup
ldc "selectType: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic sun.tools.tree.UnaryExpression.opNames:[Ljava/lang/String;
aload 0
getfield sun.tools.tree.UnaryExpression.op:I
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.tools.java.CompilerError.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/tree/UnaryExpression;
0 1 1 env Lsun/tools/java/Environment;
0 1 2 ctx Lsun/tools/tree/Context;
0 1 3 tm I
MethodParameters:
Name Flags
env
ctx
tm
public sun.tools.tree.Vset checkValue(sun.tools.java.Environment, sun.tools.tree.Context, sun.tools.tree.Vset, java.util.Hashtable);
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=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield sun.tools.tree.UnaryExpression.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
1: aload 0
getfield sun.tools.tree.UnaryExpression.right:Lsun/tools/tree/Expression;
getfield sun.tools.tree.Expression.type:Lsun/tools/java/Type;
invokevirtual sun.tools.java.Type.getTypeMask:()I
istore 5
start local 5 2: aload 0
aload 1
aload 2
iload 5
invokevirtual sun.tools.tree.UnaryExpression.selectType:(Lsun/tools/java/Environment;Lsun/tools/tree/Context;I)V
3: iload 5
sipush 8192
iand
ifne 5
aload 0
getfield sun.tools.tree.UnaryExpression.type:Lsun/tools/java/Type;
bipush 13
invokevirtual sun.tools.java.Type.isType:(I)Z
ifeq 5
4: aload 1
aload 0
getfield sun.tools.tree.UnaryExpression.where:J
ldc "invalid.arg"
getstatic sun.tools.tree.UnaryExpression.opNames:[Ljava/lang/String;
aload 0
getfield sun.tools.tree.UnaryExpression.op:I
aaload
invokevirtual sun.tools.java.Environment.error:(JLjava/lang/String;Ljava/lang/Object;)V
5: StackMap locals: int
StackMap stack:
aload 3
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/tools/tree/UnaryExpression;
0 6 1 env Lsun/tools/java/Environment;
0 6 2 ctx Lsun/tools/tree/Context;
0 6 3 vset Lsun/tools/tree/Vset;
0 6 4 exp Ljava/util/Hashtable;
2 6 5 tm I
MethodParameters:
Name Flags
env
ctx
vset
exp
public boolean isConstant();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.tree.UnaryExpression.op:I
lookupswitch { // 6
35: 1
36: 1
37: 1
38: 1
55: 1
56: 1
default: 2
}
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.tree.UnaryExpression.right:Lsun/tools/tree/Expression;
invokevirtual sun.tools.tree.Expression.isConstant:()Z
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/tree/UnaryExpression;
sun.tools.tree.Expression eval(int);
descriptor: (I)Lsun/tools/tree/Expression;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/tree/UnaryExpression;
0 1 1 a I
MethodParameters:
Name Flags
a
sun.tools.tree.Expression eval(long);
descriptor: (J)Lsun/tools/tree/Expression;
flags: (0x0000)
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/tree/UnaryExpression;
0 1 1 a J
MethodParameters:
Name Flags
a
sun.tools.tree.Expression eval(float);
descriptor: (F)Lsun/tools/tree/Expression;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/tree/UnaryExpression;
0 1 1 a F
MethodParameters:
Name Flags
a
sun.tools.tree.Expression eval(double);
descriptor: (D)Lsun/tools/tree/Expression;
flags: (0x0000)
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/tree/UnaryExpression;
0 1 1 a D
MethodParameters:
Name Flags
a
sun.tools.tree.Expression eval(boolean);
descriptor: (Z)Lsun/tools/tree/Expression;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/tree/UnaryExpression;
0 1 1 a Z
MethodParameters:
Name Flags
a
sun.tools.tree.Expression eval(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/tools/tree/Expression;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/tree/UnaryExpression;
0 1 1 a Ljava/lang/String;
MethodParameters:
Name Flags
a
sun.tools.tree.Expression eval();
descriptor: ()Lsun/tools/tree/Expression;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.tree.UnaryExpression.right:Lsun/tools/tree/Expression;
getfield sun.tools.tree.Expression.op:I
tableswitch { // 61 - 69
61: 5
62: 1
63: 1
64: 1
65: 1
66: 2
67: 3
68: 4
69: 6
default: 7
}
1: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.tools.tree.UnaryExpression.right:Lsun/tools/tree/Expression;
checkcast sun.tools.tree.IntegerExpression
getfield sun.tools.tree.IntegerExpression.value:I
invokevirtual sun.tools.tree.UnaryExpression.eval:(I)Lsun/tools/tree/Expression;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.tools.tree.UnaryExpression.right:Lsun/tools/tree/Expression;
checkcast sun.tools.tree.LongExpression
getfield sun.tools.tree.LongExpression.value:J
invokevirtual sun.tools.tree.UnaryExpression.eval:(J)Lsun/tools/tree/Expression;
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.tools.tree.UnaryExpression.right:Lsun/tools/tree/Expression;
checkcast sun.tools.tree.FloatExpression
getfield sun.tools.tree.FloatExpression.value:F
invokevirtual sun.tools.tree.UnaryExpression.eval:(F)Lsun/tools/tree/Expression;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.tools.tree.UnaryExpression.right:Lsun/tools/tree/Expression;
checkcast sun.tools.tree.DoubleExpression
getfield sun.tools.tree.DoubleExpression.value:D
invokevirtual sun.tools.tree.UnaryExpression.eval:(D)Lsun/tools/tree/Expression;
areturn
5: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.tools.tree.UnaryExpression.right:Lsun/tools/tree/Expression;
checkcast sun.tools.tree.BooleanExpression
getfield sun.tools.tree.BooleanExpression.value:Z
invokevirtual sun.tools.tree.UnaryExpression.eval:(Z)Lsun/tools/tree/Expression;
areturn
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.tools.tree.UnaryExpression.right:Lsun/tools/tree/Expression;
checkcast sun.tools.tree.StringExpression
getfield sun.tools.tree.StringExpression.value:Ljava/lang/String;
invokevirtual sun.tools.tree.UnaryExpression.eval:(Ljava/lang/String;)Lsun/tools/tree/Expression;
areturn
7: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/tools/tree/UnaryExpression;
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.UnaryExpression.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/UnaryExpression;
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=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield sun.tools.tree.UnaryExpression.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;
putfield sun.tools.tree.UnaryExpression.right:Lsun/tools/tree/Expression;
1: aload 0
invokevirtual sun.tools.tree.UnaryExpression.eval:()Lsun/tools/tree/Expression;
invokevirtual sun.tools.tree.Expression.simplify:()Lsun/tools/tree/Expression;
2: areturn
3: StackMap locals:
StackMap stack: java.lang.ArithmeticException
pop
4: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/tree/UnaryExpression;
0 5 1 env Lsun/tools/java/Environment;
0 5 2 ctx Lsun/tools/tree/Context;
Exception table:
from to target type
1 2 3 Class java.lang.ArithmeticException
MethodParameters:
Name Flags
env
ctx
public sun.tools.tree.Expression copyInline(sun.tools.tree.Context);
descriptor: (Lsun/tools/tree/Context;)Lsun/tools/tree/Expression;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.tools.tree.UnaryExpression.clone:()Ljava/lang/Object;
checkcast sun.tools.tree.UnaryExpression
astore 2
start local 2 1: aload 0
getfield sun.tools.tree.UnaryExpression.right:Lsun/tools/tree/Expression;
ifnull 3
2: aload 2
aload 0
getfield sun.tools.tree.UnaryExpression.right:Lsun/tools/tree/Expression;
aload 1
invokevirtual sun.tools.tree.Expression.copyInline:(Lsun/tools/tree/Context;)Lsun/tools/tree/Expression;
putfield sun.tools.tree.UnaryExpression.right:Lsun/tools/tree/Expression;
3: StackMap locals: sun.tools.tree.UnaryExpression
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/tree/UnaryExpression;
0 4 1 ctx Lsun/tools/tree/Context;
1 4 2 e Lsun/tools/tree/UnaryExpression;
MethodParameters:
Name Flags
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=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_1
aload 0
getfield sun.tools.tree.UnaryExpression.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
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/tree/UnaryExpression;
0 1 1 thresh I
0 1 2 env Lsun/tools/java/Environment;
0 1 3 ctx Lsun/tools/tree/Context;
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.UnaryExpression.opNames:[Ljava/lang/String;
aload 0
getfield sun.tools.tree.UnaryExpression.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.UnaryExpression.right:Lsun/tools/tree/Expression;
aload 1
invokevirtual sun.tools.tree.Expression.print:(Ljava/io/PrintStream;)V
2: aload 1
ldc ")"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/tree/UnaryExpression;
0 4 1 out Ljava/io/PrintStream;
MethodParameters:
Name Flags
out
}
SourceFile: "UnaryExpression.java"