public final class com.sun.codemodel.internal.fmt.JStaticFile extends com.sun.codemodel.internal.JResourceFile
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.codemodel.internal.fmt.JStaticFile
super_class: com.sun.codemodel.internal.JResourceFile
{
private final java.lang.ClassLoader classLoader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String resourceName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean isResource;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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
aload 1
ldc ".java"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 1
iconst_0
goto 2
StackMap locals: uninitialized-this java.lang.String
StackMap stack: uninitialized-this java.lang.String
1: iconst_1
StackMap locals: uninitialized-this java.lang.String
StackMap stack: uninitialized-this java.lang.String int
2: invokespecial com.sun.codemodel.internal.fmt.JStaticFile.<init>:(Ljava/lang/String;Z)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/codemodel/internal/fmt/JStaticFile;
0 4 1 _resourceName Ljava/lang/String;
MethodParameters:
Name Flags
_resourceName
public void <init>(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)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
ldc Lcom/sun/codemodel/internal/fmt/JStaticFile;
invokestatic com.sun.codemodel.internal.fmt.SecureLoader.getClassClassLoader:(Ljava/lang/Class;)Ljava/lang/ClassLoader;
aload 1
iload 2
invokespecial com.sun.codemodel.internal.fmt.JStaticFile.<init>:(Ljava/lang/ClassLoader;Ljava/lang/String;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/fmt/JStaticFile;
0 2 1 _resourceName Ljava/lang/String;
0 2 2 isResource Z
MethodParameters:
Name Flags
_resourceName
isResource
public void <init>(java.lang.ClassLoader, java.lang.String, boolean);
descriptor: (Ljava/lang/ClassLoader;Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
aload 2
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokespecial com.sun.codemodel.internal.JResourceFile.<init>:(Ljava/lang/String;)V
1: aload 0
aload 1
putfield com.sun.codemodel.internal.fmt.JStaticFile.classLoader:Ljava/lang/ClassLoader;
2: aload 0
aload 2
putfield com.sun.codemodel.internal.fmt.JStaticFile.resourceName:Ljava/lang/String;
3: aload 0
iload 3
putfield com.sun.codemodel.internal.fmt.JStaticFile.isResource:Z
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/codemodel/internal/fmt/JStaticFile;
0 5 1 _classLoader Ljava/lang/ClassLoader;
0 5 2 _resourceName Ljava/lang/String;
0 5 3 isResource Z
MethodParameters:
Name Flags
_classLoader
_resourceName
isResource
protected boolean isResource();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.fmt.JStaticFile.isResource:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/fmt/JStaticFile;
protected void build(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new java.io.DataInputStream
dup
aload 0
getfield com.sun.codemodel.internal.fmt.JStaticFile.classLoader:Ljava/lang/ClassLoader;
aload 0
getfield com.sun.codemodel.internal.fmt.JStaticFile.resourceName:Ljava/lang/String;
invokevirtual java.lang.ClassLoader.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
invokespecial java.io.DataInputStream.<init>:(Ljava/io/InputStream;)V
astore 2
start local 2 1: sipush 256
newarray 8
astore 3
start local 3 2: goto 4
start local 4 3: StackMap locals: java.io.DataInputStream byte[] int
StackMap stack:
aload 1
aload 3
iconst_0
iload 4
invokevirtual java.io.OutputStream.write:([BII)V
end local 4 4: StackMap locals:
StackMap stack:
aload 2
aload 3
invokevirtual java.io.DataInputStream.read:([B)I
dup
istore 4
start local 4 5: ifgt 3
6: aload 2
invokevirtual java.io.DataInputStream.close:()V
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/codemodel/internal/fmt/JStaticFile;
0 8 1 os Ljava/io/OutputStream;
1 8 2 dis Ljava/io/DataInputStream;
2 8 3 buf [B
3 4 4 sz I
5 8 4 sz I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
os
}
SourceFile: "JStaticFile.java"