public class sun.security.provider.PolicyParser$PrincipalEntry implements java.security.Principal
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.provider.PolicyParser$PrincipalEntry
super_class: java.lang.Object
{
public static final java.lang.String WILDCARD_CLASS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "WILDCARD_PRINCIPAL_CLASS"
public static final java.lang.String WILDCARD_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "WILDCARD_PRINCIPAL_NAME"
public static final java.lang.String REPLACE_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "PolicyParser.REPLACE_NAME"
java.lang.String principalClass;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String principalName;
descriptor: Ljava/lang/String;
flags: (0x0000)
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnull 2
aload 2
ifnonnull 5
2: StackMap locals: sun.security.provider.PolicyParser$PrincipalEntry java.lang.String java.lang.String
StackMap stack:
new java.lang.NullPointerException
dup
3: ldc "null.principalClass.or.principalName"
iconst_0
anewarray java.lang.Object
4: invokestatic sun.security.util.LocalizedMessage.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.security.provider.PolicyParser$PrincipalEntry.principalClass:Ljava/lang/String;
6: aload 0
aload 2
putfield sun.security.provider.PolicyParser$PrincipalEntry.principalName:Ljava/lang/String;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/provider/PolicyParser$PrincipalEntry;
0 8 1 principalClass Ljava/lang/String;
0 8 2 principalName Ljava/lang/String;
MethodParameters:
Name Flags
principalClass
principalName
boolean isWildcardName();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.PolicyParser$PrincipalEntry.principalName:Ljava/lang/String;
ldc "WILDCARD_PRINCIPAL_NAME"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/PolicyParser$PrincipalEntry;
boolean isWildcardClass();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.PolicyParser$PrincipalEntry.principalClass:Ljava/lang/String;
ldc "WILDCARD_PRINCIPAL_CLASS"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/PolicyParser$PrincipalEntry;
boolean isReplaceName();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.PolicyParser$PrincipalEntry.principalClass:Ljava/lang/String;
ldc "PolicyParser.REPLACE_NAME"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/PolicyParser$PrincipalEntry;
public java.lang.String getPrincipalClass();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.PolicyParser$PrincipalEntry.principalClass:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/PolicyParser$PrincipalEntry;
public java.lang.String getPrincipalName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.PolicyParser$PrincipalEntry.principalName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/PolicyParser$PrincipalEntry;
public java.lang.String getDisplayClass();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.isWildcardClass:()Z
ifeq 2
1: ldc "*"
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.isReplaceName:()Z
ifeq 4
3: ldc ""
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.provider.PolicyParser$PrincipalEntry.principalClass:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/provider/PolicyParser$PrincipalEntry;
public java.lang.String getDisplayName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.getDisplayName:(Z)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/PolicyParser$PrincipalEntry;
public java.lang.String getDisplayName(boolean);
descriptor: (Z)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.isWildcardName:()Z
ifeq 2
1: ldc "*"
areturn
2: StackMap locals:
StackMap stack:
iload 1
ifeq 3
new java.lang.StringBuilder
dup
ldc "\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.provider.PolicyParser$PrincipalEntry.principalName:Ljava/lang/String;
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;
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.provider.PolicyParser$PrincipalEntry.principalName:Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/provider/PolicyParser$PrincipalEntry;
0 4 1 addQuote Z
MethodParameters:
Name Flags
addQuote
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 sun.security.provider.PolicyParser$PrincipalEntry.principalName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/PolicyParser$PrincipalEntry;
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: aload 0
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.isReplaceName:()Z
ifne 2
1: new java.lang.StringBuilder
dup
aload 0
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.getDisplayClass:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.getDisplayName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.getDisplayName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/provider/PolicyParser$PrincipalEntry;
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 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof sun.security.provider.PolicyParser$PrincipalEntry
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast sun.security.provider.PolicyParser$PrincipalEntry
astore 2
start local 2 5: aload 0
getfield sun.security.provider.PolicyParser$PrincipalEntry.principalClass:Ljava/lang/String;
aload 2
getfield sun.security.provider.PolicyParser$PrincipalEntry.principalClass:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: aload 0
getfield sun.security.provider.PolicyParser$PrincipalEntry.principalName:Ljava/lang/String;
aload 2
getfield sun.security.provider.PolicyParser$PrincipalEntry.principalName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: iconst_1
ireturn
StackMap locals: sun.security.provider.PolicyParser$PrincipalEntry
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 Lsun/security/provider/PolicyParser$PrincipalEntry;
0 9 1 obj Ljava/lang/Object;
5 9 2 that Lsun/security/provider/PolicyParser$PrincipalEntry;
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
getfield sun.security.provider.PolicyParser$PrincipalEntry.principalClass:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/PolicyParser$PrincipalEntry;
public void write(java.io.PrintWriter);
descriptor: (Ljava/io/PrintWriter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
new java.lang.StringBuilder
dup
ldc "principal "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.getDisplayClass:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 0
iconst_1
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.getDisplayName:(Z)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/provider/PolicyParser$PrincipalEntry;
0 4 1 out Ljava/io/PrintWriter;
MethodParameters:
Name Flags
out
}
SourceFile: "PolicyParser.java"
NestHost: sun.security.provider.PolicyParser
InnerClasses:
public PrincipalEntry = sun.security.provider.PolicyParser$PrincipalEntry of sun.security.provider.PolicyParser