public class javax.tools.SimpleJavaFileObject implements javax.tools.JavaFileObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.tools.SimpleJavaFileObject
super_class: java.lang.Object
{
protected final java.net.URI uri;
descriptor: Ljava/net/URI;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final javax.tools.JavaFileObject$Kind kind;
descriptor: Ljavax/tools/JavaFileObject$Kind;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected void <init>(java.net.URI, javax.tools.JavaFileObject$Kind);
descriptor: (Ljava/net/URI;Ljavax/tools/JavaFileObject$Kind;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, 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 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 1
invokevirtual java.net.URI.getPath:()Ljava/lang/String;
ifnonnull 5
4: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "URI must have a path: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: javax.tools.SimpleJavaFileObject java.net.URI javax.tools.JavaFileObject$Kind
StackMap stack:
aload 0
aload 1
putfield javax.tools.SimpleJavaFileObject.uri:Ljava/net/URI;
6: aload 0
aload 2
putfield javax.tools.SimpleJavaFileObject.kind:Ljavax/tools/JavaFileObject$Kind;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/tools/SimpleJavaFileObject;
0 8 1 uri Ljava/net/URI;
0 8 2 kind Ljavax/tools/JavaFileObject$Kind;
MethodParameters:
Name Flags
uri
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 javax.tools.SimpleJavaFileObject.uri:Ljava/net/URI;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/tools/SimpleJavaFileObject;
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
invokevirtual javax.tools.SimpleJavaFileObject.toUri:()Ljava/net/URI;
invokevirtual java.net.URI.getPath:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/tools/SimpleJavaFileObject;
public java.io.InputStream openInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/tools/SimpleJavaFileObject;
Exceptions:
throws java.io.IOException
public java.io.OutputStream openOutputStream();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/tools/SimpleJavaFileObject;
Exceptions:
throws java.io.IOException
public java.io.Reader openReader(boolean);
descriptor: (Z)Ljava/io/Reader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual javax.tools.SimpleJavaFileObject.getCharContent:(Z)Ljava/lang/CharSequence;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
3: StackMap locals: java.lang.CharSequence
StackMap stack:
aload 2
instanceof java.nio.CharBuffer
ifeq 7
4: aload 2
checkcast java.nio.CharBuffer
astore 3
start local 3 5: aload 3
invokevirtual java.nio.CharBuffer.hasArray:()Z
ifeq 7
6: new java.io.CharArrayReader
dup
aload 3
invokevirtual java.nio.CharBuffer.array:()[C
invokespecial java.io.CharArrayReader.<init>:([C)V
areturn
end local 3 7: StackMap locals:
StackMap stack:
new java.io.StringReader
dup
aload 2
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/tools/SimpleJavaFileObject;
0 8 1 ignoreEncodingErrors Z
1 8 2 charContent Ljava/lang/CharSequence;
5 7 3 buffer Ljava/nio/CharBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ignoreEncodingErrors
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: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/tools/SimpleJavaFileObject;
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=3, locals=1, args_size=1
start local 0 0: new java.io.OutputStreamWriter
dup
aload 0
invokevirtual javax.tools.SimpleJavaFileObject.openOutputStream:()Ljava/io/OutputStream;
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/tools/SimpleJavaFileObject;
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: lconst_0
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/tools/SimpleJavaFileObject;
public boolean delete();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/tools/SimpleJavaFileObject;
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 javax.tools.SimpleJavaFileObject.kind:Ljavax/tools/JavaFileObject$Kind;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/tools/SimpleJavaFileObject;
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=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: 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
aload 2
getfield javax.tools.JavaFileObject$Kind.extension:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 1: aload 2
aload 0
invokevirtual javax.tools.SimpleJavaFileObject.getKind:()Ljavax/tools/JavaFileObject$Kind;
invokevirtual javax.tools.JavaFileObject$Kind.equals:(Ljava/lang/Object;)Z
ifeq 5
2: aload 3
aload 0
invokevirtual javax.tools.SimpleJavaFileObject.toUri:()Ljava/net/URI;
invokevirtual java.net.URI.getPath:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
3: aload 0
invokevirtual javax.tools.SimpleJavaFileObject.toUri:()Ljava/net/URI;
invokevirtual java.net.URI.getPath:()Ljava/lang/String;
new java.lang.StringBuilder
dup
ldc "/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 5
4: StackMap locals: java.lang.String
StackMap stack:
iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/tools/SimpleJavaFileObject;
0 6 1 simpleName Ljava/lang/String;
0 6 2 kind Ljavax/tools/JavaFileObject$Kind;
1 6 3 baseName Ljava/lang/String;
MethodParameters:
Name Flags
simpleName
kind
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: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/tools/SimpleJavaFileObject;
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: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/tools/SimpleJavaFileObject;
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
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
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;
aload 0
invokevirtual javax.tools.SimpleJavaFileObject.toUri:()Ljava/net/URI;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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 Ljavax/tools/SimpleJavaFileObject;
}
SourceFile: "SimpleJavaFileObject.java"
InnerClasses:
public final Kind = javax.tools.JavaFileObject$Kind of javax.tools.JavaFileObject