public final class com.sun.jndi.cosnaming.CorbanameUrl
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.jndi.cosnaming.CorbanameUrl
super_class: java.lang.Object
{
private java.lang.String stringName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String location;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public java.lang.String getStringName();
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.jndi.cosnaming.CorbanameUrl.stringName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/cosnaming/CorbanameUrl;
public javax.naming.Name getCosName();
descriptor: ()Ljavax/naming/Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.jndi.cosnaming.CNCtx.parser:Lcom/sun/jndi/cosnaming/CNNameParser;
aload 0
getfield com.sun.jndi.cosnaming.CorbanameUrl.stringName:Ljava/lang/String;
invokevirtual com.sun.jndi.cosnaming.CNNameParser.parse:(Ljava/lang/String;)Ljavax/naming/Name;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/cosnaming/CorbanameUrl;
Exceptions:
throws javax.naming.NamingException
public java.lang.String getLocation();
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 "corbaloc:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.jndi.cosnaming.CorbanameUrl.location: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/jndi/cosnaming/CorbanameUrl;
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ldc "corbaname:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 3
2: new java.net.MalformedURLException
dup
new java.lang.StringBuilder
dup
ldc "Invalid corbaname URL: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: com.sun.jndi.cosnaming.CorbanameUrl java.lang.String
StackMap stack:
bipush 10
istore 2
start local 2 4: aload 1
bipush 35
iload 2
invokevirtual java.lang.String.indexOf:(II)I
istore 3
start local 3 5: iload 3
ifge 9
6: aload 1
invokevirtual java.lang.String.length:()I
istore 3
7: aload 0
ldc ""
putfield com.sun.jndi.cosnaming.CorbanameUrl.stringName:Ljava/lang/String;
8: goto 10
9: StackMap locals: int int
StackMap stack:
aload 0
aload 1
iload 3
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic com.sun.jndi.toolkit.corba.CorbaUtils.decode:(Ljava/lang/String;)Ljava/lang/String;
putfield com.sun.jndi.cosnaming.CorbanameUrl.stringName:Ljava/lang/String;
10: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield com.sun.jndi.cosnaming.CorbanameUrl.location:Ljava/lang/String;
11: aload 0
getfield com.sun.jndi.cosnaming.CorbanameUrl.location:Ljava/lang/String;
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 4
start local 4 12: iload 4
iflt 16
13: iload 4
aload 0
getfield com.sun.jndi.cosnaming.CorbanameUrl.location:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_1
isub
if_icmpne 17
14: aload 0
dup
getfield com.sun.jndi.cosnaming.CorbanameUrl.location:Ljava/lang/String;
new java.lang.StringBuilder
dup_x1
swap
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "NameService"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield com.sun.jndi.cosnaming.CorbanameUrl.location:Ljava/lang/String;
15: goto 17
16: StackMap locals: int
StackMap stack:
aload 0
dup
getfield com.sun.jndi.cosnaming.CorbanameUrl.location:Ljava/lang/String;
new java.lang.StringBuilder
dup_x1
swap
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/NameService"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield com.sun.jndi.cosnaming.CorbanameUrl.location:Ljava/lang/String;
17: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/jndi/cosnaming/CorbanameUrl;
0 18 1 url Ljava/lang/String;
4 18 2 addrStart I
5 18 3 addrEnd I
12 18 4 keyStart I
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
url
}
SourceFile: "CorbanameUrl.java"