public class org.glassfish.jersey.server.model.RuntimeResource implements org.glassfish.jersey.server.model.ResourceModelComponent
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.jersey.server.model.RuntimeResource
super_class: java.lang.Object
{
public static final java.util.Comparator<org.glassfish.jersey.server.model.RuntimeResource> COMPARATOR;
descriptor: Ljava/util/Comparator;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Comparator<Lorg/glassfish/jersey/server/model/RuntimeResource;>;
private final java.lang.String regex;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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 java.util.List<org.glassfish.jersey.server.model.ResourceMethod> resourceLocators;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/glassfish/jersey/server/model/ResourceMethod;>;
private final java.util.List<org.glassfish.jersey.server.model.RuntimeResource> childRuntimeResources;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/glassfish/jersey/server/model/RuntimeResource;>;
private final java.util.List<org.glassfish.jersey.server.model.Resource> resources;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;
private final org.glassfish.jersey.server.model.RuntimeResource parent;
descriptor: Lorg/glassfish/jersey/server/model/RuntimeResource;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.glassfish.jersey.uri.PathPattern pathPattern;
descriptor: Lorg/glassfish/jersey/uri/PathPattern;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.glassfish.jersey.server.model.RuntimeResource$1
dup
invokespecial org.glassfish.jersey.server.model.RuntimeResource$1.<init>:()V
putstatic org.glassfish.jersey.server.model.RuntimeResource.COMPARATOR:Ljava/util/Comparator;
1: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.util.List<org.glassfish.jersey.server.model.Resource>, java.util.List<org.glassfish.jersey.server.model.RuntimeResource$Builder>, org.glassfish.jersey.server.model.RuntimeResource, java.lang.String);
descriptor: (Ljava/util/List;Ljava/util/List;Lorg/glassfish/jersey/server/model/RuntimeResource;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 3
putfield org.glassfish.jersey.server.model.RuntimeResource.parent:Lorg/glassfish/jersey/server/model/RuntimeResource;
2: aload 0
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.Resource
invokevirtual org.glassfish.jersey.server.model.Resource.getPathPattern:()Lorg/glassfish/jersey/uri/PathPattern;
putfield org.glassfish.jersey.server.model.RuntimeResource.pathPattern:Lorg/glassfish/jersey/uri/PathPattern;
3: aload 0
new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield org.glassfish.jersey.server.model.RuntimeResource.resources:Ljava/util/List;
4: aload 0
aload 4
putfield org.glassfish.jersey.server.model.RuntimeResource.regex:Ljava/lang/String;
5: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.glassfish.jersey.server.model.RuntimeResource.resourceMethods:Ljava/util/List;
6: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.glassfish.jersey.server.model.RuntimeResource.resourceLocators:Ljava/util/List;
7: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.glassfish.jersey.server.model.RuntimeResource.childRuntimeResources:Ljava/util/List;
8: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 11
StackMap locals: org.glassfish.jersey.server.model.RuntimeResource java.util.List java.util.List org.glassfish.jersey.server.model.RuntimeResource java.lang.String top java.util.Iterator
StackMap stack:
9: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.RuntimeResource$Builder
astore 5
start local 5 10: aload 0
getfield org.glassfish.jersey.server.model.RuntimeResource.childRuntimeResources:Ljava/util/List;
aload 5
aload 0
invokevirtual org.glassfish.jersey.server.model.RuntimeResource$Builder.build:(Lorg/glassfish/jersey/server/model/RuntimeResource;)Lorg/glassfish/jersey/server/model/RuntimeResource;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 11: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
12: aload 0
getfield org.glassfish.jersey.server.model.RuntimeResource.childRuntimeResources:Ljava/util/List;
getstatic org.glassfish.jersey.server.model.RuntimeResource.COMPARATOR:Ljava/util/Comparator;
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
13: aload 0
getfield org.glassfish.jersey.server.model.RuntimeResource.resources:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 19
StackMap locals:
StackMap stack:
14: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.Resource
astore 5
start local 5 15: aload 0
getfield org.glassfish.jersey.server.model.RuntimeResource.resourceMethods:Ljava/util/List;
aload 5
invokevirtual org.glassfish.jersey.server.model.Resource.getResourceMethods:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
16: aload 5
invokevirtual org.glassfish.jersey.server.model.Resource.getResourceLocator:()Lorg/glassfish/jersey/server/model/ResourceMethod;
astore 7
start local 7 17: aload 7
ifnull 19
18: aload 0
getfield org.glassfish.jersey.server.model.RuntimeResource.resourceLocators:Ljava/util/List;
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 5 19: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
20: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/glassfish/jersey/server/model/RuntimeResource;
0 21 1 resources Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;
0 21 2 childRuntimeResourceBuilders Ljava/util/List<Lorg/glassfish/jersey/server/model/RuntimeResource$Builder;>;
0 21 3 parent Lorg/glassfish/jersey/server/model/RuntimeResource;
0 21 4 regex Ljava/lang/String;
10 11 5 childRuntimeResourceBuilder Lorg/glassfish/jersey/server/model/RuntimeResource$Builder;
15 19 5 res Lorg/glassfish/jersey/server/model/Resource;
17 19 7 resourceLocator Lorg/glassfish/jersey/server/model/ResourceMethod;
Signature: (Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;Ljava/util/List<Lorg/glassfish/jersey/server/model/RuntimeResource$Builder;>;Lorg/glassfish/jersey/server/model/RuntimeResource;Ljava/lang/String;)V
MethodParameters:
Name Flags
resources
childRuntimeResourceBuilders
parent
regex
public java.util.List<org.glassfish.jersey.server.model.RuntimeResource> getChildRuntimeResources();
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.RuntimeResource.childRuntimeResources:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/RuntimeResource;
Signature: ()Ljava/util/List<Lorg/glassfish/jersey/server/model/RuntimeResource;>;
public java.lang.String getRegex();
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.RuntimeResource.regex:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/RuntimeResource;
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.RuntimeResource.resourceMethods:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/RuntimeResource;
Signature: ()Ljava/util/List<Lorg/glassfish/jersey/server/model/ResourceMethod;>;
public java.util.List<org.glassfish.jersey.server.model.ResourceMethod> getResourceLocators();
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.RuntimeResource.resourceLocators:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/RuntimeResource;
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=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.model.RuntimeResource.resourceLocators:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
if_icmplt 2
1: aload 0
getfield org.glassfish.jersey.server.model.RuntimeResource.resourceLocators:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.ResourceMethod
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/jersey/server/model/RuntimeResource;
public org.glassfish.jersey.server.model.RuntimeResource getParent();
descriptor: ()Lorg/glassfish/jersey/server/model/RuntimeResource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.model.RuntimeResource.parent:Lorg/glassfish/jersey/server/model/RuntimeResource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/RuntimeResource;
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.RuntimeResource.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/RuntimeResource;
public java.lang.String getFullPathRegex();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.model.RuntimeResource.parent:Lorg/glassfish/jersey/server/model/RuntimeResource;
ifnonnull 2
1: aload 0
getfield org.glassfish.jersey.server.model.RuntimeResource.regex:Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
getfield org.glassfish.jersey.server.model.RuntimeResource.parent:Lorg/glassfish/jersey/server/model/RuntimeResource;
invokevirtual org.glassfish.jersey.server.model.RuntimeResource.getRegex:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.glassfish.jersey.server.model.RuntimeResource.regex:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/jersey/server/model/RuntimeResource;
public java.util.List<org.glassfish.jersey.server.model.Resource> getParentResources();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.server.model.RuntimeResource.resources:Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic apply()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/RuntimeResource.lambda$0(Lorg/glassfish/jersey/server/model/Resource;)Lorg/glassfish/jersey/server/model/Resource; (6)
(Lorg/glassfish/jersey/server/model/Resource;)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 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/RuntimeResource;
Signature: ()Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;
public java.util.List<org.glassfish.jersey.server.model.Resource> getResources();
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.RuntimeResource.resources:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/RuntimeResource;
Signature: ()Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;
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 1
aload 0
invokeinterface org.glassfish.jersey.server.model.ResourceModelVisitor.visitRuntimeResource:(Lorg/glassfish/jersey/server/model/RuntimeResource;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/jersey/server/model/RuntimeResource;
0 2 1 visitor Lorg/glassfish/jersey/server/model/ResourceModelVisitor;
MethodParameters:
Name Flags
visitor
public java.util.List<? extends org.glassfish.jersey.server.model.ResourceModelComponent> getComponents();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.jersey.server.model.RuntimeResource.getChildRuntimeResources:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/RuntimeResource;
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);
descriptor: (Lorg/glassfish/jersey/server/model/Resource;)Lorg/glassfish/jersey/server/model/Resource;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual org.glassfish.jersey.server.model.Resource.getParent:()Lorg/glassfish/jersey/server/model/Resource;
StackMap locals:
StackMap stack: org.glassfish.jersey.server.model.Resource
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 child Lorg/glassfish/jersey/server/model/Resource;
}
SourceFile: "RuntimeResource.java"
NestMembers:
org.glassfish.jersey.server.model.RuntimeResource$1 org.glassfish.jersey.server.model.RuntimeResource$Builder
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
org.glassfish.jersey.server.model.RuntimeResource$1
Builder = org.glassfish.jersey.server.model.RuntimeResource$Builder of org.glassfish.jersey.server.model.RuntimeResource