class com.oracle.svm.hosted.ResourcesFeature$ResourcesRegistryImpl implements com.oracle.svm.core.configure.ResourcesRegistry
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.svm.hosted.ResourcesFeature$ResourcesRegistryImpl
super_class: java.lang.Object
{
final com.oracle.svm.hosted.ResourcesFeature this$0;
descriptor: Lcom/oracle/svm/hosted/ResourcesFeature;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(com.oracle.svm.hosted.ResourcesFeature);
descriptor: (Lcom/oracle/svm/hosted/ResourcesFeature;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 // com.oracle.svm.hosted.ResourcesFeature$ResourcesRegistryImpl this
0: .line 87
aload 0 /* this */
aload 1
putfield com.oracle.svm.hosted.ResourcesFeature$ResourcesRegistryImpl.this$0:Lcom/oracle/svm/hosted/ResourcesFeature;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.oracle.svm.hosted.ResourcesFeature$ResourcesRegistryImpl this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/hosted/ResourcesFeature$ResourcesRegistryImpl;
MethodParameters:
Name Flags
this$0 final
public void addResources(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 // com.oracle.svm.hosted.ResourcesFeature$ResourcesRegistryImpl this
start local 1 // java.lang.String pattern
0: .line 90
aload 0 /* this */
getfield com.oracle.svm.hosted.ResourcesFeature$ResourcesRegistryImpl.this$0:Lcom/oracle/svm/hosted/ResourcesFeature;
getfield com.oracle.svm.hosted.ResourcesFeature.sealed:Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ldc "Resources added too late: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1 /* pattern */
aastore
invokestatic com.oracle.svm.core.util.UserError.guarantee:(ZLjava/lang/String;[Ljava/lang/Object;)V
3: .line 91
aload 0 /* this */
getfield com.oracle.svm.hosted.ResourcesFeature$ResourcesRegistryImpl.this$0:Lcom/oracle/svm/hosted/ResourcesFeature;
getfield com.oracle.svm.hosted.ResourcesFeature.newResources:Ljava/util/Set;
aload 1 /* pattern */
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: .line 92
return
end local 1 // java.lang.String pattern
end local 0 // com.oracle.svm.hosted.ResourcesFeature$ResourcesRegistryImpl this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/svm/hosted/ResourcesFeature$ResourcesRegistryImpl;
0 5 1 pattern Ljava/lang/String;
MethodParameters:
Name Flags
pattern
public void ignoreResources(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 // com.oracle.svm.hosted.ResourcesFeature$ResourcesRegistryImpl this
start local 1 // java.lang.String pattern
0: .line 96
aload 0 /* this */
getfield com.oracle.svm.hosted.ResourcesFeature$ResourcesRegistryImpl.this$0:Lcom/oracle/svm/hosted/ResourcesFeature;
getfield com.oracle.svm.hosted.ResourcesFeature.sealed:Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ldc "Resources ignored too late: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1 /* pattern */
aastore
invokestatic com.oracle.svm.core.util.UserError.guarantee:(ZLjava/lang/String;[Ljava/lang/Object;)V
3: .line 97
aload 0 /* this */
getfield com.oracle.svm.hosted.ResourcesFeature$ResourcesRegistryImpl.this$0:Lcom/oracle/svm/hosted/ResourcesFeature;
getfield com.oracle.svm.hosted.ResourcesFeature.ignoredResources:Ljava/util/Set;
aload 1 /* pattern */
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: .line 98
return
end local 1 // java.lang.String pattern
end local 0 // com.oracle.svm.hosted.ResourcesFeature$ResourcesRegistryImpl this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/svm/hosted/ResourcesFeature$ResourcesRegistryImpl;
0 5 1 pattern Ljava/lang/String;
MethodParameters:
Name Flags
pattern
public void addResourceBundles(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // com.oracle.svm.hosted.ResourcesFeature$ResourcesRegistryImpl this
start local 1 // java.lang.String name
0: .line 102
ldc Lcom/oracle/svm/core/jdk/LocalizationFeature;
invokestatic org.graalvm.nativeimage.ImageSingletons.lookup:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast com.oracle.svm.core.jdk.LocalizationFeature
aload 1 /* name */
invokevirtual com.oracle.svm.core.jdk.LocalizationFeature.addBundleToCache:(Ljava/lang/String;)V
1: .line 103
return
end local 1 // java.lang.String name
end local 0 // com.oracle.svm.hosted.ResourcesFeature$ResourcesRegistryImpl this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/svm/hosted/ResourcesFeature$ResourcesRegistryImpl;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
}
SourceFile: "ResourcesFeature.java"
NestHost: com.oracle.svm.hosted.ResourcesFeature
InnerClasses:
private ResourcesRegistryImpl = com.oracle.svm.hosted.ResourcesFeature$ResourcesRegistryImpl of com.oracle.svm.hosted.ResourcesFeature