class org.glassfish.jersey.server.model.ResourceMethodConfig$1 implements org.glassfish.jersey.process.Inflector<org.glassfish.jersey.model.ContractProvider$Builder, org.glassfish.jersey.model.ContractProvider>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.glassfish.jersey.server.model.ResourceMethodConfig$1
super_class: java.lang.Object
{
final org.glassfish.jersey.server.model.ResourceMethodConfig this$0;
descriptor: Lorg/glassfish/jersey/server/model/ResourceMethodConfig;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.lang.Class val$providerClass;
descriptor: Ljava/lang/Class;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.glassfish.jersey.server.model.ResourceMethodConfig, java.lang.Class);
descriptor: (Lorg/glassfish/jersey/server/model/ResourceMethodConfig;Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield org.glassfish.jersey.server.model.ResourceMethodConfig$1.this$0:Lorg/glassfish/jersey/server/model/ResourceMethodConfig;
aload 0
aload 2
putfield org.glassfish.jersey.server.model.ResourceMethodConfig$1.val$providerClass:Ljava/lang/Class;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/server/model/ResourceMethodConfig$1;
MethodParameters:
Name Flags
this$0 final
val$providerClass final
public org.glassfish.jersey.model.ContractProvider apply(org.glassfish.jersey.model.ContractProvider$Builder);
descriptor: (Lorg/glassfish/jersey/model/ContractProvider$Builder;)Lorg/glassfish/jersey/model/ContractProvider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.glassfish.jersey.model.ContractProvider$Builder.getContracts:()Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 6
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 3
start local 3 3: getstatic org.glassfish.jersey.server.model.ResourceMethodConfig.allowedContracts:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 6
4: getstatic org.glassfish.jersey.server.model.ResourceMethodConfig.LOGGER:Ljava/util/logging/Logger;
aload 3
aload 0
getfield org.glassfish.jersey.server.model.ResourceMethodConfig$1.val$providerClass:Ljava/lang/Class;
invokestatic org.glassfish.jersey.server.internal.LocalizationMessages.CONTRACT_CANNOT_BE_BOUND_TO_RESOURCE_METHOD:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.util.logging.Logger.warning:(Ljava/lang/String;)V
5: aload 2
invokeinterface java.util.Iterator.remove:()V
end local 3 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
end local 2 7: aload 1
invokevirtual org.glassfish.jersey.model.ContractProvider$Builder.build:()Lorg/glassfish/jersey/model/ContractProvider;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/jersey/server/model/ResourceMethodConfig$1;
0 8 1 builder Lorg/glassfish/jersey/model/ContractProvider$Builder;
1 7 2 it Ljava/util/Iterator<Ljava/lang/Class<*>;>;
3 6 3 contract Ljava/lang/Class<*>;
MethodParameters:
Name Flags
builder
public java.lang.Object apply(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.glassfish.jersey.model.ContractProvider$Builder
invokevirtual org.glassfish.jersey.server.model.ResourceMethodConfig$1.apply:(Lorg/glassfish/jersey/model/ContractProvider$Builder;)Lorg/glassfish/jersey/model/ContractProvider;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/glassfish/jersey/process/Inflector<Lorg/glassfish/jersey/model/ContractProvider$Builder;Lorg/glassfish/jersey/model/ContractProvider;>;
SourceFile: "ResourceMethodConfig.java"
EnclosingMethod: org.glassfish.jersey.server.model.ResourceMethodConfig.getModelEnhancer:(Ljava/lang/Class;)Lorg/glassfish/jersey/process/Inflector;
NestHost: org.glassfish.jersey.server.model.ResourceMethodConfig
InnerClasses:
public final Builder = org.glassfish.jersey.model.ContractProvider$Builder of org.glassfish.jersey.model.ContractProvider
org.glassfish.jersey.server.model.ResourceMethodConfig$1