class com.sun.jmx.snmp.IPAcl.AclImpl extends com.sun.jmx.snmp.IPAcl.OwnerImpl implements java.security.acl.Acl, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.jmx.snmp.IPAcl.AclImpl
super_class: com.sun.jmx.snmp.IPAcl.OwnerImpl
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -2250957591085270029
private java.util.Vector<java.security.acl.AclEntry> entryList;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Vector<Ljava/security/acl/AclEntry;>;
private java.lang.String aclName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>(com.sun.jmx.snmp.IPAcl.PrincipalImpl, java.lang.String);
descriptor: (Lcom/sun/jmx/snmp/IPAcl/PrincipalImpl;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
invokespecial com.sun.jmx.snmp.IPAcl.OwnerImpl.<init>:(Lcom/sun/jmx/snmp/IPAcl/PrincipalImpl;)V
1: aload 0
aconst_null
putfield com.sun.jmx.snmp.IPAcl.AclImpl.entryList:Ljava/util/Vector;
2: aload 0
aconst_null
putfield com.sun.jmx.snmp.IPAcl.AclImpl.aclName:Ljava/lang/String;
3: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield com.sun.jmx.snmp.IPAcl.AclImpl.entryList:Ljava/util/Vector;
4: aload 0
aload 2
putfield com.sun.jmx.snmp.IPAcl.AclImpl.aclName:Ljava/lang/String;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/jmx/snmp/IPAcl/AclImpl;
0 6 1 owner Lcom/sun/jmx/snmp/IPAcl/PrincipalImpl;
0 6 2 name Ljava/lang/String;
MethodParameters:
Name Flags
owner
name
public void setName(java.security.Principal, java.lang.String);
descriptor: (Ljava/security/Principal;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.sun.jmx.snmp.IPAcl.AclImpl.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
aload 2
putfield com.sun.jmx.snmp.IPAcl.AclImpl.aclName:Ljava/lang/String;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jmx/snmp/IPAcl/AclImpl;
0 4 1 caller Ljava/security/Principal;
0 4 2 name Ljava/lang/String;
Exceptions:
throws java.security.acl.NotOwnerException
MethodParameters:
Name Flags
caller
name
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.jmx.snmp.IPAcl.AclImpl.aclName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jmx/snmp/IPAcl/AclImpl;
public boolean addEntry(java.security.Principal, java.security.acl.AclEntry);
descriptor: (Ljava/security/Principal;Ljava/security/acl/AclEntry;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.sun.jmx.snmp.IPAcl.AclImpl.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 com.sun.jmx.snmp.IPAcl.AclImpl.entryList:Ljava/util/Vector;
aload 2
invokevirtual java.util.Vector.contains:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.jmx.snmp.IPAcl.AclImpl.entryList:Ljava/util/Vector;
aload 2
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
5: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/jmx/snmp/IPAcl/AclImpl;
0 6 1 caller Ljava/security/Principal;
0 6 2 entry Ljava/security/acl/AclEntry;
Exceptions:
throws java.security.acl.NotOwnerException
MethodParameters:
Name Flags
caller
entry
public boolean removeEntry(java.security.Principal, java.security.acl.AclEntry);
descriptor: (Ljava/security/Principal;Ljava/security/acl/AclEntry;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.sun.jmx.snmp.IPAcl.AclImpl.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 com.sun.jmx.snmp.IPAcl.AclImpl.entryList:Ljava/util/Vector;
aload 2
invokevirtual java.util.Vector.removeElement:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jmx/snmp/IPAcl/AclImpl;
0 3 1 caller Ljava/security/Principal;
0 3 2 entry Ljava/security/acl/AclEntry;
Exceptions:
throws java.security.acl.NotOwnerException
MethodParameters:
Name Flags
caller
entry
public void removeAll(java.security.Principal);
descriptor: (Ljava/security/Principal;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.jmx.snmp.IPAcl.AclImpl.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 com.sun.jmx.snmp.IPAcl.AclImpl.entryList:Ljava/util/Vector;
invokevirtual java.util.Vector.removeAllElements:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jmx/snmp/IPAcl/AclImpl;
0 4 1 caller Ljava/security/Principal;
Exceptions:
throws java.security.acl.NotOwnerException
MethodParameters:
Name Flags
caller
public java.util.Enumeration<java.security.acl.Permission> getPermissions(java.security.Principal);
descriptor: (Ljava/security/Principal;)Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 2
start local 2 1: aload 0
getfield com.sun.jmx.snmp.IPAcl.AclImpl.entryList:Ljava/util/Vector;
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
astore 3
start local 3 2: goto 6
3: StackMap locals: java.util.Vector java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.security.acl.AclEntry
astore 4
start local 4 4: aload 4
invokeinterface java.security.acl.AclEntry.getPrincipal:()Ljava/security/Principal;
aload 1
invokeinterface java.security.Principal.equals:(Ljava/lang/Object;)Z
ifeq 6
5: aload 4
invokeinterface java.security.acl.AclEntry.permissions:()Ljava/util/Enumeration;
areturn
end local 4 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 3
end local 3 7: aload 2
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/jmx/snmp/IPAcl/AclImpl;
0 8 1 user Ljava/security/Principal;
1 8 2 empty Ljava/util/Vector<Ljava/security/acl/Permission;>;
2 7 3 e Ljava/util/Enumeration<Ljava/security/acl/AclEntry;>;
4 6 4 ent Ljava/security/acl/AclEntry;
Signature: (Ljava/security/Principal;)Ljava/util/Enumeration<Ljava/security/acl/Permission;>;
MethodParameters:
Name Flags
user
public java.util.Enumeration<java.security.acl.AclEntry> entries();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.jmx.snmp.IPAcl.AclImpl.entryList:Ljava/util/Vector;
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jmx/snmp/IPAcl/AclImpl;
Signature: ()Ljava/util/Enumeration<Ljava/security/acl/AclEntry;>;
public boolean checkPermission(java.security.Principal, java.security.acl.Permission);
descriptor: (Ljava/security/Principal;Ljava/security/acl/Permission;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.jmx.snmp.IPAcl.AclImpl.entryList:Ljava/util/Vector;
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
astore 3
start local 3 1: goto 5
2: StackMap locals: java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.security.acl.AclEntry
astore 4
start local 4 3: aload 4
invokeinterface java.security.acl.AclEntry.getPrincipal:()Ljava/security/Principal;
aload 1
invokeinterface java.security.Principal.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 4
aload 2
invokeinterface java.security.acl.AclEntry.checkPermission:(Ljava/security/acl/Permission;)Z
ifeq 5
iconst_1
ireturn
end local 4 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 2
end local 3 6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/jmx/snmp/IPAcl/AclImpl;
0 7 1 user Ljava/security/Principal;
0 7 2 perm Ljava/security/acl/Permission;
1 6 3 e Ljava/util/Enumeration;
3 5 4 ent Ljava/security/acl/AclEntry;
MethodParameters:
Name Flags
user
perm
public boolean checkPermission(java.security.Principal, java.lang.String, java.security.acl.Permission);
descriptor: (Ljava/security/Principal;Ljava/lang/String;Ljava/security/acl/Permission;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.jmx.snmp.IPAcl.AclImpl.entryList:Ljava/util/Vector;
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
astore 4
start local 4 1: goto 5
2: StackMap locals: java.util.Enumeration
StackMap stack:
aload 4
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast com.sun.jmx.snmp.IPAcl.AclEntryImpl
astore 5
start local 5 3: aload 5
invokevirtual com.sun.jmx.snmp.IPAcl.AclEntryImpl.getPrincipal:()Ljava/security/Principal;
aload 1
invokeinterface java.security.Principal.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 5
aload 3
invokevirtual com.sun.jmx.snmp.IPAcl.AclEntryImpl.checkPermission:(Ljava/security/acl/Permission;)Z
ifeq 5
aload 5
aload 2
invokevirtual com.sun.jmx.snmp.IPAcl.AclEntryImpl.checkCommunity:(Ljava/lang/String;)Z
ifeq 5
iconst_1
ireturn
end local 5 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 2
end local 4 6: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/jmx/snmp/IPAcl/AclImpl;
0 7 1 user Ljava/security/Principal;
0 7 2 community Ljava/lang/String;
0 7 3 perm Ljava/security/acl/Permission;
1 6 4 e Ljava/util/Enumeration;
3 5 5 ent Lcom/sun/jmx/snmp/IPAcl/AclEntryImpl;
MethodParameters:
Name Flags
user
community
perm
public boolean (java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.jmx.snmp.IPAcl.AclImpl.entryList:Ljava/util/Vector;
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
astore 2
start local 2 1: goto 4
2: StackMap locals: java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast com.sun.jmx.snmp.IPAcl.AclEntryImpl
astore 3
start local 3 3: aload 3
aload 1
invokevirtual com.sun.jmx.snmp.IPAcl.AclEntryImpl.checkCommunity:(Ljava/lang/String;)Z
ifeq 4
iconst_1
ireturn
end local 3 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 2
end local 2 5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/jmx/snmp/IPAcl/AclImpl;
0 6 1 community Ljava/lang/String;
1 5 2 e Ljava/util/Enumeration;
3 4 3 ent Lcom/sun/jmx/snmp/IPAcl/AclEntryImpl;
MethodParameters:
Name Flags
community
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "AclImpl: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.sun.jmx.snmp.IPAcl.AclImpl.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jmx/snmp/IPAcl/AclImpl;
}
SourceFile: "AclImpl.java"