class org.glassfish.jersey.uri.UriTemplate$1ValuesFromArrayStrategy 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$1ValuesFromArrayStrategy
super_class: java.lang.Object
{
private int offset;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final java.util.Map val$mapValues;
descriptor: Ljava/util/Map;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.String[] val$values;
descriptor: [Ljava/lang/String;
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$componentType;
descriptor: Lorg/glassfish/jersey/uri/UriComponent$Type;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(int, java.util.Map, java.lang.String[], boolean, org.glassfish.jersey.uri.UriComponent$Type);
descriptor: (ILjava/util/Map;[Ljava/lang/String;ZLorg/glassfish/jersey/uri/UriComponent$Type;)V
flags: (0x0000)
Code:
stack=2, locals=6, args_size=6
start local 0 0: aload 0
aload 2
putfield org.glassfish.jersey.uri.UriTemplate$1ValuesFromArrayStrategy.val$mapValues:Ljava/util/Map;
aload 0
aload 3
putfield org.glassfish.jersey.uri.UriTemplate$1ValuesFromArrayStrategy.val$values:[Ljava/lang/String;
aload 0
iload 4
putfield org.glassfish.jersey.uri.UriTemplate$1ValuesFromArrayStrategy.val$encode:Z
aload 0
aload 5
putfield org.glassfish.jersey.uri.UriTemplate$1ValuesFromArrayStrategy.val$componentType:Lorg/glassfish/jersey/uri/UriComponent$Type;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield org.glassfish.jersey.uri.UriTemplate$1ValuesFromArrayStrategy.offset:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/jersey/uri/UriTemplate$1ValuesFromArrayStrategy;
MethodParameters:
Name Flags
val$valueOffset final
val$mapValues final
val$values final
val$encode final
val$componentType 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$1ValuesFromArrayStrategy.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
ifnonnull 4
aload 0
getfield org.glassfish.jersey.uri.UriTemplate$1ValuesFromArrayStrategy.offset:I
aload 0
getfield org.glassfish.jersey.uri.UriTemplate$1ValuesFromArrayStrategy.val$values:[Ljava/lang/String;
arraylength
if_icmpge 4
2: aload 0
getfield org.glassfish.jersey.uri.UriTemplate$1ValuesFromArrayStrategy.val$values:[Ljava/lang/String;
aload 0
dup
getfield org.glassfish.jersey.uri.UriTemplate$1ValuesFromArrayStrategy.offset:I
dup_x1
iconst_1
iadd
putfield org.glassfish.jersey.uri.UriTemplate$1ValuesFromArrayStrategy.offset:I
aaload
astore 3
3: aload 0
getfield org.glassfish.jersey.uri.UriTemplate$1ValuesFromArrayStrategy.val$mapValues:Ljava/util/Map;
aload 1
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: java.lang.Object
StackMap stack:
aload 3
ifnonnull 8
5: new java.lang.IllegalArgumentException
dup
6: ldc "The template variable '%s' has no value"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
7: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.jersey.uri.UriTemplate$1ValuesFromArrayStrategy.val$encode:Z
ifeq 10
9: aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.uri.UriTemplate$1ValuesFromArrayStrategy.val$componentType: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;
areturn
10: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.uri.UriTemplate$1ValuesFromArrayStrategy.val$componentType: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;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/jersey/uri/UriTemplate$1ValuesFromArrayStrategy;
0 11 1 templateVariable Ljava/lang/String;
0 11 2 matchedGroup Ljava/lang/String;
1 11 3 value Ljava/lang/Object;
MethodParameters:
Name Flags
templateVariable
matchedGroup
}
SourceFile: "UriTemplate.java"
EnclosingMethod: org.glassfish.jersey.uri.UriTemplate.createUriComponent:(Lorg/glassfish/jersey/uri/UriComponent$Type;Ljava/lang/String;[Ljava/lang/String;IZLjava/util/Map;Ljava/lang/StringBuilder;)I
NestHost: org.glassfish.jersey.uri.UriTemplate
InnerClasses:
public final Type = org.glassfish.jersey.uri.UriComponent$Type of org.glassfish.jersey.uri.UriComponent
ValuesFromArrayStrategy = org.glassfish.jersey.uri.UriTemplate$1ValuesFromArrayStrategy
private abstract TemplateValueStrategy = org.glassfish.jersey.uri.UriTemplate$TemplateValueStrategy of org.glassfish.jersey.uri.UriTemplate