public final class com.sun.jndi.cosnaming.CNNameParser implements javax.naming.NameParser
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.jndi.cosnaming.CNNameParser
super_class: java.lang.Object
{
private static final java.util.Properties mySyntax;
descriptor: Ljava/util/Properties;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final char kindSeparator;
descriptor: C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 46
private static final char compSeparator;
descriptor: C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 47
private static final char escapeChar;
descriptor: C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 92
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
putstatic com.sun.jndi.cosnaming.CNNameParser.mySyntax:Ljava/util/Properties;
1: getstatic com.sun.jndi.cosnaming.CNNameParser.mySyntax:Ljava/util/Properties;
ldc "jndi.syntax.direction"
ldc "left_to_right"
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: getstatic com.sun.jndi.cosnaming.CNNameParser.mySyntax:Ljava/util/Properties;
ldc "jndi.syntax.separator"
ldc "/"
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: getstatic com.sun.jndi.cosnaming.CNNameParser.mySyntax:Ljava/util/Properties;
ldc "jndi.syntax.escape"
ldc "\\"
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/jndi/cosnaming/CNNameParser;
public javax.naming.Name parse(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/naming/Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.sun.jndi.cosnaming.CNNameParser.insStringToStringifiedComps:(Ljava/lang/String;)Ljava/util/Vector;
astore 2
start local 2 1: new com.sun.jndi.cosnaming.CNNameParser$CNCompoundName
dup
aload 2
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
invokespecial com.sun.jndi.cosnaming.CNNameParser$CNCompoundName.<init>:(Ljava/util/Enumeration;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/jndi/cosnaming/CNNameParser;
0 2 1 name Ljava/lang/String;
1 2 2 comps Ljava/util/Vector<Ljava/lang/String;>;
Exceptions:
throws javax.naming.NamingException
MethodParameters:
Name Flags
name
static NameComponent[] nameToCosName(javax.naming.Name);
descriptor: (Ljavax/naming/Name;)[LNameComponent;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tNameComponent cannot be resolved to a type\n\tNameComponent cannot be resolved to a type\n\tNameComponent cannot be resolved to a type\n\tNameComponent cannot be resolved to a type\n\tThe method parseComponent(String) from the type CNNameParser refers to the missing type NameComponent\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws javax.naming.InvalidNameException
MethodParameters:
Name Flags
name
static java.lang.String cosNameToInsString(NameComponent[]);
descriptor: ([LNameComponent;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tNameComponent cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
cname
static javax.naming.Name cosNameToName(NameComponent[]);
descriptor: ([LNameComponent;)Ljavax/naming/Name;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tNameComponent cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
cname
private static java.util.Vector<java.lang.String> insStringToStringifiedComps(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Vector;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tNameComponent cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws javax.naming.InvalidNameException
Signature: (Ljava/lang/String;)Ljava/util/Vector<Ljava/lang/String;>;
MethodParameters:
Name Flags
str
private static NameComponent parseComponent(java.lang.String);
descriptor: (Ljava/lang/String;)LNameComponent;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tNameComponent cannot be resolved to a type\n\tNameComponent cannot be resolved to a type\n\tNameComponent cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws javax.naming.InvalidNameException
MethodParameters:
Name Flags
compStr
static java.lang.String stringifyComponent(NameComponent);
descriptor: (LNameComponent;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tNameComponent cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
comp
private static java.lang.String escape(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
ifge 4
1: aload 0
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
ifge 4
2: aload 0
bipush 92
invokevirtual java.lang.String.indexOf:(I)I
ifge 4
3: aload 0
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
istore 1
start local 1 5: iconst_0
istore 2
start local 2 6: iload 1
iload 1
iadd
newarray 5
astore 3
start local 3 7: iconst_0
istore 4
start local 4 8: goto 13
9: StackMap locals: java.lang.String int int char[] int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
invokestatic com.sun.jndi.cosnaming.CNNameParser.isMeta:(C)Z
ifeq 11
10: aload 3
iload 2
iinc 2 1
bipush 92
castore
11: StackMap locals:
StackMap stack:
aload 3
iload 2
iinc 2 1
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
castore
12: iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
iload 1
if_icmplt 9
end local 4 14: new java.lang.String
dup
aload 3
iconst_0
iload 2
invokespecial java.lang.String.<init>:([CII)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 str Ljava/lang/String;
5 15 1 len I
6 15 2 j I
7 15 3 newStr [C
8 14 4 i I
MethodParameters:
Name Flags
str
private static boolean isMeta(char);
descriptor: (C)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
lookupswitch { // 3
46: 1
47: 1
92: 1
default: 2
}
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ch C
MethodParameters:
Name Flags
ch
}
SourceFile: "CNNameParser.java"
NestMembers:
com.sun.jndi.cosnaming.CNNameParser$CNCompoundName
InnerClasses:
final CNCompoundName = com.sun.jndi.cosnaming.CNNameParser$CNCompoundName of com.sun.jndi.cosnaming.CNNameParser