Class GlobalShadowCheckBackendCompiler
- java.lang.Object
-
- org.apache.sling.scripting.sightly.java.compiler.GlobalShadowCheckBackendCompiler
-
- All Implemented Interfaces:
BackendCompiler
public final class GlobalShadowCheckBackendCompiler extends java.lang.Object implements BackendCompiler
WrappingBackendCompiler
that checks for global bindings shadowing.
-
-
Constructor Summary
Constructors Constructor Description GlobalShadowCheckBackendCompiler(BackendCompiler baseBackend, java.util.Set<java.lang.String> globals)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompilationOutput
build(ClassInfo classInfo)
void
handle(CommandStream stream)
Process a stream of commands
-
-
-
Constructor Detail
-
GlobalShadowCheckBackendCompiler
public GlobalShadowCheckBackendCompiler(BackendCompiler baseBackend, java.util.Set<java.lang.String> globals)
-
-
Method Detail
-
handle
public void handle(CommandStream stream)
Description copied from interface:BackendCompiler
Process a stream of commands- Specified by:
handle
in interfaceBackendCompiler
- Parameters:
stream
- the stream of commands
-
build
public CompilationOutput build(ClassInfo classInfo)
-
-