public class io.vertx.codegen.generators.mvel.MvelCodeGenerator extends io.vertx.codegen.Generator<io.vertx.codegen.Model>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.codegen.generators.mvel.MvelCodeGenerator
super_class: io.vertx.codegen.Generator
{
public java.lang.String filename;
descriptor: Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
public java.lang.String templateFilename;
descriptor: Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
private io.vertx.codegen.generators.mvel.Template template;
descriptor: Lio/vertx/codegen/generators/mvel/Template;
flags: (0x0002) ACC_PRIVATE
private java.io.Serializable filenameExpr;
descriptor: Ljava/io/Serializable;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.vertx.codegen.Generator.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/codegen/generators/mvel/MvelCodeGenerator;
public void load(javax.annotation.processing.ProcessingEnvironment);
descriptor: (Ljavax/annotation/processing/ProcessingEnvironment;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial io.vertx.codegen.Generator.load:(Ljavax/annotation/processing/ProcessingEnvironment;)V
1: new io.vertx.codegen.generators.mvel.Template
dup
aload 0
getfield io.vertx.codegen.generators.mvel.MvelCodeGenerator.templateFilename:Ljava/lang/String;
invokespecial io.vertx.codegen.generators.mvel.Template.<init>:(Ljava/lang/String;)V
astore 2
start local 2 2: aload 2
aload 1
invokeinterface javax.annotation.processing.ProcessingEnvironment.getOptions:()Ljava/util/Map;
invokevirtual io.vertx.codegen.generators.mvel.Template.setOptions:(Ljava/util/Map;)V
3: aload 0
aload 2
putfield io.vertx.codegen.generators.mvel.MvelCodeGenerator.template:Lio/vertx/codegen/generators/mvel/Template;
4: aload 0
aload 0
getfield io.vertx.codegen.generators.mvel.MvelCodeGenerator.filename:Ljava/lang/String;
invokestatic org.mvel2.MVEL.compileExpression:(Ljava/lang/String;)Ljava/io/Serializable;
putfield io.vertx.codegen.generators.mvel.MvelCodeGenerator.filenameExpr:Ljava/io/Serializable;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/codegen/generators/mvel/MvelCodeGenerator;
0 6 1 processingEnv Ljavax/annotation/processing/ProcessingEnvironment;
2 6 2 template Lio/vertx/codegen/generators/mvel/Template;
MethodParameters:
Name Flags
processingEnv
public java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> annotations();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_3
anewarray java.lang.Class
dup
iconst_0
ldc Lio/vertx/codegen/annotations/VertxGen;
aastore
dup
iconst_1
ldc Lio/vertx/codegen/annotations/DataObject;
aastore
dup
iconst_2
ldc Lio/vertx/codegen/annotations/ModuleGen;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/codegen/generators/mvel/MvelCodeGenerator;
Signature: ()Ljava/util/Collection<Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;>;
public java.lang.String filename(io.vertx.codegen.Model);
descriptor: (Lio/vertx/codegen/Model;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 1: aload 2
ldc "helper"
new io.vertx.codegen.Helper
dup
invokespecial io.vertx.codegen.Helper.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
ldc "options"
aload 0
getfield io.vertx.codegen.generators.mvel.MvelCodeGenerator.env:Ljavax/annotation/processing/ProcessingEnvironment;
invokeinterface javax.annotation.processing.ProcessingEnvironment.getOptions:()Ljava/util/Map;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 2
ldc "fileSeparator"
getstatic java.io.File.separator:Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 2
ldc "fqn"
aload 1
invokeinterface io.vertx.codegen.Model.getFqn:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 2
ldc "module"
aload 1
invokeinterface io.vertx.codegen.Model.getModule:()Lio/vertx/codegen/ModuleInfo;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 2
ldc "model"
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 2
aload 1
invokeinterface io.vertx.codegen.Model.getVars:()Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
8: aload 2
invokestatic io.vertx.codegen.type.ClassKind.vars:()Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
9: aload 2
invokestatic io.vertx.codegen.MethodKind.vars:()Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
10: aload 2
invokestatic io.vertx.codegen.Case.vars:()Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
11: aload 2
aload 0
getfield io.vertx.codegen.generators.mvel.MvelCodeGenerator.name:Ljava/lang/String;
invokestatic io.vertx.codegen.type.TypeNameTranslator.vars:(Ljava/lang/String;)Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
12: aload 0
getfield io.vertx.codegen.generators.mvel.MvelCodeGenerator.filenameExpr:Ljava/io/Serializable;
aload 2
invokestatic org.mvel2.MVEL.executeExpression:(Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/codegen/generators/mvel/MvelCodeGenerator;
0 13 1 model Lio/vertx/codegen/Model;
1 13 2 vars Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
MethodParameters:
Name Flags
model
public java.lang.String render(io.vertx.codegen.Model, int, int, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Lio/vertx/codegen/Model;IILjava/util/Map;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 5
start local 5 1: aload 5
aload 0
getfield io.vertx.codegen.generators.mvel.MvelCodeGenerator.name:Ljava/lang/String;
invokestatic io.vertx.codegen.type.TypeNameTranslator.vars:(Ljava/lang/String;)Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
2: aload 0
getfield io.vertx.codegen.generators.mvel.MvelCodeGenerator.incremental:Z
ifeq 6
3: aload 5
ldc "incrementalIndex"
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
4: aload 5
ldc "incrementalSize"
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 5
ldc "session"
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals: java.util.Map
StackMap stack:
aload 0
getfield io.vertx.codegen.generators.mvel.MvelCodeGenerator.template:Lio/vertx/codegen/generators/mvel/Template;
aload 1
aload 5
invokevirtual io.vertx.codegen.generators.mvel.Template.render:(Lio/vertx/codegen/Model;Ljava/util/Map;)Ljava/lang/String;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/codegen/generators/mvel/MvelCodeGenerator;
0 7 1 model Lio/vertx/codegen/Model;
0 7 2 index I
0 7 3 size I
0 7 4 session Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
1 7 5 vars Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Signature: (Lio/vertx/codegen/Model;IILjava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)Ljava/lang/String;
MethodParameters:
Name Flags
model
index
size
session
}
Signature: Lio/vertx/codegen/Generator<Lio/vertx/codegen/Model;>;
SourceFile: "MvelCodeGenerator.java"