class javax.management.MBeanServerPermissionCollection extends java.security.PermissionCollection
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.management.MBeanServerPermissionCollection
super_class: java.security.PermissionCollection
{
private javax.management.MBeanServerPermission collectionPermission;
descriptor: Ljavax/management/MBeanServerPermission;
flags: (0x0002) ACC_PRIVATE
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -5661980843569388590
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.security.PermissionCollection.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/MBeanServerPermissionCollection;
public synchronized void add(java.security.Permission);
descriptor: (Ljava/security/Permission;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.management.MBeanServerPermission
ifne 4
1: new java.lang.StringBuilder
dup
ldc "Permission not an MBeanServerPermission: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: astore 2
start local 2 3: new java.lang.IllegalArgumentException
dup
aload 2
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.management.MBeanServerPermissionCollection.isReadOnly:()Z
ifeq 6
5: new java.lang.SecurityException
dup
ldc "Read-only permission collection"
invokespecial java.lang.SecurityException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
checkcast javax.management.MBeanServerPermission
astore 2
start local 2 7: aload 0
getfield javax.management.MBeanServerPermissionCollection.collectionPermission:Ljavax/management/MBeanServerPermission;
ifnonnull 9
8: aload 0
aload 2
putfield javax.management.MBeanServerPermissionCollection.collectionPermission:Ljavax/management/MBeanServerPermission;
goto 12
9: StackMap locals: javax.management.MBeanServerPermission
StackMap stack:
aload 0
getfield javax.management.MBeanServerPermissionCollection.collectionPermission:Ljavax/management/MBeanServerPermission;
aload 1
invokevirtual javax.management.MBeanServerPermission.implies:(Ljava/security/Permission;)Z
ifne 12
10: aload 0
getfield javax.management.MBeanServerPermissionCollection.collectionPermission:Ljavax/management/MBeanServerPermission;
getfield javax.management.MBeanServerPermission.mask:I
aload 2
getfield javax.management.MBeanServerPermission.mask:I
ior
istore 3
start local 3 11: aload 0
new javax.management.MBeanServerPermission
dup
iload 3
invokespecial javax.management.MBeanServerPermission.<init>:(I)V
putfield javax.management.MBeanServerPermissionCollection.collectionPermission:Ljavax/management/MBeanServerPermission;
end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/management/MBeanServerPermissionCollection;
0 13 1 permission Ljava/security/Permission;
3 4 2 msg Ljava/lang/String;
7 13 2 mbsp Ljavax/management/MBeanServerPermission;
11 12 3 newmask I
MethodParameters:
Name Flags
permission
public synchronized boolean implies(java.security.Permission);
descriptor: (Ljava/security/Permission;)Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.management.MBeanServerPermissionCollection.collectionPermission:Ljavax/management/MBeanServerPermission;
ifnull 3
1: aload 0
getfield javax.management.MBeanServerPermissionCollection.collectionPermission:Ljavax/management/MBeanServerPermission;
aload 1
invokevirtual javax.management.MBeanServerPermission.implies:(Ljava/security/Permission;)Z
ifeq 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/management/MBeanServerPermissionCollection;
0 4 1 permission Ljava/security/Permission;
MethodParameters:
Name Flags
permission
public synchronized java.util.Enumeration<java.security.Permission> elements();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.management.MBeanServerPermissionCollection.collectionPermission:Ljavax/management/MBeanServerPermission;
ifnonnull 3
1: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
astore 1
start local 1 2: goto 4
end local 1 3: StackMap locals:
StackMap stack:
aload 0
getfield javax.management.MBeanServerPermissionCollection.collectionPermission:Ljavax/management/MBeanServerPermission;
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
astore 1
start local 1 4: StackMap locals: java.util.Set
StackMap stack:
aload 1
invokestatic java.util.Collections.enumeration:(Ljava/util/Collection;)Ljava/util/Enumeration;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/management/MBeanServerPermissionCollection;
2 3 1 set Ljava/util/Set<Ljava/security/Permission;>;
4 5 1 set Ljava/util/Set<Ljava/security/Permission;>;
Signature: ()Ljava/util/Enumeration<Ljava/security/Permission;>;
}
SourceFile: "MBeanServerPermission.java"