public class com.sun.codemodel.internal.fmt.JTextFile extends com.sun.codemodel.internal.JResourceFile
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.codemodel.internal.fmt.JTextFile
super_class: com.sun.codemodel.internal.JResourceFile
{
private java.lang.String contents;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.codemodel.internal.JResourceFile.<init>:(Ljava/lang/String;)V
1: aload 0
aconst_null
putfield com.sun.codemodel.internal.fmt.JTextFile.contents:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/codemodel/internal/fmt/JTextFile;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void setContents(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.codemodel.internal.fmt.JTextFile.contents:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/fmt/JTextFile;
0 2 1 _contents Ljava/lang/String;
MethodParameters:
Name Flags
_contents
public void build(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.io.OutputStreamWriter
dup
aload 1
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
astore 2
start local 2 1: aload 2
aload 0
getfield com.sun.codemodel.internal.fmt.JTextFile.contents:Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
2: aload 2
invokevirtual java.io.Writer.close:()V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/codemodel/internal/fmt/JTextFile;
0 4 1 out Ljava/io/OutputStream;
1 4 2 w Ljava/io/Writer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
}
SourceFile: "JTextFile.java"