class freemarker.core.Environment$LazilyInitializedNamespace extends freemarker.core.Environment$Namespace
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: freemarker.core.Environment$LazilyInitializedNamespace
super_class: freemarker.core.Environment$Namespace
{
private final java.lang.String templateName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Locale locale;
descriptor: Ljava/util/Locale;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String encoding;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object customLookupCondition;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private freemarker.core.Environment$InitializationStatus status;
descriptor: Lfreemarker/core/Environment$InitializationStatus;
flags: (0x0002) ACC_PRIVATE
final freemarker.core.Environment this$0;
descriptor: Lfreemarker/core/Environment;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(freemarker.core.Environment, java.lang.String);
descriptor: (Lfreemarker/core/Environment;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield freemarker.core.Environment$LazilyInitializedNamespace.this$0:Lfreemarker/core/Environment;
1: aload 0
aload 1
aconst_null
invokespecial freemarker.core.Environment$Namespace.<init>:(Lfreemarker/core/Environment;Lfreemarker/template/Template;)V
2: aload 0
getstatic freemarker.core.Environment$InitializationStatus.UNINITIALIZED:Lfreemarker/core/Environment$InitializationStatus;
putfield freemarker.core.Environment$LazilyInitializedNamespace.status:Lfreemarker/core/Environment$InitializationStatus;
3: aload 0
aload 2
putfield freemarker.core.Environment$LazilyInitializedNamespace.templateName:Ljava/lang/String;
4: aload 0
aload 1
invokevirtual freemarker.core.Environment.getLocale:()Ljava/util/Locale;
putfield freemarker.core.Environment$LazilyInitializedNamespace.locale:Ljava/util/Locale;
5: aload 0
aload 1
invokevirtual freemarker.core.Environment.getIncludedTemplateEncoding:()Ljava/lang/String;
putfield freemarker.core.Environment$LazilyInitializedNamespace.encoding:Ljava/lang/String;
6: aload 0
aload 1
invokevirtual freemarker.core.Environment.getIncludedTemplateCustomLookupCondition:()Ljava/lang/Object;
putfield freemarker.core.Environment$LazilyInitializedNamespace.customLookupCondition:Ljava/lang/Object;
7: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lfreemarker/core/Environment$LazilyInitializedNamespace;
0 8 2 templateName Ljava/lang/String;
MethodParameters:
Name Flags
this$0 final
templateName
private void ensureInitializedTME();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield freemarker.core.Environment$LazilyInitializedNamespace.status:Lfreemarker/core/Environment$InitializationStatus;
getstatic freemarker.core.Environment$InitializationStatus.INITIALIZED:Lfreemarker/core/Environment$InitializationStatus;
if_acmpeq 26
aload 0
getfield freemarker.core.Environment$LazilyInitializedNamespace.status:Lfreemarker/core/Environment$InitializationStatus;
getstatic freemarker.core.Environment$InitializationStatus.INITIALIZING:Lfreemarker/core/Environment$InitializationStatus;
if_acmpeq 26
1: aload 0
getfield freemarker.core.Environment$LazilyInitializedNamespace.status:Lfreemarker/core/Environment$InitializationStatus;
getstatic freemarker.core.Environment$InitializationStatus.FAILED:Lfreemarker/core/Environment$InitializationStatus;
if_acmpne 8
2: new freemarker.template.TemplateModelException
dup
3: new java.lang.StringBuilder
dup
ldc "Lazy initialization of the imported namespace for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 0
getfield freemarker.core.Environment$LazilyInitializedNamespace.templateName:Ljava/lang/String;
invokestatic freemarker.template.utility.StringUtil.jQuote:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc " has already failed earlier; won't retry it."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial freemarker.template.TemplateModelException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
getstatic freemarker.core.Environment$InitializationStatus.INITIALIZING:Lfreemarker/core/Environment$InitializationStatus;
putfield freemarker.core.Environment$LazilyInitializedNamespace.status:Lfreemarker/core/Environment$InitializationStatus;
9: aload 0
invokevirtual freemarker.core.Environment$LazilyInitializedNamespace.initialize:()V
10: aload 0
getstatic freemarker.core.Environment$InitializationStatus.INITIALIZED:Lfreemarker/core/Environment$InitializationStatus;
putfield freemarker.core.Environment$LazilyInitializedNamespace.status:Lfreemarker/core/Environment$InitializationStatus;
11: goto 24
StackMap locals:
StackMap stack: java.lang.Exception
12: astore 1
start local 1 13: new freemarker.template.TemplateModelException
dup
14: new java.lang.StringBuilder
dup
ldc "Lazy initialization of the imported namespace for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: aload 0
getfield freemarker.core.Environment$LazilyInitializedNamespace.templateName:Ljava/lang/String;
invokestatic freemarker.template.utility.StringUtil.jQuote:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: ldc " has failed; see cause exception"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: aload 1
19: invokespecial freemarker.template.TemplateModelException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 1 20: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
21: aload 0
getfield freemarker.core.Environment$LazilyInitializedNamespace.status:Lfreemarker/core/Environment$InitializationStatus;
getstatic freemarker.core.Environment$InitializationStatus.INITIALIZED:Lfreemarker/core/Environment$InitializationStatus;
if_acmpeq 23
22: aload 0
getstatic freemarker.core.Environment$InitializationStatus.FAILED:Lfreemarker/core/Environment$InitializationStatus;
putfield freemarker.core.Environment$LazilyInitializedNamespace.status:Lfreemarker/core/Environment$InitializationStatus;
23: StackMap locals: freemarker.core.Environment$LazilyInitializedNamespace top java.lang.Throwable
StackMap stack:
aload 2
athrow
24: StackMap locals: freemarker.core.Environment$LazilyInitializedNamespace
StackMap stack:
aload 0
getfield freemarker.core.Environment$LazilyInitializedNamespace.status:Lfreemarker/core/Environment$InitializationStatus;
getstatic freemarker.core.Environment$InitializationStatus.INITIALIZED:Lfreemarker/core/Environment$InitializationStatus;
if_acmpeq 26
25: aload 0
getstatic freemarker.core.Environment$InitializationStatus.FAILED:Lfreemarker/core/Environment$InitializationStatus;
putfield freemarker.core.Environment$LazilyInitializedNamespace.status:Lfreemarker/core/Environment$InitializationStatus;
26: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lfreemarker/core/Environment$LazilyInitializedNamespace;
13 20 1 e Ljava/lang/Exception;
Exception table:
from to target type
8 11 12 Class java.lang.Exception
8 20 20 any
Exceptions:
throws freemarker.template.TemplateModelException
private void ensureInitializedRTE();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual freemarker.core.Environment$LazilyInitializedNamespace.ensureInitializedTME:()V
1: goto 4
StackMap locals:
StackMap stack: freemarker.template.TemplateModelException
2: astore 1
start local 1 3: new java.lang.RuntimeException
dup
aload 1
invokevirtual freemarker.template.TemplateModelException.getMessage:()Ljava/lang/String;
aload 1
invokevirtual freemarker.template.TemplateModelException.getCause:()Ljava/lang/Throwable;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lfreemarker/core/Environment$LazilyInitializedNamespace;
3 4 1 e Lfreemarker/template/TemplateModelException;
Exception table:
from to target type
0 1 2 Class freemarker.template.TemplateModelException
private void initialize();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=3, args_size=1
start local 0 0: aload 0
aload 0
getfield freemarker.core.Environment$LazilyInitializedNamespace.this$0:Lfreemarker/core/Environment;
getfield freemarker.core.Environment.configuration:Lfreemarker/template/Configuration;
1: aload 0
getfield freemarker.core.Environment$LazilyInitializedNamespace.templateName:Ljava/lang/String;
aload 0
getfield freemarker.core.Environment$LazilyInitializedNamespace.locale:Ljava/util/Locale;
aload 0
getfield freemarker.core.Environment$LazilyInitializedNamespace.customLookupCondition:Ljava/lang/Object;
aload 0
getfield freemarker.core.Environment$LazilyInitializedNamespace.encoding:Ljava/lang/String;
2: iconst_1
iconst_0
3: invokevirtual freemarker.template.Configuration.getTemplate:(Ljava/lang/String;Ljava/util/Locale;Ljava/lang/Object;Ljava/lang/String;ZZ)Lfreemarker/template/Template;
invokevirtual freemarker.core.Environment$LazilyInitializedNamespace.setTemplate:(Lfreemarker/template/Template;)V
4: aload 0
getfield freemarker.core.Environment$LazilyInitializedNamespace.this$0:Lfreemarker/core/Environment;
invokevirtual freemarker.core.Environment.getLocale:()Ljava/util/Locale;
astore 1
start local 1 5: aload 0
getfield freemarker.core.Environment$LazilyInitializedNamespace.this$0:Lfreemarker/core/Environment;
aload 0
getfield freemarker.core.Environment$LazilyInitializedNamespace.locale:Ljava/util/Locale;
invokevirtual freemarker.core.Environment.setLocale:(Ljava/util/Locale;)V
6: aload 0
getfield freemarker.core.Environment$LazilyInitializedNamespace.this$0:Lfreemarker/core/Environment;
aload 0
aload 0
invokevirtual freemarker.core.Environment$LazilyInitializedNamespace.getTemplate:()Lfreemarker/template/Template;
invokevirtual freemarker.core.Environment.initializeImportLibNamespace:(Lfreemarker/core/Environment$Namespace;Lfreemarker/template/Template;)V
7: goto 11
StackMap locals: freemarker.core.Environment$LazilyInitializedNamespace java.util.Locale
StackMap stack: java.lang.Throwable
8: astore 2
9: aload 0
getfield freemarker.core.Environment$LazilyInitializedNamespace.this$0:Lfreemarker/core/Environment;
aload 1
invokevirtual freemarker.core.Environment.setLocale:(Ljava/util/Locale;)V
10: aload 2
athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield freemarker.core.Environment$LazilyInitializedNamespace.this$0:Lfreemarker/core/Environment;
aload 1
invokevirtual freemarker.core.Environment.setLocale:(Ljava/util/Locale;)V
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lfreemarker/core/Environment$LazilyInitializedNamespace;
5 13 1 lastLocale Ljava/util/Locale;
Exception table:
from to target type
5 8 8 any
Exceptions:
throws java.io.IOException, freemarker.template.TemplateException
protected java.util.Map copyMap(java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual freemarker.core.Environment$LazilyInitializedNamespace.ensureInitializedRTE:()V
1: aload 0
aload 1
invokespecial freemarker.core.Environment$Namespace.copyMap:(Ljava/util/Map;)Ljava/util/Map;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lfreemarker/core/Environment$LazilyInitializedNamespace;
0 2 1 map Ljava/util/Map;
MethodParameters:
Name Flags
map
public freemarker.template.Template getTemplate();
descriptor: ()Lfreemarker/template/Template;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual freemarker.core.Environment$LazilyInitializedNamespace.ensureInitializedRTE:()V
1: aload 0
invokespecial freemarker.core.Environment$Namespace.getTemplate:()Lfreemarker/template/Template;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lfreemarker/core/Environment$LazilyInitializedNamespace;
public void put(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual freemarker.core.Environment$LazilyInitializedNamespace.ensureInitializedRTE:()V
1: aload 0
aload 1
aload 2
invokespecial freemarker.core.Environment$Namespace.put:(Ljava/lang/String;Ljava/lang/Object;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lfreemarker/core/Environment$LazilyInitializedNamespace;
0 3 1 key Ljava/lang/String;
0 3 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
key
value
public void put(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual freemarker.core.Environment$LazilyInitializedNamespace.ensureInitializedRTE:()V
1: aload 0
aload 1
iload 2
invokespecial freemarker.core.Environment$Namespace.put:(Ljava/lang/String;Z)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lfreemarker/core/Environment$LazilyInitializedNamespace;
0 3 1 key Ljava/lang/String;
0 3 2 b Z
MethodParameters:
Name Flags
key
b
public freemarker.template.TemplateModel get(java.lang.String);
descriptor: (Ljava/lang/String;)Lfreemarker/template/TemplateModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual freemarker.core.Environment$LazilyInitializedNamespace.ensureInitializedTME:()V
1: aload 0
aload 1
invokespecial freemarker.core.Environment$Namespace.get:(Ljava/lang/String;)Lfreemarker/template/TemplateModel;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lfreemarker/core/Environment$LazilyInitializedNamespace;
0 2 1 key Ljava/lang/String;
Exceptions:
throws freemarker.template.TemplateModelException
MethodParameters:
Name Flags
key
public boolean containsKey(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual freemarker.core.Environment$LazilyInitializedNamespace.ensureInitializedRTE:()V
1: aload 0
aload 1
invokespecial freemarker.core.Environment$Namespace.containsKey:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lfreemarker/core/Environment$LazilyInitializedNamespace;
0 2 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public void remove(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
invokevirtual freemarker.core.Environment$LazilyInitializedNamespace.ensureInitializedRTE:()V
1: aload 0
aload 1
invokespecial freemarker.core.Environment$Namespace.remove:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lfreemarker/core/Environment$LazilyInitializedNamespace;
0 3 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public void putAll(java.util.Map);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual freemarker.core.Environment$LazilyInitializedNamespace.ensureInitializedRTE:()V
1: aload 0
aload 1
invokespecial freemarker.core.Environment$Namespace.putAll:(Ljava/util/Map;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lfreemarker/core/Environment$LazilyInitializedNamespace;
0 3 1 m Ljava/util/Map;
MethodParameters:
Name Flags
m
public java.util.Map toMap();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual freemarker.core.Environment$LazilyInitializedNamespace.ensureInitializedTME:()V
1: aload 0
invokespecial freemarker.core.Environment$Namespace.toMap:()Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lfreemarker/core/Environment$LazilyInitializedNamespace;
Exceptions:
throws freemarker.template.TemplateModelException
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual freemarker.core.Environment$LazilyInitializedNamespace.ensureInitializedRTE:()V
1: aload 0
invokespecial freemarker.core.Environment$Namespace.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lfreemarker/core/Environment$LazilyInitializedNamespace;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual freemarker.core.Environment$LazilyInitializedNamespace.ensureInitializedRTE:()V
1: aload 0
invokespecial freemarker.core.Environment$Namespace.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lfreemarker/core/Environment$LazilyInitializedNamespace;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual freemarker.core.Environment$LazilyInitializedNamespace.ensureInitializedRTE:()V
1: aload 0
invokespecial freemarker.core.Environment$Namespace.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lfreemarker/core/Environment$LazilyInitializedNamespace;
public freemarker.template.TemplateCollectionModel keys();
descriptor: ()Lfreemarker/template/TemplateCollectionModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual freemarker.core.Environment$LazilyInitializedNamespace.ensureInitializedRTE:()V
1: aload 0
invokespecial freemarker.core.Environment$Namespace.keys:()Lfreemarker/template/TemplateCollectionModel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lfreemarker/core/Environment$LazilyInitializedNamespace;
public freemarker.template.TemplateCollectionModel values();
descriptor: ()Lfreemarker/template/TemplateCollectionModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual freemarker.core.Environment$LazilyInitializedNamespace.ensureInitializedRTE:()V
1: aload 0
invokespecial freemarker.core.Environment$Namespace.values:()Lfreemarker/template/TemplateCollectionModel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lfreemarker/core/Environment$LazilyInitializedNamespace;
public freemarker.template.TemplateHashModelEx2$KeyValuePairIterator keyValuePairIterator();
descriptor: ()Lfreemarker/template/TemplateHashModelEx2$KeyValuePairIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual freemarker.core.Environment$LazilyInitializedNamespace.ensureInitializedRTE:()V
1: aload 0
invokespecial freemarker.core.Environment$Namespace.keyValuePairIterator:()Lfreemarker/template/TemplateHashModelEx2$KeyValuePairIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lfreemarker/core/Environment$LazilyInitializedNamespace;
}
SourceFile: "Environment.java"
NestHost: freemarker.core.Environment
InnerClasses:
private final InitializationStatus = freemarker.core.Environment$InitializationStatus of freemarker.core.Environment
LazilyInitializedNamespace = freemarker.core.Environment$LazilyInitializedNamespace of freemarker.core.Environment
public Namespace = freemarker.core.Environment$Namespace of freemarker.core.Environment
public abstract KeyValuePairIterator = freemarker.template.TemplateHashModelEx2$KeyValuePairIterator of freemarker.template.TemplateHashModelEx2