public final class org.glassfish.jersey.model.ContractProvider$Builder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.jersey.model.ContractProvider$Builder
super_class: java.lang.Object
{
private static final org.glassfish.jersey.model.ContractProvider EMPTY_MODEL;
descriptor: Lorg/glassfish/jersey/model/ContractProvider;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.lang.Class<?> implementationClass;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Class<*>;
private java.lang.Class<? extends java.lang.annotation.Annotation> scope;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
private java.util.Map<java.lang.Class<?>, java.lang.Integer> contracts;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Integer;>;
private int defaultPriority;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> nameBindings;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: new org.glassfish.jersey.model.ContractProvider
dup
aconst_null
ldc Ljavax/inject/Singleton;
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
iconst_m1
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
invokespecial org.glassfish.jersey.model.ContractProvider.<init>:(Ljava/lang/Class;Ljava/lang/Class;Ljava/util/Map;ILjava/util/Set;)V
1: putstatic org.glassfish.jersey.model.ContractProvider$Builder.EMPTY_MODEL:Lorg/glassfish/jersey/model/ContractProvider;
2: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0002) ACC_PRIVATE
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
aconst_null
putfield org.glassfish.jersey.model.ContractProvider$Builder.implementationClass:Ljava/lang/Class;
2: aload 0
aconst_null
putfield org.glassfish.jersey.model.ContractProvider$Builder.scope:Ljava/lang/Class;
3: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.glassfish.jersey.model.ContractProvider$Builder.contracts:Ljava/util/Map;
4: aload 0
iconst_m1
putfield org.glassfish.jersey.model.ContractProvider$Builder.defaultPriority:I
5: aload 0
new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
invokestatic java.util.Collections.newSetFromMap:(Ljava/util/Map;)Ljava/util/Set;
putfield org.glassfish.jersey.model.ContractProvider$Builder.nameBindings:Ljava/util/Set;
6: aload 0
aload 1
putfield org.glassfish.jersey.model.ContractProvider$Builder.implementationClass:Ljava/lang/Class;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/jersey/model/ContractProvider$Builder;
0 8 1 implementationClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
implementationClass
private void <init>(org.glassfish.jersey.model.ContractProvider);
descriptor: (Lorg/glassfish/jersey/model/ContractProvider;)V
flags: (0x0002) ACC_PRIVATE
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
aconst_null
putfield org.glassfish.jersey.model.ContractProvider$Builder.implementationClass:Ljava/lang/Class;
2: aload 0
aconst_null
putfield org.glassfish.jersey.model.ContractProvider$Builder.scope:Ljava/lang/Class;
3: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.glassfish.jersey.model.ContractProvider$Builder.contracts:Ljava/util/Map;
4: aload 0
iconst_m1
putfield org.glassfish.jersey.model.ContractProvider$Builder.defaultPriority:I
5: aload 0
new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
invokestatic java.util.Collections.newSetFromMap:(Ljava/util/Map;)Ljava/util/Set;
putfield org.glassfish.jersey.model.ContractProvider$Builder.nameBindings:Ljava/util/Set;
6: aload 0
aload 1
getfield org.glassfish.jersey.model.ContractProvider.implementationClass:Ljava/lang/Class;
putfield org.glassfish.jersey.model.ContractProvider$Builder.implementationClass:Ljava/lang/Class;
7: aload 0
aload 1
getfield org.glassfish.jersey.model.ContractProvider.scope:Ljava/lang/Class;
putfield org.glassfish.jersey.model.ContractProvider$Builder.scope:Ljava/lang/Class;
8: aload 0
getfield org.glassfish.jersey.model.ContractProvider$Builder.contracts:Ljava/util/Map;
aload 1
getfield org.glassfish.jersey.model.ContractProvider.contracts:Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
9: aload 0
aload 1
getfield org.glassfish.jersey.model.ContractProvider.defaultPriority:I
putfield org.glassfish.jersey.model.ContractProvider$Builder.defaultPriority:I
10: aload 0
getfield org.glassfish.jersey.model.ContractProvider$Builder.nameBindings:Ljava/util/Set;
aload 1
getfield org.glassfish.jersey.model.ContractProvider.nameBindings:Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/glassfish/jersey/model/ContractProvider$Builder;
0 12 1 original Lorg/glassfish/jersey/model/ContractProvider;
MethodParameters:
Name Flags
original final
public org.glassfish.jersey.model.ContractProvider$Builder scope(java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Ljava/lang/Class;)Lorg/glassfish/jersey/model/ContractProvider$Builder;
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.model.ContractProvider$Builder.scope:Ljava/lang/Class;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/jersey/model/ContractProvider$Builder;
0 2 1 scope Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
Signature: (Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)Lorg/glassfish/jersey/model/ContractProvider$Builder;
MethodParameters:
Name Flags
scope final
public org.glassfish.jersey.model.ContractProvider$Builder addContract(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Lorg/glassfish/jersey/model/ContractProvider$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield org.glassfish.jersey.model.ContractProvider$Builder.defaultPriority:I
invokevirtual org.glassfish.jersey.model.ContractProvider$Builder.addContract:(Ljava/lang/Class;I)Lorg/glassfish/jersey/model/ContractProvider$Builder;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/model/ContractProvider$Builder;
0 1 1 contract Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Lorg/glassfish/jersey/model/ContractProvider$Builder;
MethodParameters:
Name Flags
contract final
public org.glassfish.jersey.model.ContractProvider$Builder addContract(java.lang.Class<?>, int);
descriptor: (Ljava/lang/Class;I)Lorg/glassfish/jersey/model/ContractProvider$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.jersey.model.ContractProvider$Builder.contracts:Ljava/util/Map;
aload 1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/jersey/model/ContractProvider$Builder;
0 2 1 contract Ljava/lang/Class<*>;
0 2 2 priority I
Signature: (Ljava/lang/Class<*>;I)Lorg/glassfish/jersey/model/ContractProvider$Builder;
MethodParameters:
Name Flags
contract final
priority final
public org.glassfish.jersey.model.ContractProvider$Builder addContracts(java.util.Map<java.lang.Class<?>, java.lang.Integer>);
descriptor: (Ljava/util/Map;)Lorg/glassfish/jersey/model/ContractProvider$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.model.ContractProvider$Builder.contracts:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/jersey/model/ContractProvider$Builder;
0 2 1 contracts Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Integer;>;
Signature: (Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Integer;>;)Lorg/glassfish/jersey/model/ContractProvider$Builder;
MethodParameters:
Name Flags
contracts final
public org.glassfish.jersey.model.ContractProvider$Builder addContracts(java.util.Collection<java.lang.Class<?>>);
descriptor: (Ljava/util/Collection;)Lorg/glassfish/jersey/model/ContractProvider$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: org.glassfish.jersey.model.ContractProvider$Builder java.util.Collection top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 2
start local 2 2: aload 0
aload 2
aload 0
getfield org.glassfish.jersey.model.ContractProvider$Builder.defaultPriority:I
invokevirtual org.glassfish.jersey.model.ContractProvider$Builder.addContract:(Ljava/lang/Class;I)Lorg/glassfish/jersey/model/ContractProvider$Builder;
pop
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/jersey/model/ContractProvider$Builder;
0 5 1 contracts Ljava/util/Collection<Ljava/lang/Class<*>;>;
2 3 2 contract Ljava/lang/Class<*>;
Signature: (Ljava/util/Collection<Ljava/lang/Class<*>;>;)Lorg/glassfish/jersey/model/ContractProvider$Builder;
MethodParameters:
Name Flags
contracts final
public org.glassfish.jersey.model.ContractProvider$Builder defaultPriority(int);
descriptor: (I)Lorg/glassfish/jersey/model/ContractProvider$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.glassfish.jersey.model.ContractProvider$Builder.defaultPriority:I
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/jersey/model/ContractProvider$Builder;
0 2 1 defaultPriority I
MethodParameters:
Name Flags
defaultPriority final
public org.glassfish.jersey.model.ContractProvider$Builder addNameBinding(java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Ljava/lang/Class;)Lorg/glassfish/jersey/model/ContractProvider$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.model.ContractProvider$Builder.nameBindings:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.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/model/ContractProvider$Builder;
0 2 1 binding Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
Signature: (Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)Lorg/glassfish/jersey/model/ContractProvider$Builder;
MethodParameters:
Name Flags
binding final
public java.lang.Class<? extends java.lang.annotation.Annotation> getScope();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.model.ContractProvider$Builder.scope:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/model/ContractProvider$Builder;
Signature: ()Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
public java.util.Map<java.lang.Class<?>, java.lang.Integer> getContracts();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.model.ContractProvider$Builder.contracts:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/model/ContractProvider$Builder;
Signature: ()Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Integer;>;
public int getDefaultPriority();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.model.ContractProvider$Builder.defaultPriority:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/model/ContractProvider$Builder;
public java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> getNameBindings();
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.model.ContractProvider$Builder.nameBindings:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/model/ContractProvider$Builder;
Signature: ()Ljava/util/Set<Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;>;
public org.glassfish.jersey.model.ContractProvider build();
descriptor: ()Lorg/glassfish/jersey/model/ContractProvider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.model.ContractProvider$Builder.scope:Ljava/lang/Class;
ifnonnull 2
1: aload 0
ldc Ljavax/inject/Singleton;
putfield org.glassfish.jersey.model.ContractProvider$Builder.scope:Ljava/lang/Class;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.jersey.model.ContractProvider$Builder.contracts:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 4
3: invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
goto 9
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.jersey.model.ContractProvider$Builder.contracts:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
5: invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
6: 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;
java/util/Map$Entry.getKey()Ljava/lang/Object; (9 itf)
(Ljava/util/Map$Entry;)Ljava/lang/Class;
7: aload 0
invokedynamic apply(Lorg/glassfish/jersey/model/ContractProvider$Builder;)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/model/ContractProvider$Builder.lambda$1(Ljava/util/Map$Entry;)Ljava/lang/Integer; (7)
(Ljava/util/Map$Entry;)Ljava/lang/Integer;
8: invokestatic java.util.stream.Collectors.toMap:(Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Map
9: StackMap locals:
StackMap stack: java.util.Map
astore 1
start local 1 10: aload 0
getfield org.glassfish.jersey.model.ContractProvider$Builder.nameBindings:Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifeq 12
11: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
goto 13
StackMap locals: java.util.Map
StackMap stack:
12: aload 0
getfield org.glassfish.jersey.model.ContractProvider$Builder.nameBindings:Ljava/util/Set;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
13: StackMap locals:
StackMap stack: java.util.Set
astore 2
start local 2 14: aload 0
getfield org.glassfish.jersey.model.ContractProvider$Builder.implementationClass:Ljava/lang/Class;
ifnonnull 17
aload 0
getfield org.glassfish.jersey.model.ContractProvider$Builder.scope:Ljava/lang/Class;
ldc Ljavax/inject/Singleton;
if_acmpne 17
aload 1
invokeinterface java.util.Map.isEmpty:()Z
ifeq 17
aload 0
getfield org.glassfish.jersey.model.ContractProvider$Builder.defaultPriority:I
iconst_m1
if_icmpne 17
15: aload 2
invokeinterface java.util.Set.isEmpty:()Z
ifeq 17
16: getstatic org.glassfish.jersey.model.ContractProvider$Builder.EMPTY_MODEL:Lorg/glassfish/jersey/model/ContractProvider;
areturn
17: StackMap locals: java.util.Set
StackMap stack:
new org.glassfish.jersey.model.ContractProvider
dup
aload 0
getfield org.glassfish.jersey.model.ContractProvider$Builder.implementationClass:Ljava/lang/Class;
aload 0
getfield org.glassfish.jersey.model.ContractProvider$Builder.scope:Ljava/lang/Class;
aload 1
aload 0
getfield org.glassfish.jersey.model.ContractProvider$Builder.defaultPriority:I
aload 2
invokespecial org.glassfish.jersey.model.ContractProvider.<init>:(Ljava/lang/Class;Ljava/lang/Class;Ljava/util/Map;ILjava/util/Set;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/glassfish/jersey/model/ContractProvider$Builder;
10 18 1 _contracts Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Integer;>;
14 18 2 bindings Ljava/util/Set<Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;>;
private java.lang.Integer lambda$1(java.util.Map$Entry);
descriptor: (Ljava/util/Map$Entry;)Ljava/lang/Integer;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Integer
astore 2
start local 2 1: aload 2
invokevirtual java.lang.Integer.intValue:()I
iconst_m1
if_icmpeq 2
aload 2
invokevirtual java.lang.Integer.intValue:()I
goto 3
StackMap locals: java.lang.Integer
StackMap stack:
2: aload 0
getfield org.glassfish.jersey.model.ContractProvider$Builder.defaultPriority:I
StackMap locals:
StackMap stack: int
3: invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/jersey/model/ContractProvider$Builder;
0 4 1 classIntegerEntry Ljava/util/Map$Entry<Ljava/lang/Class<*>;Ljava/lang/Integer;>;
1 4 2 priority Ljava/lang/Integer;
}
SourceFile: "ContractProvider.java"
NestHost: org.glassfish.jersey.model.ContractProvider
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
public final Builder = org.glassfish.jersey.model.ContractProvider$Builder of org.glassfish.jersey.model.ContractProvider