Skip navigation links
A B C G H I J M O S U 

A

allowImport(String) - Method in interface org.apache.sling.scripting.sightly.java.compiler.JavaImportsAnalyzer
Analyses the provided importedClass and decides if this class should be an explicit import or not in the generated HTL Java class.

B

build(ClassInfo) - Method in class org.apache.sling.scripting.sightly.java.compiler.GlobalShadowCheckBackendCompiler
 
build(ClassInfo) - Method in class org.apache.sling.scripting.sightly.java.compiler.JavaClassBackendCompiler
Provided the class information, this method will build the source code for the generated Java class.

C

ClassInfo - Interface in org.apache.sling.scripting.sightly.java.compiler
This interface provides information about classes that will be generated by the JavaClassBackendCompiler.
CompilationOutput - Interface in org.apache.sling.scripting.sightly.java.compiler
The CompilationOutput encapsulates the result of a compile operation as processed by the JavaClassBackendCompiler.

G

getFullyQualifiedClassName() - Method in interface org.apache.sling.scripting.sightly.java.compiler.ClassInfo
Returns the fully qualified class name.
getMainBody() - Method in interface org.apache.sling.scripting.sightly.java.compiler.CompilationOutput
Provides the generated class' main body section.
getPackageName() - Method in interface org.apache.sling.scripting.sightly.java.compiler.ClassInfo
Returns the class' package name.
getSimpleClassName() - Method in interface org.apache.sling.scripting.sightly.java.compiler.ClassInfo
Returns the class simple name.
getSubTemplates() - Method in interface org.apache.sling.scripting.sightly.java.compiler.CompilationOutput
Provides the sub-templates (data-sly-template) code sections.
GlobalShadowCheckBackendCompiler - Class in org.apache.sling.scripting.sightly.java.compiler
Wrapping BackendCompiler that checks for global bindings shadowing.
GlobalShadowCheckBackendCompiler(BackendCompiler, Set<String>) - Constructor for class org.apache.sling.scripting.sightly.java.compiler.GlobalShadowCheckBackendCompiler
 

H

handle(CommandStream) - Method in class org.apache.sling.scripting.sightly.java.compiler.GlobalShadowCheckBackendCompiler
 
handle(CommandStream) - Method in class org.apache.sling.scripting.sightly.java.compiler.JavaClassBackendCompiler
 

I

isJavaKeyword(String) - Static method in class org.apache.sling.scripting.sightly.java.compiler.JavaEscapeUtils
Test whether the argument is a Java keyword.

J

JavaClassBackendCompiler - Class in org.apache.sling.scripting.sightly.java.compiler
BackendCompiler that generates a Java class.
JavaClassBackendCompiler() - Constructor for class org.apache.sling.scripting.sightly.java.compiler.JavaClassBackendCompiler
 
JavaClassBackendCompiler(JavaImportsAnalyzer) - Constructor for class org.apache.sling.scripting.sightly.java.compiler.JavaClassBackendCompiler
 
JavaEscapeUtils - Class in org.apache.sling.scripting.sightly.java.compiler
The JavaEscapeUtils provides useful methods for escaping or transforming invalid Java tokens to valid ones that could be used in generated Java source code.
JavaEscapeUtils() - Constructor for class org.apache.sling.scripting.sightly.java.compiler.JavaEscapeUtils
 
JavaImportsAnalyzer - Interface in org.apache.sling.scripting.sightly.java.compiler
The JavaImportsAnalyzer allows checking imports in generated HTL Java classes, in order to optimise dependencies.

M

makeJavaIdentifier(String) - Static method in class org.apache.sling.scripting.sightly.java.compiler.JavaEscapeUtils
Converts the given identifier to a legal Java identifier
makeJavaPackage(String) - Static method in class org.apache.sling.scripting.sightly.java.compiler.JavaEscapeUtils
Converts the given scriptName to a Java package or fully-qualified class name
mangleChar(char) - Static method in class org.apache.sling.scripting.sightly.java.compiler.JavaEscapeUtils
Mangle the specified character to create a legal Java class name.

O

org.apache.sling.scripting.sightly.java.compiler - package org.apache.sling.scripting.sightly.java.compiler
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.

S

SightlyJavaCompilerException - Exception in org.apache.sling.scripting.sightly.java.compiler
 
SightlyJavaCompilerException() - Constructor for exception org.apache.sling.scripting.sightly.java.compiler.SightlyJavaCompilerException
 
SightlyJavaCompilerException(String) - Constructor for exception org.apache.sling.scripting.sightly.java.compiler.SightlyJavaCompilerException
 
SightlyJavaCompilerException(String, Throwable) - Constructor for exception org.apache.sling.scripting.sightly.java.compiler.SightlyJavaCompilerException
 
SightlyJavaCompilerException(Throwable) - Constructor for exception org.apache.sling.scripting.sightly.java.compiler.SightlyJavaCompilerException
 
SightlyJavaCompilerException(String, Throwable, boolean, boolean) - Constructor for exception org.apache.sling.scripting.sightly.java.compiler.SightlyJavaCompilerException
 

U

unmangle(String) - Static method in class org.apache.sling.scripting.sightly.java.compiler.JavaEscapeUtils
Provided a mangled string (obtained by calling JavaEscapeUtils.mangleChar(char)) it will will return the character that was mangled.
A B C G H I J M O S U 
Skip navigation links

Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.