public abstract class com.sun.tools.javac.file.RelativePath implements java.lang.Comparable<com.sun.tools.javac.file.RelativePath>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.tools.javac.file.RelativePath
super_class: java.lang.Object
{
protected final java.lang.String path;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.tools.javac.file.RelativePath.path:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/file/RelativePath;
0 3 1 p Ljava/lang/String;
MethodParameters:
Name Flags
p
public abstract com.sun.tools.javac.file.RelativePath$RelativeDirectory dirname();
descriptor: ()Lcom/sun/tools/javac/file/RelativePath$RelativeDirectory;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.lang.String basename();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public java.nio.file.Path resolveAgainst(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.nio.file.Path.getFileSystem:()Ljava/nio/file/FileSystem;
invokevirtual java.nio.file.FileSystem.getSeparator:()Ljava/lang/String;
astore 2
start local 2 1: aload 1
aload 0
getfield com.sun.tools.javac.file.RelativePath.path:Ljava/lang/String;
ldc "/"
aload 2
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/file/RelativePath;
0 2 1 directory Ljava/nio/file/Path;
1 2 2 sep Ljava/lang/String;
Exceptions:
throws java.nio.file.InvalidPathException
MethodParameters:
Name Flags
directory
public java.nio.file.Path resolveAgainst(java.nio.file.FileSystem);
descriptor: (Ljava/nio/file/FileSystem;)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.file.FileSystem.getSeparator:()Ljava/lang/String;
astore 2
start local 2 1: aload 1
invokevirtual java.nio.file.FileSystem.getRootDirectories:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 3
start local 3 2: aload 3
aload 0
getfield com.sun.tools.javac.file.RelativePath.path:Ljava/lang/String;
ldc "/"
aload 2
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/file/RelativePath;
0 3 1 fs Ljava/nio/file/FileSystem;
1 3 2 sep Ljava/lang/String;
2 3 3 root Ljava/nio/file/Path;
Exceptions:
throws java.nio.file.InvalidPathException
MethodParameters:
Name Flags
fs
public int compareTo(com.sun.tools.javac.file.RelativePath);
descriptor: (Lcom/sun/tools/javac/file/RelativePath;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javac.file.RelativePath.path:Ljava/lang/String;
aload 1
getfield com.sun.tools.javac.file.RelativePath.path:Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/file/RelativePath;
0 1 1 other Lcom/sun/tools/javac/file/RelativePath;
MethodParameters:
Name Flags
other
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.tools.javac.file.RelativePath
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.file.RelativePath.path:Ljava/lang/String;
aload 1
checkcast com.sun.tools.javac.file.RelativePath
getfield com.sun.tools.javac.file.RelativePath.path:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/file/RelativePath;
0 3 1 other Ljava/lang/Object;
MethodParameters:
Name Flags
other
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.file.RelativePath.path:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/file/RelativePath;
public java.lang.String toString();
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 "RelPath["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.tools.javac.file.RelativePath.path:Ljava/lang/String;
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;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/file/RelativePath;
public java.lang.String getPath();
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.tools.javac.file.RelativePath.path:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/file/RelativePath;
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast com.sun.tools.javac.file.RelativePath
invokevirtual com.sun.tools.javac.file.RelativePath.compareTo:(Lcom/sun/tools/javac/file/RelativePath;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/lang/Comparable<Lcom/sun/tools/javac/file/RelativePath;>;
SourceFile: "RelativePath.java"
NestMembers:
com.sun.tools.javac.file.RelativePath$RelativeDirectory com.sun.tools.javac.file.RelativePath$RelativeFile
InnerClasses:
public RelativeDirectory = com.sun.tools.javac.file.RelativePath$RelativeDirectory of com.sun.tools.javac.file.RelativePath
public RelativeFile = com.sun.tools.javac.file.RelativePath$RelativeFile of com.sun.tools.javac.file.RelativePath