public class org.glassfish.jersey.server.model.RuntimeResourceModel
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.jersey.server.model.RuntimeResourceModel
super_class: java.lang.Object
{
private final java.util.List<org.glassfish.jersey.server.model.RuntimeResource> runtimeResources;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/glassfish/jersey/server/model/RuntimeResource;>;
public void <init>(java.util.List<org.glassfish.jersey.server.model.Resource>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.glassfish.jersey.server.model.RuntimeResourceModel.runtimeResources:Ljava/util/List;
2: aload 0
aload 1
invokevirtual org.glassfish.jersey.server.model.RuntimeResourceModel.getRuntimeResources:(Ljava/util/List;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.glassfish.jersey.server.model.RuntimeResourceModel java.util.List top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.RuntimeResource$Builder
astore 2
start local 2 4: aload 0
getfield org.glassfish.jersey.server.model.RuntimeResourceModel.runtimeResources:Ljava/util/List;
aload 2
aconst_null
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 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 0
getfield org.glassfish.jersey.server.model.RuntimeResourceModel.runtimeResources: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
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/jersey/server/model/RuntimeResourceModel;
0 8 1 resources Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;
4 5 2 builder Lorg/glassfish/jersey/server/model/RuntimeResource$Builder;
Signature: (Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;)V
MethodParameters:
Name Flags
resources
private java.util.List<org.glassfish.jersey.server.model.RuntimeResource$Builder> getRuntimeResources(java.util.List<org.glassfish.jersey.server.model.Resource>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=2
start local 0 start local 1 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 14
StackMap locals: org.glassfish.jersey.server.model.RuntimeResourceModel java.util.List java.util.Map top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.Resource
astore 3
start local 3 3: aload 3
invokevirtual org.glassfish.jersey.server.model.Resource.getPath:()Ljava/lang/String;
astore 5
start local 5 4: aconst_null
astore 6
start local 6 5: aload 5
ifnull 9
6: aload 5
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 8
7: aload 5
iconst_0
aload 5
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
8: StackMap locals: org.glassfish.jersey.server.model.RuntimeResourceModel java.util.List java.util.Map org.glassfish.jersey.server.model.Resource java.util.Iterator java.lang.String java.lang.String
StackMap stack:
new org.glassfish.jersey.uri.PathTemplate
dup
aload 5
invokespecial org.glassfish.jersey.uri.PathTemplate.<init>:(Ljava/lang/String;)V
invokevirtual org.glassfish.jersey.uri.PathTemplate.getPattern:()Lorg/glassfish/jersey/uri/PatternWithGroups;
invokevirtual org.glassfish.jersey.uri.PatternWithGroups.getRegex:()Ljava/lang/String;
astore 6
9: StackMap locals:
StackMap stack:
aload 2
aload 6
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 7
start local 7 10: aload 7
ifnonnull 13
11: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
12: aload 2
aload 6
aload 7
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: StackMap locals: java.util.List
StackMap stack:
aload 7
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 6 end local 5 end local 3 14: StackMap locals: org.glassfish.jersey.server.model.RuntimeResourceModel java.util.List java.util.Map top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
15: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 16: aload 2
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 26
StackMap locals: org.glassfish.jersey.server.model.RuntimeResourceModel java.util.List java.util.Map java.util.List top java.util.Iterator
StackMap stack:
17: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 18: aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
astore 6
start local 6 19: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
start local 7 20: aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 23
StackMap locals: org.glassfish.jersey.server.model.RuntimeResourceModel java.util.List java.util.Map java.util.List java.util.Map$Entry java.util.Iterator java.util.List java.util.List top java.util.Iterator
StackMap stack:
21: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.Resource
astore 8
start local 8 22: aload 7
aload 8
invokevirtual org.glassfish.jersey.server.model.Resource.getChildResources:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
end local 8 23: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 21
24: aload 0
aload 7
invokevirtual org.glassfish.jersey.server.model.RuntimeResourceModel.getRuntimeResources:(Ljava/util/List;)Ljava/util/List;
astore 8
start local 8 25: aload 3
new org.glassfish.jersey.server.model.RuntimeResource$Builder
dup
aload 6
aload 8
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokespecial org.glassfish.jersey.server.model.RuntimeResource$Builder.<init>:(Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 7 end local 6 end local 4 26: StackMap locals: org.glassfish.jersey.server.model.RuntimeResourceModel java.util.List java.util.Map java.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
27: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/glassfish/jersey/server/model/RuntimeResourceModel;
0 28 1 resources Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;
1 28 2 regexMap Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;>;
3 14 3 resource Lorg/glassfish/jersey/server/model/Resource;
4 14 5 path Ljava/lang/String;
5 14 6 regex Ljava/lang/String;
10 14 7 listFromMap Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;
16 28 3 runtimeResources Ljava/util/List<Lorg/glassfish/jersey/server/model/RuntimeResource$Builder;>;
18 26 4 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;>;
19 26 6 resourcesWithSameRegex Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;
20 26 7 childResources Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;
22 23 8 res Lorg/glassfish/jersey/server/model/Resource;
25 26 8 childRuntimeResources Ljava/util/List<Lorg/glassfish/jersey/server/model/RuntimeResource$Builder;>;
Signature: (Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;)Ljava/util/List<Lorg/glassfish/jersey/server/model/RuntimeResource$Builder;>;
MethodParameters:
Name Flags
resources
public java.util.List<org.glassfish.jersey.server.model.RuntimeResource> getRuntimeResources();
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.RuntimeResourceModel.runtimeResources:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/RuntimeResourceModel;
Signature: ()Ljava/util/List<Lorg/glassfish/jersey/server/model/RuntimeResource;>;
}
SourceFile: "RuntimeResourceModel.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
Builder = org.glassfish.jersey.server.model.RuntimeResource$Builder of org.glassfish.jersey.server.model.RuntimeResource