public class org.glassfish.jersey.server.model.ResourceModel$Builder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.jersey.server.model.ResourceModel$Builder
super_class: java.lang.Object
{
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 boolean subResourceModel;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.glassfish.jersey.server.model.ResourceModel, boolean);
descriptor: (Lorg/glassfish/jersey/server/model/ResourceModel;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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
invokevirtual org.glassfish.jersey.server.model.ResourceModel.getResources:()Ljava/util/List;
putfield org.glassfish.jersey.server.model.ResourceModel$Builder.resources:Ljava/util/List;
2: aload 0
iload 2
putfield org.glassfish.jersey.server.model.ResourceModel$Builder.subResourceModel:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/jersey/server/model/ResourceModel$Builder;
0 4 1 resourceModel Lorg/glassfish/jersey/server/model/ResourceModel;
0 4 2 subResourceModel Z
MethodParameters:
Name Flags
resourceModel
subResourceModel
public void <init>(java.util.List<org.glassfish.jersey.server.model.Resource>, );
descriptor: (Ljava/util/List;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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.ResourceModel$Builder.resources:Ljava/util/List;
2: aload 0
iload 2
putfield org.glassfish.jersey.server.model.ResourceModel$Builder.subResourceModel:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/jersey/server/model/ResourceModel$Builder;
0 4 1 resources Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;
0 4 2 subResourceModel Z
Signature: (Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;Z)V
MethodParameters:
Name Flags
resources
subResourceModel
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, 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.ResourceModel$Builder.resources:Ljava/util/List;
2: aload 0
iload 1
putfield org.glassfish.jersey.server.model.ResourceModel$Builder.subResourceModel:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/jersey/server/model/ResourceModel$Builder;
0 4 1 subResourceModel Z
MethodParameters:
Name Flags
subResourceModel
public org.glassfish.jersey.server.model.ResourceModel$Builder addResource(org.glassfish.jersey.server.model.Resource);
descriptor: (Lorg/glassfish/jersey/server/model/Resource;)Lorg/glassfish/jersey/server/model/ResourceModel$Builder;
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.model.ResourceModel$Builder.resources:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/jersey/server/model/ResourceModel$Builder;
0 2 1 resource Lorg/glassfish/jersey/server/model/Resource;
MethodParameters:
Name Flags
resource
public org.glassfish.jersey.server.model.ResourceModel build();
descriptor: ()Lorg/glassfish/jersey/server/model/ResourceModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 1
start local 1 1: new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
invokestatic java.util.Collections.newSetFromMap:(Ljava/util/Map;)Ljava/util/Set;
astore 2
start local 2 2: aload 0
getfield org.glassfish.jersey.server.model.ResourceModel$Builder.resources:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 13
StackMap locals: org.glassfish.jersey.server.model.ResourceModel$Builder java.util.Map java.util.Set top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.Resource
astore 3
start local 3 4: aload 3
invokevirtual org.glassfish.jersey.server.model.Resource.getPath:()Ljava/lang/String;
astore 5
start local 5 5: aload 5
ifnonnull 8
aload 0
getfield org.glassfish.jersey.server.model.ResourceModel$Builder.subResourceModel:Z
ifne 8
6: aload 2
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: goto 13
8: StackMap locals: org.glassfish.jersey.server.model.ResourceModel$Builder java.util.Map java.util.Set org.glassfish.jersey.server.model.Resource java.util.Iterator java.lang.String
StackMap stack:
aload 1
aload 5
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.Resource
astore 6
start local 6 9: aload 6
ifnonnull 12
10: aload 1
aload 5
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: goto 13
12: StackMap locals: org.glassfish.jersey.server.model.Resource
StackMap stack:
aload 1
aload 5
aload 6
invokestatic org.glassfish.jersey.server.model.Resource.builder:(Lorg/glassfish/jersey/server/model/Resource;)Lorg/glassfish/jersey/server/model/Resource$Builder;
aload 3
invokevirtual org.glassfish.jersey.server.model.Resource$Builder.mergeWith:(Lorg/glassfish/jersey/server/model/Resource;)Lorg/glassfish/jersey/server/model/Resource$Builder;
invokevirtual org.glassfish.jersey.server.model.Resource$Builder.build:()Lorg/glassfish/jersey/server/model/Resource;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 5 end local 3 13: StackMap locals: org.glassfish.jersey.server.model.ResourceModel$Builder java.util.Map java.util.Set top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
14: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 15: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 16: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 21
StackMap locals: org.glassfish.jersey.server.model.ResourceModel$Builder java.util.Map java.util.Set java.util.List java.util.List top java.util.Iterator
StackMap stack:
17: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 5
start local 5 18: aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
ifnull 20
19: aload 3
aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.Resource
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
20: StackMap locals: org.glassfish.jersey.server.model.ResourceModel$Builder java.util.Map java.util.Set java.util.List java.util.List java.util.Map$Entry java.util.Iterator
StackMap stack:
aload 4
aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.Resource
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 21: StackMap locals: org.glassfish.jersey.server.model.ResourceModel$Builder java.util.Map java.util.Set java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
22: aload 0
getfield org.glassfish.jersey.server.model.ResourceModel$Builder.subResourceModel:Z
ifne 24
23: aload 4
aload 2
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
24: StackMap locals: org.glassfish.jersey.server.model.ResourceModel$Builder java.util.Map java.util.Set java.util.List java.util.List
StackMap stack:
new org.glassfish.jersey.server.model.ResourceModel
dup
aload 3
aload 4
invokespecial org.glassfish.jersey.server.model.ResourceModel.<init>:(Ljava/util/List;Ljava/util/List;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/glassfish/jersey/server/model/ResourceModel$Builder;
1 25 1 resourceMap Ljava/util/Map<Ljava/lang/String;Lorg/glassfish/jersey/server/model/Resource;>;
2 25 2 separateResources Ljava/util/Set<Lorg/glassfish/jersey/server/model/Resource;>;
4 13 3 resource Lorg/glassfish/jersey/server/model/Resource;
5 13 5 path Ljava/lang/String;
9 13 6 fromMap Lorg/glassfish/jersey/server/model/Resource;
15 25 3 rootResources Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;
16 25 4 allResources Ljava/util/List<Lorg/glassfish/jersey/server/model/Resource;>;
18 21 5 entry Ljava/util/Map$Entry<Ljava/lang/String;Lorg/glassfish/jersey/server/model/Resource;>;
}
SourceFile: "ResourceModel.java"
NestHost: org.glassfish.jersey.server.model.ResourceModel
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public final Builder = org.glassfish.jersey.server.model.Resource$Builder of org.glassfish.jersey.server.model.Resource
public Builder = org.glassfish.jersey.server.model.ResourceModel$Builder of org.glassfish.jersey.server.model.ResourceModel