- canHaveTypeAnnotation(Tree) - Static method in class org.stjs.generator.javac.TreeUtils
-
- caseStatement(T, Iterable<T>) - Method in interface org.stjs.generator.javascript.JavaScriptBuilder
-
- caseStatement(AstNode, Iterable<AstNode>) - Method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptBuilder
-
- caseStatement(String, Iterable<String>) - Method in class org.stjs.generator.javascript.StringJavaScriptBuilder
-
- CaseWriter<JS> - Class in org.stjs.generator.writer.statement
-
- CaseWriter() - Constructor for class org.stjs.generator.writer.statement.CaseWriter
-
- catchClause(T, T) - Method in interface org.stjs.generator.javascript.JavaScriptBuilder
-
- catchClause(AstNode, AstNode) - Method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptBuilder
-
- catchClause(String, String) - Method in class org.stjs.generator.javascript.StringJavaScriptBuilder
-
- CatchWriter<JS> - Class in org.stjs.generator.writer.statement
-
- CatchWriter() - Constructor for class org.stjs.generator.writer.statement.CatchWriter
-
- character(String) - Method in interface org.stjs.generator.javascript.JavaScriptBuilder
-
- character(String) - Method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptBuilder
-
- character(String) - Method in class org.stjs.generator.javascript.StringJavaScriptBuilder
-
- check() - Method in class org.stjs.generator.check.Checks
-
- CheckContributor<T extends com.sun.source.tree.Tree> - Interface in org.stjs.generator.check
-
this interface is to be implemented by all the check contributors
- checkGlobalScope(ExpressionTree, String, GenerationContext<Void>) - Static method in class org.stjs.generator.check.expression.IdentifierGlobalScopeNameClashCheck
-
- checkIdentifier(Tree, String, GenerationContext<?>) - Static method in class org.stjs.generator.writer.JavascriptKeywords
-
- checkNotNull(T) - Static method in class org.stjs.generator.utils.PreConditions
-
- checkNotNull(T, String, Object...) - Static method in class org.stjs.generator.utils.PreConditions
-
- Checks - Class in org.stjs.generator.check
-
keeps the list of errors found during the check of a Java AST.
- Checks() - Constructor for class org.stjs.generator.check.Checks
-
- checkState(boolean, String, Object...) - Static method in class org.stjs.generator.utils.PreConditions
-
- CheckVisitor - Class in org.stjs.generator.check
-
This visitor will visit the Java AST to check for constructions that cannot be used because they don't have a
suitable JavaScript correspondent.
- CheckVisitor() - Constructor for class org.stjs.generator.check.CheckVisitor
-
- CheckVisitor(CheckVisitor) - Constructor for class org.stjs.generator.check.CheckVisitor
-
- child(C) - Method in class org.stjs.generator.javac.TreeWrapper
-
- CLASS - Static variable in class org.stjs.generator.GeneratorConstants
-
- CLASS_PROP - Static variable in class org.stjs.generator.STJSClass
-
- ClassDuplicateMemberNameCheck - Class in org.stjs.generator.check.declaration
-
checks the a field name or method exists only once in the class and its hierchy
- ClassDuplicateMemberNameCheck() - Constructor for class org.stjs.generator.check.declaration.ClassDuplicateMemberNameCheck
-
- ClassEnumWithoutMembersCheck - Class in org.stjs.generator.check.declaration
-
this class checks that no member is added to an enum declaration (other than of course the enum constants)
- ClassEnumWithoutMembersCheck() - Constructor for class org.stjs.generator.check.declaration.ClassEnumWithoutMembersCheck
-
- ClassForbidExtendsSyntheticTypeCheck - Class in org.stjs.generator.check.declaration
-
this checks that a class or interface does not try to extend or implement a
SyntheticType as the code for this class does not exist in reality, so the
calls to any method of such a type may end up in a runtime error.
- ClassForbidExtendsSyntheticTypeCheck() - Constructor for class org.stjs.generator.check.declaration.ClassForbidExtendsSyntheticTypeCheck
-
- ClassGlobalForbidInnerCheck - Class in org.stjs.generator.check.declaration
-
as for @GlobalScope - forbid inner types of global classes - they make no sense
- ClassGlobalForbidInnerCheck() - Constructor for class org.stjs.generator.check.declaration.ClassGlobalForbidInnerCheck
-
- ClassGlobalInstanceMembersCheck - Class in org.stjs.generator.check.declaration
-
as for @GlobalScope - global classes, there is not class declaration, the members are attached directly to the
JavaScript global object (i.e.
- ClassGlobalInstanceMembersCheck() - Constructor for class org.stjs.generator.check.declaration.ClassGlobalInstanceMembersCheck
-
- ClassImplementJavascriptFunctionCheck - Class in org.stjs.generator.check.declaration
-
check that a class does not implement a @JavaScript annotated interface as this is reserved to build inline
functions.
- ClassImplementJavascriptFunctionCheck() - Constructor for class org.stjs.generator.check.declaration.ClassImplementJavascriptFunctionCheck
-
- ClassNamespaceCheck - Class in org.stjs.generator.check.declaration
-
this check makes sure the names used to define a namespace are JavaScript correctly defined variables, as they will
be used as such
- ClassNamespaceCheck() - Constructor for class org.stjs.generator.check.declaration.ClassNamespaceCheck
-
- CLASSPATH_FILE - Static variable in class org.stjs.generator.GeneratorConstants
-
this is the file in which the maven plugin writes the classpath needed to launch tests
- ClassResolver - Interface in org.stjs.generator
-
this interface is used to lazily resolve a class with its corresponding javascript, when the list of dependencies is
browsed.
- classResolver(ClassResolver) - Method in class org.stjs.generator.GeneratorConfigurationBuilder
-
- ClassUtils - Class in org.stjs.generator.utils
-
- ClassWithJavascript - Interface in org.stjs.generator
-
this interface represents the link between a java class and corresponding Javascript file (or files).
- ClassWriter<JS> - Class in org.stjs.generator.writer.declaration
-
- ClassWriter() - Constructor for class org.stjs.generator.writer.declaration.ClassWriter
-
- close() - Method in class org.stjs.generator.Generator
-
- close() - Method in class org.stjs.generator.javac.CustomClassloaderJavaFileManager
-
- code(String) - Method in interface org.stjs.generator.javascript.JavaScriptBuilder
-
- code(String) - Method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptBuilder
-
- code(String) - Method in class org.stjs.generator.javascript.StringJavaScriptBuilder
-
- comment(T, String) - Method in interface org.stjs.generator.javascript.JavaScriptBuilder
-
- comment(AstNode, String) - Method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptBuilder
-
- comment(String, String) - Method in class org.stjs.generator.javascript.StringJavaScriptBuilder
-
- CommentWriter<JS> - Class in org.stjs.generator.writer
-
add the javadoc comment for the processed nodes.
- CommentWriter() - Constructor for class org.stjs.generator.writer.CommentWriter
-
- compare(Class<?>, Class<?>) - Method in class org.stjs.generator.DependencyCollector.DependencyComparator
-
/**
-1: if "b" or any child type of "b" (at any level) extends from "a" or any of "a"'s child type
1: the other way around
0: if none of the cases
- CompilationUnitWriter<JS> - Class in org.stjs.generator.writer
-
- CompilationUnitWriter() - Constructor for class org.stjs.generator.writer.CompilationUnitWriter
-
- CompoundAssignmentWriter<JS> - Class in org.stjs.generator.writer.expression
-
- CompoundAssignmentWriter() - Constructor for class org.stjs.generator.writer.expression.CompoundAssignmentWriter
-
- conditionalExpression(T, T, T) - Method in interface org.stjs.generator.javascript.JavaScriptBuilder
-
- conditionalExpression(AstNode, AstNode, AstNode) - Method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptBuilder
-
- conditionalExpression(String, String, String) - Method in class org.stjs.generator.javascript.StringJavaScriptBuilder
-
- ConditionalWriter<JS> - Class in org.stjs.generator.writer.expression
-
conditional expr - as in java
- ConditionalWriter() - Constructor for class org.stjs.generator.writer.expression.ConditionalWriter
-
- constructor(NewClassTree) - Static method in class org.stjs.generator.javac.InternalUtils
-
Determines the symbol for a constructor given an invocation via new.
- CONSTRUCTOR - Static variable in class org.stjs.generator.writer.JavascriptKeywords
-
- containsThisConstructorInvocation(MethodTree) - Static method in class org.stjs.generator.javac.TreeUtils
-
- continueStatement(T) - Method in interface org.stjs.generator.javascript.JavaScriptBuilder
-
- continueStatement(AstNode) - Method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptBuilder
-
- continueStatement(String) - Method in class org.stjs.generator.javascript.StringJavaScriptBuilder
-
- ContinueWriter<JS> - Class in org.stjs.generator.writer.statement
-
- ContinueWriter() - Constructor for class org.stjs.generator.writer.statement.ContinueWriter
-
- contribute(C) - Method in class org.stjs.generator.visitor.TreePathScannerContributors
-
- contribute(C, Class<T>) - Method in class org.stjs.generator.visitor.TreePathScannerContributors
-
- contribute(DiscriminatorKey, C) - Method in class org.stjs.generator.visitor.TreePathScannerContributors
-
- contributeCheckVisitor(CheckVisitor) - Method in class org.stjs.generator.plugin.MainGenerationPlugin
-
- contributeCheckVisitor(CheckVisitor) - Method in interface org.stjs.generator.plugin.STJSGenerationPlugin
-
add the check contributors
- contributeWriteVisitor(WriterVisitor<JS>) - Method in class org.stjs.generator.plugin.MainGenerationPlugin
-
- contributeWriteVisitor(WriterVisitor<JS>) - Method in interface org.stjs.generator.plugin.STJSGenerationPlugin
-
add the writer contributors
- copyJavascriptSupport(File) - Method in class org.stjs.generator.Generator
-
This method copies the Javascript support file (stjs.js currently) to the desired folder.
- createArrayType(Types, TypeMirror) - Static method in class org.stjs.generator.javac.TypesUtils
-
Returns an
ArrayType with elements of type
componentType.
- CustomClassloaderJavaFileManager - Class in org.stjs.generator.javac
-
- CustomClassloaderJavaFileManager(ClassLoader, StandardJavaFileManager) - Constructor for class org.stjs.generator.javac.CustomClassloaderJavaFileManager
-
- elementFromDeclaration(ClassTree) - Static method in class org.stjs.generator.javac.TreeUtils
-
Gets the element for a class corresponding to a declaration.
- elementFromDeclaration(MethodTree) - Static method in class org.stjs.generator.javac.TreeUtils
-
Gets the element for a method corresponding to a declaration.
- elementFromDeclaration(VariableTree) - Static method in class org.stjs.generator.javac.TreeUtils
-
Gets the element for a variable corresponding to its declaration.
- elementFromDeclaration(Tree) - Static method in class org.stjs.generator.utils.JavaNodes
-
- elementFromUse(ExpressionTree) - Static method in class org.stjs.generator.javac.TreeUtils
-
Gets the element for the declaration corresponding to this use of an element.
- elementFromUse(MethodInvocationTree) - Static method in class org.stjs.generator.javac.TreeUtils
-
- elementFromUse(NewClassTree) - Static method in class org.stjs.generator.javac.TreeUtils
-
- elementGet(T, T) - Method in interface org.stjs.generator.javascript.JavaScriptBuilder
-
- elementGet(AstNode, AstNode) - Method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptBuilder
-
- elementGet(String, String) - Method in class org.stjs.generator.javascript.StringJavaScriptBuilder
-
- ElementUtils - Class in org.stjs.generator.javac
-
A Utility class for analyzing Elements.
- emptyExpression() - Method in interface org.stjs.generator.javascript.JavaScriptBuilder
-
- emptyExpression() - Method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptBuilder
-
- emptyExpression() - Method in class org.stjs.generator.javascript.StringJavaScriptBuilder
-
- emptyStatement() - Method in interface org.stjs.generator.javascript.JavaScriptBuilder
-
- emptyStatement() - Method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptBuilder
-
- emptyStatement() - Method in class org.stjs.generator.javascript.StringJavaScriptBuilder
-
- EmptyStatementWriter<JS> - Class in org.stjs.generator.writer.statement
-
- EmptyStatementWriter() - Constructor for class org.stjs.generator.writer.statement.EmptyStatementWriter
-
- enclosingClass(Element) - Static method in class org.stjs.generator.javac.ElementUtils
-
Returns the innermost type element enclosing the given element
- enclosingClass(TreePath) - Static method in class org.stjs.generator.javac.TreeUtils
-
Gets the enclosing class of the tree node defined by the given {@link TreePath} .
- enclosingClassSkipAnonymousInitializer(TreePath) - Static method in class org.stjs.generator.check.expression.IdentifierAccessOuterScopeCheck
-
if the block is an anonymous initializer, then return the outer class
- enclosingMethod(TreePath) - Static method in class org.stjs.generator.javac.TreeUtils
-
Gets the enclosing method of the tree node defined by the given {@link TreePath} .
- enclosingOfClass(TreePath, Class<T>) - Static method in class org.stjs.generator.javac.TreeUtils
-
Gets the first enclosing tree in path, of the specified class
- enclosingOfKind(TreePath, Tree.Kind) - Static method in class org.stjs.generator.javac.TreeUtils
-
Gets the first enclosing tree in path, of the specified kind.
- enclosingOfKind(TreePath, Set<Tree.Kind>) - Static method in class org.stjs.generator.javac.TreeUtils
-
Gets the first enclosing tree in path, with any one of the specified kinds.
- enclosingPackage(Element) - Static method in class org.stjs.generator.javac.ElementUtils
-
Returns the innermost package element enclosing the given element.
- enclosingPathOfType(TreePath, Class<T>) - Static method in class org.stjs.generator.javac.TreeUtils
-
Gets the first enclosing tree in path, with any one of the specified kinds.
- enclosingTopLevelBlock(TreePath) - Static method in class org.stjs.generator.javac.TreeUtils
-
- enclosingVariable(TreePath) - Static method in class org.stjs.generator.javac.TreeUtils
-
Gets the enclosing variable of a tree node defined by the given TreePath.
- end(String) - Static method in class org.stjs.generator.utils.Timers
-
- endPosition(AstNode) - Method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptWriter
-
this is only for statements on several lines to be able to catch end of inline function defintions
- EnhancedForLoopWriter<JS> - Class in org.stjs.generator.writer.statement
-
generates from
- EnhancedForLoopWriter() - Constructor for class org.stjs.generator.writer.statement.EnhancedForLoopWriter
-
- equals(Object) - Method in class org.stjs.generator.BridgeClass
-
- equals(Object) - Method in class org.stjs.generator.GenerationContext.AnnotationCacheKey
-
- equals(Object) - Method in class org.stjs.generator.SourcePosition
-
- equals(Object) - Method in class org.stjs.generator.STJSClass
-
- equals(Object) - Method in class org.stjs.generator.visitor.DiscriminatorKey
-
- errorAbort(String) - Method in interface org.stjs.generator.javac.ErrorHandler
-
Log an error message and abort processing.
- errorAbort(String, Throwable) - Method in interface org.stjs.generator.javac.ErrorHandler
-
- errorAbort(String) - Static method in class org.stjs.generator.javac.ErrorReporter
-
Log an error message and abort processing.
- errorAbort(String, Throwable) - Static method in class org.stjs.generator.javac.ErrorReporter
-
- ErrorHandler - Interface in org.stjs.generator.javac
-
An implementation of the ErrorHandler interface can be registered with the ErrorReporter class to change the default
behavior on errors.
- ErrorReporter - Class in org.stjs.generator.javac
-
Handle errors detected in utility classes.
- execute(Class<?>) - Method in class org.stjs.generator.utils.AbstractStjsTest
-
- execute(String) - Method in class org.stjs.generator.utils.AbstractStjsTest
-
- executeAndReturnNumber(Class<?>) - Method in class org.stjs.generator.utils.AbstractStjsTest
-
- executeAndReturnNumber(Class<?>, GeneratorConfiguration) - Method in class org.stjs.generator.utils.AbstractStjsTest
-
- ExecutionResult - Class in org.stjs.generator.executor
-
- ExecutionResult(Object, String, String, int) - Constructor for class org.stjs.generator.executor.ExecutionResult
-
- expressionStatement(T) - Method in interface org.stjs.generator.javascript.JavaScriptBuilder
-
- expressionStatement(AstNode) - Method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptBuilder
-
- expressionStatement(String) - Method in class org.stjs.generator.javascript.StringJavaScriptBuilder
-
- ExpressionStatementWriter<JS> - Class in org.stjs.generator.writer.statement
-
- ExpressionStatementWriter() - Constructor for class org.stjs.generator.writer.statement.ExpressionStatementWriter
-
- generate(Class<?>) - Method in class org.stjs.generator.utils.AbstractStjsTest
-
- generate(Class<?>, GeneratorConfiguration) - Method in class org.stjs.generator.utils.AbstractStjsTest
-
- generateArrayHasOwnProperty(boolean) - Method in class org.stjs.generator.GeneratorConfigurationBuilder
-
- generateJavascript(String, File) - Method in class org.stjs.generator.Generator
-
- generateJavaScript(String) - Method in interface org.stjs.generator.utils.LazyGenerationClassResolver.LazyGenerator
-
- generateSourceMap(boolean) - Method in class org.stjs.generator.GeneratorConfigurationBuilder
-
- generateWithSourcemap(Class<?>) - Method in class org.stjs.generator.utils.AbstractStjsTest
-
- GenerationContext<JS> - Class in org.stjs.generator
-
This class can resolve an identifier or a method in the given source context.
- GenerationContext(File, GeneratorConfiguration, JavaScriptNameProvider, Trees, Map<GenerationContext.AnnotationCacheKey, Object>, JavaScriptBuilder<JS>) - Constructor for class org.stjs.generator.GenerationContext
-
- GenerationContext.AnnotationCacheKey - Class in org.stjs.generator
-
- GenerationContext.AnnotationCacheKey(Class<? extends Annotation>, Element) - Constructor for class org.stjs.generator.GenerationContext.AnnotationCacheKey
-
- GenerationContext.DummyTree - Class in org.stjs.generator
-
this is a dummy try just to have the wrapper thing working for cases where only the element is available
- GenerationContext.DummyTree() - Constructor for class org.stjs.generator.GenerationContext.DummyTree
-
- GenerationDirectory - Class in org.stjs.generator
-
This class is used to provide the different parts of the target directory:
the absolute path to the directory in which the generated .js source files are placed (during generation)
the part relative to the project's directory used when the classpath for tests is built
the path in the classpath of the final artifact in which the generated .js source files are placed.
- GenerationDirectory(File, File, URI) - Constructor for class org.stjs.generator.GenerationDirectory
-
- generationFolder(GenerationDirectory) - Method in class org.stjs.generator.GeneratorConfigurationBuilder
-
- GenerationPlugins<JS> - Class in org.stjs.generator.plugin
-
This class contains all the generation plugins defined by the users and the default ones
- GenerationPlugins() - Constructor for class org.stjs.generator.plugin.GenerationPlugins
-
- Generator - Class in org.stjs.generator
-
This class parses a Java source file, launches several visitors and finally generate the corresponding Javascript.
- Generator(GeneratorConfiguration) - Constructor for class org.stjs.generator.Generator
-
- GeneratorConfiguration - Class in org.stjs.generator
-
- GeneratorConfigurationBuilder - Class in org.stjs.generator
-
Use this class to build a configuration needed by the
Generator
- GeneratorConfigurationBuilder() - Constructor for class org.stjs.generator.GeneratorConfigurationBuilder
-
- GeneratorConfigurationBuilder(GeneratorConfiguration) - Constructor for class org.stjs.generator.GeneratorConfigurationBuilder
-
- GeneratorConstants - Class in org.stjs.generator
-
- getAllFieldsIn(TypeElement) - Static method in class org.stjs.generator.javac.ElementUtils
-
Return all fields declared in the given type or any superclass/interface.
- getAllMethodsIn(TypeElement) - Static method in class org.stjs.generator.javac.ElementUtils
-
Return all methods declared in the given type or any superclass/interface.
- getAllMethodsIn(TypeElement, boolean) - Static method in class org.stjs.generator.javac.ElementUtils
-
- getAllowedJavaLangClasses() - Method in class org.stjs.generator.GeneratorConfiguration
-
- getAllowedPackages() - Method in class org.stjs.generator.GeneratorConfiguration
-
- getAnnotation(Element, Class<T>) - Method in class org.stjs.generator.GenerationContext
-
- getAnnotation(Elements, Element, Class<T>) - Static method in class org.stjs.generator.javac.AnnotationHelper
-
- getAnnotation(Class<?>, Class<T>) - Static method in class org.stjs.generator.utils.ClassUtils
-
- getAnnotations() - Method in class org.stjs.generator.GeneratorConfiguration
-
these are annotations to be generated
- getAssignmentContext(TreePath) - Static method in class org.stjs.generator.javac.TreeUtils
-
Returns the tree with the assignment context for the treePath leaf node.
- getAssignOperator(CompoundAssignmentTree, GenerationContext<JS>) - Static method in class org.stjs.generator.writer.templates.fields.DefaultCompoundAssignmentTemplate
-
- getBinaryOperator() - Method in enum org.stjs.generator.javascript.AssignOperator
-
- getBinaryOperator(UnaryOperator) - Method in class org.stjs.generator.writer.templates.fields.SetterUnaryTemplate
-
- getBuiltProjectClassLoader() - Method in class org.stjs.generator.GenerationContext
-
- getChecks() - Method in class org.stjs.generator.GenerationContext
-
- getCheckVisitor() - Method in class org.stjs.generator.plugin.GenerationPlugins
-
- getClassLoader(JavaFileManager.Location) - Method in class org.stjs.generator.javac.CustomClassloaderJavaFileManager
-
- getClassName() - Method in exception org.stjs.generator.JavascriptClassGenerationException
-
- getClassName(ClassTree, GenerationContext<JS>) - Method in class org.stjs.generator.writer.declaration.ClassWriter
-
- getClasspath() - Method in class org.stjs.generator.GenerationDirectory
-
- getClassResolver() - Method in class org.stjs.generator.GeneratorConfiguration
-
- getClazz(ClassLoader, String) - Static method in class org.stjs.generator.utils.ClassUtils
-
- getColumn() - Method in class org.stjs.generator.SourcePosition
-
- getColumnNumber(AstNode) - Static method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptBuilder
-
- getCompilationUnit() - Method in class org.stjs.generator.GenerationContext
-
- getConfiguration() - Method in class org.stjs.generator.GenerationContext
-
- getContext() - Method in class org.stjs.generator.javac.TreeWrapper
-
- getCurrentPath() - Method in class org.stjs.generator.GenerationContext
-
- getCurrentPath() - Method in interface org.stjs.generator.visitor.TreePathHolder
-
- getCurrentType() - Method in class org.stjs.generator.javac.TreeWrapper
-
- getCurrentWrapper() - Method in class org.stjs.generator.GenerationContext
-
- getDependencyType(String) - Static method in enum org.stjs.generator.name.DependencyType
-
- getDirectDependencies() - Method in class org.stjs.generator.BridgeClass
-
- getDirectDependencies() - Method in interface org.stjs.generator.ClassWithJavascript
-
- getDirectDependencies() - Method in class org.stjs.generator.STJSClass
-
- getDirectDependencyMap() - Method in class org.stjs.generator.BridgeClass
-
- getDirectDependencyMap() - Method in interface org.stjs.generator.ClassWithJavascript
-
- getDirectDependencyMap() - Method in class org.stjs.generator.STJSClass
-
- getDoubleBracesBlock(NewClassTree) - Static method in class org.stjs.generator.writer.expression.NewClassWriter
-
- getElement() - Method in class org.stjs.generator.javac.TreeWrapper
-
- getElements() - Method in class org.stjs.generator.GenerationContext
-
- getEnclosingType() - Method in class org.stjs.generator.javac.TreeWrapper
-
- getEnclosingType(TypeMirror) - Static method in class org.stjs.generator.utils.JavaNodes
-
- getEndColumnNumber(AstNode) - Static method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptBuilder
-
- getEndLineNumber(AstNode) - Static method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptBuilder
-
- getExceptions() - Method in exception org.stjs.generator.MultipleFileGenerationException
-
- getExistingStjsClass(ClassLoader, Class<?>) - Method in class org.stjs.generator.Generator
-
This method assumes the javascript code for the given class was already generated
- getExitValue() - Method in class org.stjs.generator.executor.ExecutionResult
-
- getField(String, String, ProcessingEnvironment) - Static method in class org.stjs.generator.javac.TreeUtils
-
Returns the VariableElement for a field declaration.
- getField(TreeWrapper<? extends Tree, JS>, GenerationContext<JS>) - Static method in class org.stjs.generator.writer.templates.fields.GetterIdentifierTemplate
-
- getField(TreeWrapper<? extends Tree, JS>, GenerationContext<JS>) - Static method in class org.stjs.generator.writer.templates.fields.SetterAssignmentTemplate
-
- getFieldName(Tree) - Static method in class org.stjs.generator.javac.TreeUtils
-
Compute the name of the field that the field access tree accesses.
- getFieldTemplate() - Method in class org.stjs.generator.javac.TreeWrapper
-
- getFieldTemplateParameters() - Method in class org.stjs.generator.javac.TreeWrapper
-
- getFile() - Method in class org.stjs.generator.SourcePosition
-
- getFileForInput(JavaFileManager.Location, String, String) - Method in class org.stjs.generator.javac.CustomClassloaderJavaFileManager
-
- getFileForOutput(JavaFileManager.Location, String, String, FileObject) - Method in class org.stjs.generator.javac.CustomClassloaderJavaFileManager
-
- getGeneratedSourcesAbsolutePath() - Method in class org.stjs.generator.GenerationDirectory
-
- getGeneratedSourcesRuntimePath() - Method in class org.stjs.generator.GenerationDirectory
-
- getGenerationFolder() - Method in class org.stjs.generator.GeneratorConfiguration
-
- getId() - Method in class org.stjs.generator.visitor.DiscriminatorKey
-
- getInputFile() - Method in class org.stjs.generator.GenerationContext
-
- getJava() - Method in enum org.stjs.generator.javascript.AssignOperator
-
- getJava() - Method in enum org.stjs.generator.javascript.BinaryOperator
-
- getJava() - Method in enum org.stjs.generator.javascript.UnaryOperator
-
- getJavacContext(ProcessingEnvironment) - Static method in class org.stjs.generator.javac.InternalUtils
-
Helper function to extract the javac Context from the javac processing environment.
- getJavaClass() - Method in class org.stjs.generator.BridgeClass
-
- getJavaClass() - Method in interface org.stjs.generator.ClassWithJavascript
-
- getJavaClass() - Method in class org.stjs.generator.STJSClass
-
- getJavaClassName() - Method in class org.stjs.generator.BridgeClass
-
- getJavaClassName() - Method in interface org.stjs.generator.ClassWithJavascript
-
- getJavaClassName() - Method in class org.stjs.generator.STJSClass
-
- getJavaFileForInput(JavaFileManager.Location, String, JavaFileObject.Kind) - Method in class org.stjs.generator.javac.CustomClassloaderJavaFileManager
-
- getJavaFileForOutput(JavaFileManager.Location, String, JavaFileObject.Kind, FileObject) - Method in class org.stjs.generator.javac.CustomClassloaderJavaFileManager
-
- getJavaLine(String, int) - Method in class org.stjs.generator.sourcemap.JavascriptToJava
-
- getJavaScript() - Method in enum org.stjs.generator.javascript.AssignOperator
-
- getJavaScript() - Method in enum org.stjs.generator.javascript.BinaryOperator
-
- getJavaScript() - Method in enum org.stjs.generator.javascript.Keyword
-
- getJavaScript() - Method in enum org.stjs.generator.javascript.UnaryOperator
-
- getJavascriptClassName() - Method in class org.stjs.generator.BridgeClass
-
- getJavascriptClassName() - Method in interface org.stjs.generator.ClassWithJavascript
-
- getJavascriptClassName() - Method in class org.stjs.generator.STJSClass
-
- getJavascriptFiles() - Method in class org.stjs.generator.BridgeClass
-
- getJavascriptFiles() - Method in interface org.stjs.generator.ClassWithJavascript
-
- getJavascriptFiles() - Method in class org.stjs.generator.STJSClass
-
- getJavascriptNamespace() - Method in class org.stjs.generator.BridgeClass
-
- getJavascriptNamespace() - Method in interface org.stjs.generator.ClassWithJavascript
-
- getJavascriptNamespace() - Method in class org.stjs.generator.STJSClass
-
- getKind() - Method in class org.stjs.generator.GenerationContext.DummyTree
-
- getLine() - Method in class org.stjs.generator.SourcePosition
-
- getLineNumber(AstNode) - Static method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptBuilder
-
- getMemberTarget(TreeWrapper<T, JS>) - Method in class org.stjs.generator.writer.declaration.AbstractMemberWriter
-
- getMethod(String, String, int, ProcessingEnvironment) - Static method in class org.stjs.generator.javac.TreeUtils
-
Returns the ExecutableElement for a method declaration of methodName, in class typeName, with params parameters.
- getMethodName(Tree) - Static method in class org.stjs.generator.javac.TreeUtils
-
Compute the name of the method that the method access tree accesses.
- getMethodName(GenerationContext<?>, MethodTree, TreePath) - Method in class org.stjs.generator.name.DefaultJavaScriptNameProvider
-
- getMethodName(GenerationContext<?>, MethodInvocationTree, TreePath) - Method in class org.stjs.generator.name.DefaultJavaScriptNameProvider
-
- getMethodName(GenerationContext<?>, MethodTree, TreePath) - Method in interface org.stjs.generator.name.JavaScriptNameProvider
-
- getMethodName(GenerationContext<?>, MethodInvocationTree, TreePath) - Method in interface org.stjs.generator.name.JavaScriptNameProvider
-
- getMethodTemplate() - Method in class org.stjs.generator.javac.TreeWrapper
-
- getMethodTemplateParameters() - Method in class org.stjs.generator.javac.TreeWrapper
-
- getName() - Method in class org.stjs.generator.javascript.NameValue
-
- getNames() - Method in class org.stjs.generator.GenerationContext
-
- getNamespace() - Method in class org.stjs.generator.javac.TreeWrapper
-
- getOnlyElement(Iterable<T>) - Static method in class org.stjs.generator.utils.Lists
-
- getOrElse(T) - Method in class org.stjs.generator.utils.Option
-
If the option is nonempty returns its value, otherwise returns defaultValue.
- getOrNull() - Method in class org.stjs.generator.utils.Option
-
If the option is nonempty returns its value, otherwise returns null.
- getOrThrow() - Method in class org.stjs.generator.utils.Option
-
Gets the value of this option.
- getOrThrow(String) - Method in class org.stjs.generator.utils.Option
-
Gets the value of this option.
- getOrThrow(E) - Method in class org.stjs.generator.utils.Option
-
Returns its value if not empty, otherwise throws e.
- getOutputFile(File, String) - Method in class org.stjs.generator.Generator
-
- getOutputFile(File, String, boolean) - Method in class org.stjs.generator.Generator
-
- getParams(List<? extends VariableTree>, GenerationContext<JS>) - Static method in class org.stjs.generator.writer.declaration.MethodWriter
-
- getParentClassName(String) - Method in class org.stjs.generator.DefaultClassResolver
-
- getPath() - Method in class org.stjs.generator.javac.TreeWrapper
-
- getPrefix() - Method in enum org.stjs.generator.name.DependencyType
-
- getPropertiesFileName(String) - Static method in class org.stjs.generator.utils.ClassUtils
-
- getPropertyName(MethodInvocationTree) - Static method in class org.stjs.generator.writer.templates.MethodToPropertyTemplate
-
- getQualifiedClassName(Element) - Static method in class org.stjs.generator.javac.ElementUtils
-
Returns the qualified name of the inner most class enclosing the provided Element
- getQualifiedName(DeclaredType) - Static method in class org.stjs.generator.javac.TypesUtils
-
Gets the fully qualified name for a provided type.
- getReceiverTree(ExpressionTree) - Static method in class org.stjs.generator.javac.TreeUtils
-
Returns the receiver tree of a field access or a method invocation
- getResolvedTypes() - Method in class org.stjs.generator.name.DefaultJavaScriptNameProvider
-
- getResolvedTypes() - Method in interface org.stjs.generator.name.JavaScriptNameProvider
-
- getResult() - Method in class org.stjs.generator.executor.ExecutionResult
-
- getRetentionType(Tree) - Static method in class org.stjs.generator.javac.AnnotationHelper
-
- getSameMethodFromParents(ExecutableElement) - Static method in class org.stjs.generator.javac.ElementUtils
-
- getSimpleName(Element) - Static method in class org.stjs.generator.javac.InternalUtils
-
- getSourceEncoding() - Method in class org.stjs.generator.GeneratorConfiguration
-
- getSourceMapGenerator() - Method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptWriter
-
- getSourcePosition() - Method in exception org.stjs.generator.JavascriptFileGenerationException
-
- getStartLine(Tree) - Method in class org.stjs.generator.GenerationContext
-
- getStdErr() - Method in class org.stjs.generator.executor.ExecutionResult
-
- getStdOut() - Method in class org.stjs.generator.executor.ExecutionResult
-
- getStjsClassLoader() - Method in class org.stjs.generator.GeneratorConfiguration
-
- getStjsPropertiesFile() - Method in class org.stjs.generator.STJSClass
-
- getSuperTypes(TypeElement) - Static method in class org.stjs.generator.javac.ElementUtils
-
Determine all type elements for the classes and interfaces referenced in the extends/implements clauses of the given type element.
- getSuperTypes(TypeElement, boolean) - Static method in class org.stjs.generator.javac.ElementUtils
-
- getTarget(WriterVisitor<JS>, TreeWrapper<? extends Tree, JS>, GenerationContext<JS>) - Static method in class org.stjs.generator.writer.templates.fields.GetterIdentifierTemplate
-
- getTarget(WriterVisitor<JS>, TreeWrapper<? extends Tree, JS>, GenerationContext<JS>) - Static method in class org.stjs.generator.writer.templates.fields.SetterAssignmentTemplate
-
- getTargetFolder() - Method in class org.stjs.generator.GeneratorConfiguration
-
- GetTemplate<JS> - Class in org.stjs.generator.writer.templates
-
array.$get(x) -> array[x], or $get(obj, prop) -> obj[prop]
- GetTemplate() - Constructor for class org.stjs.generator.writer.templates.GetTemplate
-
- GetterIdentifierTemplate<JS> - Class in org.stjs.generator.writer.templates.fields
-
- GetterIdentifierTemplate() - Constructor for class org.stjs.generator.writer.templates.fields.GetterIdentifierTemplate
-
- GetterMemberSelectTemplate<JS> - Class in org.stjs.generator.writer.templates.fields
-
write member select access, for fields, types and methods.
- GetterMemberSelectTemplate() - Constructor for class org.stjs.generator.writer.templates.fields.GetterMemberSelectTemplate
-
- getTHISParamPos(List<? extends VariableTree>) - Static method in class org.stjs.generator.writer.declaration.MethodWriter
-
- getTree() - Method in class org.stjs.generator.javac.TreeWrapper
-
- getTrees() - Method in class org.stjs.generator.GenerationContext
-
- getType(Element) - Static method in class org.stjs.generator.javac.ElementUtils
-
Returns the TypeMirror for usage of Element as a value.
- getTypeName(DependencyType) - Method in class org.stjs.generator.javac.TreeWrapper
-
- getTypeName(GenerationContext<?>, TypeMirror, DependencyType) - Method in class org.stjs.generator.name.DefaultJavaScriptNameProvider
-
- getTypeName(GenerationContext<?>, Element, DependencyType) - Method in class org.stjs.generator.name.DefaultJavaScriptNameProvider
-
- getTypeName(String) - Static method in enum org.stjs.generator.name.DependencyType
-
- getTypeName(GenerationContext<?>, TypeMirror, DependencyType) - Method in interface org.stjs.generator.name.JavaScriptNameProvider
-
- getTypeName(GenerationContext<?>, Element, DependencyType) - Method in interface org.stjs.generator.name.JavaScriptNameProvider
-
- getTypes() - Method in class org.stjs.generator.GenerationContext
-
- getTypeWithPrefix(String, DependencyType) - Static method in enum org.stjs.generator.name.DependencyType
-
- getValue() - Method in class org.stjs.generator.javascript.NameValue
-
- getValue() - Method in class org.stjs.generator.visitor.DiscriminatorKey
-
- getVariableName(GenerationContext<?>, IdentifierTree, TreePath) - Method in class org.stjs.generator.name.DefaultJavaScriptNameProvider
-
- getVariableName(GenerationContext<?>, IdentifierTree, TreePath) - Method in interface org.stjs.generator.name.JavaScriptNameProvider
-
- getVerboseName(Element) - Static method in class org.stjs.generator.javac.ElementUtils
-
Returns a verbose name that identifies the element.
- getWriterVisitor() - Method in class org.stjs.generator.plugin.GenerationPlugins
-
- GlobalGetterIdentifierTemplate<JS> - Class in org.stjs.generator.writer.templates.fields
-
- GlobalGetterIdentifierTemplate() - Constructor for class org.stjs.generator.writer.templates.fields.GlobalGetterIdentifierTemplate
-
- GlobalGetterMemberSelectTemplate<JS> - Class in org.stjs.generator.writer.templates.fields
-
write member select access, for fields, types and methods.
- GlobalGetterMemberSelectTemplate() - Constructor for class org.stjs.generator.writer.templates.fields.GlobalGetterMemberSelectTemplate
-
- GlobalSetterAssignmentTemplate<JS> - Class in org.stjs.generator.writer.templates.fields
-
- GlobalSetterAssignmentTemplate() - Constructor for class org.stjs.generator.writer.templates.fields.GlobalSetterAssignmentTemplate
-
- GlobalSetterCompoundAssignmentTemplate<JS> - Class in org.stjs.generator.writer.templates.fields
-
Java unary operator
- GlobalSetterCompoundAssignmentTemplate() - Constructor for class org.stjs.generator.writer.templates.fields.GlobalSetterCompoundAssignmentTemplate
-
- GlobalSetterUnaryTemplate<JS> - Class in org.stjs.generator.writer.templates.fields
-
Java unary operator
- GlobalSetterUnaryTemplate() - Constructor for class org.stjs.generator.writer.templates.fields.GlobalSetterUnaryTemplate
-
- greatestLowerBound(ProcessingEnvironment, TypeMirror, TypeMirror) - Static method in class org.stjs.generator.javac.InternalUtils
-
Returns the greatest lower bound of two
TypeMirrors.
- IdentifierAccessOuterScopeCheck - Class in org.stjs.generator.check.expression
-
- IdentifierAccessOuterScopeCheck() - Constructor for class org.stjs.generator.check.expression.IdentifierAccessOuterScopeCheck
-
- IdentifierAccessServerSideCheck - Class in org.stjs.generator.check.expression
-
- IdentifierAccessServerSideCheck() - Constructor for class org.stjs.generator.check.expression.IdentifierAccessServerSideCheck
-
- IdentifierGlobalScopeNameClashCheck - Class in org.stjs.generator.check.expression
-
this class checks that you don't use in the same method variables or parameters with the same name as a global scoped
field.
- IdentifierGlobalScopeNameClashCheck() - Constructor for class org.stjs.generator.check.expression.IdentifierGlobalScopeNameClashCheck
-
- IdentifierWriter<JS> - Class in org.stjs.generator.writer.expression
-
this class deal with identifiers likes variable, field references.
- IdentifierWriter() - Constructor for class org.stjs.generator.writer.expression.IdentifierWriter
-
- ifStatement(T, T, T) - Method in interface org.stjs.generator.javascript.JavaScriptBuilder
-
- ifStatement(AstNode, AstNode, AstNode) - Method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptBuilder
-
- ifStatement(String, String, String) - Method in class org.stjs.generator.javascript.StringJavaScriptBuilder
-
- IfWriter<JS> - Class in org.stjs.generator.writer.statement
-
- IfWriter() - Constructor for class org.stjs.generator.writer.statement.IfWriter
-
- indent() - Method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptWriter
-
- inferBinaryName(JavaFileManager.Location, JavaFileObject) - Method in class org.stjs.generator.javac.CustomClassloaderJavaFileManager
-
- InstanceofWriter<JS> - Class in org.stjs.generator.writer.expression
-
- InstanceofWriter() - Constructor for class org.stjs.generator.writer.expression.InstanceofWriter
-
- InternalUtils - Class in org.stjs.generator.javac
-
Static utility methods used by annotation abstractions in this package.
- InvokeTemplate<JS> - Class in org.stjs.generator.writer.templates
-
x.$invoke(a,b) -> x(a,b)
- InvokeTemplate() - Constructor for class org.stjs.generator.writer.templates.InvokeTemplate
-
- isAbstract() - Method in class org.stjs.generator.javac.TreeWrapper
-
- isAnonymousConstructor(MethodTree) - Static method in class org.stjs.generator.javac.InternalUtils
-
Determines whether or not the node referred to by the given TreePath is an anonymous
constructor (the constructor for an anonymous class.
- isBooleanType(TypeMirror) - Static method in class org.stjs.generator.javac.TypesUtils
-
Checks if the type represents a boolean type, that is either boolean (primitive type) or java.lang.Boolean.
- isBoxedPrimitive(TypeMirror) - Static method in class org.stjs.generator.javac.TypesUtils
-
- isBridge(ClassLoader, Class<?>) - Static method in class org.stjs.generator.utils.ClassUtils
-
- isClass(TypeMirror) - Static method in class org.stjs.generator.javac.TypesUtils
-
Checks if the type represents a java.lang.Class declared type.
- isClassType(TypeMirror) - Static method in class org.stjs.generator.javac.InternalUtils
-
Returns whether a TypeMirror represents a class type.
- isCompileTimeConstant(Element) - Static method in class org.stjs.generator.javac.ElementUtils
-
Returns true if the element is a constant time reference
- isCompileTimeString(ExpressionTree) - Static method in class org.stjs.generator.javac.TreeUtils
-
Returns true if the node is a constant-time expression.
- isConstructor(MethodTree) - Static method in class org.stjs.generator.javac.TreeUtils
-
Checks if the provided method is a constructor method or no.
- isConstructor(Tree) - Static method in class org.stjs.generator.utils.JavaNodes
-
- isContinueScanning() - Method in class org.stjs.generator.visitor.TreePathScannerContributors
-
- isDeclaredOfName(TypeMirror, CharSequence) - Static method in class org.stjs.generator.javac.TypesUtils
-
Check if the type represent a declared type of the given qualified name
- isDefined() - Method in class org.stjs.generator.utils.Option
-
Returns true if the option is a Some(...).
- isDiamondTree(Tree) - Static method in class org.stjs.generator.javac.TreeUtils
-
Returns true if the tree is of a diamond type
- isElementFromByteCode(Element) - Static method in class org.stjs.generator.javac.ElementUtils
-
Returns true if the element is declared in ByteCode.
- isEmpty() - Method in class org.stjs.generator.utils.Option
-
Returns true if the option is the None value.
- isEnumSuper(MethodInvocationTree) - Static method in class org.stjs.generator.javac.TreeUtils
-
- isError(Element) - Static method in class org.stjs.generator.javac.ElementUtils
-
- isExpressionTree(Tree) - Static method in class org.stjs.generator.javac.TreeUtils
-
Determine whether the given tree represents an ExpressionTree.
- isFieldAccess(Tree) - Static method in class org.stjs.generator.javac.TreeUtils
-
Determine whether tree is a field access expressions, such as
- isFinal(Element) - Static method in class org.stjs.generator.javac.ElementUtils
-
Returns true if the element is a final element: a final field, final method, or final class
- isFinal() - Method in class org.stjs.generator.javac.TreeWrapper
-
- isFinal(VariableTree) - Static method in class org.stjs.generator.utils.JavaNodes
-
- isFloating(TypeMirror) - Static method in class org.stjs.generator.javac.TypesUtils
-
Returns true iff the argument is a floating point type.
- isGenerateArrayHasOwnProperty() - Method in class org.stjs.generator.GeneratorConfiguration
-
- isGenerateSourceMap() - Method in class org.stjs.generator.GeneratorConfiguration
-
- isGlobal() - Method in class org.stjs.generator.javac.TreeWrapper
-
- isInitializationBlock(TreePath) - Static method in class org.stjs.generator.check.statement.BlockInstanceCheck
-
- isInnerType() - Method in class org.stjs.generator.javac.TreeWrapper
-
- isInnerType(Element) - Static method in class org.stjs.generator.utils.JavaNodes
-
- isIntegral(TypeMirror) - Static method in class org.stjs.generator.javac.TypesUtils
-
Returns true iff the argument is an integral type.
- isJavaScriptFunction() - Method in class org.stjs.generator.javac.TreeWrapper
-
- isJavaScriptPrimitive() - Method in class org.stjs.generator.javac.TreeWrapper
-
- isJavaScriptPrimitive(TypeMirror) - Static method in class org.stjs.generator.utils.JavaNodes
-
- isMainMethod(MethodTree) - Static method in class org.stjs.generator.writer.declaration.ClassWriter
-
- isMethodAccess(Tree) - Static method in class org.stjs.generator.javac.TreeUtils
-
Determine whether tree refers to a method element, such as
- isMethodInvocation(Tree, ExecutableElement, ProcessingEnvironment) - Static method in class org.stjs.generator.javac.TreeUtils
-
Returns true if the given element is an invocation of the method, or of any method that overrides that one.
- isNative() - Method in class org.stjs.generator.javac.TreeWrapper
-
- isNative(Element) - Static method in class org.stjs.generator.utils.JavaNodes
-
- isNullOrEmpty(Collection<T>) - Static method in class org.stjs.generator.utils.Lists
-
- isNumeric(TypeMirror) - Static method in class org.stjs.generator.javac.TypesUtils
-
Returns true iff the argument is a primitive numeric type.
- isObject(TypeElement) - Static method in class org.stjs.generator.javac.ElementUtils
-
Check if the element is an element for 'java.lang.Object'
- isObject(TypeMirror) - Static method in class org.stjs.generator.javac.TypesUtils
-
Checks if the type represents a java.lang.Object declared type.
- isOnlyOneFinalContributor() - Method in class org.stjs.generator.visitor.TreePathScannerContributors
-
- isOuterType(GenerationContext<Void>, TypeElement, TypeElement) - Static method in class org.stjs.generator.check.expression.IdentifierAccessOuterScopeCheck
-
true if outerType is striclty the outer type of the subtype
- isPostfix() - Method in enum org.stjs.generator.javascript.UnaryOperator
-
- isPrimitive(TypeMirror) - Static method in class org.stjs.generator.javac.TypesUtils
-
Returns true iff the argument is a primitive type.
- isPrimitiveType() - Method in class org.stjs.generator.javac.TreeWrapper
-
- isRegularInstanceField(Element, IdentifierTree) - Static method in class org.stjs.generator.check.expression.IdentifierAccessOuterScopeCheck
-
- isReservedWord(String) - Static method in class org.stjs.generator.writer.JavascriptKeywords
-
- isSameFile(FileObject, FileObject) - Method in class org.stjs.generator.javac.CustomClassloaderJavaFileManager
-
- isSelfAccess(ExpressionTree) - Static method in class org.stjs.generator.javac.TreeUtils
-
Returns true if the tree is a tree that 'looks like' either an access of a field or an invocation of a method
that are owned by the same accessing instance.
- isServerSide() - Method in class org.stjs.generator.javac.TreeWrapper
-
- isSpecificFieldAccess(Tree, VariableElement) - Static method in class org.stjs.generator.javac.TreeUtils
-
Returns true if and only if the given
tree represents a field access of the given
VariableElement
.
- isStatic(Element) - Static method in class org.stjs.generator.javac.ElementUtils
-
Returns true if the element is a static element: whether it is a static field, static method, or static class
- isStatic() - Method in class org.stjs.generator.javac.TreeWrapper
-
- isStatic(MethodTree) - Static method in class org.stjs.generator.utils.JavaNodes
-
- isStatic(Element) - Static method in class org.stjs.generator.utils.JavaNodes
-
- isStricter(DependencyType) - Method in enum org.stjs.generator.name.DependencyType
-
- isString(TypeMirror) - Static method in class org.stjs.generator.javac.TypesUtils
-
Checks if the type represents a java.lang.String declared type.
- isStringCompoundConcatenation(CompoundAssignmentTree) - Static method in class org.stjs.generator.javac.TreeUtils
-
Returns true if the compound assignment tree is a string concatenation
- isStringConcatenation(Tree) - Static method in class org.stjs.generator.javac.TreeUtils
-
Returns true if the tree represents a String concatenation operation
- isSuper() - Method in class org.stjs.generator.javac.TreeWrapper
-
- isSuper(ExpressionTree) - Static method in class org.stjs.generator.utils.JavaNodes
-
- isSuperCall(MethodInvocationTree) - Static method in class org.stjs.generator.javac.TreeUtils
-
Checks if the method invocation is a call to super.
- isSupportedOption(String) - Method in class org.stjs.generator.javac.CustomClassloaderJavaFileManager
-
- isSynthetic(Tree) - Static method in class org.stjs.generator.javac.InternalUtils
-
- isSyntheticConstructor(Tree) - Static method in class org.stjs.generator.javac.InternalUtils
-
- isSyntheticType() - Method in class org.stjs.generator.javac.TreeWrapper
-
- isThrowable(TypeMirror) - Static method in class org.stjs.generator.javac.TypesUtils
-
- isTypeKind(Element) - Static method in class org.stjs.generator.javac.ElementUtils
-
- isTypeTree(Tree) - Static method in class org.stjs.generator.javac.TreeUtils
-
Is the given tree a type instantiation?
TODO: this is an under-approximation: e.g.
- isUseOfElement(ExpressionTree) - Static method in class org.stjs.generator.javac.TreeUtils
-
Determine whether the given ExpressionTree has an underlying element.
- isVarArg(Tree) - Static method in class org.stjs.generator.javac.InternalUtils
-
- MainGenerationPlugin<JS> - Class in org.stjs.generator.plugin
-
this is the main generation plugin that adds all the needed checks and writers.
- MainGenerationPlugin() - Constructor for class org.stjs.generator.plugin.MainGenerationPlugin
-
- makeIndent() - Method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptWriter
-
- MapTemplate<JS> - Class in org.stjs.generator.writer.templates
-
$map(n1, v1, n2, v2) -> {n1: v1, n2: v2}
- MapTemplate() - Constructor for class org.stjs.generator.writer.templates.MapTemplate
-
- MemberSelectGlobalScopeNameClashCheck - Class in org.stjs.generator.check.expression
-
- MemberSelectGlobalScopeNameClashCheck() - Constructor for class org.stjs.generator.check.expression.MemberSelectGlobalScopeNameClashCheck
-
- MemberSelectOuterScopeCheck - Class in org.stjs.generator.check.expression
-
this check that you don't try to access the outer this using Type.this.
- MemberSelectOuterScopeCheck() - Constructor for class org.stjs.generator.check.expression.MemberSelectOuterScopeCheck
-
- MemberSelectServerSideCheck - Class in org.stjs.generator.check.expression
-
- MemberSelectServerSideCheck() - Constructor for class org.stjs.generator.check.expression.MemberSelectServerSideCheck
-
- MemberSelectWriter<JS> - Class in org.stjs.generator.writer.expression
-
write member select access, for fields, types and methods.
- MemberSelectWriter() - Constructor for class org.stjs.generator.writer.expression.MemberSelectWriter
-
- MemberWriters - Class in org.stjs.generator.writer
-
- MethodDeclarationTemplateCheck - Class in org.stjs.generator.check.declaration
-
this class verifies that you use @Template only inside a bridge
- MethodDeclarationTemplateCheck() - Constructor for class org.stjs.generator.check.declaration.MethodDeclarationTemplateCheck
-
- MethodInvocationMapConstructorCheck - Class in org.stjs.generator.check.expression
-
this class checks that you use only literals for a map key: i.e.
- MethodInvocationMapConstructorCheck() - Constructor for class org.stjs.generator.check.expression.MethodInvocationMapConstructorCheck
-
- MethodInvocationOuterScopeCheck - Class in org.stjs.generator.check.expression
-
this check verifies that you don't call a method from the outer type as in javaScript this scope is not accessible.
- MethodInvocationOuterScopeCheck() - Constructor for class org.stjs.generator.check.expression.MethodInvocationOuterScopeCheck
-
- MethodInvocationServerSideCheck - Class in org.stjs.generator.check.expression
-
this check verifies that you don't call a method from the outer type as in javaScript this scope is not accessible.
- MethodInvocationServerSideCheck() - Constructor for class org.stjs.generator.check.expression.MethodInvocationServerSideCheck
-
- MethodInvocationSuperSynthCheck - Class in org.stjs.generator.check.expression
-
this check verifies that you don't call a method from the super type if that is a synthetic type, as the actual
definition of this type does not exist.
- MethodInvocationSuperSynthCheck() - Constructor for class org.stjs.generator.check.expression.MethodInvocationSuperSynthCheck
-
- MethodInvocationWriter<JS> - Class in org.stjs.generator.writer.expression
-
- MethodInvocationWriter() - Constructor for class org.stjs.generator.writer.expression.MethodInvocationWriter
-
- methodName(MethodInvocationTree) - Static method in class org.stjs.generator.javac.TreeUtils
-
- MethodOverloadCheck - Class in org.stjs.generator.check.declaration
-
this check verifies that only one method (or constructor) with a given name has actually a body, all the other should be marked as native (or
- MethodOverloadCheck() - Constructor for class org.stjs.generator.check.declaration.MethodOverloadCheck
-
- MethodSynchronizedCheck - Class in org.stjs.generator.check.declaration
-
this class checks that you don't have synchornized methods, as this feature is not supported in JavaScript
- MethodSynchronizedCheck() - Constructor for class org.stjs.generator.check.declaration.MethodSynchronizedCheck
-
- MethodToPropertyTemplate<JS> - Class in org.stjs.generator.writer.templates
-
$method() => $method and
$method(x) => $method = x and $staticMethod(x) => x.$method and
$staticMethod(x, y) => x.$method = y
- MethodToPropertyTemplate() - Constructor for class org.stjs.generator.writer.templates.MethodToPropertyTemplate
-
- MethodVarArgParamCheck - Class in org.stjs.generator.check.declaration
-
- MethodVarArgParamCheck() - Constructor for class org.stjs.generator.check.declaration.MethodVarArgParamCheck
-
- MethodWriter<JS> - Class in org.stjs.generator.writer.declaration
-
- MethodWriter() - Constructor for class org.stjs.generator.writer.declaration.MethodWriter
-
- MethodWrongNameCheck - Class in org.stjs.generator.check.declaration
-
- MethodWrongNameCheck() - Constructor for class org.stjs.generator.check.declaration.MethodWrongNameCheck
-
- MultipleFileGenerationException - Exception in org.stjs.generator
-
- MultipleFileGenerationException(List<JavascriptFileGenerationException>) - Constructor for exception org.stjs.generator.MultipleFileGenerationException
-
- MultipleVariableWriter<JS> - Class in org.stjs.generator.writer.statement
-
this is a special writer called from a block to handle the case of multiple variables declarated on the same line.
- MultipleVariableWriter() - Constructor for class org.stjs.generator.writer.statement.MultipleVariableWriter
-
- sameRawType(TypeMirror, Class<?>) - Static method in class org.stjs.generator.utils.JavaNodes
-
- sameSignature(ExecutableElement, ExecutableElement) - Static method in class org.stjs.generator.javac.ElementUtils
-
- scan(Tree, P) - Method in class org.stjs.generator.visitor.TreePathScannerContributors
-
- Scopes - Class in org.stjs.generator.utils
-
- setCompilationUnit(CompilationUnitTree) - Method in class org.stjs.generator.GenerationContext
-
- setContinueScanning(boolean) - Method in class org.stjs.generator.visitor.TreePathScannerContributors
-
- setCurrentPath(TreePath) - Method in class org.stjs.generator.GenerationContext
-
- setCurrentPath(TreePath) - Method in interface org.stjs.generator.visitor.TreePathHolder
-
- setDependencies(Map<String, DependencyType>) - Method in class org.stjs.generator.STJSClass
-
- setElements(Elements) - Method in class org.stjs.generator.GenerationContext
-
- setGeneratedJavascriptFile(URI) - Method in class org.stjs.generator.STJSClass
-
- setHandler(ErrorHandler) - Static method in class org.stjs.generator.javac.ErrorReporter
-
Register a handler to customize error reporting.
- setJavascriptNamespace(String) - Method in class org.stjs.generator.STJSClass
-
- setOnlyOneFinalContributor(boolean) - Method in class org.stjs.generator.visitor.TreePathScannerContributors
-
- SetTemplate<JS> - Class in org.stjs.generator.writer.templates
-
the same as put
- SetTemplate() - Constructor for class org.stjs.generator.writer.templates.SetTemplate
-
- SetterAssignmentTemplate<JS> - Class in org.stjs.generator.writer.templates.fields
-
- SetterAssignmentTemplate() - Constructor for class org.stjs.generator.writer.templates.fields.SetterAssignmentTemplate
-
- SetterCompoundAssignmentTemplate<JS> - Class in org.stjs.generator.writer.templates.fields
-
- SetterCompoundAssignmentTemplate() - Constructor for class org.stjs.generator.writer.templates.fields.SetterCompoundAssignmentTemplate
-
- SetterUnaryTemplate<JS> - Class in org.stjs.generator.writer.templates.fields
-
Java unary operator
- SetterUnaryTemplate() - Constructor for class org.stjs.generator.writer.templates.fields.SetterUnaryTemplate
-
- setTrees(Trees) - Method in class org.stjs.generator.GenerationContext
-
- setTypes(Types) - Method in class org.stjs.generator.GenerationContext
-
- shouldSkip(TreeWrapper<T, JS>) - Static method in class org.stjs.generator.writer.MemberWriters
-
- skipParens(ExpressionTree) - Static method in class org.stjs.generator.javac.TreeUtils
-
If the given tree is a parenthesized tree, it returns the enclosed non-parenthesized tree.
- some(T) - Static method in class org.stjs.generator.utils.Option
-
Gets the some object wrapping the given value.
- sourceEncoding(String) - Method in class org.stjs.generator.GeneratorConfigurationBuilder
-
- SourcePosition - Class in org.stjs.generator
-
This class indicated a position in a source file (line, column) where the given identifier starts.
- SourcePosition(File, int, int) - Constructor for class org.stjs.generator.SourcePosition
-
- SPECIAL_INLINE_TYPE - Static variable in class org.stjs.generator.GeneratorConstants
-
this is the type to be used when defining an inline type
- SPECIAL_THIS - Static variable in class org.stjs.generator.GeneratorConstants
-
- start(String) - Static method in class org.stjs.generator.utils.Timers
-
- startPosition(AstNode) - Method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptWriter
-
- statements(Iterable<T>) - Method in interface org.stjs.generator.javascript.JavaScriptBuilder
-
- statements(Iterable<AstNode>) - Method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptBuilder
-
- statements(Iterable<String>) - Method in class org.stjs.generator.javascript.StringJavaScriptBuilder
-
- STJS - Static variable in class org.stjs.generator.GeneratorConstants
-
- STJS_PATH - Static variable in class org.stjs.generator.Generator
-
- STJS_TEST_TEMP_FOLDER - Static variable in class org.stjs.generator.GeneratorConstants
-
this folder is used by the test runner to write temporary files.
- STJSClass - Class in org.stjs.generator
-
This class represents a class and the corresponding generated javascript file.
- STJSClass(ClassResolver, File, Class<?>) - Constructor for class org.stjs.generator.STJSClass
-
constructor for storage, instances created with this constructor are very short lived and should only be used to
output the small .stjs properties file that resides next to .class files
- STJSClass(ClassResolver, ClassLoader, Class<?>) - Constructor for class org.stjs.generator.STJSClass
-
constructor for loading
- stjsClass(Class<?>) - Method in class org.stjs.generator.utils.AbstractStjsTest
-
- stjsClassLoader(ClassLoader) - Method in class org.stjs.generator.GeneratorConfigurationBuilder
-
- STJSGenerationPlugin<JS> - Interface in org.stjs.generator.plugin
-
See
UsePlugin for details on how to list your plugin.
- STJSRuntimeException - Exception in org.stjs.generator
-
this class is used to wrap checked exceptions that occur within the STJS code
- STJSRuntimeException(String, Throwable) - Constructor for exception org.stjs.generator.STJSRuntimeException
-
- STJSRuntimeException(String) - Constructor for exception org.stjs.generator.STJSRuntimeException
-
- STJSRuntimeException(Throwable) - Constructor for exception org.stjs.generator.STJSRuntimeException
-
- store() - Method in class org.stjs.generator.STJSClass
-
- string(String) - Method in interface org.stjs.generator.javascript.JavaScriptBuilder
-
- string(String) - Method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptBuilder
-
- string(String) - Method in class org.stjs.generator.javascript.StringJavaScriptBuilder
-
- StringJavaScriptBuilder - Class in org.stjs.generator.javascript
-
- StringJavaScriptBuilder() - Constructor for class org.stjs.generator.javascript.StringJavaScriptBuilder
-
- substituteMethodReturnType(TypeMirror, TypeMirror) - Static method in class org.stjs.generator.javac.InternalUtils
-
Returns the return type of a method, where the "raw" return type of that method is given (i.e., the return type
might still contain unsubstituted type variables), given the receiver of the method call.
- SuffixTemplate<JS> - Class in org.stjs.generator.writer.templates
-
This template can be used to suffix the name of a method that can be Java keyword.
When used without parameters as @Template("suffix"), this template simply strips the
trailing character of the Java method name
method_() => method() or method$() => method()
When used with a single parameters, this template removes the last param.length characters
- SuffixTemplate() - Constructor for class org.stjs.generator.writer.templates.SuffixTemplate
-
- SUPER - Static variable in class org.stjs.generator.GeneratorConstants
-
- switchStatement(T, Iterable<T>) - Method in interface org.stjs.generator.javascript.JavaScriptBuilder
-
- switchStatement(AstNode, Iterable<AstNode>) - Method in class org.stjs.generator.javascript.rhino.RhinoJavaScriptBuilder
-
- switchStatement(String, Iterable<String>) - Method in class org.stjs.generator.javascript.StringJavaScriptBuilder
-
- SwitchWriter<JS> - Class in org.stjs.generator.writer.statement
-
switch
- SwitchWriter() - Constructor for class org.stjs.generator.writer.statement.SwitchWriter
-
- symbol(Tree) - Static method in class org.stjs.generator.javac.InternalUtils
-
Gets the
Element ("symbol") for the given Tree API node.
- SynchronizedCheck - Class in org.stjs.generator.check.statement
-
ths synchronized blocks are illegal, as there is no threading model in JavaScript
- SynchronizedCheck() - Constructor for class org.stjs.generator.check.statement.SynchronizedCheck
-
- SynchronizedWriter<JS> - Class in org.stjs.generator.writer.statement
-
Synchronized blocks are not allowed
- SynchronizedWriter() - Constructor for class org.stjs.generator.writer.statement.SynchronizedWriter
-