class org.glassfish.jersey.uri.UriTemplate$4 implements org.glassfish.jersey.uri.UriTemplate$TemplateValueStrategy
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.glassfish.jersey.uri.UriTemplate$4
super_class: java.lang.Object
{
private final java.util.Map val$mapValues;
descriptor: Ljava/util/Map;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final boolean val$encode;
descriptor: Z
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.glassfish.jersey.uri.UriComponent$Type val$type;
descriptor: Lorg/glassfish/jersey/uri/UriComponent$Type;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.Map, boolean, org.glassfish.jersey.uri.UriComponent$Type);
descriptor: (Ljava/util/Map;ZLorg/glassfish/jersey/uri/UriComponent$Type;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield org.glassfish.jersey.uri.UriTemplate$4.val$mapValues:Ljava/util/Map;
aload 0
iload 2
putfield org.glassfish.jersey.uri.UriTemplate$4.val$encode:Z
aload 0
aload 3
putfield org.glassfish.jersey.uri.UriTemplate$4.val$type:Lorg/glassfish/jersey/uri/UriComponent$Type;
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/uri/UriTemplate$4;
MethodParameters:
Name Flags
val$mapValues final
val$encode final
val$type final
public java.lang.String valueFor(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.jersey.uri.UriTemplate$4.val$mapValues:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
ifnull 7
2: aload 0
getfield org.glassfish.jersey.uri.UriTemplate$4.val$encode:Z
ifeq 5
3: aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.uri.UriTemplate$4.val$type:Lorg/glassfish/jersey/uri/UriComponent$Type;
invokestatic org.glassfish.jersey.uri.UriComponent.encode:(Ljava/lang/String;Lorg/glassfish/jersey/uri/UriComponent$Type;)Ljava/lang/String;
astore 3
4: goto 6
5: StackMap locals: java.lang.Object
StackMap stack:
aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.uri.UriTemplate$4.val$type:Lorg/glassfish/jersey/uri/UriComponent$Type;
invokestatic org.glassfish.jersey.uri.UriComponent.contextualEncode:(Ljava/lang/String;Lorg/glassfish/jersey/uri/UriComponent$Type;)Ljava/lang/String;
astore 3
6: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
7: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.jersey.uri.UriTemplate$4.val$mapValues:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 13
8: new java.lang.IllegalArgumentException
dup
9: ldc "The value associated of the template value map for key '%s' is 'null'."
iconst_1
anewarray java.lang.Object
dup
iconst_0
10: aload 1
aastore
11: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
12: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/glassfish/jersey/uri/UriTemplate$4;
0 14 1 templateVariable Ljava/lang/String;
0 14 2 matchedGroup Ljava/lang/String;
1 14 3 value Ljava/lang/Object;
MethodParameters:
Name Flags
templateVariable
matchedGroup
}
SourceFile: "UriTemplate.java"
EnclosingMethod: org.glassfish.jersey.uri.UriTemplate.resolveTemplateValues:(Lorg/glassfish/jersey/uri/UriComponent$Type;Ljava/lang/String;ZLjava/util/Map;)Ljava/lang/String;
NestHost: org.glassfish.jersey.uri.UriTemplate
InnerClasses:
public final Type = org.glassfish.jersey.uri.UriComponent$Type of org.glassfish.jersey.uri.UriComponent
org.glassfish.jersey.uri.UriTemplate$4
private abstract TemplateValueStrategy = org.glassfish.jersey.uri.UriTemplate$TemplateValueStrategy of org.glassfish.jersey.uri.UriTemplate