public class sun.security.acl.OwnerImpl implements java.security.acl.Owner
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.acl.OwnerImpl
super_class: java.lang.Object
{
private java.security.acl.Group ownerGroup;
descriptor: Ljava/security/acl/Group;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.security.Principal);
descriptor: (Ljava/security/Principal;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new sun.security.acl.GroupImpl
dup
ldc "AclOwners"
invokespecial sun.security.acl.GroupImpl.<init>:(Ljava/lang/String;)V
putfield sun.security.acl.OwnerImpl.ownerGroup:Ljava/security/acl/Group;
2: aload 0
getfield sun.security.acl.OwnerImpl.ownerGroup:Ljava/security/acl/Group;
aload 1
invokeinterface java.security.acl.Group.addMember:(Ljava/security/Principal;)Z
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/acl/OwnerImpl;
0 4 1 owner Ljava/security/Principal;
MethodParameters:
Name Flags
owner
public synchronized boolean addOwner(java.security.Principal, java.security.Principal);
descriptor: (Ljava/security/Principal;Ljava/security/Principal;)Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual sun.security.acl.OwnerImpl.isOwner:(Ljava/security/Principal;)Z
ifne 2
1: new java.security.acl.NotOwnerException
dup
invokespecial java.security.acl.NotOwnerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.acl.OwnerImpl.ownerGroup:Ljava/security/acl/Group;
aload 2
invokeinterface java.security.acl.Group.addMember:(Ljava/security/Principal;)Z
pop
3: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/acl/OwnerImpl;
0 4 1 caller Ljava/security/Principal;
0 4 2 owner Ljava/security/Principal;
Exceptions:
throws java.security.acl.NotOwnerException
MethodParameters:
Name Flags
caller
owner
public synchronized boolean deleteOwner(java.security.Principal, java.security.Principal);
descriptor: (Ljava/security/Principal;Ljava/security/Principal;)Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual sun.security.acl.OwnerImpl.isOwner:(Ljava/security/Principal;)Z
ifne 2
1: new java.security.acl.NotOwnerException
dup
invokespecial java.security.acl.NotOwnerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.acl.OwnerImpl.ownerGroup:Ljava/security/acl/Group;
invokeinterface java.security.acl.Group.members:()Ljava/util/Enumeration;
astore 3
start local 3 3: aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
pop
4: aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifeq 6
5: aload 0
getfield sun.security.acl.OwnerImpl.ownerGroup:Ljava/security/acl/Group;
aload 2
invokeinterface java.security.acl.Group.removeMember:(Ljava/security/Principal;)Z
ireturn
6: StackMap locals: java.util.Enumeration
StackMap stack:
new java.security.acl.LastOwnerException
dup
invokespecial java.security.acl.LastOwnerException.<init>:()V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/acl/OwnerImpl;
0 7 1 caller Ljava/security/Principal;
0 7 2 owner Ljava/security/Principal;
3 7 3 e Ljava/util/Enumeration<+Ljava/security/Principal;>;
Exceptions:
throws java.security.acl.NotOwnerException, java.security.acl.LastOwnerException
MethodParameters:
Name Flags
caller
owner
public synchronized boolean isOwner(java.security.Principal);
descriptor: (Ljava/security/Principal;)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 sun.security.acl.OwnerImpl.ownerGroup:Ljava/security/acl/Group;
aload 1
invokeinterface java.security.acl.Group.isMember:(Ljava/security/Principal;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/acl/OwnerImpl;
0 1 1 owner Ljava/security/Principal;
MethodParameters:
Name Flags
owner
}
SourceFile: "OwnerImpl.java"