class org.glassfish.jersey.server.ResourceConfig$State extends org.glassfish.jersey.model.internal.CommonConfig implements org.glassfish.jersey.server.ServerConfig
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.glassfish.jersey.server.ResourceConfig$State
super_class: org.glassfish.jersey.model.internal.CommonConfig
{
private final java.util.Set<org.glassfish.jersey.server.ResourceFinder> resourceFinders;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lorg/glassfish/jersey/server/ResourceFinder;>;
private final java.util.Set<org.glassfish.jersey.server.model.Resource> resources;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lorg/glassfish/jersey/server/model/Resource;>;
private final java.util.Set<org.glassfish.jersey.server.model.Resource> resourcesView;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lorg/glassfish/jersey/server/model/Resource;>;
private volatile java.lang.String applicationName;
descriptor: Ljava/lang/String;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile java.lang.ClassLoader classLoader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.ws.rs.RuntimeType.SERVER:Ljavax/ws/rs/RuntimeType;
getstatic org.glassfish.jersey.model.internal.ComponentBag.INCLUDE_ALL:Ljava/util/function/Predicate;
invokespecial org.glassfish.jersey.model.internal.CommonConfig.<init>:(Ljavax/ws/rs/RuntimeType;Ljava/util/function/Predicate;)V
1: aload 0
aconst_null
putfield org.glassfish.jersey.server.ResourceConfig$State.classLoader:Ljava/lang/ClassLoader;
2: aload 0
invokestatic org.glassfish.jersey.internal.util.ReflectionHelper.getContextClassLoaderPA:()Ljava/security/PrivilegedAction;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
putfield org.glassfish.jersey.server.ResourceConfig$State.classLoader:Ljava/lang/ClassLoader;
3: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.glassfish.jersey.server.ResourceConfig$State.resourceFinders:Ljava/util/Set;
4: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.glassfish.jersey.server.ResourceConfig$State.resources:Ljava/util/Set;
5: aload 0
aload 0
getfield org.glassfish.jersey.server.ResourceConfig$State.resources:Ljava/util/Set;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
putfield org.glassfish.jersey.server.ResourceConfig$State.resourcesView:Ljava/util/Set;
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/jersey/server/ResourceConfig$State;
public void <init>(org.glassfish.jersey.server.ResourceConfig$State);
descriptor: (Lorg/glassfish/jersey/server/ResourceConfig$State;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.glassfish.jersey.model.internal.CommonConfig.<init>:(Lorg/glassfish/jersey/model/internal/CommonConfig;)V
1: aload 0
aconst_null
putfield org.glassfish.jersey.server.ResourceConfig$State.classLoader:Ljava/lang/ClassLoader;
2: aload 0
aload 1
getfield org.glassfish.jersey.server.ResourceConfig$State.classLoader:Ljava/lang/ClassLoader;
putfield org.glassfish.jersey.server.ResourceConfig$State.classLoader:Ljava/lang/ClassLoader;
3: aload 0
aload 1
getfield org.glassfish.jersey.server.ResourceConfig$State.applicationName:Ljava/lang/String;
putfield org.glassfish.jersey.server.ResourceConfig$State.applicationName:Ljava/lang/String;
4: aload 0
new java.util.HashSet
dup
aload 1
getfield org.glassfish.jersey.server.ResourceConfig$State.resources:Ljava/util/Set;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
putfield org.glassfish.jersey.server.ResourceConfig$State.resources:Ljava/util/Set;
5: aload 0
aload 0
getfield org.glassfish.jersey.server.ResourceConfig$State.resources:Ljava/util/Set;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
putfield org.glassfish.jersey.server.ResourceConfig$State.resourcesView:Ljava/util/Set;
6: aload 0
new java.util.HashSet
dup
aload 1
getfield org.glassfish.jersey.server.ResourceConfig$State.resourceFinders:Ljava/util/Set;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
putfield org.glassfish.jersey.server.ResourceConfig$State.resourceFinders:Ljava/util/Set;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/jersey/server/ResourceConfig$State;
0 8 1 original Lorg/glassfish/jersey/server/ResourceConfig$State;
MethodParameters:
Name Flags
original final
public void setClassLoader(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
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$State.classLoader:Ljava/lang/ClassLoader;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/jersey/server/ResourceConfig$State;
0 2 1 classLoader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
classLoader final
public void setApplicationName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
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$State.applicationName:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/jersey/server/ResourceConfig$State;
0 2 1 applicationName Ljava/lang/String;
MethodParameters:
Name Flags
applicationName final
public void registerResources(java.util.Set<org.glassfish.jersey.server.model.Resource>);
descriptor: (Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.jersey.server.ResourceConfig$State.resources:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/jersey/server/ResourceConfig$State;
0 2 1 resources Ljava/util/Set<Lorg/glassfish/jersey/server/model/Resource;>;
Signature: (Ljava/util/Set<Lorg/glassfish/jersey/server/model/Resource;>;)V
MethodParameters:
Name Flags
resources final
public void registerFinder(org.glassfish.jersey.server.ResourceFinder);
descriptor: (Lorg/glassfish/jersey/server/ResourceFinder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.jersey.server.ResourceConfig$State.resourceFinders:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/jersey/server/ResourceConfig$State;
0 2 1 resourceFinder Lorg/glassfish/jersey/server/ResourceFinder;
MethodParameters:
Name Flags
resourceFinder final
protected org.glassfish.jersey.process.Inflector<org.glassfish.jersey.model.ContractProvider$Builder, org.glassfish.jersey.model.ContractProvider> getModelEnhancer(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Lorg/glassfish/jersey/process/Inflector;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic apply(Ljava/lang/Class;)Lorg/glassfish/jersey/process/Inflector;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/glassfish/jersey/server/ResourceConfig$State.lambda$0(Ljava/lang/Class;Lorg/glassfish/jersey/model/ContractProvider$Builder;)Lorg/glassfish/jersey/model/ContractProvider; (6)
(Lorg/glassfish/jersey/model/ContractProvider$Builder;)Lorg/glassfish/jersey/model/ContractProvider;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/ResourceConfig$State;
0 1 1 componentClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Lorg/glassfish/jersey/process/Inflector<Lorg/glassfish/jersey/model/ContractProvider$Builder;Lorg/glassfish/jersey/model/ContractProvider;>;
MethodParameters:
Name Flags
componentClass final
public org.glassfish.jersey.server.ResourceConfig$State loadFrom(javax.ws.rs.core.Configuration);
descriptor: (Ljavax/ws/rs/core/Configuration;)Lorg/glassfish/jersey/server/ResourceConfig$State;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.glassfish.jersey.model.internal.CommonConfig.loadFrom:(Ljavax/ws/rs/core/Configuration;)Lorg/glassfish/jersey/model/internal/CommonConfig;
pop
1: aload 0
getfield org.glassfish.jersey.server.ResourceConfig$State.resourceFinders:Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
2: aload 0
getfield org.glassfish.jersey.server.ResourceConfig$State.resources:Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
3: aconst_null
astore 2
start local 2 4: aload 1
instanceof org.glassfish.jersey.server.ResourceConfig
ifeq 6
5: aload 1
checkcast org.glassfish.jersey.server.ResourceConfig
getfield org.glassfish.jersey.server.ResourceConfig.state:Lorg/glassfish/jersey/server/ResourceConfig$State;
astore 2
6: StackMap locals: org.glassfish.jersey.server.ResourceConfig$State
StackMap stack:
aload 1
instanceof org.glassfish.jersey.server.ResourceConfig$State
ifeq 8
7: aload 1
checkcast org.glassfish.jersey.server.ResourceConfig$State
astore 2
8: StackMap locals:
StackMap stack:
aload 2
ifnull 11
9: aload 0
getfield org.glassfish.jersey.server.ResourceConfig$State.resourceFinders:Ljava/util/Set;
aload 2
getfield org.glassfish.jersey.server.ResourceConfig$State.resourceFinders:Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
10: aload 0
getfield org.glassfish.jersey.server.ResourceConfig$State.resources:Ljava/util/Set;
aload 2
getfield org.glassfish.jersey.server.ResourceConfig$State.resources:Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
11: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/glassfish/jersey/server/ResourceConfig$State;
0 12 1 config Ljavax/ws/rs/core/Configuration;
4 12 2 other Lorg/glassfish/jersey/server/ResourceConfig$State;
MethodParameters:
Name Flags
config final
public final java.util.Set<org.glassfish.jersey.server.model.Resource> getResources();
descriptor: ()Ljava/util/Set;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.ResourceConfig$State.resourcesView:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/ResourceConfig$State;
Signature: ()Ljava/util/Set<Lorg/glassfish/jersey/server/model/Resource;>;
public org.glassfish.jersey.server.ServerConfig getConfiguration();
descriptor: ()Lorg/glassfish/jersey/server/ServerConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/ResourceConfig$State;
public java.util.Set<org.glassfish.jersey.server.ResourceFinder> getResourceFinders();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.ResourceConfig$State.resourceFinders:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/ResourceConfig$State;
Signature: ()Ljava/util/Set<Lorg/glassfish/jersey/server/ResourceFinder;>;
public java.lang.ClassLoader getClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.ResourceConfig$State.classLoader:Ljava/lang/ClassLoader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/ResourceConfig$State;
private java.lang.String getApplicationName();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.ResourceConfig$State.applicationName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/ResourceConfig$State;
public org.glassfish.jersey.ExtendedConfig getConfiguration();
descriptor: ()Lorg/glassfish/jersey/ExtendedConfig;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.glassfish.jersey.server.ResourceConfig$State.getConfiguration:()Lorg/glassfish/jersey/server/ServerConfig;
areturn
LocalVariableTable:
Start End Slot Name Signature
public javax.ws.rs.core.Configuration getConfiguration();
descriptor: ()Ljavax/ws/rs/core/Configuration;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.glassfish.jersey.server.ResourceConfig$State.getConfiguration:()Lorg/glassfish/jersey/server/ServerConfig;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.glassfish.jersey.model.internal.CommonConfig loadFrom(javax.ws.rs.core.Configuration);
descriptor: (Ljavax/ws/rs/core/Configuration;)Lorg/glassfish/jersey/model/internal/CommonConfig;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.glassfish.jersey.server.ResourceConfig$State.loadFrom:(Ljavax/ws/rs/core/Configuration;)Lorg/glassfish/jersey/server/ResourceConfig$State;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static org.glassfish.jersey.model.ContractProvider lambda$0(java.lang.Class, org.glassfish.jersey.model.ContractProvider$Builder);
descriptor: (Ljava/lang/Class;Lorg/glassfish/jersey/model/ContractProvider$Builder;)Lorg/glassfish/jersey/model/ContractProvider;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
invokevirtual org.glassfish.jersey.model.ContractProvider$Builder.getScope:()Ljava/lang/Class;
ifnonnull 2
aload 1
invokevirtual org.glassfish.jersey.model.ContractProvider$Builder.getContracts:()Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 2
aload 0
invokestatic org.glassfish.jersey.server.model.Resource.getPath:(Ljava/lang/Class;)Ljavax/ws/rs/Path;
ifnull 2
1: aload 1
ldc Lorg/glassfish/jersey/process/internal/RequestScoped;
invokevirtual org.glassfish.jersey.model.ContractProvider$Builder.scope:(Ljava/lang/Class;)Lorg/glassfish/jersey/model/ContractProvider$Builder;
pop
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.glassfish.jersey.model.ContractProvider$Builder.build:()Lorg/glassfish/jersey/model/ContractProvider;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 builder Lorg/glassfish/jersey/model/ContractProvider$Builder;
}
SourceFile: "ResourceConfig.java"
NestHost: org.glassfish.jersey.server.ResourceConfig
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Builder = org.glassfish.jersey.model.ContractProvider$Builder of org.glassfish.jersey.model.ContractProvider
private State = org.glassfish.jersey.server.ResourceConfig$State of org.glassfish.jersey.server.ResourceConfig