public class com.sun.tools.javac.file.RelativePath$RelativeDirectory extends com.sun.tools.javac.file.RelativePath
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javac.file.RelativePath$RelativeDirectory
super_class: com.sun.tools.javac.file.RelativePath
{
static com.sun.tools.javac.file.RelativePath$RelativeDirectory forPackage(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Lcom/sun/tools/javac/file/RelativePath$RelativeDirectory;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new com.sun.tools.javac.file.RelativePath$RelativeDirectory
dup
aload 0
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokespecial com.sun.tools.javac.file.RelativePath$RelativeDirectory.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 packageName Ljava/lang/CharSequence;
MethodParameters:
Name Flags
packageName
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.String.length:()I
ifeq 1
aload 1
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 2
StackMap locals:
StackMap stack: uninitialized-this
1: aload 1
goto 3
StackMap locals:
StackMap stack: uninitialized-this
2: 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;
StackMap locals: uninitialized-this java.lang.String
StackMap stack: uninitialized-this java.lang.String
3: invokespecial com.sun.tools.javac.file.RelativePath.<init>:(Ljava/lang/String;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javac/file/RelativePath$RelativeDirectory;
0 5 1 p Ljava/lang/String;
MethodParameters:
Name Flags
p
public void <init>(com.sun.tools.javac.file.RelativePath$RelativeDirectory, java.lang.String);
descriptor: (Lcom/sun/tools/javac/file/RelativePath$RelativeDirectory;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new java.lang.StringBuilder
dup
aload 1
getfield com.sun.tools.javac.file.RelativePath$RelativeDirectory.path:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.sun.tools.javac.file.RelativePath$RelativeDirectory.<init>:(Ljava/lang/String;)V
1: return
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$RelativeDirectory;
0 2 1 d Lcom/sun/tools/javac/file/RelativePath$RelativeDirectory;
0 2 2 p Ljava/lang/String;
MethodParameters:
Name Flags
d
p
public com.sun.tools.javac.file.RelativePath$RelativeDirectory dirname();
descriptor: ()Lcom/sun/tools/javac/file/RelativePath$RelativeDirectory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.file.RelativePath$RelativeDirectory.path:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
istore 1
start local 1 1: iload 1
ifne 3
2: aload 0
areturn
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.tools.javac.file.RelativePath$RelativeDirectory.path:Ljava/lang/String;
bipush 47
iload 1
iconst_2
isub
invokevirtual java.lang.String.lastIndexOf:(II)I
istore 2
start local 2 4: new com.sun.tools.javac.file.RelativePath$RelativeDirectory
dup
aload 0
getfield com.sun.tools.javac.file.RelativePath$RelativeDirectory.path:Ljava/lang/String;
iconst_0
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokespecial com.sun.tools.javac.file.RelativePath$RelativeDirectory.<init>:(Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javac/file/RelativePath$RelativeDirectory;
1 5 1 l I
4 5 2 sep I
public java.lang.String basename();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.file.RelativePath$RelativeDirectory.path:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
istore 1
start local 1 1: iload 1
ifne 3
2: aload 0
getfield com.sun.tools.javac.file.RelativePath$RelativeDirectory.path:Ljava/lang/String;
areturn
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.tools.javac.file.RelativePath$RelativeDirectory.path:Ljava/lang/String;
bipush 47
iload 1
iconst_2
isub
invokevirtual java.lang.String.lastIndexOf:(II)I
istore 2
start local 2 4: aload 0
getfield com.sun.tools.javac.file.RelativePath$RelativeDirectory.path:Ljava/lang/String;
iload 2
iconst_1
iadd
iload 1
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javac/file/RelativePath$RelativeDirectory;
1 5 1 l I
4 5 2 sep I
boolean contains(com.sun.tools.javac.file.RelativePath);
descriptor: (Lcom/sun/tools/javac/file/RelativePath;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield com.sun.tools.javac.file.RelativePath.path:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
aload 0
getfield com.sun.tools.javac.file.RelativePath$RelativeDirectory.path:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmple 1
aload 1
getfield com.sun.tools.javac.file.RelativePath.path:Ljava/lang/String;
aload 0
getfield com.sun.tools.javac.file.RelativePath$RelativeDirectory.path:Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/file/RelativePath$RelativeDirectory;
0 2 1 other Lcom/sun/tools/javac/file/RelativePath;
MethodParameters:
Name Flags
other
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 "RelativeDirectory["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.tools.javac.file.RelativePath$RelativeDirectory.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$RelativeDirectory;
}
SourceFile: "RelativePath.java"
NestHost: com.sun.tools.javac.file.RelativePath
InnerClasses:
public RelativeDirectory = com.sun.tools.javac.file.RelativePath$RelativeDirectory of com.sun.tools.javac.file.RelativePath