Package | Description |
---|---|
com.github.mustachejava.codegen | |
com.github.mustachejava.codegen.guards | |
com.github.mustachejava.reflect | |
com.github.mustachejava.reflect.guards |
Modifier and Type | Interface and Description |
---|---|
interface |
CompilableGuard
Optimizable guards
|
Modifier and Type | Method and Description |
---|---|
static Guard |
GuardCompiler.compile(List<? extends Guard> guards) |
Modifier and Type | Method and Description |
---|---|
static Guard |
GuardCompiler.compile(List<? extends Guard> guards) |
protected MissingWrapper |
CodegenObjectHandler.createMissingWrapper(String name,
List<Guard> guards) |
protected WrappedGuard |
CodegenObjectHandler.createWrappedGuard(int i,
List<Wrapper> wrappers,
List<Guard> wrapperGuard) |
protected Wrapper |
CodegenObjectHandler.createWrapper(int scopeIndex,
Wrapper[] wrappers,
List<? extends Guard> guards,
AccessibleObject member,
Object[] arguments) |
Constructor and Description |
---|
CodegenMissingWrapper(String name,
List<Guard> guards) |
CodegenReflectionWrapper(CodegenObjectHandler codegenObjectHandler,
int scopeIndex,
Wrapper[] wrappers,
List<? extends Guard> guards,
AccessibleObject member,
Object[] arguments) |
Modifier and Type | Class and Description |
---|---|
class |
CompilableClassGuard
Compiled form of the class guard.
|
class |
CompilableDepthGuard
Compiled version of the depth guard.
|
class |
CompilableDotGuard
Compiled dot guard.
|
class |
CompilableMapGuard
Compiled version of map guard.
|
class |
CompilableNullGuard
Compiled null guard.
|
class |
CompilableWrappedGuard
Compiled wrapper guard.
|
Constructor and Description |
---|
CompilableWrappedGuard(ObjectHandler oh,
int index,
List<Wrapper> wrappers,
List<Guard> wrapperGuard) |
Modifier and Type | Field and Description |
---|---|
protected Guard[] |
GuardedWrapper.guards |
Modifier and Type | Method and Description |
---|---|
Guard[] |
GuardedWrapper.getGuards() |
Modifier and Type | Method and Description |
---|---|
protected MissingWrapper |
ReflectionObjectHandler.createMissingWrapper(String name,
List<Guard> guards) |
protected WrappedGuard |
ReflectionObjectHandler.createWrappedGuard(int i,
List<Wrapper> wrappers,
List<Guard> wrapperGuard) |
protected Wrapper |
ReflectionObjectHandler.createWrapper(int scopeIndex,
Wrapper[] wrappers,
List<? extends Guard> guard,
AccessibleObject member,
Object[] arguments) |
protected Wrapper |
ReflectionObjectHandler.findWrapper(int scopeIndex,
Wrapper[] wrappers,
List<Guard> guards,
Object scope,
String name)
Find a wrapper given the current context.
|
Constructor and Description |
---|
GuardedWrapper(Guard[] guards) |
MissingWrapper(String name,
Guard[] guards) |
ReflectionWrapper(int scopeIndex,
Wrapper[] wrappers,
Guard[] guard,
AccessibleObject method,
Object[] arguments,
ObjectHandler oh) |
Modifier and Type | Class and Description |
---|---|
class |
ClassGuard
Ensure that the class of the current scope is that same as when this wrapper was generated.
|
class |
DepthGuard
Check that there are the same number of scope levels.
|
class |
DotGuard
Guard dot notation references.
|
class |
MapGuard
Guards whether or not a name was present in the map.
|
class |
NullGuard |
class |
WrappedGuard
Dig into the dot notation to guard it from changing.
|
Constructor and Description |
---|
WrappedGuard(ObjectHandler oh,
int index,
List<Wrapper> wrappers,
List<Guard> wrapperGuard) |
Copyright © 2016. All rights reserved.