class io.vertx.ext.web.templ.freemarker.impl.FreeMarkerTemplateLoader implements freemarker.cache.TemplateLoader
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.ext.web.templ.freemarker.impl.FreeMarkerTemplateLoader
super_class: java.lang.Object
{
private final io.vertx.core.Vertx vertx;
descriptor: Lio/vertx/core/Vertx;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.vertx.ext.web.templ.freemarker.impl.FreeMarkerTemplateLoader.vertx:Lio/vertx/core/Vertx;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/web/templ/freemarker/impl/FreeMarkerTemplateLoader;
0 3 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public java.lang.Object findTemplateSource(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.web.templ.freemarker.impl.FreeMarkerTemplateLoader.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.fileSystem:()Lio/vertx/core/file/FileSystem;
aload 1
invokeinterface io.vertx.core.file.FileSystem.existsBlocking:(Ljava/lang/String;)Z
ifeq 7
1: aload 0
getfield io.vertx.ext.web.templ.freemarker.impl.FreeMarkerTemplateLoader.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.fileSystem:()Lio/vertx/core/file/FileSystem;
2: aload 1
invokeinterface io.vertx.core.file.FileSystem.readFileBlocking:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
3: invokestatic java.nio.charset.Charset.defaultCharset:()Ljava/nio/charset/Charset;
invokeinterface io.vertx.core.buffer.Buffer.toString:(Ljava/nio/charset/Charset;)Ljava/lang/String;
4: astore 2
start local 2 5: new io.vertx.ext.web.templ.freemarker.impl.FreeMarkerTemplateLoader$StringTemplateSource
dup
aload 1
aload 2
invokestatic java.lang.System.currentTimeMillis:()J
invokespecial io.vertx.ext.web.templ.freemarker.impl.FreeMarkerTemplateLoader$StringTemplateSource.<init>:(Ljava/lang/String;Ljava/lang/String;J)V
6: areturn
end local 2 7: StackMap locals:
StackMap stack:
aconst_null
areturn
8: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 9: new java.io.IOException
dup
aload 2
invokespecial java.io.IOException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/ext/web/templ/freemarker/impl/FreeMarkerTemplateLoader;
0 10 1 name Ljava/lang/String;
5 7 2 templ Ljava/lang/String;
9 10 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 6 8 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
public long getLastModified(java.lang.Object);
descriptor: (Ljava/lang/Object;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
checkcast io.vertx.ext.web.templ.freemarker.impl.FreeMarkerTemplateLoader$StringTemplateSource
getfield io.vertx.ext.web.templ.freemarker.impl.FreeMarkerTemplateLoader$StringTemplateSource.lastModified:J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/templ/freemarker/impl/FreeMarkerTemplateLoader;
0 1 1 templateSource Ljava/lang/Object;
MethodParameters:
Name Flags
templateSource
public java.io.Reader getReader(java.lang.Object, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/String;)Ljava/io/Reader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.io.StringReader
dup
aload 1
checkcast io.vertx.ext.web.templ.freemarker.impl.FreeMarkerTemplateLoader$StringTemplateSource
getfield io.vertx.ext.web.templ.freemarker.impl.FreeMarkerTemplateLoader$StringTemplateSource.source:Ljava/lang/String;
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/templ/freemarker/impl/FreeMarkerTemplateLoader;
0 1 1 templateSource Ljava/lang/Object;
0 1 2 encoding Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
templateSource
encoding
public void closeTemplateSource(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/templ/freemarker/impl/FreeMarkerTemplateLoader;
0 1 1 templateSource Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
templateSource
}
SourceFile: "FreeMarkerTemplateLoader.java"
NestMembers:
io.vertx.ext.web.templ.freemarker.impl.FreeMarkerTemplateLoader$StringTemplateSource
InnerClasses:
private StringTemplateSource = io.vertx.ext.web.templ.freemarker.impl.FreeMarkerTemplateLoader$StringTemplateSource of io.vertx.ext.web.templ.freemarker.impl.FreeMarkerTemplateLoader