public class javax.swing.tree.TreePath implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.tree.TreePath
super_class: java.lang.Object
{
private javax.swing.tree.TreePath parentPath;
descriptor: Ljavax/swing/tree/TreePath;
flags: (0x0002) ACC_PRIVATE
private java.lang.Object lastPathComponent;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnull 2
aload 1
arraylength
ifne 3
2: StackMap locals: javax.swing.tree.TreePath java.lang.Object[]
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "path in TreePath must be non null and not empty."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 1
arraylength
iconst_1
isub
aaload
putfield javax.swing.tree.TreePath.lastPathComponent:Ljava/lang/Object;
4: aload 0
getfield javax.swing.tree.TreePath.lastPathComponent:Ljava/lang/Object;
ifnonnull 8
5: new java.lang.IllegalArgumentException
dup
6: ldc "Last path component must be non-null"
7: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 1
arraylength
iconst_1
if_icmple 10
9: aload 0
new javax.swing.tree.TreePath
dup
aload 1
aload 1
arraylength
iconst_1
isub
invokespecial javax.swing.tree.TreePath.<init>:([Ljava/lang/Object;I)V
putfield javax.swing.tree.TreePath.parentPath:Ljavax/swing/tree/TreePath;
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/tree/TreePath;
0 11 1 path [Ljava/lang/Object;
RuntimeVisibleAnnotations:
java.beans.ConstructorProperties(value = {"path"})
MethodParameters:
Name Flags
path
public void <init>(java.lang.Object);
descriptor: (Ljava/lang/Object;)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 1
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "path in TreePath must be non null."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.swing.tree.TreePath java.lang.Object
StackMap stack:
aload 0
aload 1
putfield javax.swing.tree.TreePath.lastPathComponent:Ljava/lang/Object;
4: aload 0
aconst_null
putfield javax.swing.tree.TreePath.parentPath:Ljavax/swing/tree/TreePath;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/tree/TreePath;
0 6 1 lastPathComponent Ljava/lang/Object;
MethodParameters:
Name Flags
lastPathComponent
protected void <init>(javax.swing.tree.TreePath, java.lang.Object);
descriptor: (Ljavax/swing/tree/TreePath;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, 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 2
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "path in TreePath must be non null."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.swing.tree.TreePath javax.swing.tree.TreePath java.lang.Object
StackMap stack:
aload 0
aload 1
putfield javax.swing.tree.TreePath.parentPath:Ljavax/swing/tree/TreePath;
4: aload 0
aload 2
putfield javax.swing.tree.TreePath.lastPathComponent:Ljava/lang/Object;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/tree/TreePath;
0 6 1 parent Ljavax/swing/tree/TreePath;
0 6 2 lastPathComponent Ljava/lang/Object;
MethodParameters:
Name Flags
parent
lastPathComponent
protected void <init>(java.lang.Object[], int);
descriptor: ([Ljava/lang/Object;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, 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 0
aload 1
iload 2
iconst_1
isub
aaload
putfield javax.swing.tree.TreePath.lastPathComponent:Ljava/lang/Object;
2: aload 0
getfield javax.swing.tree.TreePath.lastPathComponent:Ljava/lang/Object;
ifnonnull 6
3: new java.lang.IllegalArgumentException
dup
4: ldc "Path elements must be non-null"
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: javax.swing.tree.TreePath java.lang.Object[] int
StackMap stack:
iload 2
iconst_1
if_icmple 8
7: aload 0
new javax.swing.tree.TreePath
dup
aload 1
iload 2
iconst_1
isub
invokespecial javax.swing.tree.TreePath.<init>:([Ljava/lang/Object;I)V
putfield javax.swing.tree.TreePath.parentPath:Ljavax/swing/tree/TreePath;
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/tree/TreePath;
0 9 1 path [Ljava/lang/Object;
0 9 2 length I
MethodParameters:
Name Flags
path
length
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
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 Ljavax/swing/tree/TreePath;
public java.lang.Object[] getPath();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.tree.TreePath.getPathCount:()I
istore 1
start local 1 1: iload 1
iinc 1 -1
anewarray java.lang.Object
astore 2
start local 2 2: aload 0
astore 3
start local 3 3: goto 6
4: StackMap locals: int java.lang.Object[] javax.swing.tree.TreePath
StackMap stack:
aload 2
iload 1
iinc 1 -1
aload 3
invokevirtual javax.swing.tree.TreePath.getLastPathComponent:()Ljava/lang/Object;
aastore
5: aload 3
invokevirtual javax.swing.tree.TreePath.getParentPath:()Ljavax/swing/tree/TreePath;
astore 3
StackMap locals:
StackMap stack:
6: aload 3
ifnonnull 4
end local 3 7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/tree/TreePath;
1 8 1 i I
2 8 2 result [Ljava/lang/Object;
3 7 3 path Ljavax/swing/tree/TreePath;
public java.lang.Object getLastPathComponent();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.TreePath.lastPathComponent:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/TreePath;
public int getPathCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
astore 2
start local 2 2: goto 5
3: StackMap locals: int javax.swing.tree.TreePath
StackMap stack:
iinc 1 1
4: aload 2
invokevirtual javax.swing.tree.TreePath.getParentPath:()Ljavax/swing/tree/TreePath;
astore 2
StackMap locals:
StackMap stack:
5: aload 2
ifnonnull 3
end local 2 6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/tree/TreePath;
1 7 1 result I
2 6 2 path Ljavax/swing/tree/TreePath;
public java.lang.Object getPathComponent(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.tree.TreePath.getPathCount:()I
istore 2
start local 2 1: iload 1
iflt 2
iload 1
iload 2
if_icmplt 5
2: StackMap locals: int
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Index "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
3: ldc " is out of the specified range"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
astore 3
start local 3 6: iload 2
iconst_1
isub
istore 4
start local 4 7: goto 10
8: StackMap locals: javax.swing.tree.TreePath int
StackMap stack:
aload 3
invokevirtual javax.swing.tree.TreePath.getParentPath:()Ljavax/swing/tree/TreePath;
astore 3
9: iinc 4 -1
StackMap locals:
StackMap stack:
10: iload 4
iload 1
if_icmpne 8
end local 4 11: aload 3
invokevirtual javax.swing.tree.TreePath.getLastPathComponent:()Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/tree/TreePath;
0 12 1 index I
1 12 2 pathLength I
6 12 3 path Ljavax/swing/tree/TreePath;
7 11 4 i I
MethodParameters:
Name Flags
index
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof javax.swing.tree.TreePath
ifeq 17
3: aload 1
checkcast javax.swing.tree.TreePath
astore 2
start local 2 4: aload 0
invokevirtual javax.swing.tree.TreePath.getPathCount:()I
aload 2
invokevirtual javax.swing.tree.TreePath.getPathCount:()I
if_icmpeq 6
5: iconst_0
ireturn
6: StackMap locals: javax.swing.tree.TreePath
StackMap stack:
aload 0
astore 3
start local 3 7: goto 15
8: StackMap locals: javax.swing.tree.TreePath
StackMap stack:
aload 3
invokevirtual javax.swing.tree.TreePath.getLastPathComponent:()Ljava/lang/Object;
9: aload 2
invokevirtual javax.swing.tree.TreePath.getLastPathComponent:()Ljava/lang/Object;
10: invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
11: ifne 13
12: iconst_0
ireturn
13: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.swing.tree.TreePath.getParentPath:()Ljavax/swing/tree/TreePath;
astore 2
14: aload 3
invokevirtual javax.swing.tree.TreePath.getParentPath:()Ljavax/swing/tree/TreePath;
astore 3
15: StackMap locals:
StackMap stack:
aload 3
ifnonnull 8
end local 3 16: iconst_1
ireturn
end local 2 17: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/swing/tree/TreePath;
0 18 1 o Ljava/lang/Object;
4 17 2 oTreePath Ljavax/swing/tree/TreePath;
7 16 3 path Ljavax/swing/tree/TreePath;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.tree.TreePath.getLastPathComponent:()Ljava/lang/Object;
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/TreePath;
public boolean isDescendant(javax.swing.tree.TreePath);
descriptor: (Ljavax/swing/tree/TreePath;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 10
3: aload 0
invokevirtual javax.swing.tree.TreePath.getPathCount:()I
istore 2
start local 2 4: aload 1
invokevirtual javax.swing.tree.TreePath.getPathCount:()I
istore 3
start local 3 5: iload 3
iload 2
if_icmpge 8
6: iconst_0
ireturn
7: StackMap locals: int int
StackMap stack:
aload 1
invokevirtual javax.swing.tree.TreePath.getParentPath:()Ljavax/swing/tree/TreePath;
astore 1
8: StackMap locals:
StackMap stack:
iload 3
iinc 3 -1
iload 2
if_icmpgt 7
9: aload 0
aload 1
invokevirtual javax.swing.tree.TreePath.equals:(Ljava/lang/Object;)Z
ireturn
end local 3 end local 2 10: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/tree/TreePath;
0 11 1 aTreePath Ljavax/swing/tree/TreePath;
4 10 2 pathLength I
5 10 3 oPathLength I
MethodParameters:
Name Flags
aTreePath
public javax.swing.tree.TreePath pathByAddingChild(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljavax/swing/tree/TreePath;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Null child not allowed"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new javax.swing.tree.TreePath
dup
aload 0
aload 1
invokespecial javax.swing.tree.TreePath.<init>:(Ljavax/swing/tree/TreePath;Ljava/lang/Object;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/tree/TreePath;
0 3 1 child Ljava/lang/Object;
MethodParameters:
Name Flags
child
public javax.swing.tree.TreePath getParentPath();
descriptor: ()Ljavax/swing/tree/TreePath;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.TreePath.parentPath:Ljavax/swing/tree/TreePath;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/TreePath;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 0
invokevirtual javax.swing.tree.TreePath.getPathCount:()I
istore 3
start local 3 3: goto 8
4: StackMap locals: java.lang.StringBuilder int int
StackMap stack:
iload 2
ifle 6
5: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
aload 1
aload 0
iload 2
invokevirtual javax.swing.tree.TreePath.getPathComponent:(I)Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
7: iinc 2 1
8: StackMap locals:
StackMap stack:
iload 2
iload 3
if_icmplt 4
end local 3 end local 2 9: aload 1
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/tree/TreePath;
1 11 1 tempSpot Ljava/lang/StringBuilder;
2 9 2 counter I
3 9 3 maxCounter I
}
SourceFile: "TreePath.java"