public class com.sun.tools.sjavac.comp.SmartFileObject implements javax.tools.JavaFileObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.sjavac.comp.SmartFileObject
super_class: java.lang.Object
{
javax.tools.JavaFileObject file;
descriptor: Ljavax/tools/JavaFileObject;
flags: (0x0000)
static java.lang.String lineseparator;
descriptor: Ljava/lang/String;
flags: (0x0008) ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "line.separator"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic com.sun.tools.sjavac.comp.SmartFileObject.lineseparator:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(javax.tools.JavaFileObject);
descriptor: (Ljavax/tools/JavaFileObject;)V
flags: (0x0001) ACC_PUBLIC
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.sjavac.comp.SmartFileObject.file:Ljavax/tools/JavaFileObject;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/sjavac/comp/SmartFileObject;
0 3 1 r Ljavax/tools/JavaFileObject;
MethodParameters:
Name Flags
r
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 0
getfield com.sun.tools.sjavac.comp.SmartFileObject.file:Ljavax/tools/JavaFileObject;
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/comp/SmartFileObject;
0 1 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.sjavac.comp.SmartFileObject.file:Ljavax/tools/JavaFileObject;
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/comp/SmartFileObject;
public javax.tools.JavaFileObject$Kind getKind();
descriptor: ()Ljavax/tools/JavaFileObject$Kind;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.sjavac.comp.SmartFileObject.file:Ljavax/tools/JavaFileObject;
invokeinterface javax.tools.JavaFileObject.getKind:()Ljavax/tools/JavaFileObject$Kind;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/comp/SmartFileObject;
public boolean isNameCompatible(java.lang.String, javax.tools.JavaFileObject$Kind);
descriptor: (Ljava/lang/String;Ljavax/tools/JavaFileObject$Kind;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.sjavac.comp.SmartFileObject.file:Ljavax/tools/JavaFileObject;
aload 1
aload 2
invokeinterface javax.tools.JavaFileObject.isNameCompatible:(Ljava/lang/String;Ljavax/tools/JavaFileObject$Kind;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/comp/SmartFileObject;
0 1 1 simpleName Ljava/lang/String;
0 1 2 kind Ljavax/tools/JavaFileObject$Kind;
MethodParameters:
Name Flags
simpleName
kind
public java.net.URI toUri();
descriptor: ()Ljava/net/URI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.sjavac.comp.SmartFileObject.file:Ljavax/tools/JavaFileObject;
invokeinterface javax.tools.JavaFileObject.toUri:()Ljava/net/URI;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/comp/SmartFileObject;
public java.lang.String getName();
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.sjavac.comp.SmartFileObject.file:Ljavax/tools/JavaFileObject;
invokeinterface javax.tools.JavaFileObject.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/comp/SmartFileObject;
public java.io.InputStream openInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.sjavac.comp.SmartFileObject.file:Ljavax/tools/JavaFileObject;
invokeinterface javax.tools.JavaFileObject.openInputStream:()Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/comp/SmartFileObject;
Exceptions:
throws java.io.IOException
public java.io.OutputStream openOutputStream();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.sjavac.comp.SmartFileObject.file:Ljavax/tools/JavaFileObject;
invokeinterface javax.tools.JavaFileObject.openOutputStream:()Ljava/io/OutputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/comp/SmartFileObject;
Exceptions:
throws java.io.IOException
public java.lang.CharSequence getCharContent(boolean);
descriptor: (Z)Ljava/lang/CharSequence;
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.sjavac.comp.SmartFileObject.file:Ljavax/tools/JavaFileObject;
iload 1
invokeinterface javax.tools.JavaFileObject.getCharContent:(Z)Ljava/lang/CharSequence;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/comp/SmartFileObject;
0 1 1 ignoreEncodingErrors Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ignoreEncodingErrors
public java.io.Writer openWriter();
descriptor: ()Ljava/io/Writer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aconst_null
astore 2
aconst_null
astore 3
2: new java.io.BufferedReader
dup
aload 0
getfield com.sun.tools.sjavac.comp.SmartFileObject.file:Ljavax/tools/JavaFileObject;
iconst_1
invokeinterface javax.tools.JavaFileObject.openReader:(Z)Ljava/io/Reader;
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 4
start local 4 3: goto 5
4: StackMap locals: com.sun.tools.sjavac.comp.SmartFileObject java.lang.StringBuilder java.lang.Throwable java.lang.Throwable java.io.BufferedReader
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
aload 4
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic com.sun.tools.sjavac.comp.SmartFileObject.lineseparator:Ljava/lang/String;
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
5: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.io.BufferedReader.ready:()Z
ifne 4
6: aload 4
ifnull 13
aload 4
invokevirtual java.io.BufferedReader.close:()V
goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
aload 4
ifnull 8
aload 4
invokevirtual java.io.BufferedReader.close:()V
end local 4 StackMap locals:
StackMap stack:
8: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 3
aload 2
ifnonnull 10
aload 3
astore 2
goto 11
StackMap locals:
StackMap stack:
10: aload 2
aload 3
if_acmpeq 11
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 2
athrow
StackMap locals: com.sun.tools.sjavac.comp.SmartFileObject java.lang.StringBuilder
StackMap stack: java.io.IOException
12: pop
13: StackMap locals:
StackMap stack:
new com.sun.tools.sjavac.comp.SmartWriter
dup
aload 0
getfield com.sun.tools.sjavac.comp.SmartFileObject.file:Ljavax/tools/JavaFileObject;
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
getfield com.sun.tools.sjavac.comp.SmartFileObject.file:Ljavax/tools/JavaFileObject;
invokeinterface javax.tools.JavaFileObject.getName:()Ljava/lang/String;
invokespecial com.sun.tools.sjavac.comp.SmartWriter.<init>:(Ljavax/tools/JavaFileObject;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/tools/sjavac/comp/SmartFileObject;
1 14 1 s Ljava/lang/StringBuilder;
3 8 4 r Ljava/io/BufferedReader;
Exception table:
from to target type
3 6 7 any
2 9 9 any
1 12 12 Class java.io.FileNotFoundException
1 12 12 Class java.nio.file.NoSuchFileException
Exceptions:
throws java.io.IOException
public long getLastModified();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.sjavac.comp.SmartFileObject.file:Ljavax/tools/JavaFileObject;
invokeinterface javax.tools.JavaFileObject.getLastModified:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/comp/SmartFileObject;
public boolean delete();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.sjavac.comp.SmartFileObject.file:Ljavax/tools/JavaFileObject;
invokeinterface javax.tools.JavaFileObject.delete:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/comp/SmartFileObject;
public javax.lang.model.element.Modifier getAccessLevel();
descriptor: ()Ljavax/lang/model/element/Modifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.sjavac.comp.SmartFileObject.file:Ljavax/tools/JavaFileObject;
invokeinterface javax.tools.JavaFileObject.getAccessLevel:()Ljavax/lang/model/element/Modifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/comp/SmartFileObject;
public javax.lang.model.element.NestingKind getNestingKind();
descriptor: ()Ljavax/lang/model/element/NestingKind;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.sjavac.comp.SmartFileObject.file:Ljavax/tools/JavaFileObject;
invokeinterface javax.tools.JavaFileObject.getNestingKind:()Ljavax/lang/model/element/NestingKind;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/comp/SmartFileObject;
public java.io.Reader openReader(boolean);
descriptor: (Z)Ljava/io/Reader;
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.sjavac.comp.SmartFileObject.file:Ljavax/tools/JavaFileObject;
iload 1
invokeinterface javax.tools.JavaFileObject.openReader:(Z)Ljava/io/Reader;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/comp/SmartFileObject;
0 1 1 ignoreEncodingErrors Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ignoreEncodingErrors
}
SourceFile: "SmartFileObject.java"
InnerClasses:
public final Kind = javax.tools.JavaFileObject$Kind of javax.tools.JavaFileObject