public final class java.util.PropertyPermission extends java.security.BasicPermission
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: java.util.PropertyPermission
super_class: java.security.BasicPermission
{
private static final int READ;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int WRITE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int ALL;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int NONE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private transient int mask;
descriptor: I
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private java.lang.String actions;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 885438825399942851
private void init(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_3
iand
iload 1
if_icmpeq 2
1: new java.lang.IllegalArgumentException
dup
ldc "invalid actions mask"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 1
ifne 4
3: new java.lang.IllegalArgumentException
dup
ldc "invalid actions mask"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.PropertyPermission.getName:()Ljava/lang/String;
ifnonnull 6
5: new java.lang.NullPointerException
dup
ldc "name can't be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield java.util.PropertyPermission.mask:I
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/util/PropertyPermission;
0 8 1 mask I
MethodParameters:
Name Flags
mask
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)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
aload 1
aload 2
invokespecial java.security.BasicPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
aload 2
invokestatic java.util.PropertyPermission.getMask:(Ljava/lang/String;)I
invokevirtual java.util.PropertyPermission.init:(I)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/PropertyPermission;
0 3 1 name Ljava/lang/String;
0 3 2 actions Ljava/lang/String;
MethodParameters:
Name Flags
name
actions
public boolean implies(java.security.Permission);
descriptor: (Ljava/security/Permission;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.util.PropertyPermission
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast java.util.PropertyPermission
astore 2
start local 2 3: aload 0
getfield java.util.PropertyPermission.mask:I
aload 2
getfield java.util.PropertyPermission.mask:I
iand
aload 2
getfield java.util.PropertyPermission.mask:I
if_icmpne 4
aload 0
aload 2
invokespecial java.security.BasicPermission.implies:(Ljava/security/Permission;)Z
ifeq 4
iconst_1
ireturn
StackMap locals: java.util.PropertyPermission
StackMap stack:
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/PropertyPermission;
0 5 1 p Ljava/security/Permission;
3 5 2 that Ljava/util/PropertyPermission;
MethodParameters:
Name Flags
p
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.util.PropertyPermission
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast java.util.PropertyPermission
astore 2
start local 2 5: aload 0
getfield java.util.PropertyPermission.mask:I
aload 2
getfield java.util.PropertyPermission.mask:I
if_icmpne 8
6: aload 0
invokevirtual java.util.PropertyPermission.getName:()Ljava/lang/String;
aload 2
invokevirtual java.util.PropertyPermission.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: iconst_1
ireturn
StackMap locals: java.util.PropertyPermission
StackMap stack:
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/util/PropertyPermission;
0 9 1 obj Ljava/lang/Object;
5 9 2 that Ljava/util/PropertyPermission;
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
invokevirtual java.util.PropertyPermission.getName:()Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/PropertyPermission;
private static int getMask(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
ifnonnull 3
2: iload 1
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
ldc "read"
if_acmpne 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
ldc "write"
if_acmpne 7
6: iconst_2
ireturn
7: StackMap locals:
StackMap stack:
aload 0
ldc "read,write"
if_acmpne 9
8: iconst_3
ireturn
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.toCharArray:()[C
astore 2
start local 2 10: aload 2
arraylength
iconst_1
isub
istore 3
start local 3 11: iload 3
ifge 50
12: iload 1
ireturn
start local 4 13: StackMap locals: char[] int int
StackMap stack:
iinc 3 -1
end local 4 14: StackMap locals:
StackMap stack:
iload 3
iconst_m1
if_icmpeq 20
aload 2
iload 3
caload
dup
istore 4
start local 4 15: bipush 32
if_icmpeq 13
16: iload 4
bipush 13
if_icmpeq 13
17: iload 4
bipush 10
if_icmpeq 13
18: iload 4
bipush 12
if_icmpeq 13
19: iload 4
bipush 9
if_icmpeq 13
end local 4 20: StackMap locals:
StackMap stack:
iload 3
iconst_3
if_icmplt 27
aload 2
iload 3
iconst_3
isub
caload
bipush 114
if_icmpeq 21
aload 2
iload 3
iconst_3
isub
caload
bipush 82
if_icmpne 27
21: StackMap locals:
StackMap stack:
aload 2
iload 3
iconst_2
isub
caload
bipush 101
if_icmpeq 22
aload 2
iload 3
iconst_2
isub
caload
bipush 69
if_icmpne 27
22: StackMap locals:
StackMap stack:
aload 2
iload 3
iconst_1
isub
caload
bipush 97
if_icmpeq 23
aload 2
iload 3
iconst_1
isub
caload
bipush 65
if_icmpne 27
23: StackMap locals:
StackMap stack:
aload 2
iload 3
caload
bipush 100
if_icmpeq 24
aload 2
iload 3
caload
bipush 68
if_icmpne 27
24: StackMap locals:
StackMap stack:
iconst_4
istore 5
start local 5 25: iload 1
iconst_1
ior
istore 1
26: goto 38
end local 5 StackMap locals:
StackMap stack:
27: iload 3
iconst_4
if_icmplt 35
aload 2
iload 3
iconst_4
isub
caload
bipush 119
if_icmpeq 28
aload 2
iload 3
iconst_4
isub
caload
bipush 87
if_icmpne 35
28: StackMap locals:
StackMap stack:
aload 2
iload 3
iconst_3
isub
caload
bipush 114
if_icmpeq 29
aload 2
iload 3
iconst_3
isub
caload
bipush 82
if_icmpne 35
29: StackMap locals:
StackMap stack:
aload 2
iload 3
iconst_2
isub
caload
bipush 105
if_icmpeq 30
aload 2
iload 3
iconst_2
isub
caload
bipush 73
if_icmpne 35
30: StackMap locals:
StackMap stack:
aload 2
iload 3
iconst_1
isub
caload
bipush 116
if_icmpeq 31
aload 2
iload 3
iconst_1
isub
caload
bipush 84
if_icmpne 35
31: StackMap locals:
StackMap stack:
aload 2
iload 3
caload
bipush 101
if_icmpeq 32
aload 2
iload 3
caload
bipush 69
if_icmpne 35
32: StackMap locals:
StackMap stack:
iconst_5
istore 5
start local 5 33: iload 1
iconst_2
ior
istore 1
34: goto 38
end local 5 35: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
36: new java.lang.StringBuilder
dup
ldc "invalid permission: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
37: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
start local 5 38: StackMap locals: java.lang.String int char[] int top int
StackMap stack:
iconst_0
istore 6
start local 6 39: goto 48
40: StackMap locals: int
StackMap stack:
aload 2
iload 3
iload 5
isub
caload
lookupswitch { // 6
9: 43
10: 43
12: 43
13: 43
32: 43
44: 41
default: 44
}
41: StackMap locals:
StackMap stack:
iconst_1
istore 6
42: goto 47
43: StackMap locals:
StackMap stack:
goto 47
44: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
45: new java.lang.StringBuilder
dup
ldc "invalid permission: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
46: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
47: StackMap locals:
StackMap stack:
iinc 3 -1
48: StackMap locals:
StackMap stack:
iload 3
iload 5
if_icmplt 49
iload 6
ifeq 40
49: StackMap locals:
StackMap stack:
iload 3
iload 5
isub
istore 3
end local 6 end local 5 50: StackMap locals: java.lang.String int char[] int
StackMap stack:
iload 3
iconst_m1
if_icmpne 14
51: iload 1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 52 0 actions Ljava/lang/String;
1 52 1 mask I
10 52 2 a [C
11 52 3 i I
13 14 4 c C
15 20 4 c C
25 27 5 matchlen I
33 35 5 matchlen I
38 50 5 matchlen I
39 50 6 seencomma Z
MethodParameters:
Name Flags
actions
static java.lang.String getActions(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: iload 0
iconst_1
iand
iconst_1
if_icmpne 5
3: iconst_1
istore 2
4: aload 1
ldc "read"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: StackMap locals: java.lang.StringBuilder int
StackMap stack:
iload 0
iconst_2
iand
iconst_2
if_icmpne 9
6: iload 2
ifeq 7
aload 1
bipush 44
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
goto 8
7: StackMap locals:
StackMap stack:
iconst_1
istore 2
8: StackMap locals:
StackMap stack:
aload 1
ldc "write"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 mask I
1 10 1 sb Ljava/lang/StringBuilder;
2 10 2 comma Z
MethodParameters:
Name Flags
mask
public java.lang.String getActions();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.PropertyPermission.actions:Ljava/lang/String;
ifnonnull 2
1: aload 0
aload 0
getfield java.util.PropertyPermission.mask:I
invokestatic java.util.PropertyPermission.getActions:(I)Ljava/lang/String;
putfield java.util.PropertyPermission.actions:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
aload 0
getfield java.util.PropertyPermission.actions:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/PropertyPermission;
int getMask();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.PropertyPermission.mask:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/PropertyPermission;
public java.security.PermissionCollection newPermissionCollection();
descriptor: ()Ljava/security/PermissionCollection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.util.PropertyPermissionCollection
dup
invokespecial java.util.PropertyPermissionCollection.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/PropertyPermission;
private synchronized void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.PropertyPermission.actions:Ljava/lang/String;
ifnonnull 2
1: aload 0
invokevirtual java.util.PropertyPermission.getActions:()Ljava/lang/String;
pop
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/PropertyPermission;
0 4 1 s Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
private synchronized void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 0
aload 0
getfield java.util.PropertyPermission.actions:Ljava/lang/String;
invokestatic java.util.PropertyPermission.getMask:(Ljava/lang/String;)I
invokevirtual java.util.PropertyPermission.init:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/PropertyPermission;
0 3 1 s Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
}
SourceFile: "PropertyPermission.java"