public final class org.glassfish.jersey.server.model.Resource implements org.glassfish.jersey.server.model.Routed, org.glassfish.jersey.server.model.ResourceModelComponent
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.jersey.server.model.Resource
super_class: java.lang.Object
{
private final org.glassfish.jersey.server.model.Resource parent;
descriptor: Lorg/glassfish/jersey/server/model/Resource;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.glassfish.jersey.server.model.Resource$Data data;
descriptor: Lorg/glassfish/jersey/server/model/Resource$Data;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.glassfish.jersey.internal.util.collection.Value<java.lang.String> name;
descriptor: Lorg/glassfish/jersey/internal/util/collection/Value;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/glassfish/jersey/internal/util/collection/Value<Ljava/lang/String;>;
private final java.util.List<org.glassfish.jersey.server.model.ResourceMethod> resourceMethods;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/glassfish/jersey/server/model/ResourceMethod;>;
private final org.glassfish.jersey.server.model.ResourceMethod locator;
descriptor: Lorg/glassfish/jersey/server/model/ResourceMethod;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<org.glassfish.jersey.server.model.Resource> childResources;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;
public static org.glassfish.jersey.server.model.Resource$Builder builder();
descriptor: ()Lorg/glassfish/jersey/server/model/Resource$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.glassfish.jersey.server.model.Resource$Builder
dup
invokespecial org.glassfish.jersey.server.model.Resource$Builder.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.glassfish.jersey.server.model.Resource$Builder builder(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/glassfish/jersey/server/model/Resource$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.glassfish.jersey.server.model.Resource$Builder
dup
aload 0
invokespecial org.glassfish.jersey.server.model.Resource$Builder.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/lang/String;
MethodParameters:
Name Flags
path final
public static org.glassfish.jersey.server.model.Resource$Builder builder(java.util.List<org.glassfish.jersey.server.model.Resource>);
descriptor: (Ljava/util/List;)Lorg/glassfish/jersey/server/model/Resource$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
invokestatic org.glassfish.jersey.server.model.Resource.builder:()Lorg/glassfish/jersey/server/model/Resource$Builder;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 1
start local 1 3: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.Resource
getfield org.glassfish.jersey.server.model.Resource.data:Lorg/glassfish/jersey/server/model/Resource$Data;
astore 2
start local 2 4: aload 2
invokestatic org.glassfish.jersey.server.model.Resource.builder:(Lorg/glassfish/jersey/server/model/Resource$Data;)Lorg/glassfish/jersey/server/model/Resource$Builder;
astore 3
start local 3 5: aload 2
getfield org.glassfish.jersey.server.model.Resource$Data.path:Ljava/lang/String;
astore 4
start local 4 6: goto 13
7: StackMap locals: java.util.List java.util.Iterator org.glassfish.jersey.server.model.Resource$Data org.glassfish.jersey.server.model.Resource$Builder java.lang.String
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.Resource
getfield org.glassfish.jersey.server.model.Resource.data:Lorg/glassfish/jersey/server/model/Resource$Data;
astore 2
8: aload 2
getfield org.glassfish.jersey.server.model.Resource$Data.path:Ljava/lang/String;
ifnonnull 9
aload 4
ifnull 10
StackMap locals:
StackMap stack:
9: aload 4
ifnull 12
aload 4
aload 2
getfield org.glassfish.jersey.server.model.Resource$Data.path:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: StackMap locals:
StackMap stack:
aload 3
aload 2
invokevirtual org.glassfish.jersey.server.model.Resource$Builder.mergeWith:(Lorg/glassfish/jersey/server/model/Resource$Data;)Lorg/glassfish/jersey/server/model/Resource$Builder;
pop
11: goto 13
12: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokestatic org.glassfish.jersey.server.internal.LocalizationMessages.ERROR_RESOURCES_CANNOT_MERGE:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
14: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 resources Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;
3 15 1 it Ljava/util/Iterator<Lorg/glassfish/jersey/server/model/Resource;>;
4 15 2 resourceData Lorg/glassfish/jersey/server/model/Resource$Data;
5 15 3 builder Lorg/glassfish/jersey/server/model/Resource$Builder;
6 15 4 path Ljava/lang/String;
Signature: (Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;)Lorg/glassfish/jersey/server/model/Resource$Builder;
MethodParameters:
Name Flags
resources
public static org.glassfish.jersey.server.model.Resource$Builder builder(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Lorg/glassfish/jersey/server/model/Resource$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokestatic org.glassfish.jersey.server.model.Resource.builder:(Ljava/lang/Class;Z)Lorg/glassfish/jersey/server/model/Resource$Builder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 resourceClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Lorg/glassfish/jersey/server/model/Resource$Builder;
MethodParameters:
Name Flags
resourceClass
public static org.glassfish.jersey.server.model.Resource$Builder builder(java.lang.Class<?>, boolean);
descriptor: (Ljava/lang/Class;Z)Lorg/glassfish/jersey/server/model/Resource$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new org.glassfish.jersey.server.model.IntrospectionModeller
dup
aload 0
iload 1
invokespecial org.glassfish.jersey.server.model.IntrospectionModeller.<init>:(Ljava/lang/Class;Z)V
invokevirtual org.glassfish.jersey.server.model.IntrospectionModeller.createResourceBuilder:()Lorg/glassfish/jersey/server/model/Resource$Builder;
astore 2
start local 2 1: aload 2
invokevirtual org.glassfish.jersey.server.model.Resource$Builder.isEmpty:()Z
ifeq 2
aconst_null
goto 3
StackMap locals: org.glassfish.jersey.server.model.Resource$Builder
StackMap stack:
2: aload 2
StackMap locals:
StackMap stack: org.glassfish.jersey.server.model.Resource$Builder
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 resourceClass Ljava/lang/Class<*>;
0 4 1 disableValidation Z
1 4 2 builder Lorg/glassfish/jersey/server/model/Resource$Builder;
Signature: (Ljava/lang/Class<*>;Z)Lorg/glassfish/jersey/server/model/Resource$Builder;
MethodParameters:
Name Flags
resourceClass
disableValidation
public static org.glassfish.jersey.server.model.Resource from(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Lorg/glassfish/jersey/server/model/Resource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokestatic org.glassfish.jersey.server.model.Resource.from:(Ljava/lang/Class;Z)Lorg/glassfish/jersey/server/model/Resource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 resourceClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Lorg/glassfish/jersey/server/model/Resource;
MethodParameters:
Name Flags
resourceClass
public static org.glassfish.jersey.server.model.Resource from(java.lang.Class<?>, boolean);
descriptor: (Ljava/lang/Class;Z)Lorg/glassfish/jersey/server/model/Resource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new org.glassfish.jersey.server.model.IntrospectionModeller
dup
aload 0
iload 1
invokespecial org.glassfish.jersey.server.model.IntrospectionModeller.<init>:(Ljava/lang/Class;Z)V
invokevirtual org.glassfish.jersey.server.model.IntrospectionModeller.createResourceBuilder:()Lorg/glassfish/jersey/server/model/Resource$Builder;
astore 2
start local 2 1: aload 2
invokevirtual org.glassfish.jersey.server.model.Resource$Builder.isEmpty:()Z
ifeq 2
aconst_null
goto 3
StackMap locals: org.glassfish.jersey.server.model.Resource$Builder
StackMap stack:
2: aload 2
invokevirtual org.glassfish.jersey.server.model.Resource$Builder.build:()Lorg/glassfish/jersey/server/model/Resource;
StackMap locals:
StackMap stack: org.glassfish.jersey.server.model.Resource
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 resourceClass Ljava/lang/Class<*>;
0 4 1 disableValidation Z
1 4 2 builder Lorg/glassfish/jersey/server/model/Resource$Builder;
Signature: (Ljava/lang/Class<*>;Z)Lorg/glassfish/jersey/server/model/Resource;
MethodParameters:
Name Flags
resourceClass
disableValidation
public static boolean isAcceptable(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.getModifiers:()I
sipush 1024
iand
ifne 6
1: aload 0
invokevirtual java.lang.Class.isPrimitive:()Z
ifne 6
2: aload 0
invokevirtual java.lang.Class.isAnnotation:()Z
ifne 6
3: aload 0
invokevirtual java.lang.Class.isInterface:()Z
ifne 6
4: aload 0
invokevirtual java.lang.Class.isLocalClass:()Z
ifne 6
5: aload 0
invokevirtual java.lang.Class.isMemberClass:()Z
ifeq 7
aload 0
invokevirtual java.lang.Class.getModifiers:()I
bipush 8
iand
ifne 7
6: StackMap locals:
StackMap stack:
iconst_0
goto 8
StackMap locals:
StackMap stack:
7: iconst_1
StackMap locals:
StackMap stack: int
8: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 c Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
c
public static javax.ws.rs.Path getPath(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljavax/ws/rs/Path;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.glassfish.jersey.server.model.internal.ModelHelper.getAnnotatedResourceClass:(Ljava/lang/Class;)Ljava/lang/Class;
ldc Ljavax/ws/rs/Path;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast javax.ws.rs.Path
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 resourceClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljavax/ws/rs/Path;
MethodParameters:
Name Flags
resourceClass
public static org.glassfish.jersey.server.model.Resource$Builder builder(org.glassfish.jersey.server.model.Resource);
descriptor: (Lorg/glassfish/jersey/server/model/Resource;)Lorg/glassfish/jersey/server/model/Resource$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.model.Resource.data:Lorg/glassfish/jersey/server/model/Resource$Data;
invokestatic org.glassfish.jersey.server.model.Resource.builder:(Lorg/glassfish/jersey/server/model/Resource$Data;)Lorg/glassfish/jersey/server/model/Resource$Builder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 resource Lorg/glassfish/jersey/server/model/Resource;
MethodParameters:
Name Flags
resource
private static org.glassfish.jersey.server.model.Resource$Builder builder(org.glassfish.jersey.server.model.Resource$Data);
descriptor: (Lorg/glassfish/jersey/server/model/Resource$Data;)Lorg/glassfish/jersey/server/model/Resource$Builder;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.model.Resource$Data.path:Ljava/lang/String;
ifnonnull 3
1: new org.glassfish.jersey.server.model.Resource$Builder
dup
invokespecial org.glassfish.jersey.server.model.Resource$Builder.<init>:()V
astore 1
start local 1 2: goto 4
end local 1 3: StackMap locals:
StackMap stack:
new org.glassfish.jersey.server.model.Resource$Builder
dup
aload 0
getfield org.glassfish.jersey.server.model.Resource$Data.path:Ljava/lang/String;
invokespecial org.glassfish.jersey.server.model.Resource$Builder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 4: StackMap locals: org.glassfish.jersey.server.model.Resource$Builder
StackMap stack:
aload 1
getfield org.glassfish.jersey.server.model.Resource$Builder.resourceMethods:Ljava/util/List;
aload 0
getfield org.glassfish.jersey.server.model.Resource$Data.resourceMethods:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
5: aload 1
getfield org.glassfish.jersey.server.model.Resource$Builder.childResources:Ljava/util/List;
aload 0
getfield org.glassfish.jersey.server.model.Resource$Data.childResources:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
6: aload 1
aload 0
getfield org.glassfish.jersey.server.model.Resource$Data.subResourceLocator:Lorg/glassfish/jersey/server/model/ResourceMethod$Data;
putfield org.glassfish.jersey.server.model.Resource$Builder.subResourceLocator:Lorg/glassfish/jersey/server/model/ResourceMethod$Data;
7: aload 1
getfield org.glassfish.jersey.server.model.Resource$Builder.handlerClasses:Ljava/util/Set;
aload 0
getfield org.glassfish.jersey.server.model.Resource$Data.handlerClasses:Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
8: aload 1
getfield org.glassfish.jersey.server.model.Resource$Builder.handlerInstances:Ljava/util/Set;
aload 0
getfield org.glassfish.jersey.server.model.Resource$Data.handlerInstances:Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
9: aload 1
getfield org.glassfish.jersey.server.model.Resource$Builder.names:Ljava/util/List;
aload 0
getfield org.glassfish.jersey.server.model.Resource$Data.names:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
10: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 resourceData Lorg/glassfish/jersey/server/model/Resource$Data;
2 3 1 b Lorg/glassfish/jersey/server/model/Resource$Builder;
4 11 1 b Lorg/glassfish/jersey/server/model/Resource$Builder;
MethodParameters:
Name Flags
resourceData
private static java.util.List<org.glassfish.jersey.server.model.Resource> transform(org.glassfish.jersey.server.model.Resource, java.util.List<org.glassfish.jersey.server.model.Resource$Data>);
descriptor: (Lorg/glassfish/jersey/server/model/Resource;Ljava/util/List;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
aload 0
invokedynamic apply(Lorg/glassfish/jersey/server/model/Resource;)Ljava/util/function/Function;
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/model/Resource.lambda$0(Lorg/glassfish/jersey/server/model/Resource;Lorg/glassfish/jersey/server/model/Resource$Data;)Lorg/glassfish/jersey/server/model/Resource; (6)
(Lorg/glassfish/jersey/server/model/Resource$Data;)Lorg/glassfish/jersey/server/model/Resource;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 parent Lorg/glassfish/jersey/server/model/Resource;
0 1 1 list Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource$Data;>;
Signature: (Lorg/glassfish/jersey/server/model/Resource;Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource$Data;>;)Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;
MethodParameters:
Name Flags
parent final
list final
private static <T> java.util.List<T> immutableCopy(java.util.List<T>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.util.List.isEmpty:()Z
ifeq 1
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
StackMap locals:
StackMap stack: java.util.List
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 list Ljava/util/List<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/List<TT;>;)Ljava/util/List<TT;>;
MethodParameters:
Name Flags
list
private static <T> java.util.Set<T> immutableCopy(java.util.Set<T>);
descriptor: (Ljava/util/Set;)Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Set.isEmpty:()Z
ifeq 2
1: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
2: StackMap locals:
StackMap stack:
new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
invokestatic java.util.Collections.newSetFromMap:(Ljava/util/Map;)Ljava/util/Set;
astore 1
start local 1 3: aload 1
aload 0
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 set Ljava/util/Set<TT;>;
3 5 1 result Ljava/util/Set<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Set<TT;>;)Ljava/util/Set<TT;>;
MethodParameters:
Name Flags
set
private void <init>(org.glassfish.jersey.server.model.Resource, org.glassfish.jersey.server.model.Resource$Data);
descriptor: (Lorg/glassfish/jersey/server/model/Resource;Lorg/glassfish/jersey/server/model/Resource$Data;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.glassfish.jersey.server.model.Resource.parent:Lorg/glassfish/jersey/server/model/Resource;
2: aload 0
aload 2
putfield org.glassfish.jersey.server.model.Resource.data:Lorg/glassfish/jersey/server/model/Resource$Data;
3: aload 0
new org.glassfish.jersey.server.model.Resource$1
dup
aload 0
aload 2
invokespecial org.glassfish.jersey.server.model.Resource$1.<init>:(Lorg/glassfish/jersey/server/model/Resource;Lorg/glassfish/jersey/server/model/Resource$Data;)V
invokestatic org.glassfish.jersey.internal.util.collection.Values.lazy:(Lorg/glassfish/jersey/internal/util/collection/Value;)Lorg/glassfish/jersey/internal/util/collection/LazyValue;
putfield org.glassfish.jersey.server.model.Resource.name:Lorg/glassfish/jersey/internal/util/collection/Value;
4: aload 0
aload 0
aload 2
getfield org.glassfish.jersey.server.model.Resource$Data.resourceMethods:Ljava/util/List;
invokestatic org.glassfish.jersey.server.model.ResourceMethod.transform:(Lorg/glassfish/jersey/server/model/Resource;Ljava/util/List;)Ljava/util/List;
invokestatic org.glassfish.jersey.server.model.Resource.immutableCopy:(Ljava/util/List;)Ljava/util/List;
putfield org.glassfish.jersey.server.model.Resource.resourceMethods:Ljava/util/List;
5: aload 0
aload 2
getfield org.glassfish.jersey.server.model.Resource$Data.subResourceLocator:Lorg/glassfish/jersey/server/model/ResourceMethod$Data;
ifnonnull 6
aconst_null
goto 7
StackMap locals: org.glassfish.jersey.server.model.Resource org.glassfish.jersey.server.model.Resource org.glassfish.jersey.server.model.Resource$Data
StackMap stack: org.glassfish.jersey.server.model.Resource
6: new org.glassfish.jersey.server.model.ResourceMethod
dup
aload 0
aload 2
getfield org.glassfish.jersey.server.model.Resource$Data.subResourceLocator:Lorg/glassfish/jersey/server/model/ResourceMethod$Data;
invokespecial org.glassfish.jersey.server.model.ResourceMethod.<init>:(Lorg/glassfish/jersey/server/model/Resource;Lorg/glassfish/jersey/server/model/ResourceMethod$Data;)V
StackMap locals: org.glassfish.jersey.server.model.Resource org.glassfish.jersey.server.model.Resource org.glassfish.jersey.server.model.Resource$Data
StackMap stack: org.glassfish.jersey.server.model.Resource org.glassfish.jersey.server.model.ResourceMethod
7: putfield org.glassfish.jersey.server.model.Resource.locator:Lorg/glassfish/jersey/server/model/ResourceMethod;
8: aload 0
aload 0
aload 2
getfield org.glassfish.jersey.server.model.Resource$Data.childResources:Ljava/util/List;
invokestatic org.glassfish.jersey.server.model.Resource.transform:(Lorg/glassfish/jersey/server/model/Resource;Ljava/util/List;)Ljava/util/List;
invokestatic org.glassfish.jersey.server.model.Resource.immutableCopy:(Ljava/util/List;)Ljava/util/List;
putfield org.glassfish.jersey.server.model.Resource.childResources:Ljava/util/List;
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/glassfish/jersey/server/model/Resource;
0 10 1 parent Lorg/glassfish/jersey/server/model/Resource;
0 10 2 data Lorg/glassfish/jersey/server/model/Resource$Data;
MethodParameters:
Name Flags
parent final
data final
public java.lang.String getPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.model.Resource.data:Lorg/glassfish/jersey/server/model/Resource$Data;
getfield org.glassfish.jersey.server.model.Resource$Data.path:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/Resource;
public org.glassfish.jersey.uri.PathPattern getPathPattern();
descriptor: ()Lorg/glassfish/jersey/uri/PathPattern;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.model.Resource.data:Lorg/glassfish/jersey/server/model/Resource$Data;
getfield org.glassfish.jersey.server.model.Resource$Data.pathPattern:Lorg/glassfish/jersey/uri/PathPattern;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/Resource;
public org.glassfish.jersey.server.model.Resource getParent();
descriptor: ()Lorg/glassfish/jersey/server/model/Resource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.model.Resource.parent:Lorg/glassfish/jersey/server/model/Resource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/Resource;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.model.Resource.name:Lorg/glassfish/jersey/internal/util/collection/Value;
invokeinterface org.glassfish.jersey.internal.util.collection.Value.get:()Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/Resource;
public java.util.List<java.lang.String> getNames();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.model.Resource.data:Lorg/glassfish/jersey/server/model/Resource$Data;
getfield org.glassfish.jersey.server.model.Resource$Data.names:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/Resource;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public java.util.List<org.glassfish.jersey.server.model.ResourceMethod> getResourceMethods();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.model.Resource.resourceMethods:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/Resource;
Signature: ()Ljava/util/List<Lorg/glassfish/jersey/server/model/ResourceMethod;>;
public org.glassfish.jersey.server.model.ResourceMethod getResourceLocator();
descriptor: ()Lorg/glassfish/jersey/server/model/ResourceMethod;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.model.Resource.locator:Lorg/glassfish/jersey/server/model/ResourceMethod;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/Resource;
public java.util.List<org.glassfish.jersey.server.model.ResourceMethod> getAllMethods();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.util.LinkedList
dup
aload 0
invokevirtual org.glassfish.jersey.server.model.Resource.getResourceMethods:()Ljava/util/List;
invokespecial java.util.LinkedList.<init>:(Ljava/util/Collection;)V
astore 1
start local 1 1: aload 0
invokevirtual org.glassfish.jersey.server.model.Resource.getResourceLocator:()Lorg/glassfish/jersey/server/model/ResourceMethod;
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 1
aload 2
invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals: java.util.LinkedList org.glassfish.jersey.server.model.ResourceMethod
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/jersey/server/model/Resource;
1 5 1 methodsAndLocators Ljava/util/LinkedList<Lorg/glassfish/jersey/server/model/ResourceMethod;>;
2 5 2 loc Lorg/glassfish/jersey/server/model/ResourceMethod;
Signature: ()Ljava/util/List<Lorg/glassfish/jersey/server/model/ResourceMethod;>;
public java.util.List<org.glassfish.jersey.server.model.Resource> getChildResources();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.model.Resource.childResources:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/Resource;
Signature: ()Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;
public java.util.Set<java.lang.Class<?>> getHandlerClasses();
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.model.Resource.data:Lorg/glassfish/jersey/server/model/Resource$Data;
getfield org.glassfish.jersey.server.model.Resource$Data.handlerClasses:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/Resource;
Signature: ()Ljava/util/Set<Ljava/lang/Class<*>;>;
public java.util.Set<java.lang.Object> getHandlerInstances();
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.model.Resource.data:Lorg/glassfish/jersey/server/model/Resource$Data;
getfield org.glassfish.jersey.server.model.Resource$Data.handlerInstances:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/Resource;
Signature: ()Ljava/util/Set<Ljava/lang/Object;>;
public void accept(org.glassfish.jersey.server.model.ResourceModelVisitor);
descriptor: (Lorg/glassfish/jersey/server/model/ResourceModelVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.jersey.server.model.Resource.getParent:()Lorg/glassfish/jersey/server/model/Resource;
ifnonnull 3
1: aload 1
aload 0
invokeinterface org.glassfish.jersey.server.model.ResourceModelVisitor.visitResource:(Lorg/glassfish/jersey/server/model/Resource;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 1
aload 0
invokeinterface org.glassfish.jersey.server.model.ResourceModelVisitor.visitChildResource:(Lorg/glassfish/jersey/server/model/Resource;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/jersey/server/model/Resource;
0 5 1 visitor Lorg/glassfish/jersey/server/model/ResourceModelVisitor;
MethodParameters:
Name Flags
visitor
public boolean isExtended();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.model.Resource.data:Lorg/glassfish/jersey/server/model/Resource$Data;
getfield org.glassfish.jersey.server.model.Resource$Data.extended:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/Resource;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.model.Resource.data:Lorg/glassfish/jersey/server/model/Resource$Data;
invokevirtual org.glassfish.jersey.server.model.Resource$Data.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/Resource;
public java.util.List<? extends org.glassfish.jersey.server.model.ResourceModelComponent> getComponents();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual org.glassfish.jersey.server.model.Resource.getChildResources:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
2: aload 1
aload 0
invokevirtual org.glassfish.jersey.server.model.Resource.getResourceMethods:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
3: aload 0
invokevirtual org.glassfish.jersey.server.model.Resource.getResourceLocator:()Lorg/glassfish/jersey/server/model/ResourceMethod;
astore 2
start local 2 4: aload 2
ifnull 6
5: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: StackMap locals: java.util.List org.glassfish.jersey.server.model.ResourceMethod
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/jersey/server/model/Resource;
1 7 1 components Ljava/util/List<Lorg/glassfish/jersey/server/model/ResourceModelComponent;>;
4 7 2 resourceLocator Lorg/glassfish/jersey/server/model/ResourceMethod;
Signature: ()Ljava/util/List<+Lorg/glassfish/jersey/server/model/ResourceModelComponent;>;
private static org.glassfish.jersey.server.model.Resource lambda$0(org.glassfish.jersey.server.model.Resource, org.glassfish.jersey.server.model.Resource$Data);
descriptor: (Lorg/glassfish/jersey/server/model/Resource;Lorg/glassfish/jersey/server/model/Resource$Data;)Lorg/glassfish/jersey/server/model/Resource;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 1 0: new org.glassfish.jersey.server.model.Resource
dup
aload 0
aload 1
invokespecial org.glassfish.jersey.server.model.Resource.<init>:(Lorg/glassfish/jersey/server/model/Resource;Lorg/glassfish/jersey/server/model/Resource$Data;)V
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 data Lorg/glassfish/jersey/server/model/Resource$Data;
}
SourceFile: "Resource.java"
NestMembers:
org.glassfish.jersey.server.model.Resource$1 org.glassfish.jersey.server.model.Resource$Builder org.glassfish.jersey.server.model.Resource$Builder$1 org.glassfish.jersey.server.model.Resource$Builder$2 org.glassfish.jersey.server.model.Resource$Builder$3 org.glassfish.jersey.server.model.Resource$Data
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
org.glassfish.jersey.server.model.Resource$1
public final Builder = org.glassfish.jersey.server.model.Resource$Builder of org.glassfish.jersey.server.model.Resource
private Data = org.glassfish.jersey.server.model.Resource$Data of org.glassfish.jersey.server.model.Resource
Data = org.glassfish.jersey.server.model.ResourceMethod$Data of org.glassfish.jersey.server.model.ResourceMethod