public class org.stringtemplate.v4.STGroupDir extends org.stringtemplate.v4.STGroup
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.stringtemplate.v4.STGroupDir
super_class: org.stringtemplate.v4.STGroup
{
public java.lang.String groupDirName;
descriptor: Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
public java.net.URL root;
descriptor: Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
bipush 60
bipush 62
invokespecial org.stringtemplate.v4.STGroupDir.<init>:(Ljava/lang/String;CC)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/stringtemplate/v4/STGroupDir;
0 1 1 dirName Ljava/lang/String;
MethodParameters:
Name Flags
dirName
public void <init>(java.lang.String, char, char);
descriptor: (Ljava/lang/String;CC)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 2
iload 3
invokespecial org.stringtemplate.v4.STGroup.<init>:(CC)V
1: aload 0
aload 1
putfield org.stringtemplate.v4.STGroupDir.groupDirName:Ljava/lang/String;
2: new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 4
start local 4 3: aload 4
invokevirtual java.io.File.exists:()Z
ifeq 10
aload 4
invokevirtual java.io.File.isDirectory:()Z
ifeq 10
4: aload 0
aload 4
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
putfield org.stringtemplate.v4.STGroupDir.root:Ljava/net/URL;
5: goto 8
6: StackMap locals: org.stringtemplate.v4.STGroupDir java.lang.String int int java.io.File
StackMap stack: java.net.MalformedURLException
astore 5
start local 5 7: new org.stringtemplate.v4.compiler.STException
dup
new java.lang.StringBuilder
dup
ldc "can't load dir "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 5
invokespecial org.stringtemplate.v4.compiler.STException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 5 8: StackMap locals:
StackMap stack:
getstatic org.stringtemplate.v4.STGroupDir.verbose:Z
ifeq 20
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "STGroupDir("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ") found at "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.stringtemplate.v4.STGroupDir.root:Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: goto 20
10: StackMap locals:
StackMap stack:
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 5
start local 5 11: aload 0
aload 5
aload 1
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
putfield org.stringtemplate.v4.STGroupDir.root:Ljava/net/URL;
12: aload 0
getfield org.stringtemplate.v4.STGroupDir.root:Ljava/net/URL;
ifnonnull 15
13: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 5
14: aload 0
aload 5
aload 1
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
putfield org.stringtemplate.v4.STGroupDir.root:Ljava/net/URL;
15: StackMap locals: java.lang.ClassLoader
StackMap stack:
getstatic org.stringtemplate.v4.STGroupDir.verbose:Z
ifeq 16
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "STGroupDir("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ") found via CLASSPATH at "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.stringtemplate.v4.STGroupDir.root:Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
16: StackMap locals:
StackMap stack:
aload 0
getfield org.stringtemplate.v4.STGroupDir.root:Ljava/net/URL;
ifnonnull 20
17: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "No such directory: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
18: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 5 20: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/stringtemplate/v4/STGroupDir;
0 21 1 dirName Ljava/lang/String;
0 21 2 delimiterStartChar C
0 21 3 delimiterStopChar C
3 21 4 dir Ljava/io/File;
7 8 5 e Ljava/net/MalformedURLException;
11 20 5 cl Ljava/lang/ClassLoader;
Exception table:
from to target type
4 5 6 Class java.net.MalformedURLException
MethodParameters:
Name Flags
dirName
delimiterStartChar
delimiterStopChar
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
bipush 60
bipush 62
invokespecial org.stringtemplate.v4.STGroupDir.<init>:(Ljava/lang/String;Ljava/lang/String;CC)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/stringtemplate/v4/STGroupDir;
0 2 1 dirName Ljava/lang/String;
0 2 2 encoding Ljava/lang/String;
MethodParameters:
Name Flags
dirName
encoding
public void <init>(java.lang.String, java.lang.String, char, char);
descriptor: (Ljava/lang/String;Ljava/lang/String;CC)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
iload 3
iload 4
invokespecial org.stringtemplate.v4.STGroupDir.<init>:(Ljava/lang/String;CC)V
1: aload 0
aload 2
putfield org.stringtemplate.v4.STGroupDir.encoding:Ljava/lang/String;
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/stringtemplate/v4/STGroupDir;
0 3 1 dirName Ljava/lang/String;
0 3 2 encoding Ljava/lang/String;
0 3 3 delimiterStartChar C
0 3 4 delimiterStopChar C
MethodParameters:
Name Flags
dirName
encoding
delimiterStartChar
delimiterStopChar
public void <init>(java.net.URL, java.lang.String, char, char);
descriptor: (Ljava/net/URL;Ljava/lang/String;CC)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 3
iload 4
invokespecial org.stringtemplate.v4.STGroup.<init>:(CC)V
1: aload 0
new java.io.File
dup
aload 1
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getName:()Ljava/lang/String;
putfield org.stringtemplate.v4.STGroupDir.groupDirName:Ljava/lang/String;
2: aload 0
aload 1
putfield org.stringtemplate.v4.STGroupDir.root:Ljava/net/URL;
3: aload 0
aload 2
putfield org.stringtemplate.v4.STGroupDir.encoding:Ljava/lang/String;
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/stringtemplate/v4/STGroupDir;
0 5 1 root Ljava/net/URL;
0 5 2 encoding Ljava/lang/String;
0 5 3 delimiterStartChar C
0 5 4 delimiterStopChar C
MethodParameters:
Name Flags
root
encoding
delimiterStartChar
delimiterStopChar
public void importTemplates(org.antlr.runtime.Token);
descriptor: (Lorg/antlr/runtime/Token;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "import illegal in group files embedded in STGroupDirs; import "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 1
invokeinterface org.antlr.runtime.Token.getText:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " in STGroupDir "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.stringtemplate.v4.STGroupDir.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: astore 2
start local 2 4: new java.lang.UnsupportedOperationException
dup
aload 2
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/stringtemplate/v4/STGroupDir;
0 5 1 fileNameToken Lorg/antlr/runtime/Token;
4 5 2 msg Ljava/lang/String;
MethodParameters:
Name Flags
fileNameToken
protected org.stringtemplate.v4.compiler.CompiledST load(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/stringtemplate/v4/compiler/CompiledST;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=10, args_size=2
start local 0 start local 1 0: getstatic org.stringtemplate.v4.STGroupDir.verbose:Z
ifeq 1
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "STGroupDir.load("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: StackMap locals:
StackMap stack:
aload 1
invokestatic org.stringtemplate.v4.misc.Misc.getParent:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 2: aload 1
invokestatic org.stringtemplate.v4.misc.Misc.getPrefix:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 3: new java.net.URL
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield org.stringtemplate.v4.STGroupDir.root:Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic org.stringtemplate.v4.STGroupDir.GROUP_FILE_EXTENSION:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 4
start local 4 4: goto 8
end local 4 5: StackMap locals: org.stringtemplate.v4.STGroupDir java.lang.String java.lang.String java.lang.String
StackMap stack: java.net.MalformedURLException
astore 5
start local 5 6: aload 0
getfield org.stringtemplate.v4.STGroupDir.errMgr:Lorg/stringtemplate/v4/misc/ErrorManager;
aconst_null
new java.lang.StringBuilder
dup
ldc "bad URL: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.stringtemplate.v4.STGroupDir.root:Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic org.stringtemplate.v4.STGroupDir.GROUP_FILE_EXTENSION:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 5
invokevirtual org.stringtemplate.v4.misc.ErrorManager.internalError:(Lorg/stringtemplate/v4/ST;Ljava/lang/String;Ljava/lang/Throwable;)V
7: aconst_null
areturn
end local 5 start local 4 8: StackMap locals: java.net.URL
StackMap stack:
aconst_null
astore 5
start local 5 9: aload 4
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
astore 5
10: goto 25
11: StackMap locals: org.stringtemplate.v4.STGroupDir java.lang.String java.lang.String java.lang.String java.net.URL java.io.InputStream
StackMap stack: java.io.IOException
pop
12: aload 1
invokestatic org.stringtemplate.v4.misc.Misc.getFileName:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 13: aload 0
aload 3
new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic org.stringtemplate.v4.STGroupDir.TEMPLATE_FILE_EXTENSION:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.stringtemplate.v4.STGroupDir.loadTemplateFile:(Ljava/lang/String;Ljava/lang/String;)Lorg/stringtemplate/v4/compiler/CompiledST;
astore 8
14: aload 5
ifnull 18
aload 5
invokevirtual java.io.InputStream.close:()V
15: goto 18
16: StackMap locals: org.stringtemplate.v4.STGroupDir java.lang.String java.lang.String java.lang.String java.net.URL java.io.InputStream java.lang.String top org.stringtemplate.v4.compiler.CompiledST
StackMap stack: java.io.IOException
astore 9
start local 9 17: aload 0
getfield org.stringtemplate.v4.STGroupDir.errMgr:Lorg/stringtemplate/v4/misc/ErrorManager;
aconst_null
new java.lang.StringBuilder
dup
ldc "can't close template file stream "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 9
invokevirtual org.stringtemplate.v4.misc.ErrorManager.internalError:(Lorg/stringtemplate/v4/ST;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 9 18: StackMap locals:
StackMap stack:
aload 8
areturn
end local 6 19: StackMap locals: org.stringtemplate.v4.STGroupDir java.lang.String java.lang.String java.lang.String java.net.URL java.io.InputStream
StackMap stack: java.lang.Throwable
astore 7
20: aload 5
ifnull 24
aload 5
invokevirtual java.io.InputStream.close:()V
21: goto 24
22: StackMap locals: org.stringtemplate.v4.STGroupDir java.lang.String java.lang.String java.lang.String java.net.URL java.io.InputStream top java.lang.Throwable
StackMap stack: java.io.IOException
astore 9
start local 9 23: aload 0
getfield org.stringtemplate.v4.STGroupDir.errMgr:Lorg/stringtemplate/v4/misc/ErrorManager;
aconst_null
new java.lang.StringBuilder
dup
ldc "can't close template file stream "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 9
invokevirtual org.stringtemplate.v4.misc.ErrorManager.internalError:(Lorg/stringtemplate/v4/ST;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 9 24: StackMap locals:
StackMap stack:
aload 7
athrow
25: StackMap locals: org.stringtemplate.v4.STGroupDir java.lang.String java.lang.String java.lang.String java.net.URL java.io.InputStream
StackMap stack:
aload 5
ifnull 29
aload 5
invokevirtual java.io.InputStream.close:()V
26: goto 29
27: StackMap locals:
StackMap stack: java.io.IOException
astore 9
start local 9 28: aload 0
getfield org.stringtemplate.v4.STGroupDir.errMgr:Lorg/stringtemplate/v4/misc/ErrorManager;
aconst_null
new java.lang.StringBuilder
dup
ldc "can't close template file stream "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 9
invokevirtual org.stringtemplate.v4.misc.ErrorManager.internalError:(Lorg/stringtemplate/v4/ST;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 9 29: StackMap locals:
StackMap stack:
aload 0
aload 3
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield org.stringtemplate.v4.STGroupDir.root:Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic org.stringtemplate.v4.STGroupDir.GROUP_FILE_EXTENSION:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.stringtemplate.v4.STGroupDir.loadGroupFile:(Ljava/lang/String;Ljava/lang/String;)V
30: aload 0
aload 1
invokevirtual org.stringtemplate.v4.STGroupDir.rawGetTemplate:(Ljava/lang/String;)Lorg/stringtemplate/v4/compiler/CompiledST;
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 31 0 this Lorg/stringtemplate/v4/STGroupDir;
0 31 1 name Ljava/lang/String;
2 31 2 parent Ljava/lang/String;
3 31 3 prefix Ljava/lang/String;
4 5 4 groupFileURL Ljava/net/URL;
8 31 4 groupFileURL Ljava/net/URL;
6 8 5 e Ljava/net/MalformedURLException;
9 31 5 is Ljava/io/InputStream;
13 19 6 unqualifiedName Ljava/lang/String;
17 18 9 ioe Ljava/io/IOException;
23 24 9 ioe Ljava/io/IOException;
28 29 9 ioe Ljava/io/IOException;
Exception table:
from to target type
3 4 5 Class java.net.MalformedURLException
9 10 11 Class java.io.IOException
14 15 16 Class java.io.IOException
9 14 19 any
20 21 22 Class java.io.IOException
25 26 27 Class java.io.IOException
MethodParameters:
Name Flags
name
public org.stringtemplate.v4.compiler.CompiledST loadTemplateFile(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/stringtemplate/v4/compiler/CompiledST;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.stringtemplate.v4.STGroupDir.verbose:Z
ifeq 3
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "loadTemplateFile("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ") in groupdir "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: ldc "from "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.stringtemplate.v4.STGroupDir.root:Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " prefix="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
new java.net.URL
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield org.stringtemplate.v4.STGroupDir.root:Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 3
start local 3 4: goto 10
end local 3 5: StackMap locals:
StackMap stack: java.net.MalformedURLException
astore 4
start local 4 6: aload 0
getfield org.stringtemplate.v4.STGroupDir.errMgr:Lorg/stringtemplate/v4/misc/ErrorManager;
aconst_null
aconst_null
getstatic org.stringtemplate.v4.misc.ErrorType.INVALID_TEMPLATE_NAME:Lorg/stringtemplate/v4/misc/ErrorType;
7: aload 4
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield org.stringtemplate.v4.STGroupDir.root:Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokevirtual org.stringtemplate.v4.misc.ErrorManager.runTimeError:(Lorg/stringtemplate/v4/Interpreter;Lorg/stringtemplate/v4/InstanceScope;Lorg/stringtemplate/v4/misc/ErrorType;Ljava/lang/Throwable;Ljava/lang/Object;)V
9: aconst_null
areturn
end local 4 start local 3 10: StackMap locals: java.net.URL
StackMap stack:
new org.antlr.runtime.ANTLRInputStream
dup
aload 3
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
aload 0
getfield org.stringtemplate.v4.STGroupDir.encoding:Ljava/lang/String;
invokespecial org.antlr.runtime.ANTLRInputStream.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
astore 4
start local 4 11: aload 4
aload 2
putfield org.antlr.runtime.ANTLRInputStream.name:Ljava/lang/String;
12: goto 16
end local 4 13: StackMap locals:
StackMap stack: java.io.IOException
pop
14: getstatic org.stringtemplate.v4.STGroupDir.verbose:Z
ifeq 15
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield org.stringtemplate.v4.STGroupDir.root:Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " doesn't exist"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
15: StackMap locals:
StackMap stack:
aconst_null
areturn
start local 4 16: StackMap locals: org.antlr.runtime.ANTLRInputStream
StackMap stack:
aload 0
aload 1
aload 2
aload 4
invokevirtual org.stringtemplate.v4.STGroupDir.loadTemplateFile:(Ljava/lang/String;Ljava/lang/String;Lorg/antlr/runtime/CharStream;)Lorg/stringtemplate/v4/compiler/CompiledST;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/stringtemplate/v4/STGroupDir;
0 17 1 prefix Ljava/lang/String;
0 17 2 unqualifiedFileName Ljava/lang/String;
4 5 3 f Ljava/net/URL;
10 17 3 f Ljava/net/URL;
6 10 4 me Ljava/net/MalformedURLException;
11 13 4 fs Lorg/antlr/runtime/ANTLRInputStream;
16 17 4 fs Lorg/antlr/runtime/ANTLRInputStream;
Exception table:
from to target type
3 4 5 Class java.net.MalformedURLException
10 12 13 Class java.io.IOException
MethodParameters:
Name Flags
prefix
unqualifiedFileName
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.stringtemplate.v4.STGroupDir.groupDirName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/stringtemplate/v4/STGroupDir;
public java.lang.String getFileName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.stringtemplate.v4.STGroupDir.root:Ljava/net/URL;
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/stringtemplate/v4/STGroupDir;
public java.net.URL getRootDirURL();
descriptor: ()Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.stringtemplate.v4.STGroupDir.root:Ljava/net/URL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/stringtemplate/v4/STGroupDir;
}
SourceFile: "STGroupDir.java"