public final class com.sun.jndi.dns.DnsName implements javax.naming.Name
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.jndi.dns.DnsName
super_class: java.lang.Object
{
private java.lang.String domain;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.ArrayList<java.lang.String> labels;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Ljava/lang/String;>;
private short octets;
descriptor: S
flags: (0x0002) ACC_PRIVATE
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7040187611324710271
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc ""
putfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.jndi.dns.DnsName.labels:Ljava/util/ArrayList;
3: aload 0
iconst_1
putfield com.sun.jndi.dns.DnsName.octets:S
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/jndi/dns/DnsName;
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc ""
putfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.jndi.dns.DnsName.labels:Ljava/util/ArrayList;
3: aload 0
iconst_1
putfield com.sun.jndi.dns.DnsName.octets:S
4: aload 0
aload 1
invokevirtual com.sun.jndi.dns.DnsName.parse:(Ljava/lang/String;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/jndi/dns/DnsName;
0 6 1 name Ljava/lang/String;
Exceptions:
throws javax.naming.InvalidNameException
MethodParameters:
Name Flags
name
private void <init>(com.sun.jndi.dns.DnsName, int, int);
descriptor: (Lcom/sun/jndi/dns/DnsName;II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc ""
putfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.jndi.dns.DnsName.labels:Ljava/util/ArrayList;
3: aload 0
iconst_1
putfield com.sun.jndi.dns.DnsName.octets:S
4: aload 1
invokevirtual com.sun.jndi.dns.DnsName.size:()I
iload 3
isub
istore 4
start local 4 5: aload 1
invokevirtual com.sun.jndi.dns.DnsName.size:()I
iload 2
isub
istore 5
start local 5 6: aload 0
getfield com.sun.jndi.dns.DnsName.labels:Ljava/util/ArrayList;
aload 1
getfield com.sun.jndi.dns.DnsName.labels:Ljava/util/ArrayList;
iload 4
iload 5
invokevirtual java.util.ArrayList.subList:(II)Ljava/util/List;
invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
pop
7: aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
aload 1
invokevirtual com.sun.jndi.dns.DnsName.size:()I
if_icmpne 11
8: aload 0
aload 1
getfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
putfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
9: aload 0
aload 1
getfield com.sun.jndi.dns.DnsName.octets:S
putfield com.sun.jndi.dns.DnsName.octets:S
10: goto 16
11: StackMap locals: com.sun.jndi.dns.DnsName com.sun.jndi.dns.DnsName int int int int
StackMap stack:
aload 0
getfield com.sun.jndi.dns.DnsName.labels:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 7
goto 15
StackMap locals: com.sun.jndi.dns.DnsName com.sun.jndi.dns.DnsName int int int int top java.util.Iterator
StackMap stack:
12: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 13: aload 6
invokevirtual java.lang.String.length:()I
ifle 15
14: aload 0
dup
getfield com.sun.jndi.dns.DnsName.octets:S
aload 6
invokevirtual java.lang.String.length:()I
iconst_1
iadd
i2s
iadd
i2s
putfield com.sun.jndi.dns.DnsName.octets:S
end local 6 15: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
16: StackMap locals: com.sun.jndi.dns.DnsName com.sun.jndi.dns.DnsName int int int int
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/jndi/dns/DnsName;
0 17 1 n Lcom/sun/jndi/dns/DnsName;
0 17 2 beg I
0 17 3 end I
5 17 4 b I
6 17 5 e I
13 15 6 label Ljava/lang/String;
MethodParameters:
Name Flags
n
beg
end
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
ifnonnull 9
1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 2: aload 0
getfield com.sun.jndi.dns.DnsName.labels:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: com.sun.jndi.dns.DnsName java.lang.StringBuilder top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 4: aload 1
invokevirtual java.lang.StringBuilder.length:()I
ifgt 5
aload 2
invokevirtual java.lang.String.length:()I
ifne 6
5: StackMap locals: com.sun.jndi.dns.DnsName java.lang.StringBuilder java.lang.String java.util.Iterator
StackMap stack:
aload 1
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
aload 1
aload 2
invokestatic com.sun.jndi.dns.DnsName.escape:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
end local 2 7: StackMap locals: com.sun.jndi.dns.DnsName java.lang.StringBuilder top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: aload 0
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
end local 1 9: StackMap locals: com.sun.jndi.dns.DnsName
StackMap stack:
aload 0
getfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/jndi/dns/DnsName;
2 9 1 buf Ljava/lang/StringBuilder;
4 7 2 label Ljava/lang/String;
public boolean isHostName();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.jndi.dns.DnsName.labels:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: com.sun.jndi.dns.DnsName top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 2: aload 1
invokestatic com.sun.jndi.dns.DnsName.isHostNameLabel:(Ljava/lang/String;)Z
ifne 4
3: iconst_0
ireturn
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/jndi/dns/DnsName;
2 4 1 label Ljava/lang/String;
public short getOctets();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.jndi.dns.DnsName.octets:S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/dns/DnsName;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.jndi.dns.DnsName.labels:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/dns/DnsName;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/jndi/dns/DnsName;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int int
StackMap stack:
bipush 31
iload 1
imul
aload 0
iload 2
invokevirtual com.sun.jndi.dns.DnsName.getKey:(I)Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iadd
istore 1
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
if_icmplt 3
end local 2 6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/jndi/dns/DnsName;
1 7 1 h I
2 6 2 i I
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 1
instanceof javax.naming.Name
ifeq 1
aload 1
instanceof javax.naming.CompositeName
ifeq 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast javax.naming.Name
astore 2
start local 2 3: aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
aload 2
invokeinterface javax.naming.Name.size:()I
if_icmpne 6
4: aload 0
aload 1
invokevirtual com.sun.jndi.dns.DnsName.compareTo:(Ljava/lang/Object;)I
ifne 6
5: iconst_1
ireturn
StackMap locals: javax.naming.Name
StackMap stack:
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/jndi/dns/DnsName;
0 7 1 obj Ljava/lang/Object;
3 7 2 n Ljavax/naming/Name;
MethodParameters:
Name Flags
obj
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast javax.naming.Name
astore 2
start local 2 1: aload 0
iconst_0
aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
aload 2
invokevirtual com.sun.jndi.dns.DnsName.compareRange:(IILjavax/naming/Name;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/jndi/dns/DnsName;
0 2 1 obj Ljava/lang/Object;
1 2 2 n Ljavax/naming/Name;
MethodParameters:
Name Flags
obj
public boolean startsWith(javax.naming.Name);
descriptor: (Ljavax/naming/Name;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
aload 1
invokeinterface javax.naming.Name.size:()I
if_icmplt 3
1: aload 0
iconst_0
aload 1
invokeinterface javax.naming.Name.size:()I
aload 1
invokevirtual com.sun.jndi.dns.DnsName.compareRange:(IILjavax/naming/Name;)I
ifne 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jndi/dns/DnsName;
0 4 1 n Ljavax/naming/Name;
MethodParameters:
Name Flags
n
public boolean endsWith(javax.naming.Name);
descriptor: (Ljavax/naming/Name;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
aload 1
invokeinterface javax.naming.Name.size:()I
if_icmplt 3
1: aload 0
aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
aload 1
invokeinterface javax.naming.Name.size:()I
isub
aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
aload 1
invokevirtual com.sun.jndi.dns.DnsName.compareRange:(IILjavax/naming/Name;)I
ifne 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jndi/dns/DnsName;
0 4 1 n Ljavax/naming/Name;
MethodParameters:
Name Flags
n
public java.lang.String get(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
if_icmplt 2
1: StackMap locals:
StackMap stack:
new java.lang.ArrayIndexOutOfBoundsException
dup
invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
iload 1
isub
iconst_1
isub
istore 2
start local 2 3: aload 0
getfield com.sun.jndi.dns.DnsName.labels:Ljava/util/ArrayList;
iload 2
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jndi/dns/DnsName;
0 4 1 pos I
3 4 2 i I
MethodParameters:
Name Flags
pos
public java.util.Enumeration<java.lang.String> getAll();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.sun.jndi.dns.DnsName$1
dup
aload 0
invokespecial com.sun.jndi.dns.DnsName$1.<init>:(Lcom/sun/jndi/dns/DnsName;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/dns/DnsName;
Signature: ()Ljava/util/Enumeration<Ljava/lang/String;>;
public javax.naming.Name getPrefix(int);
descriptor: (I)Ljavax/naming/Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.jndi.dns.DnsName
dup
aload 0
iconst_0
iload 1
invokespecial com.sun.jndi.dns.DnsName.<init>:(Lcom/sun/jndi/dns/DnsName;II)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/dns/DnsName;
0 1 1 pos I
MethodParameters:
Name Flags
pos
public javax.naming.Name getSuffix(int);
descriptor: (I)Ljavax/naming/Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.jndi.dns.DnsName
dup
aload 0
iload 1
aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
invokespecial com.sun.jndi.dns.DnsName.<init>:(Lcom/sun/jndi/dns/DnsName;II)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/dns/DnsName;
0 1 1 pos I
MethodParameters:
Name Flags
pos
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new com.sun.jndi.dns.DnsName
dup
aload 0
iconst_0
aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
invokespecial com.sun.jndi.dns.DnsName.<init>:(Lcom/sun/jndi/dns/DnsName;II)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/dns/DnsName;
public java.lang.Object remove(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
if_icmplt 2
1: StackMap locals:
StackMap stack:
new java.lang.ArrayIndexOutOfBoundsException
dup
invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
iload 1
isub
iconst_1
isub
istore 2
start local 2 3: aload 0
getfield com.sun.jndi.dns.DnsName.labels:Ljava/util/ArrayList;
iload 2
invokevirtual java.util.ArrayList.remove:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 4: aload 3
invokevirtual java.lang.String.length:()I
istore 4
start local 4 5: iload 4
ifle 7
6: aload 0
dup
getfield com.sun.jndi.dns.DnsName.octets:S
iload 4
iconst_1
iadd
i2s
isub
i2s
putfield com.sun.jndi.dns.DnsName.octets:S
7: StackMap locals: int java.lang.String int
StackMap stack:
aload 0
aconst_null
putfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
8: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/jndi/dns/DnsName;
0 9 1 pos I
3 9 2 i I
4 9 3 label Ljava/lang/String;
5 9 4 len I
MethodParameters:
Name Flags
pos
public javax.naming.Name add(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/naming/Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
aload 1
invokevirtual com.sun.jndi.dns.DnsName.add:(ILjava/lang/String;)Ljavax/naming/Name;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/dns/DnsName;
0 1 1 comp Ljava/lang/String;
Exceptions:
throws javax.naming.InvalidNameException
MethodParameters:
Name Flags
comp
public javax.naming.Name add(int, java.lang.String);
descriptor: (ILjava/lang/String;)Ljavax/naming/Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iflt 1
iload 1
aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.ArrayIndexOutOfBoundsException
dup
invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
istore 3
start local 3 3: iload 1
ifle 4
iload 3
ifeq 5
4: StackMap locals: int
StackMap stack:
iload 1
ifne 8
aload 0
invokevirtual com.sun.jndi.dns.DnsName.hasRootLabel:()Z
ifeq 8
5: StackMap locals:
StackMap stack:
new javax.naming.InvalidNameException
dup
6: ldc "Empty label must be the last label in a domain name"
7: invokespecial javax.naming.InvalidNameException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
iload 3
ifle 12
9: aload 0
getfield com.sun.jndi.dns.DnsName.octets:S
iload 3
iadd
iconst_1
iadd
sipush 256
if_icmplt 11
10: new javax.naming.InvalidNameException
dup
ldc "Name too long"
invokespecial javax.naming.InvalidNameException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.jndi.dns.DnsName.octets:S
iload 3
iconst_1
iadd
i2s
iadd
i2s
putfield com.sun.jndi.dns.DnsName.octets:S
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
iload 1
isub
istore 4
start local 4 13: aload 2
invokestatic com.sun.jndi.dns.DnsName.verifyLabel:(Ljava/lang/String;)V
14: aload 0
getfield com.sun.jndi.dns.DnsName.labels:Ljava/util/ArrayList;
iload 4
aload 2
invokevirtual java.util.ArrayList.add:(ILjava/lang/Object;)V
15: aload 0
aconst_null
putfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
16: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/jndi/dns/DnsName;
0 17 1 pos I
0 17 2 comp Ljava/lang/String;
3 17 3 len I
13 17 4 i I
Exceptions:
throws javax.naming.InvalidNameException
MethodParameters:
Name Flags
pos
comp
public javax.naming.Name addAll(javax.naming.Name);
descriptor: (Ljavax/naming/Name;)Ljavax/naming/Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
aload 1
invokevirtual com.sun.jndi.dns.DnsName.addAll:(ILjavax/naming/Name;)Ljavax/naming/Name;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/dns/DnsName;
0 1 1 suffix Ljavax/naming/Name;
Exceptions:
throws javax.naming.InvalidNameException
MethodParameters:
Name Flags
suffix
public javax.naming.Name addAll(int, javax.naming.Name);
descriptor: (ILjavax/naming/Name;)Ljavax/naming/Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof com.sun.jndi.dns.DnsName
ifeq 33
1: aload 2
checkcast com.sun.jndi.dns.DnsName
astore 3
start local 3 2: aload 3
invokevirtual com.sun.jndi.dns.DnsName.isEmpty:()Z
ifeq 4
3: aload 0
areturn
4: StackMap locals: com.sun.jndi.dns.DnsName
StackMap stack:
iload 1
ifle 5
aload 3
invokevirtual com.sun.jndi.dns.DnsName.hasRootLabel:()Z
ifne 6
5: StackMap locals:
StackMap stack:
iload 1
ifne 9
aload 0
invokevirtual com.sun.jndi.dns.DnsName.hasRootLabel:()Z
ifeq 9
6: StackMap locals:
StackMap stack:
new javax.naming.InvalidNameException
dup
7: ldc "Empty label must be the last label in a domain name"
8: invokespecial javax.naming.InvalidNameException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.jndi.dns.DnsName.octets:S
aload 3
getfield com.sun.jndi.dns.DnsName.octets:S
iadd
iconst_1
isub
i2s
istore 4
start local 4 10: iload 4
sipush 255
if_icmple 12
11: new javax.naming.InvalidNameException
dup
ldc "Name too long"
invokespecial javax.naming.InvalidNameException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals: int
StackMap stack:
aload 0
iload 4
putfield com.sun.jndi.dns.DnsName.octets:S
13: aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
iload 1
isub
istore 5
start local 5 14: aload 0
getfield com.sun.jndi.dns.DnsName.labels:Ljava/util/ArrayList;
iload 5
aload 3
getfield com.sun.jndi.dns.DnsName.labels:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.addAll:(ILjava/util/Collection;)Z
pop
15: aload 0
invokevirtual com.sun.jndi.dns.DnsName.isEmpty:()Z
ifeq 18
16: aload 0
aload 3
getfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
putfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
17: goto 41
StackMap locals: int
StackMap stack:
18: aload 0
getfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
ifnull 19
aload 3
getfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
ifnonnull 21
19: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
20: goto 41
StackMap locals:
StackMap stack:
21: iload 1
ifne 26
22: aload 0
dup
getfield com.sun.jndi.dns.DnsName.domain: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
aload 3
getfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
ldc "."
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
ldc ""
goto 24
StackMap locals: com.sun.jndi.dns.DnsName int javax.naming.Name com.sun.jndi.dns.DnsName int int
StackMap stack: com.sun.jndi.dns.DnsName java.lang.StringBuilder
23: ldc "."
StackMap locals: com.sun.jndi.dns.DnsName int javax.naming.Name com.sun.jndi.dns.DnsName int int
StackMap stack: com.sun.jndi.dns.DnsName java.lang.StringBuilder java.lang.String
24: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
getfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
25: goto 41
StackMap locals:
StackMap stack:
26: iload 1
aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
if_icmpne 31
27: aload 0
new java.lang.StringBuilder
dup
aload 3
getfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
ldc "."
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
ldc ""
goto 29
StackMap locals: com.sun.jndi.dns.DnsName int javax.naming.Name com.sun.jndi.dns.DnsName int int
StackMap stack: com.sun.jndi.dns.DnsName java.lang.StringBuilder
28: ldc "."
StackMap locals: com.sun.jndi.dns.DnsName int javax.naming.Name com.sun.jndi.dns.DnsName int int
StackMap stack: com.sun.jndi.dns.DnsName java.lang.StringBuilder java.lang.String
29: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
30: goto 41
31: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
end local 5 end local 4 end local 3 32: goto 41
StackMap locals:
StackMap stack:
33: aload 2
instanceof javax.naming.CompositeName
ifeq 36
34: aload 2
checkcast com.sun.jndi.dns.DnsName
astore 2
35: goto 41
36: StackMap locals:
StackMap stack:
aload 2
invokeinterface javax.naming.Name.size:()I
iconst_1
isub
istore 3
start local 3 37: goto 40
38: StackMap locals: int
StackMap stack:
aload 0
iload 1
aload 2
iload 3
invokeinterface javax.naming.Name.get:(I)Ljava/lang/String;
invokevirtual com.sun.jndi.dns.DnsName.add:(ILjava/lang/String;)Ljavax/naming/Name;
pop
39: iinc 3 -1
StackMap locals:
StackMap stack:
40: iload 3
ifge 38
end local 3 41: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lcom/sun/jndi/dns/DnsName;
0 42 1 pos I
0 42 2 n Ljavax/naming/Name;
2 32 3 dn Lcom/sun/jndi/dns/DnsName;
10 32 4 newOctets S
14 32 5 i I
37 41 3 i I
Exceptions:
throws javax.naming.InvalidNameException
MethodParameters:
Name Flags
pos
n
boolean hasRootLabel();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.jndi.dns.DnsName.isEmpty:()Z
ifne 3
1: aload 0
iconst_0
invokevirtual com.sun.jndi.dns.DnsName.get:(I)Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jndi/dns/DnsName;
private int compareRange(int, int, javax.naming.Name);
descriptor: (IILjavax/naming/Name;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
instanceof javax.naming.CompositeName
ifeq 2
1: aload 3
checkcast com.sun.jndi.dns.DnsName
astore 3
2: StackMap locals:
StackMap stack:
iload 2
iload 1
isub
aload 3
invokeinterface javax.naming.Name.size:()I
invokestatic java.lang.Math.min:(II)I
istore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 12
5: StackMap locals: int int
StackMap stack:
aload 0
iload 5
iload 1
iadd
invokevirtual com.sun.jndi.dns.DnsName.get:(I)Ljava/lang/String;
astore 6
start local 6 6: aload 3
iload 5
invokeinterface javax.naming.Name.get:(I)Ljava/lang/String;
astore 7
start local 7 7: aload 0
invokevirtual com.sun.jndi.dns.DnsName.size:()I
pop
8: aload 6
aload 7
invokestatic com.sun.jndi.dns.DnsName.compareLabels:(Ljava/lang/String;Ljava/lang/String;)I
istore 8
start local 8 9: iload 8
ifeq 11
10: iload 8
ireturn
end local 8 end local 7 end local 6 11: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
iload 4
if_icmplt 5
end local 5 13: iload 2
iload 1
isub
aload 3
invokeinterface javax.naming.Name.size:()I
isub
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/jndi/dns/DnsName;
0 14 1 beg I
0 14 2 end I
0 14 3 n Ljavax/naming/Name;
3 14 4 minSize I
4 13 5 i I
6 11 6 label1 Ljava/lang/String;
7 11 7 label2 Ljava/lang/String;
9 11 8 c I
MethodParameters:
Name Flags
beg
end
n
java.lang.String getKey(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual com.sun.jndi.dns.DnsName.get:(I)Ljava/lang/String;
invokestatic com.sun.jndi.dns.DnsName.keyForLabel:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/dns/DnsName;
0 1 1 i I
MethodParameters:
Name Flags
i
private void parse(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 16
3: StackMap locals: java.lang.StringBuffer int
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 4: iload 4
bipush 92
if_icmpne 10
5: aload 1
iload 3
iinc 3 1
invokestatic com.sun.jndi.dns.DnsName.getEscapedOctet:(Ljava/lang/String;I)C
istore 4
6: aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
invokestatic com.sun.jndi.dns.DnsName.isDigit:(C)Z
ifeq 8
7: iinc 3 2
8: StackMap locals: int
StackMap stack:
aload 2
iload 4
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
9: goto 15
StackMap locals:
StackMap stack:
10: iload 4
bipush 46
if_icmpeq 13
11: aload 2
iload 4
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
12: goto 15
13: StackMap locals:
StackMap stack:
aload 0
iconst_0
aload 2
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokevirtual com.sun.jndi.dns.DnsName.add:(ILjava/lang/String;)Ljavax/naming/Name;
pop
14: aload 2
iconst_0
iload 3
invokevirtual java.lang.StringBuffer.delete:(II)Ljava/lang/StringBuffer;
pop
end local 4 15: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
16: iload 3
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 3 17: aload 1
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
aload 1
ldc "."
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
18: aload 0
iconst_0
aload 2
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokevirtual com.sun.jndi.dns.DnsName.add:(ILjava/lang/String;)Ljavax/naming/Name;
pop
19: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
20: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/sun/jndi/dns/DnsName;
0 21 1 name Ljava/lang/String;
1 21 2 label Ljava/lang/StringBuffer;
2 17 3 i I
4 15 4 c C
Exceptions:
throws javax.naming.InvalidNameException
MethodParameters:
Name Flags
name
private static char getEscapedOctet(java.lang.String, int);
descriptor: (Ljava/lang/String;I)C
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
iinc 1 1
iload 1
invokevirtual java.lang.String.charAt:(I)C
istore 2
start local 2 1: iload 2
invokestatic com.sun.jndi.dns.DnsName.isDigit:(C)Z
ifeq 10
2: aload 0
iinc 1 1
iload 1
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 3: aload 0
iinc 1 1
iload 1
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 4: iload 3
invokestatic com.sun.jndi.dns.DnsName.isDigit:(C)Z
ifeq 7
iload 4
invokestatic com.sun.jndi.dns.DnsName.isDigit:(C)Z
ifeq 7
5: iload 2
bipush 48
isub
bipush 100
imul
iload 3
bipush 48
isub
bipush 10
imul
iadd
iload 4
bipush 48
isub
iadd
i2c
6: ireturn
7: StackMap locals: int int int
StackMap stack:
new javax.naming.InvalidNameException
dup
8: new java.lang.StringBuilder
dup
ldc "Invalid escape sequence in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial javax.naming.InvalidNameException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 10: StackMap locals:
StackMap stack:
iload 2
11: ireturn
end local 2 12: StackMap locals: java.lang.String int
StackMap stack: java.lang.IndexOutOfBoundsException
pop
13: new javax.naming.InvalidNameException
dup
14: new java.lang.StringBuilder
dup
ldc "Invalid escape sequence in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: invokespecial javax.naming.InvalidNameException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 name Ljava/lang/String;
0 16 1 pos I
1 12 2 c1 C
3 10 3 c2 C
4 10 4 c3 C
Exception table:
from to target type
0 6 12 Class java.lang.IndexOutOfBoundsException
7 11 12 Class java.lang.IndexOutOfBoundsException
Exceptions:
throws javax.naming.InvalidNameException
MethodParameters:
Name Flags
name
pos
private static void verifyLabel(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
bipush 63
if_icmple 4
1: new javax.naming.InvalidNameException
dup
2: new java.lang.StringBuilder
dup
ldc "Label exceeds 63 octets: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial javax.naming.InvalidNameException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 5: goto 12
6: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokevirtual java.lang.String.charAt:(I)C
istore 2
start local 2 7: iload 2
ldc 65280
iand
ifeq 11
8: new javax.naming.InvalidNameException
dup
9: new java.lang.StringBuilder
dup
ldc "Label has two-byte char: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial javax.naming.InvalidNameException.<init>:(Ljava/lang/String;)V
athrow
end local 2 11: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
12: iload 1
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 6
end local 1 13: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 label Ljava/lang/String;
5 13 1 i I
7 11 2 c C
Exceptions:
throws javax.naming.InvalidNameException
MethodParameters:
Name Flags
label
private static boolean isHostNameLabel(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokevirtual java.lang.String.charAt:(I)C
istore 2
start local 2 3: iload 2
invokestatic com.sun.jndi.dns.DnsName.isHostNameChar:(C)Z
ifne 5
4: iconst_0
ireturn
end local 2 5: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
6: iload 1
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 2
end local 1 7: aload 0
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 8
aload 0
ldc "-"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 9
StackMap locals:
StackMap stack:
8: iconst_0
goto 10
StackMap locals:
StackMap stack:
9: iconst_1
StackMap locals:
StackMap stack: int
10: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 label Ljava/lang/String;
1 7 1 i I
3 5 2 c C
MethodParameters:
Name Flags
label
private static boolean isHostNameChar(char);
descriptor: (C)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 45
if_icmpeq 6
1: iload 0
bipush 97
if_icmplt 2
iload 0
bipush 122
if_icmple 6
2: StackMap locals:
StackMap stack:
iload 0
bipush 65
if_icmplt 3
iload 0
bipush 90
if_icmple 6
3: StackMap locals:
StackMap stack:
iload 0
bipush 48
if_icmplt 5
iload 0
bipush 57
4: if_icmple 6
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
StackMap locals:
StackMap stack:
6: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 c C
MethodParameters:
Name Flags
c
private static boolean isDigit(char);
descriptor: (C)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 48
if_icmplt 1
iload 0
bipush 57
if_icmpgt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 c C
MethodParameters:
Name Flags
c
private static void escape(java.lang.StringBuilder, java.lang.String);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 7
2: StackMap locals: int
StackMap stack:
aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 3: iload 3
bipush 46
if_icmpeq 4
iload 3
bipush 92
if_icmpne 5
4: StackMap locals: int
StackMap stack:
aload 0
bipush 92
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 3 6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 2
end local 2 8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 buf Ljava/lang/StringBuilder;
0 9 1 label Ljava/lang/String;
1 8 2 i I
3 6 3 c C
MethodParameters:
Name Flags
buf
label
private static int compareLabels(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.String.length:()I
aload 1
invokevirtual java.lang.String.length:()I
invokestatic java.lang.Math.min:(II)I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 12
3: StackMap locals: int int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 4: aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 5: iload 4
bipush 65
if_icmplt 7
iload 4
bipush 90
if_icmpgt 7
6: iload 4
bipush 32
iadd
i2c
istore 4
7: StackMap locals: int int
StackMap stack:
iload 5
bipush 65
if_icmplt 9
iload 5
bipush 90
if_icmpgt 9
8: iload 5
bipush 32
iadd
i2c
istore 5
9: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmpeq 11
10: iload 4
iload 5
isub
ireturn
end local 5 end local 4 11: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
iload 2
if_icmplt 3
end local 3 13: aload 0
invokevirtual java.lang.String.length:()I
aload 1
invokevirtual java.lang.String.length:()I
isub
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 label1 Ljava/lang/String;
0 14 1 label2 Ljava/lang/String;
1 14 2 min I
2 13 3 i I
4 11 4 c1 C
5 11 5 c2 C
MethodParameters:
Name Flags
label1
label2
private static java.lang.String keyForLabel(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial java.lang.StringBuffer.<init>:(I)V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 8
3: StackMap locals: java.lang.StringBuffer int
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 4: iload 3
bipush 65
if_icmplt 6
iload 3
bipush 90
if_icmpgt 6
5: iload 3
bipush 32
iadd
i2c
istore 3
6: StackMap locals: int
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
end local 3 7: iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 2 9: aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 label Ljava/lang/String;
1 10 1 buf Ljava/lang/StringBuffer;
2 9 2 i I
4 7 3 c C
MethodParameters:
Name Flags
label
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual com.sun.jndi.dns.DnsName.toString:()Ljava/lang/String;
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/jndi/dns/DnsName;
0 2 1 s Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual com.sun.jndi.dns.DnsName.parse:(Ljava/lang/String;)V
1: goto 6
StackMap locals:
StackMap stack: javax.naming.InvalidNameException
2: pop
3: new java.io.StreamCorruptedException
dup
4: new java.lang.StringBuilder
dup
ldc "Invalid name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.jndi.dns.DnsName.domain:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.io.StreamCorruptedException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/jndi/dns/DnsName;
0 7 1 s Ljava/io/ObjectInputStream;
Exception table:
from to target type
0 1 2 Class javax.naming.InvalidNameException
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
}
SourceFile: "DnsName.java"
NestMembers:
com.sun.jndi.dns.DnsName$1
InnerClasses:
com.sun.jndi.dns.DnsName$1