class org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig extends org.glassfish.jersey.server.ResourceConfig
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig
super_class: org.glassfish.jersey.server.ResourceConfig
{
private javax.ws.rs.core.Application application;
descriptor: Ljavax/ws/rs/core/Application;
flags: (0x0002) ACC_PRIVATE
private java.lang.Class<? extends javax.ws.rs.core.Application> applicationClass;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Class<+Ljavax/ws/rs/core/Application;>;
private final java.util.Set<java.lang.Class<?>> defaultClasses;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/Class<*>;>;
public void <init>(javax.ws.rs.core.Application, java.lang.Class<? extends javax.ws.rs.core.Application>, java.util.Set<java.lang.Class<?>>);
descriptor: (Ljavax/ws/rs/core/Application;Ljava/lang/Class;Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.glassfish.jersey.server.ResourceConfig.<init>:()V
1: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig.defaultClasses:Ljava/util/Set;
2: aload 1
ifnonnull 4
aload 2
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
invokestatic org.glassfish.jersey.server.internal.LocalizationMessages.RESOURCE_CONFIG_ERROR_NULL_APPLICATIONCLASS:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig javax.ws.rs.core.Application java.lang.Class java.util.Set
StackMap stack:
aload 0
aload 1
putfield org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig.application:Ljavax/ws/rs/core/Application;
5: aload 0
aload 2
putfield org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig.applicationClass:Ljava/lang/Class;
6: aload 3
ifnull 8
7: aload 0
getfield org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig.defaultClasses:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
8: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig.mergeApplications:(Ljavax/ws/rs/core/Application;)V
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/glassfish/jersey/server/ResourceConfig$WrappingResourceConfig;
0 10 1 application Ljavax/ws/rs/core/Application;
0 10 2 applicationClass Ljava/lang/Class<+Ljavax/ws/rs/core/Application;>;
0 10 3 defaultClasses Ljava/util/Set<Ljava/lang/Class<*>;>;
Signature: (Ljavax/ws/rs/core/Application;Ljava/lang/Class<+Ljavax/ws/rs/core/Application;>;Ljava/util/Set<Ljava/lang/Class<*>;>;)V
MethodParameters:
Name Flags
application final
applicationClass final
defaultClasses final
org.glassfish.jersey.server.ResourceConfig _setApplication(javax.ws.rs.core.Application);
descriptor: (Ljavax/ws/rs/core/Application;)Lorg/glassfish/jersey/server/ResourceConfig;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig.application:Ljavax/ws/rs/core/Application;
1: aload 0
aconst_null
putfield org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig.applicationClass:Ljava/lang/Class;
2: aload 0
aload 1
invokevirtual org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig.mergeApplications:(Ljavax/ws/rs/core/Application;)V
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/jersey/server/ResourceConfig$WrappingResourceConfig;
0 4 1 application Ljavax/ws/rs/core/Application;
MethodParameters:
Name Flags
application final
javax.ws.rs.core.Application _getApplication();
descriptor: ()Ljavax/ws/rs/core/Application;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig.application:Ljavax/ws/rs/core/Application;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/ResourceConfig$WrappingResourceConfig;
java.lang.Class<? extends javax.ws.rs.core.Application> getApplicationClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig.applicationClass:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/ResourceConfig$WrappingResourceConfig;
Signature: ()Ljava/lang/Class<+Ljavax/ws/rs/core/Application;>;
private void mergeApplications(javax.ws.rs.core.Application);
descriptor: (Ljavax/ws/rs/core/Application;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.glassfish.jersey.server.ResourceConfig
ifeq 10
1: aload 1
checkcast org.glassfish.jersey.server.ResourceConfig
astore 2
start local 2 2: aload 0
aload 2
invokevirtual org.glassfish.jersey.server.ResourceConfig.getResources:()Ljava/util/Set;
invokespecial org.glassfish.jersey.server.ResourceConfig.registerResources:(Ljava/util/Set;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
3: aload 2
invokevirtual org.glassfish.jersey.server.ResourceConfig.invalidateCache:()V
4: aload 2
aload 0
invokespecial org.glassfish.jersey.server.ResourceConfig.getProperties:()Ljava/util/Map;
invokevirtual org.glassfish.jersey.server.ResourceConfig.addProperties:(Ljava/util/Map;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
5: aload 0
aload 2
invokevirtual org.glassfish.jersey.server.ResourceConfig.getProperties:()Ljava/util/Map;
invokespecial org.glassfish.jersey.server.ResourceConfig.addProperties:(Ljava/util/Map;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
6: aload 0
aload 2
invokevirtual org.glassfish.jersey.server.ResourceConfig.getApplicationName:()Ljava/lang/String;
invokespecial org.glassfish.jersey.server.ResourceConfig.setApplicationName:(Ljava/lang/String;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
7: aload 0
aload 2
invokevirtual org.glassfish.jersey.server.ResourceConfig.getClassLoader:()Ljava/lang/ClassLoader;
invokespecial org.glassfish.jersey.server.ResourceConfig.setClassLoader:(Ljava/lang/ClassLoader;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
8: aload 2
invokevirtual org.glassfish.jersey.server.ResourceConfig.lock:()V
end local 2 9: goto 12
StackMap locals:
StackMap stack:
10: aload 1
ifnull 12
11: aload 0
aload 1
invokevirtual javax.ws.rs.core.Application.getProperties:()Ljava/util/Map;
invokespecial org.glassfish.jersey.server.ResourceConfig.addProperties:(Ljava/util/Map;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/glassfish/jersey/server/ResourceConfig$WrappingResourceConfig;
0 13 1 application Ljavax/ws/rs/core/Application;
2 9 2 rc Lorg/glassfish/jersey/server/ResourceConfig;
MethodParameters:
Name Flags
application final
java.util.Set<java.lang.Class<?>> _getClasses();
descriptor: ()Ljava/util/Set;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig.application:Ljavax/ws/rs/core/Application;
invokevirtual javax.ws.rs.core.Application.getClasses:()Ljava/util/Set;
astore 2
start local 2 2: aload 1
aload 2
ifnonnull 3
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
goto 4
StackMap locals: org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig java.util.Set java.util.Set
StackMap stack: java.util.Set
3: aload 2
StackMap locals: org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig java.util.Set java.util.Set
StackMap stack: java.util.Set java.util.Set
4: invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
5: aload 1
invokeinterface java.util.Set.isEmpty:()Z
ifeq 7
aload 0
invokevirtual org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig.getSingletons:()Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifeq 7
6: aload 1
aload 0
getfield org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig.defaultClasses:Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
7: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig.application:Ljavax/ws/rs/core/Application;
instanceof org.glassfish.jersey.server.ResourceConfig
ifne 9
8: aload 1
aload 0
invokespecial org.glassfish.jersey.server.ResourceConfig._getClasses:()Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
9: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/glassfish/jersey/server/ResourceConfig$WrappingResourceConfig;
1 10 1 result Ljava/util/Set<Ljava/lang/Class<*>;>;
2 10 2 applicationClasses Ljava/util/Set<Ljava/lang/Class<*>;>;
Signature: ()Ljava/util/Set<Ljava/lang/Class<*>;>;
java.util.Set<java.lang.Object> _getSingletons();
descriptor: ()Ljava/util/Set;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig.application:Ljavax/ws/rs/core/Application;
invokevirtual javax.ws.rs.core.Application.getSingletons:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/ResourceConfig$WrappingResourceConfig;
Signature: ()Ljava/util/Set<Ljava/lang/Object;>;
}
SourceFile: "ResourceConfig.java"
NestHost: org.glassfish.jersey.server.ResourceConfig
InnerClasses:
private WrappingResourceConfig = org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig of org.glassfish.jersey.server.ResourceConfig