public class io.vertx.ext.web.templ.freemarker.impl.JsonArrayAdapter extends freemarker.template.WrappingTemplateModel implements freemarker.template.TemplateSequenceModel, freemarker.template.AdapterTemplateModel
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.web.templ.freemarker.impl.JsonArrayAdapter
super_class: freemarker.template.WrappingTemplateModel
{
private final io.vertx.core.json.JsonArray jsonArray;
descriptor: Lio/vertx/core/json/JsonArray;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.vertx.core.json.JsonArray, freemarker.template.ObjectWrapper);
descriptor: (Lio/vertx/core/json/JsonArray;Lfreemarker/template/ObjectWrapper;)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
aload 2
invokespecial freemarker.template.WrappingTemplateModel.<init>:(Lfreemarker/template/ObjectWrapper;)V
1: aload 0
aload 1
putfield io.vertx.ext.web.templ.freemarker.impl.JsonArrayAdapter.jsonArray:Lio/vertx/core/json/JsonArray;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/web/templ/freemarker/impl/JsonArrayAdapter;
0 3 1 jsonArray Lio/vertx/core/json/JsonArray;
0 3 2 ow Lfreemarker/template/ObjectWrapper;
MethodParameters:
Name Flags
jsonArray
ow
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.templ.freemarker.impl.JsonArrayAdapter.jsonArray:Lio/vertx/core/json/JsonArray;
invokevirtual io.vertx.core.json.JsonArray.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/templ/freemarker/impl/JsonArrayAdapter;
Exceptions:
throws freemarker.template.TemplateModelException
public freemarker.template.TemplateModel get(int);
descriptor: (I)Lfreemarker/template/TemplateModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
getfield io.vertx.ext.web.templ.freemarker.impl.JsonArrayAdapter.jsonArray:Lio/vertx/core/json/JsonArray;
invokevirtual io.vertx.core.json.JsonArray.size:()I
if_icmpge 1
aload 0
aload 0
getfield io.vertx.ext.web.templ.freemarker.impl.JsonArrayAdapter.jsonArray:Lio/vertx/core/json/JsonArray;
iload 1
invokevirtual io.vertx.core.json.JsonArray.getValue:(I)Ljava/lang/Object;
invokevirtual io.vertx.ext.web.templ.freemarker.impl.JsonArrayAdapter.wrap:(Ljava/lang/Object;)Lfreemarker/template/TemplateModel;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: freemarker.template.TemplateModel
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/web/templ/freemarker/impl/JsonArrayAdapter;
0 3 1 index I
Exceptions:
throws freemarker.template.TemplateModelException
MethodParameters:
Name Flags
index
public java.lang.Object getAdaptedObject(java.lang.Class);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.web.templ.freemarker.impl.JsonArrayAdapter.jsonArray:Lio/vertx/core/json/JsonArray;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/templ/freemarker/impl/JsonArrayAdapter;
0 1 1 hint Ljava/lang/Class;
MethodParameters:
Name Flags
hint
}
SourceFile: "JsonArrayAdapter.java"