public class org.I0Itec.zkclient.util.ZkPathUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.I0Itec.zkclient.util.ZkPathUtil
super_class: java.lang.Object
{
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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/I0Itec/zkclient/util/ZkPathUtil;
public static java.lang.String leadingZeros(long, int);
descriptor: (JI)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 2 0: new java.lang.StringBuilder
dup
ldc "%0"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "d"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 number J
0 1 2 numberOfLeadingZeros I
MethodParameters:
Name Flags
number
numberOfLeadingZeros
public static java.lang.String toString(org.I0Itec.zkclient.ZkClient);
descriptor: (Lorg/I0Itec/zkclient/ZkClient;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "/"
getstatic org.I0Itec.zkclient.util.ZkPathUtil$PathFilter.ALL:Lorg/I0Itec/zkclient/util/ZkPathUtil$PathFilter;
invokestatic org.I0Itec.zkclient.util.ZkPathUtil.toString:(Lorg/I0Itec/zkclient/ZkClient;Ljava/lang/String;Lorg/I0Itec/zkclient/util/ZkPathUtil$PathFilter;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 zkClient Lorg/I0Itec/zkclient/ZkClient;
MethodParameters:
Name Flags
zkClient
public static java.lang.String toString(org.I0Itec.zkclient.ZkClient, java.lang.String, org.I0Itec.zkclient.util.ZkPathUtil$PathFilter);
descriptor: (Lorg/I0Itec/zkclient/ZkClient;Ljava/lang/String;Lorg/I0Itec/zkclient/util/ZkPathUtil$PathFilter;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
new java.lang.StringBuilder
dup
ldc "+ ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 3
start local 3 1: aload 3
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
aload 2
iconst_1
aload 3
aload 1
invokestatic org.I0Itec.zkclient.util.ZkPathUtil.addChildrenToStringBuilder:(Lorg/I0Itec/zkclient/ZkClient;Lorg/I0Itec/zkclient/util/ZkPathUtil$PathFilter;ILjava/lang/StringBuilder;Ljava/lang/String;)V
3: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 zkClient Lorg/I0Itec/zkclient/ZkClient;
0 4 1 startPath Ljava/lang/String;
0 4 2 pathFilter Lorg/I0Itec/zkclient/util/ZkPathUtil$PathFilter;
1 4 3 builder Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
zkClient
startPath
pathFilter
private static void addChildrenToStringBuilder(org.I0Itec.zkclient.ZkClient, org.I0Itec.zkclient.util.ZkPathUtil$PathFilter, int, java.lang.StringBuilder, java.lang.String);
descriptor: (Lorg/I0Itec/zkclient/ZkClient;Lorg/I0Itec/zkclient/util/ZkPathUtil$PathFilter;ILjava/lang/StringBuilder;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 4
invokevirtual org.I0Itec.zkclient.ZkClient.getChildren:(Ljava/lang/String;)Ljava/util/List;
astore 5
start local 5 1: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 12
StackMap locals: org.I0Itec.zkclient.ZkClient org.I0Itec.zkclient.util.ZkPathUtil$PathFilter int java.lang.StringBuilder java.lang.String java.util.List top java.util.Iterator
StackMap stack:
2: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 3: aload 4
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 6
4: new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 8
start local 8 5: goto 7
end local 8 6: StackMap locals: org.I0Itec.zkclient.ZkClient org.I0Itec.zkclient.util.ZkPathUtil$PathFilter int java.lang.StringBuilder java.lang.String java.util.List java.lang.String java.util.Iterator
StackMap stack:
new java.lang.StringBuilder
dup
aload 4
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 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 8
start local 8 7: StackMap locals: java.lang.String
StackMap stack:
aload 1
aload 8
invokeinterface org.I0Itec.zkclient.util.ZkPathUtil$PathFilter.showChilds:(Ljava/lang/String;)Z
ifeq 11
8: aload 3
new java.lang.StringBuilder
dup
iload 2
iconst_1
isub
invokestatic org.I0Itec.zkclient.util.ZkPathUtil.getSpaces:(I)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;
ldc "+"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 0
aload 1
iload 2
iconst_1
iadd
aload 3
aload 8
invokestatic org.I0Itec.zkclient.util.ZkPathUtil.addChildrenToStringBuilder:(Lorg/I0Itec/zkclient/ZkClient;Lorg/I0Itec/zkclient/util/ZkPathUtil$PathFilter;ILjava/lang/StringBuilder;Ljava/lang/String;)V
10: goto 12
11: StackMap locals:
StackMap stack:
aload 3
new java.lang.StringBuilder
dup
iload 2
iconst_1
isub
invokestatic org.I0Itec.zkclient.util.ZkPathUtil.getSpaces:(I)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;
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " (contents hidden)\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 8 end local 6 12: StackMap locals: org.I0Itec.zkclient.ZkClient org.I0Itec.zkclient.util.ZkPathUtil$PathFilter int java.lang.StringBuilder java.lang.String java.util.List top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
13: 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 14 0 zkClient Lorg/I0Itec/zkclient/ZkClient;
0 14 1 pathFilter Lorg/I0Itec/zkclient/util/ZkPathUtil$PathFilter;
0 14 2 level I
0 14 3 builder Ljava/lang/StringBuilder;
0 14 4 startPath Ljava/lang/String;
1 14 5 children Ljava/util/List<Ljava/lang/String;>;
3 12 6 node Ljava/lang/String;
5 6 8 nestedPath Ljava/lang/String;
7 12 8 nestedPath Ljava/lang/String;
MethodParameters:
Name Flags
zkClient
pathFilter
level final
builder final
startPath final
private static java.lang.String getSpaces(int);
descriptor: (I)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: ldc ""
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: java.lang.String int
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 0
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 level I
1 7 1 s Ljava/lang/String;
2 6 2 i I
MethodParameters:
Name Flags
level final
}
SourceFile: "ZkPathUtil.java"
NestMembers:
org.I0Itec.zkclient.util.ZkPathUtil$PathFilter org.I0Itec.zkclient.util.ZkPathUtil$PathFilter$1
InnerClasses:
public abstract PathFilter = org.I0Itec.zkclient.util.ZkPathUtil$PathFilter of org.I0Itec.zkclient.util.ZkPathUtil