| Field and Description | |
|---|---|
| DefaultTypeTransformation#EMPTY_ARGUMENTS |
Empty array constant for backwards compatibility.
|
| DefaultTypeTransformation#ONE_NEG |
BigInteger constant representing negative one, for backwards compatibility.
|
| ExtendedVerifier#JVM_ERROR_MESSAGE |
|
| 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
|
| InvocationWriter#invokeClosureMethod |
|
| 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.
|
| IndyStaticTypesMultiTypeDispatcher
Multi type dispatcher for binary expression backend combining indy and static compilation
|
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 |
|---|
| BinaryExpressionMultiTypeDispatcher#doPrimtiveCompare(ClassNode leftType, ClassNode rightType, BinaryExpression binExp) |
| 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.
|
| DefaultTypeTransformation#box(boolean value)
Boxes a primitive
boolean value into a Boolean wrapper object. |
| DefaultTypeTransformation#box(byte value)
Boxes a primitive
byte value into a Byte wrapper object. |
| DefaultTypeTransformation#box(char value)
Boxes a primitive
char value into a Character wrapper object. |
| DefaultTypeTransformation#box(short value)
Boxes a primitive
short value into a Short wrapper object. |
| DefaultTypeTransformation#box(int value)
Boxes a primitive
int value into an Integer wrapper object. |
| DefaultTypeTransformation#box(long value)
Boxes a primitive
long value into a Long wrapper object. |
| DefaultTypeTransformation#box(float value)
Boxes a primitive
float value into a Float wrapper object. |
| DefaultTypeTransformation#box(double value)
Boxes a primitive
double value into a Double wrapper object. |
| DefaultTypeTransformation#castToChar(Object object)
Attempts to coerce an object to a
char value (as a Character wrapper). |
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)
|
| MopWriter#equalParameterTypes(Parameter p1, Parameter p2)
Checks if two parameter arrays are equal.
|
ReferenceManager#getDefaultSoftBundle()
|
ReferenceManager#getDefaultWeakBundle()
|
| ReturnAdder#addReturnIfNeeded(MethodNode node)
Adds return statements to a method whenever an implicit return is detected.
|
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.
|
StaticInvocationWriter#isPrivateBridgeMethodsCallAllowed(ClassNode receiver, ClassNode caller)
|
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)
|
| StreamGroovyMethods#toList(Stream Accumulates the elements of stream into a new mutable List.
|
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. |