| Field and Description | |
|---|---|
| GroovyLexer#tokenNames |
|
| GroovyParser#tokenNames |
|
| GroovySystem#RUNNER_REGISTRY |
Reference to the Runtime Registry to be used by the Groovy run-time system to find classes capable of running scripts
|
| MetaClassRegistryImpl#MODULE_META_INF_FILE |
|
| Property and Description | |
|---|---|
| CliBuilder#posix |
To change from the default PosixParser to the GnuParser, set this to false.
|
| Class and Description |
|---|
BooleanClosureForMapPredicate
|
BooleanClosurePredicate
|
| BooleanClosureWrapper
Helper class for internal use only.
|
Java10
|
Java16
|
| Java8
Java 8 based functions.
|
Java9
|
MixinASTTransformation
|
| Annotation Type and Description |
|---|
| Mixin
Provides a mechanism for mixing in methods into a class.
|
| Method and Description |
|---|
| ClassNode#getFieldIndex()
Returns the internal field index map for fast field lookup by name.
|
| CompileStack#pushBooleanExpression()
Because a boolean Expression may not be evaluated completely
it is important to keep the registers clean.
|
| CompileUnit#hasClassNodeToCompile()
Checks if there are any classes pending compilation.
|
| CompileUnit#iterateClassNodeToCompile()
Returns an iterator over the names of classes pending compilation.
|
| CompilerConfiguration#getOutput()
Gets the currently configured output writer.
|
| CompilerConfiguration#setOutput(PrintWriter output)
Sets the output writer.
|
GeneralUtils#makeDescriptorWithoutReturnType(MethodNode mn)
|
| GenericsUtils#alignGenericTypes(GenericsType redirectGenericTypes, GenericsType parameterizedTypes, GenericsType alignmentTarget)
Given a parameterized type and a generic type information, aligns actual type parameters.
|
| GenericsUtils#parameterizeInterfaceGenerics(ClassNode hint, ClassNode target)
Interface class nodes retrieved from ClassNode.getInterfaces
or ClassNode.getAllInterfaces are returned with generic type
arguments.
|
GroovyCategorySupport#hasCategoryInAnyThread()
|
| GroovyDocTool#getFile(String filename)
Returns the filename component (basename) of the given path.
|
| GroovyDocTool#getPath(String filename)
Returns the directory component of the given filename, or
"DefaultPackage" if the file is in the default package. |
| GroovyMain#processArgs(String args, PrintStream out)
Processes command-line arguments using a single output stream.
|
| GroovySystem#isUseReflection()
Indicates whether the legacy reflection-only runtime mode is enabled.
|
Groovyc#makeCompileUnit()
|
| IndyInterface#fromCache(CacheableCallSite callSite, Class> sender, String methodName, int callID, Boolean safeNavigation, Boolean thisCall, Boolean spreadCall, Object dummyReceiver, Object arguments)
Get the cached methodHandle. if the related methodHandle is not found in the inline cache, cache and return it.
|
| IndyInterface#selectMethod(CacheableCallSite callSite, Class> sender, String methodName, int callID, Boolean safeNavigation, Boolean thisCall, Boolean spreadCall, Object dummyReceiver, Object arguments)
Core method for indy method selection using runtime types.
|
MetaClassHelper#capitalize(String property)
|
MethodNode#getTypeDescriptor(boolean pretty)
|
ReferenceManager#getDefaultSoftBundle()
|
ReferenceManager#getDefaultWeakBundle()
|
ReturnAdder#addReturnIfNeeded(MethodNode node)
|
Sql#preCheckForNamedParams(String sql)
|
| Statement#getStatementLabel()
Returns the first label attached to this statement (added last by the parser), or null if no labels are present.
|
StaticTypeCheckingSupport#evaluateExpression(Expression expr, CompilerConfiguration config)
|
StaticTypeCheckingSupport#findDGMMethodsByNameAndArguments(ClassNode receiver, String name, ClassNode args)
|
StaticTypeCheckingSupport#findDGMMethodsByNameAndArguments(ClassNode receiver, String name, ClassNode args, List
|
StaticTypeCheckingSupport#findDGMMethodsForClassNode(ClassNode clazz, String name)
|
StaticTypeCheckingSupport#findDGMMethodsForClassNode(ClassNode clazz, String name, TreeSet
|
StaticTypeCheckingVisitor#checkClosureParameters(Expression callArguments, ClassNode receiver)
|
StructuredSyntaxDocumentFilter.MultiLineRun#getDelimeterSize()
|
| WriterController#getCv()
Returns the ASM ClassVisitor for emitting class-level bytecode directives.
|
XmlSlurper#setKeepWhitespace(boolean keepWhitespace)
|
| Constructor and Description |
|---|
| GroovyDocWriter#GroovyDocWriter(GroovyDocTool tool, OutputTool output, GroovyDocTemplateEngine templateEngine, Properties properties) |
GroovyRootDocBuilder#GroovyRootDocBuilder(GroovyDocTool tool, String sourcepaths, List
|
| ParameterTypes#ParameterTypes(String pt)
Constructs a
ParameterTypes from class names. |