public class javax.management.MBeanServerPermission extends java.security.BasicPermission
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.management.MBeanServerPermission
super_class: java.security.BasicPermission
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -5661980843569388590
private static final int CREATE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int FIND;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int NEW;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int RELEASE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int N_NAMES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final java.lang.String[] names;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int CREATE_MASK;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int FIND_MASK;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int NEW_MASK;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int RELEASE_MASK;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static final int ALL_MASK;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 15
private static final java.lang.String[] canonicalNames;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
transient int mask;
descriptor: I
flags: (0x0080) ACC_TRANSIENT
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_4
anewarray java.lang.String
dup
iconst_0
1: ldc "createMBeanServer"
aastore
dup
iconst_1
2: ldc "findMBeanServer"
aastore
dup
iconst_2
3: ldc "newMBeanServer"
aastore
dup
iconst_3
4: ldc "releaseMBeanServer"
aastore
5: putstatic javax.management.MBeanServerPermission.names:[Ljava/lang/String;
6: bipush 16
anewarray java.lang.String
putstatic javax.management.MBeanServerPermission.canonicalNames:[Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial javax.management.MBeanServerPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/management/MBeanServerPermission;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic javax.management.MBeanServerPermission.parseMask:(Ljava/lang/String;)I
invokestatic javax.management.MBeanServerPermission.getCanonicalName:(I)Ljava/lang/String;
aload 2
invokespecial java.security.BasicPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
aload 1
invokestatic javax.management.MBeanServerPermission.parseMask:(Ljava/lang/String;)I
putfield javax.management.MBeanServerPermission.mask:I
2: aload 2
ifnull 6
aload 2
invokevirtual java.lang.String.length:()I
ifle 6
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "MBeanServerPermission actions must be null: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: javax.management.MBeanServerPermission java.lang.String java.lang.String
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/management/MBeanServerPermission;
0 7 1 name Ljava/lang/String;
0 7 2 actions Ljava/lang/String;
MethodParameters:
Name Flags
name
actions
void <init>(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic javax.management.MBeanServerPermission.getCanonicalName:(I)Ljava/lang/String;
invokespecial java.security.BasicPermission.<init>:(Ljava/lang/String;)V
1: aload 0
iload 1
invokestatic javax.management.MBeanServerPermission.impliedMask:(I)I
putfield javax.management.MBeanServerPermission.mask:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/management/MBeanServerPermission;
0 3 1 mask I
MethodParameters:
Name Flags
mask
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
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
invokevirtual javax.management.MBeanServerPermission.getName:()Ljava/lang/String;
invokestatic javax.management.MBeanServerPermission.parseMask:(Ljava/lang/String;)I
putfield javax.management.MBeanServerPermission.mask:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/management/MBeanServerPermission;
0 3 1 in Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
in
static int simplifyMask(int);
descriptor: (I)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_1
iand
ifeq 2
1: iload 0
bipush -5
iand
istore 0
2: StackMap locals:
StackMap stack:
iload 0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 mask I
MethodParameters:
Name Flags
mask
static int impliedMask(int);
descriptor: (I)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_1
iand
ifeq 2
1: iload 0
iconst_4
ior
istore 0
2: StackMap locals:
StackMap stack:
iload 0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 mask I
MethodParameters:
Name Flags
mask
static java.lang.String getCanonicalName(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: iload 0
bipush 15
if_icmpne 2
1: ldc "*"
areturn
2: StackMap locals:
StackMap stack:
iload 0
invokestatic javax.management.MBeanServerPermission.simplifyMask:(I)I
istore 0
3: getstatic javax.management.MBeanServerPermission.canonicalNames:[Ljava/lang/String;
dup
astore 1
monitorenter
4: getstatic javax.management.MBeanServerPermission.canonicalNames:[Ljava/lang/String;
iload 0
aaload
ifnonnull 6
5: getstatic javax.management.MBeanServerPermission.canonicalNames:[Ljava/lang/String;
iload 0
iload 0
invokestatic javax.management.MBeanServerPermission.makeCanonicalName:(I)Ljava/lang/String;
aastore
6: StackMap locals: java.lang.String[]
StackMap stack:
aload 1
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 1
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
getstatic javax.management.MBeanServerPermission.canonicalNames:[Ljava/lang/String;
iload 0
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 mask I
Exception table:
from to target type
4 7 8 any
8 9 8 any
MethodParameters:
Name Flags
mask
private static java.lang.String makeCanonicalName(int);
descriptor: (I)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, 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: goto 8
3: StackMap locals: java.lang.StringBuilder int
StackMap stack:
iload 0
iconst_1
iload 2
ishl
iand
ifeq 7
4: aload 1
invokevirtual java.lang.StringBuilder.length:()I
ifle 6
5: aload 1
bipush 44
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
aload 1
getstatic javax.management.MBeanServerPermission.names:[Ljava/lang/String;
iload 2
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
iconst_4
if_icmplt 3
end local 2 9: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.intern:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 mask I
1 10 1 buf Ljava/lang/StringBuilder;
2 9 2 i I
MethodParameters:
Name Flags
mask
private static int parseMask(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "MBeanServerPermission: target name can't be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 0
3: aload 0
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: bipush 15
ireturn
5: StackMap locals:
StackMap stack:
aload 0
bipush 44
invokevirtual java.lang.String.indexOf:(I)I
ifge 7
6: iconst_1
aload 0
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokestatic javax.management.MBeanServerPermission.nameIndex:(Ljava/lang/String;)I
ishl
invokestatic javax.management.MBeanServerPermission.impliedMask:(I)I
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 8: new java.util.StringTokenizer
dup
aload 0
ldc ","
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 2
start local 2 9: goto 13
10: StackMap locals: int java.util.StringTokenizer
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 3
start local 3 11: aload 3
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokestatic javax.management.MBeanServerPermission.nameIndex:(Ljava/lang/String;)I
istore 4
start local 4 12: iload 1
iconst_1
iload 4
ishl
ior
istore 1
end local 4 end local 3 13: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 10
14: iload 1
invokestatic javax.management.MBeanServerPermission.impliedMask:(I)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 name Ljava/lang/String;
8 15 1 mask I
9 15 2 tok Ljava/util/StringTokenizer;
11 13 3 action Ljava/lang/String;
12 13 4 i I
MethodParameters:
Name Flags
name
private static int nameIndex(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 5
2: StackMap locals: int
StackMap stack:
getstatic javax.management.MBeanServerPermission.names:[Ljava/lang/String;
iload 1
aaload
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iload 1
ireturn
4: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
iconst_4
if_icmplt 2
end local 1 6: new java.lang.StringBuilder
dup
ldc "Invalid MBeanServerPermission name: \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
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;
7: astore 1
start local 1 8: new java.lang.IllegalArgumentException
dup
aload 1
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 name Ljava/lang/String;
1 6 1 i I
8 9 1 msg Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
name
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.management.MBeanServerPermission.mask:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/MBeanServerPermission;
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 javax.management.MBeanServerPermission
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast javax.management.MBeanServerPermission
astore 2
start local 2 3: aload 0
getfield javax.management.MBeanServerPermission.mask:I
aload 2
getfield javax.management.MBeanServerPermission.mask:I
iand
aload 2
getfield javax.management.MBeanServerPermission.mask:I
if_icmpne 4
iconst_1
ireturn
StackMap locals: javax.management.MBeanServerPermission
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 Ljavax/management/MBeanServerPermission;
0 5 1 p Ljava/security/Permission;
3 5 2 that Ljavax/management/MBeanServerPermission;
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 javax.management.MBeanServerPermission
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.management.MBeanServerPermission
astore 2
start local 2 5: aload 0
getfield javax.management.MBeanServerPermission.mask:I
aload 2
getfield javax.management.MBeanServerPermission.mask:I
if_icmpne 6
iconst_1
ireturn
StackMap locals: javax.management.MBeanServerPermission
StackMap stack:
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/management/MBeanServerPermission;
0 7 1 obj Ljava/lang/Object;
5 7 2 that Ljavax/management/MBeanServerPermission;
MethodParameters:
Name Flags
obj
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 javax.management.MBeanServerPermissionCollection
dup
invokespecial javax.management.MBeanServerPermissionCollection.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/MBeanServerPermission;
}
SourceFile: "MBeanServerPermission.java"