public class io.vertx.ext.web.templ.pebble.impl.PebbleVertxLoader implements com.mitchellbosecke.pebble.loader.Loader<java.lang.String>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.web.templ.pebble.impl.PebbleVertxLoader
super_class: java.lang.Object
{
private final io.vertx.core.Vertx vertx;
descriptor: Lio/vertx/core/Vertx;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.nio.charset.Charset charset;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0002) ACC_PRIVATE
public void <init>(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
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
invokestatic java.nio.charset.Charset.defaultCharset:()Ljava/nio/charset/Charset;
putfield io.vertx.ext.web.templ.pebble.impl.PebbleVertxLoader.charset:Ljava/nio/charset/Charset;
2: aload 0
aload 1
putfield io.vertx.ext.web.templ.pebble.impl.PebbleVertxLoader.vertx:Lio/vertx/core/Vertx;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/web/templ/pebble/impl/PebbleVertxLoader;
0 4 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public java.io.Reader getReader(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/Reader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new java.io.StringReader
dup
1: aload 0
getfield io.vertx.ext.web.templ.pebble.impl.PebbleVertxLoader.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: aload 0
getfield io.vertx.ext.web.templ.pebble.impl.PebbleVertxLoader.charset:Ljava/nio/charset/Charset;
invokeinterface io.vertx.core.buffer.Buffer.toString:(Ljava/nio/charset/Charset;)Ljava/lang/String;
4: invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
5: areturn
6: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 2
start local 2 7: new com.mitchellbosecke.pebble.error.LoaderException
dup
aload 2
aload 2
invokevirtual java.lang.RuntimeException.getMessage:()Ljava/lang/String;
invokespecial com.mitchellbosecke.pebble.error.LoaderException.<init>:(Ljava/lang/Throwable;Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/ext/web/templ/pebble/impl/PebbleVertxLoader;
0 8 1 s Ljava/lang/String;
7 8 2 e Ljava/lang/RuntimeException;
Exception table:
from to target type
0 5 6 Class java.lang.RuntimeException
Exceptions:
throws com.mitchellbosecke.pebble.error.LoaderException
MethodParameters:
Name Flags
s
public void setCharset(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
putfield io.vertx.ext.web.templ.pebble.impl.PebbleVertxLoader.charset:Ljava/nio/charset/Charset;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/templ/pebble/impl/PebbleVertxLoader;
0 2 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public void setPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)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/pebble/impl/PebbleVertxLoader;
0 1 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public void setSuffix(java.lang.String);
descriptor: (Ljava/lang/String;)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/pebble/impl/PebbleVertxLoader;
0 1 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public java.lang.String resolveRelativePath(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.io.File
dup
new java.io.File
dup
aload 2
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
aload 1
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 3
start local 3 1: aload 3
invokevirtual java.io.File.getPath:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/templ/pebble/impl/PebbleVertxLoader;
0 2 1 s Ljava/lang/String;
0 2 2 anchorPath Ljava/lang/String;
1 2 3 resolved Ljava/io/File;
MethodParameters:
Name Flags
s
anchorPath
public java.lang.String createCacheKey(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/templ/pebble/impl/PebbleVertxLoader;
0 1 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public java.lang.Object createCacheKey(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.ext.web.templ.pebble.impl.PebbleVertxLoader.createCacheKey:(Ljava/lang/String;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.io.Reader getReader(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/io/Reader;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.String
invokevirtual io.vertx.ext.web.templ.pebble.impl.PebbleVertxLoader.getReader:(Ljava/lang/String;)Ljava/io/Reader;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/mitchellbosecke/pebble/loader/Loader<Ljava/lang/String;>;
SourceFile: "PebbleVertxLoader.java"