class com.sun.codemodel.internal.fmt.JStaticJavaFile$ResourceLoader
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.codemodel.internal.fmt.JStaticJavaFile$ResourceLoader
super_class: java.lang.Object
{
java.lang.Class<?> loadingClass;
descriptor: Ljava/lang/Class;
flags: (0x0000)
Signature: Ljava/lang/Class<*>;
java.lang.String shortName;
descriptor: Ljava/lang/String;
flags: (0x0000)
void <init>(java.lang.String, java.lang.Class<?>);
descriptor: (Ljava/lang/String;Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 // com.sun.codemodel.internal.fmt.JStaticJavaFile$ResourceLoader this
start local 1 // java.lang.String shortName
start local 2 // java.lang.Class loadingClass
0: .line 234
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 235
aload 0 /* this */
aload 2 /* loadingClass */
putfield com.sun.codemodel.internal.fmt.JStaticJavaFile$ResourceLoader.loadingClass:Ljava/lang/Class;
2: .line 236
aload 0 /* this */
aload 1 /* shortName */
putfield com.sun.codemodel.internal.fmt.JStaticJavaFile$ResourceLoader.shortName:Ljava/lang/String;
3: .line 237
return
end local 2 // java.lang.Class loadingClass
end local 1 // java.lang.String shortName
end local 0 // com.sun.codemodel.internal.fmt.JStaticJavaFile$ResourceLoader this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/codemodel/internal/fmt/JStaticJavaFile$ResourceLoader;
0 4 1 shortName Ljava/lang/String;
0 4 2 loadingClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/String;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
shortName
loadingClass
java.io.InputStream getResourceAsStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0000)
Code:
stack=5, locals=2, args_size=1
start local 0 // com.sun.codemodel.internal.fmt.JStaticJavaFile$ResourceLoader this
0: .line 244
aload 0 /* this */
getfield com.sun.codemodel.internal.fmt.JStaticJavaFile$ResourceLoader.loadingClass:Ljava/lang/Class;
new java.lang.StringBuilder
dup
aload 0 /* this */
getfield com.sun.codemodel.internal.fmt.JStaticJavaFile$ResourceLoader.shortName:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".java"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 1 /* stream */
start local 1 // java.io.InputStream stream
1: .line 245
aload 1 /* stream */
ifnonnull 3
2: .line 246
aload 0 /* this */
getfield com.sun.codemodel.internal.fmt.JStaticJavaFile$ResourceLoader.loadingClass:Ljava/lang/Class;
new java.lang.StringBuilder
dup
aload 0 /* this */
getfield com.sun.codemodel.internal.fmt.JStaticJavaFile$ResourceLoader.shortName:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".java_"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 1 /* stream */
3: .line 248
StackMap locals: java.io.InputStream
StackMap stack:
aload 1 /* stream */
ifnonnull 5
4: .line 249
new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Unable to load source code of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0 /* this */
getfield com.sun.codemodel.internal.fmt.JStaticJavaFile$ResourceLoader.loadingClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " as a resource"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
5: .line 251
StackMap locals:
StackMap stack:
aload 1 /* stream */
areturn
end local 1 // java.io.InputStream stream
end local 0 // com.sun.codemodel.internal.fmt.JStaticJavaFile$ResourceLoader this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/codemodel/internal/fmt/JStaticJavaFile$ResourceLoader;
1 6 1 stream Ljava/io/InputStream;
}
SourceFile: "JStaticJavaFile.java"
NestHost: com.sun.codemodel.internal.fmt.JStaticJavaFile
InnerClasses:
ResourceLoader = com.sun.codemodel.internal.fmt.JStaticJavaFile$ResourceLoader of com.sun.codemodel.internal.fmt.JStaticJavaFile