All Classes

Class Description
AbstractASTTransformation  
AbstractASTTransformUtil Deprecated.
use org.codehaus.groovy.ast.tools.GeneralUtils
AbstractCallSite
Base class for all call sites.
AbstractComparator<T>  
AbstractConcurrentMap<K,​V>  
AbstractConcurrentMap.Entry<K,​V>  
AbstractConcurrentMap.Segment<K,​V>  
AbstractConcurrentMapBase  
AbstractConcurrentMapBase.Entry<V>  
AbstractConcurrentMapBase.Segment  
AbstractExtensionMethodCache  
AbstractFactory  
AbstractFunctionalInterfaceWriter
Represents functional interface writer which contains some common methods to complete generating bytecode
AbstractInterruptibleASTTransformation
Base class for AST Transformations which will automatically throw an InterruptedException when some conditions are met.
AbstractLexer
Because antlr4 does not support generating lexer with specified interface, we have to create a super class for it and implement the interface.
AbstractParser
Because antlr4 does not support generating parser with specified interface, we have to create a super class for it and implement the interface.
AbstractReaderSource
For ReaderSources that can choose a parent class, a base that provides common functionality.
AbstractTypeCheckingExtension
Custom type checking extensions may extend this method in order to benefit from a lot of support methods.
AdaptingMetaClass
An interface for MetaClass instances that "adapt" other MetaClass instances such as a proxy or delegating MetaClass.
AndroidSupport  
AnnotatedNode
Base class for any AST node which is capable of being annotated
AnnotatedNodeUtils
Utility class for working with AnnotatedNodes
AnnotationCollector
The AnnotationCollector can be used to define aliases for groups of annotations.
AnnotationCollectorMode  
AnnotationCollectorTransform
This class is the base for any annotation alias processor.
AnnotationCollectorTransform.ClassChanger
Class used by CompilationUnit to transform the alias class into what is needed by the compiler.
AnnotationConstantExpression
Represents an annotation "constant" that may appear in annotation attributes (mainly used as a marker).
AnnotationConstantsVisitor
Resolves constants in annotation definitions.
AnnotationNode
Represents an annotation which can be attached to interfaces, classes, methods, fields, parameters, and other places.
AnnotationVisitor
An Annotation visitor responsible for: reading annotation metadata (@Retention, @Target, attribute types) verify that an AnnotationNode conforms to annotation meta enhancing an AnnotationNode AST to reflect real annotation meta
Antlr4ParserPlugin
A parser plugin for the new parser.
Antlr4PluginFactory
A parser plugin factory for the new parser.
AntlrASTProcessor
An interface for processing antlr AST objects
AntlrASTProcessSnippets  
AntlrParserPlugin Deprecated.
AntlrParserPluginFactory Deprecated.
ArgumentListExpression
Represents one or more arguments being passed into a method
ArrayCachedClass  
ArrayExpression
Represents an array object construction.
ArrayGetAtMetaMethod  
ArrayIterable<T>
Allow an array to be used where an Iterable is expected.
ArrayIterator<T>
Allow an array to be used where an Iterator is expected.
ArrayMetaMethod  
ArrayPutAtMetaMethod  
Arrays
Array utilities.
ArrayTypeUtils
Utilities for handling array types
ArrayUtil
This is a generated class used internally during the writing of bytecode within the CallSiteWriter logic.
AsmClassGenerator
Generates Java class versions of Groovy classes using ASM.
AsmDecompiler
A utility class responsible for decompiling JVM class files and producing ClassStub objects reflecting their structure.
AsmReferenceResolver
A helper class used to resolve references found in ASM-decompiled classes.
AssertionRenderer
Creates a string representation of an assertion and its recorded values.
AssertionWriter  
AssertStatement
Represents an assert statement.
AstBuilder
Builds the AST from the parse tree generated by Antlr4.
AstBuilderTransformation Deprecated.
ASTHelper
A common base class of AST helper methods which can be shared across the classic and new parsers
ASTNode
Base class for any AST node.
ASTParserException Deprecated.
ASTRuntimeException Deprecated.
AstStringCompiler
This class handles converting Strings to ASTNode lists.
ASTTest
This AST transformation aims at helping in debugging other AST transformations.
AstToTextHelper
Helper class for converting AST into text.
ASTTransformation
This class is instantiated and invoked when an AST transformation is activated.
ASTTransformationCollectorCodeVisitor
Walks the AST and collects references to annotations that are annotated themselves by GroovyASTTransformation.
ASTTransformationsContext
Stores state information about global AST transformations applied to a compilation unit.
ASTTransformationVisitor
This class handles the invocation of the ASTAnnotationTransformation when it is encountered by a tree walk.
AtnManager
Manage ATN to avoid memory leak
AttributeExpression
Represents an attribute access (accessing the field of a class) such as the expression "foo.@bar".
AutoClone
Class annotation used to assist in the creation of Cloneable classes.
AutoCloneASTTransformation
Handles generation of code for the @AutoClone annotation.
AutoCloneStyle
Intended style to use for cloning when using the @AutoClone annotation.
AutoFinal
Annotation to automatically add the final qualifier to method, constructor, and closure parameters.
AutoFinalASTTransformation
Handles generation of code for the AutoFinal annotation.
AutoImplement
Class annotation used to provide default dummy methods for a class extending an abstract super class or implementing one or more interfaces.
AutoImplementASTTransformation
Generates code for the @AutoImplement annotation.
BaseDuration
Base class for date and time durations.
BaseDuration.From  
BaseScript
Variable annotation used for changing the base script class of the current script.
BaseScriptASTTransformation
Handles transformation for the @BaseScript annotation.
BeanUtils  
BeanUtils  
BenchmarkInterceptor
Interceptor that registers the timestamp of each method call before and after invocation.
BigDecimalCachedClass  
BigDecimalMath
BigDecimal NumberMath operations
BigIntegerCachedClass  
BigIntegerMath
BigInteger NumberMath operations
BinaryBooleanExpressionHelper
Binary write operations specialised for Booleans
BinaryDoubleExpressionHelper  
BinaryExpression
Represents two expressions and an operation
BinaryExpressionHelper  
BinaryExpressionMultiTypeDispatcher
This class is for internal use only! This class will dispatch to the right type adapters according to the kind of binary expression that is provided.
BinaryExpressionTransformer  
BinaryExpressionWriter
Base class for writing primitive typed operations
BinaryFloatExpressionHelper  
BinaryIntExpressionHelper  
BinaryLongExpressionHelper  
BinaryObjectExpressionHelper  
Bindable
Annotates a groovy property or a class.
BindableASTTransformation
Handles generation of code for the @Bindable annotation when @Vetoable is not present.
Binding
Represents the variable bindings of a script which can be altered from outside the script object or created outside of a script and passed into it.
BitwiseNegationExpression  
BlockStatement
A list of statements and a scope.
BooleanArrayGetAtMetaMethod  
BooleanArrayIterator
Allow a boolean array to be used where an Iterator is expected.
BooleanArrayPutAtMetaMethod  
BooleanCachedClass  
BooleanClosureWrapper
Helper class for internal use only.
BooleanExpression
Represents a boolean expression
BooleanReturningMethodInvoker
Helper class for internal use only.
BooleanWrapper  
BreakStatement
Represents a break statement in a switch or loop statement
BufferedIterator<T>
An iterator that allows examining the next element without consuming it.
Buildable  
Builder
The @Builder AST transformation is used to help write classes that can be created using fluent api calls. The transform supports multiple building strategies to cover a range of cases and there are a number of configuration options to customize the building process.
BuilderASTTransformation
Handles generation of code for the Builder annotation.
BuilderASTTransformation.AbstractBuilderStrategy  
BuilderASTTransformation.AbstractBuilderStrategy.PropertyInfo  
BuilderASTTransformation.BuilderStrategy  
BuilderSupport
Base class for creating arbitrary nested trees of objects or events.
ByteArrayGetAtMetaMethod  
ByteArrayIterator
Allow a byte array to be used where an Iterator is expected.
ByteArrayPutAtMetaMethod  
ByteCachedClass  
BytecodeDumper
An utility class which can be used in test cases to dump generated bytecode.
BytecodeExpression
Represents some custom bytecode generation by the compiler.
BytecodeHelper
A helper class for bytecode generation with AsmClassGenerator.
BytecodeInstruction
Helper class used by the class generator.
BytecodeInterface8
This class contains methods special to optimizations used directly from bytecode in Groovy 1.8
BytecodeProcessor  
BytecodeSequence
This class represents a sequence of BytecodeInstructions or ASTNodes.
BytecodeVariable
Represents compile time variable metadata while compiling a method.
ByteWrapper  
CacheableCallSite Deprecated.
CacheableCallSite
Represents a cacheable call site, which can reduce the cost of resolving methods
CacheAccessControlException  
CachedClass  
CachedClass.CachedMethodComparatorByName  
CachedClass.CachedMethodComparatorWithString  
CachedClosureClass  
CachedConstructor  
CachedField  
CachedMethod  
CachedSAMClass  
CallSite  
CallSiteArray  
CallSiteAwareMetaMethod  
CallSiteClassLoader  
CallSiteGenerator  
CallSiteWriter
This class represents non public API used by AsmClassGenerator.
CaseStatement
Represents a case statement in a switch statement
CastExpression
Represents a typecast expression.
CastExpressionOptimizer  
CatchStatement
Represents a catch (Exception var) { } statement
Category
Transforms an instance-style Groovy class or interface to become a static-style conventional Groovy category.
CategoryASTTransformation
Handles generation of code for the @Category annotation.
CharacterArrayGetAtMetaMethod  
CharacterArrayPutAtMetaMethod  
CharacterCachedClass  
CharArrayIterator
Allow a char array to be used where an Iterator is expected.
CharSequenceReader
Reader implementation that can read from String, StringBuffer, StringBuilder, CharBuffer or GString.
CharsetToolkit
Utility class to guess the encoding of a given text file.
CharWrapper  
ClassCodeExpressionTransformer
Transforms expressions in a whole class.
ClassCodeVisitorSupport  
ClassCompletionVerifier
Checks that a class satisfies various conditions including: Incorrect class or method access modifiers No abstract methods appear in a non-abstract class Existence and correct visibility for inherited members Invalid attempts to override final members
ClassExpression
Represents access to a Java/Groovy class in an expression, such as when invoking a static method or accessing a static type
ClassFinder
Find classes under the specified package via some classpath entry Usage:
ClassFindFailedException
Represents error occurred during finding classes
ClassGenerator
Abstract base class for generator of Java class versions of Groovy AST classes
ClassGeneratorException
An exception thrown by the class generator
ClassHelper
Helper for ClassNode and classes handling them.
ClassInfo
Handle for all information we want to keep about the class
ClassInfo.ClassInfoAction  
ClassLoaderForClassArtifacts  
ClassNode
Represents a class in the AST.
ClassNodeResolver
This class is used as a pluggable way to resolve class names.
ClassNodeResolver.LookupResult
Helper class to return either a SourceUnit or ClassNode.
ClassNodeUtils
Utility class for working with ClassNodes
ClassNodeUtils Deprecated.
ClassStub
Data structures holding class info to enable lazy loading
Closure<V>
Represents any closure object in Groovy.
ClosureComparator<T>
A Comparator which uses a closure to compare 2 values being equal
ClosureException
An exception thrown by a closure invocation
ClosureExpression
Represents a closure expression such as
ClosureExpressionTransformer  
ClosureInvokingMethod
An interface for MetaMethods that invoke closures to implements.
ClosureListExpression
This class represents a list of expressions used to create closures.
ClosureMetaClass
A meta class for closures generated by the Groovy compiler.
ClosureMetaMethod
A MetaMethod that accepts a closure in the constructor which is invoked when the MetaMethod is called.
ClosureParams
Parameter annotation aimed at helping IDEs or the static type checker to infer the parameter types of a closure.
ClosureSignatureConflictResolver
If multiple candidate signatures are found after applying type hints, a conflict resolver can attempt to resolve the ambiguity.
ClosureSignatureHint
A closure signature hint class is always used in conjunction with the ClosureParams annotation.
ClosureStaticMetaMethod
This class represents a MetaMethod that is a closure that pretends to be a static method.
ClosureUtils
Handy methods when working with Closure AST data structures.
ClosureWriter  
ClosureWriter.CorrectAccessedVariableVisitor  
ClosureWriter.UseExistingReference  
CodeVisitorSupport
Abstract base class for any GroovyCodeVisitor which by default just walks the code and expression tree
CommonCache<K,​V>
Represents a simple key-value cache, which is NOT thread safe and backed by a Map instance
Commons
This local transform adds a logging ability to your program using Apache Commons logging.
Commons.CommonsLoggingStrategy  
CompareIdentityExpression
Compares two objects using identity comparison.
CompareToNullExpression  
CompilationCustomizer
Users wanting to customize the configuration process such as adding imports, restricting the language features or apply AST transformations by default should implement this class, then call the CompilerConfiguration.addCompilationCustomizers(CompilationCustomizer...) method.
CompilationFailedException
Thrown when compilation fails from source errors.
CompilationUnit
The CompilationUnit collects all compilation data as it is generated by the compiler system.
CompilationUnit.ClassgenCallback
A callback interface you can use during the classgen phase of compilation as the compiler traverses the ClassNode tree.
CompilationUnit.GroovyClassOperation Deprecated.
CompilationUnit.IGroovyClassOperation  
CompilationUnit.IPrimaryClassNodeOperation  
CompilationUnit.ISourceUnitOperation  
CompilationUnit.PrimaryClassNodeOperation Deprecated.
CompilationUnit.ProgressCallback
A callback interface you can use to get a callback after every unit of the compile process.
CompilationUnit.SourceUnitOperation Deprecated.
CompilationUnitAware
This interface is for AST transformations which must be aware of the compilation unit where they are applied.
CompileDynamicProcessor  
CompilePhase
The phases of the GroovyCompiler.
Compiler
A convenience front end for getting standard compilations done.
CompilerConfiguration
Compilation control flags and coordination stuff.
CompileStack
Manages different aspects of the code of a code block like handling labels, defining variables, and scopes.
CompileStack.BlockRecorder  
CompileStack.LabelRange  
CompileStatic
This will let the Groovy compiler use compile time checks in the style of Java then perform static compilation, thus bypassing the Groovy meta object protocol.
CompileUnit
Represents the entire contents of a compilation step which consists of one or more ModuleNode instances.
CompileUnit.ConstructedOuterNestedClassNode Deprecated.
ComplexKeyHashMap  
ComplexKeyHashMap.Entry  
ComplexKeyHashMap.EntryIterator  
ComposedClosure<V>
A wrapper for Closure to support composition.
CompositeVisitor
A composite of many visitors.
ConcurrentCommonCache<K,​V>
Represents a simple key-value cache, which is thread safe and backed by a Map instance
ConcurrentLinkedHashMap<K,​V>
A hash table supporting full concurrency of retrievals, adjustable expected concurrency for updates, and a maximum capacity to bound the map by.
ConcurrentLinkedHashMap.Builder<K,​V>
A builder that creates ConcurrentLinkedHashMap instances.
ConcurrentReaderHashMap
A hash table that supports mostly-concurrent reading, but exclusive writing.
ConcurrentReaderHashMap.BarrierLock
A Serializable class for barrier lock
ConcurrentReaderHashMap.Entry
ConcurrentReaderHashMap collision list entry.
ConcurrentSoftCache<K,​V>
Represents concurrent cache holding SoftReference instance as value
ConfigObject
A ConfigObject at a simple level is a Map that creates configuration entries (other ConfigObjects) when referencing them.
ConfigurationException
Thrown when configuration data is invalid.
ConstantExpression
Represents a constant expression such as null, true, false.
ConstructorCallExpression
A constructor call.
ConstructorCallTransformer  
ConstructorMetaClassSite  
ConstructorMetaMethodSite
Call site for invoking static methods meta class - cached method - not cached
ConstructorNode
Represents a constructor declaration
ConstructorNodeUtils
Utility class for working with ConstructorNodes
ConstructorSite  
ConstructorSite.ConstructorSiteNoUnwrap
Call site where we know there is no need to unwrap arguments
ConstructorSite.ConstructorSiteNoUnwrapNoCoerce
Call site where we know there is no need neither unwrap nor coerce arguments
ConstructorSite.NoParamSite  
ConstructorSite.NoParamSiteInnerClass  
ContinueStatement
Represents a continue statement in a loop statement
ConversionHandler
This class is a general adapter to map a call to a Java interface to a given delegate.
ConvertedClosure
This class is a general adapter to adapt a closure to any Java interface.
ConvertedMap
This class is a general adapter to adapt a map of closures to any Java interface.
CSTNode
An abstract base class for nodes in the concrete syntax tree that is the result of parsing.
CurriedClosure<V>
A wrapper for Closure to support currying.
CustomizersFactory
This factory generates an array of compilation customizers.
DateGroovyMethods Deprecated.
use DateUtilExtensions instead
DatumDependentDuration
DatumDependentDuration represents durations whose length in milliseconds cannot be determined without knowing the datum point.
DeclarationExpression
Represents one or more local variables.
DecompiledClassNode
A ClassNode kind representing the classes coming from *.class files decompiled using ASM.
DefaultCachedMethodKey
A default implementation of MethodKey
DefaultGroovyMethods
This class defines new groovy methods which appear on normal JDK classes inside the Groovy environment.
DefaultGroovyMethodsSupport
Support methods for DefaultGroovyMethods and PluginDefaultMethods.
DefaultGroovyStaticMethods
This class defines all the new static groovy methods which appear on normal JDK classes inside the Groovy environment.
DefaultMetaClassInfo
WARNING: This class is for internal use only! We use this class to store information about if a default MetaClass is used for certain primitives.
DefaultMetaClassInfo.ConstantMetaClassVersioning  
DefaultMethodKey
A default implementation of MethodKey
DefaultPropertyAccessor  
DefaultPropertyHandler  
DefaultPropertyReader  
DefaultPropertyWriter  
DefaultStrategy
This strategy is used with the Builder AST transform to create a builder helper class for the fluent creation of instances of a specified class. It can be used at the class, static method or constructor levels.
DefaultTypeCheckingExtension
The default type checking handler is used by the standard type checker and doesn't handle any of the type checking errors by default.
DefaultTypeTransformation
Class providing various type conversions, coercions and boxing/unboxing operations.
Delegate
Annotation to automatically delegate part of the functionality of an owner class to the annotated delegation target.
DelegateASTTransformation
Handles generation of code for the @Delegate annotation
DelegatesTo
This annotation can be used by API or DSL writers to document parameters which accept a closure.
DelegatesTo.Target
Parameter annotation used to specify the delegate for a @DelegatesTo annotated parameter of the same method.
DelegatingController
This class will delegate all calls to a WriterController given in the constructor.
DelegatingCustomizer
Base class for compilation customizers which delegate to another customizer.
DelegatingMetaClass  
DelegatingScript
Script that performs method invocations and property access like Closure does.
DependencyTracker  
DeprecationException
Use this exception to mark a method implementation as being deprecated.
DescriptiveErrorStrategy
Provide friendly error messages when parsing errors occurred.
DgmConverter  
DoubleArrayGetAtMetaMethod  
DoubleArrayIterable
Allow a double array to be used where an Iterable is expected.
DoubleArrayIterator
Allow a double array to be used where an Iterator is expected.
DoubleArrayPutAtMetaMethod  
DoubleCachedClass  
DoubleWrapper  
DoWhileStatement
Represents a do { ...
DummyCallSite  
DummyClassGenerator
To generate a class that has all the fields and methods, except that fields are not initialized and methods are empty.
Duration
Duration represents time periods which have values independent of the context.
DynamicVariable  
ElvisOperatorExpression
Represents a short ternary expression x ?: y, which is equal to
EmptyExpression
Placeholder for an empty expression.
EmptyRange<T extends java.lang.Comparable>
Constructing Ranges like 0..<0
EmptyStatement  
EncodingAwareBufferedWriter
A buffered writer only for OutputStreamWriter that is aware of the encoding of the OutputStreamWriter.
EncodingGroovyMethods
This class defines all the encoding/decoding groovy methods which enhance the normal JDK classes when inside the Groovy environment.
EncodingGroovyMethodsSupport
Keep this constant in a separate file as it is troublesome for Antlr to parse for doc purposes.
EntryWeigher<K,​V>
A class that can determine the weight of an entry.
EnumCompletionVisitor
Enums have a parent constructor with two arguments from java.lang.Enum.
EnumConstantClassNode
Represents the anonymous inner class for an enum constant This subtype is needed so that EnumVisitor can differentiate between the scenarios when a InnerClassNode represents anonymous inner class for an enu constant and when it represents an enum class defined inside another class
EnumHelper  
EnumTypeCheckingExtension
A type checking extension that will take care of handling errors which are specific to enums.
EnumVisitor  
EqualsAndHashCode
Class annotation used to assist in creating appropriate equals() and hashCode() methods.
EqualsAndHashCodeASTTransformation  
ErrorCollecting
An AST transform with the ability to report errors.
ErrorCollector
A base class for collecting messages and errors during processing.
ErrorReporter
Provides services for reporting compilation errors to the user.
Eval
Allow easy integration from Groovy into Java through convenience methods.
EvictableCache<K,​V>
Represents an evictable memoize cache with its essential methods
EvictableCache.Action<K,​V,​R>
Represents the action to deal with the cache
EvictableCache.EvictionStrategy
Represents a eviction strategy for the cache with limited size
EvictionListener<K,​V>
A listener registered for notification when an entry is evicted.
ExceptionMessage
A class for error messages produced by the parser system.
Expando
Represents a dynamically expandable bean.
ExpandoMetaClass
ExpandoMetaClass is a MetaClass that behaves like an Expando, allowing the addition or replacement of methods, properties and constructors on the fly.
ExpandoMetaClassCreationHandle
A handle for the MetaClassRegistry that changes all classes loaded into the Grails VM to use ExpandoMetaClass instances
Expression
Represents a base class for expressions which evaluate as an object
ExpressionAsVariableSlot
Helper class that takes an Expression and if visited will load it normally, storing the result in a helper variable, which then can be requested after the visit is completed.
ExpressionStatement
A simple statement such as a method call where the return value is ignored
ExpressionTransformer
Provides a way to transform expressions
ExpressionUtils  
ExtendedVerifier
A specialized Groovy AST visitor meant to perform additional verifications upon the current AST.
ExtensionMethodCache
This class is used to make extension methods lookup faster.
ExtensionMethodNode
Represents method nodes which are used by the static type checker to virtually add methods coming from DGM-like methods.
ExtensionModule
An extension module is a class responsible for providing a list of meta methods to the Groovy compiler and runtime.
ExtensionModuleRegistry
The extension method registry is responsible for collecting methods (or static methods) which are added to existing classes and may be called like regular methods.
ExtensionModuleScanner
A module extension scanner is responsible for searching classpath modules, loading metadata from module descriptors, then perform custom tasks for each module.
ExtensionModuleScanner.ExtensionModuleListener  
ExternalizeMethods
Class annotation used to assist in the creation of Externalizable classes.
ExternalizeMethodsASTTransformation
Handles generation of code for the @ExternalizeMethods annotation.
ExternalizeVerifier
Class annotation used to assist in the creation of Externalizable classes.
ExternalizeVerifierASTTransformation  
ExternalStrategy
This strategy is used with the Builder AST transform to populate a builder helper class so that it can be used for the fluent creation of instances of a specified class. The specified class is not modified in any way and may be a Java class.
Factory  
FactoryBuilderSupport
Mix of BuilderSupport and SwingBuilder's factory support.
FastArray  
Field
Variable annotation used for changing the scope of a variable within a script from being within the run method of the script to being at the class level for the script.
FieldASTTransformation
Handles transformation for the @Field annotation.
FieldExpression
Represents a field access such as the expression "this.foo".
FieldNode
Represents a field (member variable)
FileReaderSource
A ReaderSource for source files.
FileSystemCompiler
Command-line compiler (aka.
FileSystemCompiler.CompilationOptions  
FileSystemCompiler.VersionProvider  
FileType
Represents particular files of interest.
FileVisitResult
Represents special return values for the 'preDir', 'postDir' and 'visit'/supplied Closures used with ResourceGroovyMethods.traverse(java.io.File, java.util.Map, groovy.lang.Closure) and related methods to control subsequent traversal behavior.
Finalizable  
FinalVariableAnalyzer  
FinalVariableAnalyzer.VariableNotFinalCallback  
FirstParam
A hint used to instruct the type checker to pick the first parameter type.
FirstParam.Component
A hint used to instruct the type checker to pick the type of the component of the first parameter type, which is therefore expected to be an array, like in this example:
FirstParam.FirstGenericType
A hint used to instruct the type checker to pick the first generic type of the first parameter type.
FirstParam.SecondGenericType
A hint used to instruct the type checker to pick the second generic type of the first parameter type.
FirstParam.ThirdGenericType
A hint used to instruct the type checker to pick the third generic type of the first parameter type.
FlatNodeListTraversal Deprecated.
FloatArrayGetAtMetaMethod  
FloatArrayIterator
Allow a float array to be used where an Iterator is expected.
FloatArrayPutAtMetaMethod  
FloatCachedClass  
FloatingPointMath
FloatingPoint (Double and Float) NumberMath operations
FloatWrapper  
FlushingStreamWriter
Stream writer which flushes after each write operation.
ForStatement
Represents a standard for loop in Groovy
FromAbstractTypeMethods
This signature hint uses abstract methods from some type (abstract class or interface) in order to infer the expected parameter types.
FromString
A closure parameter hint class that is convenient if you want to use a String representation of the signature.
Function<T,​R>
Backport of Java8 Function.
GeneralUtils
Handy methods when working with the Groovy AST
Generated
The Generated annotation is used to mark members that have been generated.
GeneratedClosure
Marker interface to identify closures generated by the groovy compiler.
GeneratedGroovyProxy
An interface implemented by some Groovy proxies which gives access to the proxied object.
GeneratedLambda
Marker interface to identify lambda generated by the groovy compiler.
GeneratedMetaMethod  
GeneratedMetaMethod.DgmMethodRecord  
GeneratedMetaMethod.Proxy  
GeneratorContext
A context shared across generations of a class and its inner classes
GenericsType
This class is used to describe generic type signatures for ClassNodes.
GenericsType.GenericsTypeName  
GenericsUtils
Utility methods to deal with generic types.
GenericsVisitor
Verify correct usage of generics.
GetEffectivePogoFieldSite  
GetEffectivePojoPropertySite  
Grab
Used to grab the referenced artifact and its dependencies and make it available on the Classpath.
GrabAnnotationTransformation
Transformation for declarative dependency management.
GrabConfig
Used to modify the grape configuration for grab requests.
GrabExclude
Used to exclude an indirectly referenced artifact (a transitive dependency) from the classpath.
GrabResolver
Used to add a repository for resolving Grape dependencies.
Grape
Facade to GrapeEngine.
GrapeEngine  
Grapes
Sometimes we will need more than one grab per class, but we can only add one annotation type per annotatable node.
GrapeUtil  
Groovifier Deprecated.
GroovyASTTransformation
This is an annotation on a class, currently just ASTTransformation.
GroovyASTTransformationClass
This is an annotation on some item that indicates that an associated transform classes should be executed.
GroovyBugError
This class represents an error that is thrown when a bug is recognized inside the runtime.
GroovyCallable<V>
A special "marker" style interface allowing Groovy classes to implement both Runnable and Callable yet give preference to Runnable (for backwards compatibility) for APIs having both Runnable and Callable methods.
GroovyCastException  
GroovyCategorySupport
Support methods for Groovy category usage
GroovyCategorySupport.CategoryMethod  
GroovyCategorySupport.CategoryMethodList  
GroovyCategorySupport.ThreadCategoryInfo  
GroovyClass  
GroovyClassLoader
A ClassLoader which can load Groovy classes.
GroovyClassLoader.ClassCollector  
GroovyClassLoader.InnerLoader  
GroovyClassValue<T>
Abstraction for Java version dependent ClassValue implementations.
GroovyClassValue.ComputeValue<T>  
GroovyClassValueJava7<T>
GroovyClassValue implementaion that simply delegates to Java 7's java.lang.ClassValue
GroovyClassVisitor
A special visitor for working with the structure of a class.
GroovyCodeSource
CodeSource wrapper class that allows specific security policies to be associated with a class compiled from groovy source.
GroovyCodeSourcePermission
Permission required to explicitly specify a codebase for a groovy script whose codebase cannot be determined.
GroovyCodeVisitor
An implementation of the visitor pattern for working with ASTNodes.
GroovyCollections
A Collections utility class
Groovydoc
An annotation to hold the groovydoc for the annotated element at runtime, we call it "Runtime Groovydoc".
Groovydoc
Represents groovydoc
GroovydocHolder<T>
Represents Groovydoc Holder
GroovydocManager
A utilities for managing groovydoc, e.g.
GroovydocTag
TODO parse groovydoc to get tag content
GroovyException  
GroovyExceptionInterface
An interface for use by all Groovy compiler exceptions.
GroovyInterceptable
Marker interface used to notify that all methods should be intercepted through the invokeMethod mechanism of GroovyObject.
GroovyLangLexer
The lexer for Groovy programming language, which is based on the lexer generated by Antlr4
GroovyLangParser
The parser for Groovy programming language, which is based on the parser generated by Antlr4
GroovyLexer  
GroovyLexer  
GroovyMain
A Command line to execute groovy.
GroovyMain.VersionProvider  
GroovyObject
The interface implemented by all Groovy objects.
GroovyObjectSupport
Base class for Java objects wishing to be Groovy objects.
GroovyObjectWrapper  
GroovyParser  
GroovyParser.AdditiveExprAltContext  
GroovyParser.AndExprAltContext  
GroovyParser.AnnotatedQualifiedClassNameContext  
GroovyParser.AnnotationContext  
GroovyParser.AnnotationNameContext  
GroovyParser.AnnotationsOptContext  
GroovyParser.AnonymousInnerClassDeclarationContext  
GroovyParser.ArgumentsContext  
GroovyParser.ArrayInitializerContext  
GroovyParser.AssertStatementContext  
GroovyParser.AssertStmtAltContext  
GroovyParser.AssignmentExprAltContext  
GroovyParser.BlockContext  
GroovyParser.BlockStatementContext  
GroovyParser.BlockStatementsContext  
GroovyParser.BlockStatementsOptContext  
GroovyParser.BlockStmtAltContext  
GroovyParser.BooleanLiteralAltContext  
GroovyParser.BreakStatementContext  
GroovyParser.BreakStmtAltContext  
GroovyParser.BuiltInTypeContext  
GroovyParser.BuiltInTypePrmrAltContext  
GroovyParser.CastExprAltContext  
GroovyParser.CastParExpressionContext  
GroovyParser.CatchClauseContext  
GroovyParser.CatchTypeContext  
GroovyParser.ClassBodyContext  
GroovyParser.ClassBodyDeclarationContext  
GroovyParser.ClassDeclarationContext  
GroovyParser.ClassicalForControlContext  
GroovyParser.ClassNameContext  
GroovyParser.ClassOrInterfaceModifierContext  
GroovyParser.ClassOrInterfaceModifiersContext  
GroovyParser.ClassOrInterfaceModifiersOptContext  
GroovyParser.ClassOrInterfaceTypeContext  
GroovyParser.ClosureContext  
GroovyParser.ClosureOrLambdaExpressionContext  
GroovyParser.ClosureOrLambdaExpressionPrmrAltContext  
GroovyParser.CommandArgumentContext  
GroovyParser.CommandExprAltContext  
GroovyParser.CommandExpressionContext  
GroovyParser.CompilationUnitContext  
GroovyParser.ConditionalExprAltContext  
GroovyParser.ConditionalStatementContext  
GroovyParser.ConditionalStmtAltContext  
GroovyParser.ContinueStatementContext  
GroovyParser.ContinueStmtAltContext  
GroovyParser.CreatedNameContext  
GroovyParser.CreatorContext  
GroovyParser.DimContext  
GroovyParser.DoWhileStmtAltContext  
GroovyParser.DynamicMemberNameContext  
GroovyParser.ElementValueArrayInitializerContext  
GroovyParser.ElementValueContext  
GroovyParser.ElementValuePairContext  
GroovyParser.ElementValuePairNameContext  
GroovyParser.ElementValuePairsContext  
GroovyParser.ElementValuesContext  
GroovyParser.EmptyDimsContext  
GroovyParser.EmptyDimsOptContext  
GroovyParser.EmptyStmtAltContext  
GroovyParser.EnhancedArgumentListElementContext  
GroovyParser.EnhancedArgumentListInParContext  
GroovyParser.EnhancedForControlContext  
GroovyParser.EnhancedStatementExpressionContext  
GroovyParser.EnumConstantContext  
GroovyParser.EnumConstantsContext  
GroovyParser.EqualityExprAltContext  
GroovyParser.ExclusiveOrExprAltContext  
GroovyParser.ExpressionContext  
GroovyParser.ExpressionInParContext  
GroovyParser.ExpressionListContext  
GroovyParser.ExpressionListElementContext  
GroovyParser.ExpressionStmtAltContext  
GroovyParser.FieldDeclarationContext  
GroovyParser.FinallyBlockContext  
GroovyParser.FloatingPointLiteralAltContext  
GroovyParser.ForControlContext  
GroovyParser.ForInitContext  
GroovyParser.FormalParameterContext  
GroovyParser.FormalParameterListContext  
GroovyParser.FormalParametersContext  
GroovyParser.ForStmtAltContext  
GroovyParser.ForUpdateContext  
GroovyParser.GroovyParserRuleContext  
GroovyParser.GstringContext  
GroovyParser.GstringPathContext  
GroovyParser.GstringPrmrAltContext  
GroovyParser.GstringValueContext  
GroovyParser.IdentifierContext  
GroovyParser.IdentifierPrmrAltContext  
GroovyParser.IfElseStatementContext  
GroovyParser.ImportDeclarationContext  
GroovyParser.InclusiveOrExprAltContext  
GroovyParser.IndexPropertyArgsContext  
GroovyParser.IntegerLiteralAltContext  
GroovyParser.KeywordsContext  
GroovyParser.LabeledStmtAltContext  
GroovyParser.LambdaBodyContext  
GroovyParser.ListContext  
GroovyParser.ListPrmrAltContext  
GroovyParser.LiteralContext  
GroovyParser.LiteralPrmrAltContext  
GroovyParser.LocalVariableDeclarationContext  
GroovyParser.LocalVariableDeclarationStmtAltContext  
GroovyParser.LogicalAndExprAltContext  
GroovyParser.LogicalOrExprAltContext  
GroovyParser.LoopStatementContext  
GroovyParser.LoopStmtAltContext  
GroovyParser.MapContext  
GroovyParser.MapEntryContext  
GroovyParser.MapEntryLabelContext  
GroovyParser.MapEntryListContext  
GroovyParser.MapPrmrAltContext  
GroovyParser.MemberDeclarationContext  
GroovyParser.MethodBodyContext  
GroovyParser.MethodDeclarationContext  
GroovyParser.MethodNameContext  
GroovyParser.ModifierContext  
GroovyParser.ModifiersContext  
GroovyParser.ModifiersOptContext  
GroovyParser.MultipleAssignmentExprAltContext  
GroovyParser.MultiplicativeExprAltContext  
GroovyParser.NamedPropertyArgsContext  
GroovyParser.NamePartContext  
GroovyParser.NewPrmrAltContext  
GroovyParser.NlsContext  
GroovyParser.NonWildcardTypeArgumentsContext  
GroovyParser.NullLiteralAltContext  
GroovyParser.PackageDeclarationContext  
GroovyParser.ParenPrmrAltContext  
GroovyParser.ParExpressionContext  
GroovyParser.PathElementContext  
GroovyParser.PathExpressionContext  
GroovyParser.PostfixExprAltContext  
GroovyParser.PostfixExpressionContext  
GroovyParser.PowerExprAltContext  
GroovyParser.PrimaryContext  
GroovyParser.PrimitiveTypeContext  
GroovyParser.QualifiedClassNameContext  
GroovyParser.QualifiedClassNameListContext  
GroovyParser.QualifiedNameContext  
GroovyParser.QualifiedNameElementContext  
GroovyParser.QualifiedNameElementsContext  
GroovyParser.QualifiedStandardClassNameContext  
GroovyParser.RegexExprAltContext  
GroovyParser.RelationalExprAltContext  
GroovyParser.ResourceContext  
GroovyParser.ResourceListContext  
GroovyParser.ResourcesContext  
GroovyParser.ReturnStmtAltContext  
GroovyParser.ReturnTypeContext  
GroovyParser.RparenContext  
GroovyParser.ScriptStatementContext  
GroovyParser.ScriptStatementsContext  
GroovyParser.SepContext  
GroovyParser.ShiftExprAltContext  
GroovyParser.StandardLambdaExpressionContext  
GroovyParser.StandardLambdaParametersContext  
GroovyParser.StatementContext  
GroovyParser.StatementExpressionContext  
GroovyParser.StringLiteralAltContext  
GroovyParser.StringLiteralContext  
GroovyParser.SuperPrmrAltContext  
GroovyParser.SwitchBlockStatementGroupContext  
GroovyParser.SwitchLabelContext  
GroovyParser.SwitchStatementContext  
GroovyParser.SynchronizedStmtAltContext  
GroovyParser.ThisFormalParameterContext  
GroovyParser.ThisPrmrAltContext  
GroovyParser.ThrowStmtAltContext  
GroovyParser.TryCatchStatementContext  
GroovyParser.TryCatchStmtAltContext  
GroovyParser.TypeArgumentContext  
GroovyParser.TypeArgumentsContext  
GroovyParser.TypeArgumentsOrDiamondContext  
GroovyParser.TypeBoundContext  
GroovyParser.TypeContext  
GroovyParser.TypeDeclarationContext  
GroovyParser.TypeListContext  
GroovyParser.TypeNamePairContext  
GroovyParser.TypeNamePairsContext  
GroovyParser.TypeParameterContext  
GroovyParser.TypeParametersContext  
GroovyParser.UnaryAddExprAltContext  
GroovyParser.UnaryNotExprAltContext  
GroovyParser.VariableDeclarationContext  
GroovyParser.VariableDeclaratorContext  
GroovyParser.VariableDeclaratorIdContext  
GroovyParser.VariableDeclaratorsContext  
GroovyParser.VariableInitializerContext  
GroovyParser.VariableInitializersContext  
GroovyParser.VariableModifierContext  
GroovyParser.VariableModifiersContext  
GroovyParser.VariableModifiersOptContext  
GroovyParser.VariableNamesContext  
GroovyParser.WhileStmtAltContext  
GroovyParserBaseVisitor<Result>
This class provides an empty implementation of GroovyParserVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
GroovyParserVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by GroovyParser.
GroovyPrintStream
A PrintStream that outputs objects in Groovy style.
GroovyPrintWriter
A PrintWriter that outputs objects in Groovy style.
GroovyResourceLoader
Allows frameworks that integrate with Groovy to determine how Groovy files are resolved.
GroovyRunner
Classes which can run scripts should implement this interface.
GroovyRunner Deprecated.
GroovyRunnerRegistry
Registry of services that implement the GroovyRunner interface.
GroovyRuntimeException
An exception thrown by the interpreter
GroovyScriptEngine
Specific script engine able to reload modified scripts as well as dealing properly with dependent scripts.
GroovyShell
Represents a groovy shell capable of running arbitrary groovy scripts
GroovySocketServer
Simple server that executes supplied script against a socket.
GroovySourceAST
We have an AST subclass so we can track source information.
GroovySourceToken
This is a Token sub class to track line information
GroovyStarter
Helper class to initialize the Groovy runtime.
GroovySunClassLoader  
GroovySyntaxError
Represents a syntax error of groovy program
GroovySystem  
GroovyTokenTypes  
GroovyTypeCheckingExtensionSupport
Base class for type checking extensions written in Groovy.
GroovyTypeCheckingExtensionSupport.TypeCheckingDSL
Event handler registration: setup Registers closure that runs after the type checker finishes initialization finish Registers closure that runs after the type checker completes type checking beforeVisitClass Registers closure that runs before type checking a class afterVisitClass Registers closure that runs after having finished the visit of a type checked class beforeVisitMethod Registers closure that runs before type checking a method body afterVisitMethod Registers closure that runs after type checking a method body beforeMethodCall Registers closure that runs before the type checker starts type checking a method call afterMethodCall Registers closure that runs once the type checker has finished type checking a method call methodNotFound Registers closure that runs when it fails to find an appropriate method for a method call ambiguousMethods Registers closure that runs when the type checker cannot choose between several candidate methods onMethodSelection Registers closure that runs when it finds a method appropriate for a method call unresolvedVariable Registers closure that runs when the type checker finds an unresolved variable unresolvedProperty Registers closure that runs when the type checker cannot find a property on the receiver unresolvedAttribute Registers closure that runs when the type checker cannot find an attribute on the receiver incompatibleAssignment Registers closure that runs when the type checker thinks that the right-hand side of an assignment is incompatible with the left-hand side incompatibleReturnType Registers closure that runs when the type checker thinks that a return value is incompatibe with the return type Expression categorization: isAnnotationConstantExpression Determines if argument is an AnnotationConstantExpression isArgumentListExpression Determines if argument is an ArgumentListExpression isArrayExpression Determines if argument is an ArrayExpression isAttributeExpression Determines if argument is an AttributeExpression isBinaryExpression Determines if argument is a BinaryExpression isBitwiseNegationExpression Determines if argument is a BitwiseNegationExpression isBooleanExpression Determines if argument is a BooleanExpression isCastExpression Determines if argument is a CastExpression isClassExpression Determines if argument is a ClassExpression isClosureExpression Determines if argument is a ClosureExpression isConstantExpression Determines if argument is a ConstantExpression isConstructorCallExpression Determines if argument is a ConstructorCallExpression isDeclarationExpression Determines if argument is a DeclarationExpression isElvisOperatorExpression Determines if argument is an ElvisOperatorExpression isEmptyExpression Determines if argument is an EmptyExpression isFieldExpression Determines if argument is a FieldExpression isGStringExpression Determines if argument is a GStringExpression isLambdaExpression Determines if argument is a LambdaExpression isListExpression Determines if argument is a ListExpression isMapExpression Determines if argument is a MapExpression isMapEntryExpression Determines if argument is a MapEntryExpression isMethodCallExpression Determines if argument is a MethodCallExpression isMethodPointerExpression Determines if argument is a MethodPointerExpression isMethodReferenceExpression Determines if argument is a MethodReferenceExpression isNamedArgumentListExpression Determines if argument is a NamedArgumentListExpression isNotExpression Determines if argument is a NotExpression isPostfixExpression Determines if argument is a PostfixExpression isPrefixExpression Determines if argument is a PrefixExpression isPropertyExpression Determines if argument is a PropertyExpression isRangeExpression Determines if argument is a RangeExpression isSpreadExpression Determines if argument is a SpreadExpression isSpreadMapExpression Determines if argument is a SpreadMapExpression isStaticMethodCallExpression Determines if argument is a StaticMethodCallExpression isTernaryExpression Determines if argument is a TernaryExpression isTupleExpression Determines if argument is a TupleExpression isUnaryMinusExpression Determines if argument is a UnaryMinusExpression isUnaryPlusExpression Determines if argument is a UnaryPlusExpression isVariableExpression Determines if argument is a VariableExpression General utility: Delegates to AbstractTypeCheckingExtension Imports static members of ClassHelper Imports static members of StaticTypeCheckingSupport
GString
Represents a String which contains embedded values such as "hello there ${user} how are you?" which can be evaluated lazily.
GStringExpression
Represents a String expression which contains embedded values inside it such as "hello there ${user} how are you" which is expanded lazily
GStringImpl
Default implementation of a GString used by the compiler.
HandleMetaClass  
HasCleanup
An interface for things that need to be cleaned up after operations complete.
HashCodeHelper
A utility class to help calculate hashcode values using an algorithm similar to that outlined in "Effective Java, Joshua Bloch, 2nd Edition".
IFileNameFinder  
IfStatement
Represents an if (condition) { ...
IllegalPropertyAccessException
An exception occurred if a dynamic property dispatch fails with a field not accessible.
ImmutableASTTransformation
Handles generation of code for the @Immutable annotation.
ImmutableBase
Class annotation used to assist in the creation of immutable classes.
ImmutableOptions
Class annotation used to assist in the creation of immutable classes.
ImmutablePropertyHandler  
ImmutablePropertyUtils  
ImportCustomizer
This compilation customizer allows addiing various types of imports to the compilation unit.
ImportCustomizerFactory
This factory allows the generation of an import customizer.
ImportNode
Represents an import statement.
IncorrectClosureArgumentsException
An exception occurred when invoking a Closure with the wrong number and/or types of arguments
IncorrectTypeHintException  
Incubating
Annotation to indicate experimental and still to be refined API, which may change at any time
IndentPrinter
A helper class for printing indented text.
IndexedProperty
Field annotation used with properties to provide an indexed getter and setter for the property.
IndexedPropertyASTTransformation
Handles generation of code for the @IndexedProperty annotation.
IndyArrayAccess Deprecated.
IndyArrayAccess
Class for handling array access through invokedynamic using static callsite information
IndyBinHelper  
IndyCallSiteWriter
Dummy class used by the indy implementation.
IndyGuardsFiltersAndSignatures Deprecated.
IndyGuardsFiltersAndSignatures
This class contains guards, runtime filters and MethodType signatures used by indy.
IndyInterface Deprecated.
IndyInterface
Bytecode level interface for bootstrap methods used by invokedynamic.
IndyInterface.CallType
Enum for easy differentiation between call types
IndyInterface.CallType
Enum for easy differentiation between call types
IndyMath Deprecated.
IndyMath
This class contains math operations used by indy instead of the normal meta method and call site caching system.
IndyStaticTypesMultiTypeDispatcher
Multi type dispatcher for binary expression backend combining indy and static compilation
InheritConstructors
Class annotation to make constructors from a super class available in a sub class.
InheritConstructorsASTTransformation
Handles generation of code for the @InheritConstructors annotation.
InitializerStrategy
This strategy is used with the Builder AST transform to create a builder helper class for the fluent and type-safe creation of instances of a specified class.
InitializerStrategy.SET
Internal phantom type used by the InitializerStrategy to indicate that a property has been set.
InitializerStrategy.UNSET
Internal phantom type used by the InitializerStrategy to indicate that a property remains unset.
InlinedASTCustomizerFactory
This factory lets a user define a compilation customizer without having to define an anonymous inner class.
InnerClassCompletionVisitor  
InnerClassNode
Represents an inner class declaration
InnerClassVisitor  
InnerClassVisitorHelper  
InputStreamReaderSource
A ReaderSource for source strings.
Inspector
The Inspector provides a unified access to an object's information that can be determined by introspection.
Inspector.MemberComparator  
Inspector.MemberComparatorWithValue  
InstanceOfVerifier  
IntArrayIterable
Allow an int array to be used where an Iterable is expected.
IntArrayIterator
Allow an int array to be used where an Iterator is expected.
IntegerArrayGetAtMetaMethod  
IntegerArrayPutAtMetaMethod  
IntegerCachedClass  
IntegerMath
Integer NumberMath operations
Interceptor
Implementers of this interface can be registered in the ProxyMetaClass for notifications about method calls for objects managed by the ProxyMetaClass.
InterfaceHelperClassNode
Represents an inner class defined as helper for an interface
Internal
The Internal annotation is used to mark members that are internal.
IntRange
Represents a list of Integer objects starting at a specified from value up (or down) to and potentially including a given to value.
IntWrapper  
InvocationWriter  
InvokeDynamicWriter
This Writer is used to generate the call invocation byte codes for usage by invokedynamic.
InvokerHelper
A static helper class to make bytecode generation easier and act as a facade over the Invoker
InvokerInvocationException
An exception thrown if a method is called and an exception occurred
IO
Container for input/output handles.
IO.Verbosity
Verbosity for simple logging: QUIET, INFO, VERBOSE, DEBUG
IOGroovyMethods
This class defines new groovy methods for Files, URLs, URIs which appear on normal JDK classes inside the Groovy environment.
IteratorBufferedIterator<T>
An implementation for BufferedIterator wraps Iterator.
IteratorClosureAdapter<T>
A closure which stores calls in a List so that method calls can be iterated over in a 'yield' style way
Janitor
An agent that can be used to defer cleanup operations to a later time.
Java2GroovyConverter Deprecated.
Java2GroovyMain Deprecated.
Java2GroovyProcessor Deprecated.
Java5 Deprecated.
Java6 Deprecated.
Java7 Deprecated.
Java8
Java 8 based functions.
Java9
Additional Java 9 based functions will be added here as needed.
JavaAwareCompilationUnit
Compilation Unit capable of compiling Java source files.
JavaAwareResolveVisitor  
JavacCompilerFactory  
JavacJavaCompiler  
JavaCompiler  
JavaCompilerFactory  
JavaLexer  
JavaRecognizer
Java 1.5 Recognizer Run 'java Main [-showtree] directory-full-of-java-files' [The -showtree option pops up a Swing frame that shows the AST constructed from the parser.] Run 'java Main ' Contributing authors: Jeremy Rayner [email protected] John Mitchell [email protected] Terence Parr [email protected] John Lilley [email protected] Scott Stanchfield [email protected] Markus Mohnen [email protected] Peter Williams [email protected] Allan Jacobs [email protected] Steve Messick [email protected] John Pybus [email protected] Version 1.00 December 9, 1997 -- initial release Version 1.01 December 10, 1997 fixed bug in octal def (0..7 not 0..8) Version 1.10 August 1998 (parrt) added tree construction fixed definition of WS,comments for mac,pc,unix newlines added unary plus Version 1.11 (Nov 20, 1998) Added "shutup" option to turn off last ambig warning.
JavaStubCompilationUnit
Compilation unit to only generate stubs.
JavaStubGenerator  
JavaTokenTypes  
JUnit4Utils Deprecated.
KnownImmutable
Class annotation used as a marker for immutable classes.
LabelVerifier
This class checks the handling of labels in the AST
LambdaExpression
Represents a lambda expression such as one of these:
LambdaWriter  
Lazy
Field annotation to simplify lazy initialization.
LazyASTTransformation
Handles generation of code for the @Lazy annotation
LazyInitializable
A LazyInitializable is an object that can be initialized lazily.
LazyReference<T>
Soft reference with lazy initialization under lock
LegacyHashMapPropertyHandler
The @Immutable transformation in earlier versions of Groovy tried to be smart in the case of an immutable class with a single HashMap property, the supplied Map constructor tried to be compatible with both expected tuple behavior and expected named-argument behavior by peeking into the supplied map and guessing as to which approach might be applicable.
LexerAtnManager
Manage ATN for lexer to avoid memory leak
LexerFrame
Swing application to graphically display the tokens produced by the lexer.
LexerFrame Deprecated.
LexerFrame instead
LineColumn
An object representing a line and column position
LineColumnReader
The LineColumnReader is an extension to BufferedReader that keeps track of the line and column information of where the cursor is.
ListBufferedIterator<T>
An implementation for BufferedIterator wraps ListIterator.
ListExpression
Represents a list expression [1, 2, 3] which creates a mutable List
ListExpressionTransformer  
ListHashMap<K,​V>
This class represents a Map that is optimized for a small number of entries.
ListOfExpressionsExpression
This class is used internally by the compiler to transform expressions like multiple assignments into a list of assignments.
ListWithDefault<T>
A wrapper for List which automatically grows the list when either ListWithDefault.get(int) or ListWithDefault.getAt(int) is called with an index greater than or equal to size().
LoaderConfiguration
Class used to configure a RootLoader from a stream or by using its methods.
LocatedMessage
A base class for compilation messages.
LockableObject
A bit simplified lock designed to be inherited by.
Log
This local transform adds a logging ability to your program using java.util.logging.
Log.JavaUtilLoggingStrategy
This class contains the logic of how to weave a Java Util Logging logger into the host class.
Log4j
This local transform adds a logging ability to your program using Log4j logging.
Log4j.Log4jLoggingStrategy  
Log4j2
This local transform adds a logging ability to your program using Log4j2 logging.
Log4j2.Log4j2LoggingStrategy  
LogASTTransformation
This class provides an AST Transformation to add a log field to a class.
LogASTTransformation.AbstractLoggingStrategy  
LogASTTransformation.AbstractLoggingStrategyV2  
LogASTTransformation.LoggingStrategy
A LoggingStrategy defines how to wire a new logger instance into an existing class.
LogASTTransformation.LoggingStrategyV2
A LoggingStrategy defines how to wire a new logger instance into an existing class.
LoggableClassVisitor
A ClassVisitor proxy, which can log bytecode generation
LoggableTextifier
Logging bytecode generation, which can make debugging easy
Logger
Provides a very, very basic logging API.
LongArrayGetAtMetaMethod  
LongArrayIterable
Allow a long array to be used where an Iterable is expected.
LongArrayIterator
Allow a longt array to be used where an Iterator is expected.
LongArrayPutAtMetaMethod  
LongCachedClass  
LongMath
Long NumberMath operations
LongWrapper  
LoopingStatement
This is an AST Node that provides some sort of looping mechanism.
LRUCache<K,​V>
A cache backed by a ConcurrentLinkedHashMap
ManagedConcurrentLinkedQueue<T>
A queue that stores values wrapped in a Reference, the type of which is determined by the provided ReferenceBundle.
ManagedConcurrentMap<K,​V>  
ManagedConcurrentMap.Entry<K,​V>  
ManagedConcurrentMap.EntryWithValue<K,​V>  
ManagedConcurrentMap.Segment<K,​V>  
ManagedConcurrentValueMap<K,​V>
This is a basic implementation of a map able to forget its values.
ManagedLinkedList<T> Deprecated.
ManagedReference<T>  
MapConstructor
Class annotation used to assist in the creation of map constructors in classes.
MapConstructorASTTransformation
Handles generation of code for the @MapConstructor annotation.
MapEntry
A Map.Entry implementation.
MapEntryExpression
Represents an entry inside a map expression such as 1 : 2.
MapEntryOrKeyValue
A special hint which handles a common use case in the Groovy methods that work on maps.
MapExpression
Represents a map expression [1 : 2, "a" : "b", x : y] which creates a mutable Map
Maps
Map utilities.
MapWithDefault<K,​V>
A wrapper for Map which allows a default value to be specified.
MemJavaFileObject
Represents a Java source file in memory to compile
Memoize
Implements memoize for Closures.
MemoizeCache<K,​V>
Represents a memoize cache with its essential methods
MemoizeCache.ValueProvider<K,​V>
Represents a provider used to create value
Memoized
Method annotation that creates a cache for the results of the execution of the annotated method.
MemoizedASTTransformation
Handles generation of code for the Memoized annotation.
Message
A base class for compilation messages.
MessageSource
Message source backed up by one or more ResourceBundle instances for simple i18n support.
MetaArrayLengthProperty
Represents the length property of an array
MetaBeanProperty
Represents a property on a bean which may have a getter and/or a setter
MetaClass
A MetaClass within Groovy defines the behaviour of any given Groovy or Java class.
MetaClass<T>
A MetaClass within Groovy defines the behaviour of any given Groovy or Java class
MetaClassConstant<T>
The one and only implementation of a meta class.
MetaClassConstructorSite
Call site for constructor meta class - cached method - not cached
MetaClassHelper  
MetaClassImpl
Allows methods to be dynamically added to existing classes at runtime
MetaClassImpl.Index  
MetaClassImpl.MetaConstructor
This is a helper class introduced in Groovy 2.1.0, which is used only by indy.
MetaClassRegistry
A MetaClassRegistry is an object that is responsible for managing the a cache of MetaClass instances.
MetaClassRegistry.MetaClassCreationHandle
Class used as base for the creation of MetaClass implementations.
MetaClassRegistryChangeEvent
An event used to propagate meta class updates
MetaClassRegistryChangeEventListener
A listener called whenever a constant MetaClass is set, removed or replaced.
MetaClassRegistryImpl
A registry of MetaClass instances which caches introspection and reflection information and allows methods to be dynamically added to existing classes at runtime
MetaClassSite
Call site which holds reference to meta class.
MetaExpandoProperty
Represents a property in an Expando object
MetaInfExtensionModule
A SimpleExtensionModule implementation which reads extension classes metadata from META-INF.
MetaMethod
Represents a Method on a Java object a little like Method except without using reflection to invoke the method
MetaMethodIndex  
MetaMethodIndex.CacheEntry  
MetaMethodIndex.Entry  
MetaMethodIndex.EntryIterator  
MetaMethodIndex.Header  
MetaMethodSite
Call site which caches meta method
MetaObjectProtocol
An interface that defines the API usable by clients of Groovy's Meta Object Protocol (MOP).
MetaProperty
Represents a property on a bean which may have a getter and/or a setter
MethodCall
Interface defining common methods for method calls.
MethodCaller
A helper class to invoke methods more easily in ASM
MethodCallerMultiAdapter  
MethodCallExpression
A method call on an object or class.
MethodCallExpressionTransformer  
MethodCallTransformation  
MethodClosure
Represents a method on an object using a closure which can be invoked at any time
MethodHelper
Some reflection helper methods
MethodInvocationTrap  
MethodKey
An abstract base class for a key used for comparators and Map keys to lookup a method by name and parameter types
MethodMetaProperty
Wrapper for a method for a property get or set.
MethodMetaProperty.GetBeanMethodMetaProperty
Wrapper for a method realizing the property getter.
MethodMetaProperty.GetMethodMetaProperty
Wrapper for a method realizing the property get.
MethodNode
Represents a method declaration.
MethodNodeUtils
Utility class for working with MethodNodes
MethodPointerExpression
Represents a method pointer on an object such as foo.&bar which means find the method pointer for the bar method on the foo instance.
MethodPointerExpressionWriter
A helper class used to generate bytecode for method pointer expressions.
MethodRankHelper
Utility class for MissingMethodException, MissingPropertyException etc.
MethodReferenceExpression
Represents a method reference or a constructor reference, e.g.
MethodReferenceExpressionWriter
A helper class used to generate bytecode for method reference expressions.
MethodSelectionException
This exception is thrown if the runtime is unable to select a method.
MindMapPrinter
An antlr AST visitor that prints a format suitable for viewing in http://freemind.sourceforge.net
MissingClassException
An exception occurred if a dynamic method dispatch fails with an unknown class.
MissingFieldException
An exception occurred if a dynamic field dispatch fails with an unknown field.
MissingMethodException
An exception occurred if a dynamic method dispatch fails with an unknown method.
MissingMethodExceptionNoStack  
MissingMethodExecutionFailed
A stack less exception used to indicate, that the execution of a missingMethod method failed with a MissingMethodException.
MissingPropertyException
An exception occurred if a dynamic property dispatch fails with an unknown property.
MissingPropertyExceptionNoStack  
MixedInMetaClass  
Mixin Deprecated.
static mixins have been deprecated in favour of traits (trait keyword).
MixinASTTransformation Deprecated.
static mixins have been deprecated in favour of traits (trait keyword).
MixinInMetaClass  
MixinInstanceMetaMethod
MetaMethod for mixed in classes
MixinInstanceMetaProperty
MetaProperty for mixed in classes
MixinNode
Represents a mixin which can be applied to any ClassNode to implement mixins
ModifierNode
Represents a modifier
ModuleNode
Represents a module, which consists typically of a class declaration but could include some imports, some statements and multiple classes intermixed with statements like scripts in Python or Ruby
MopWriter  
MopWriter.Factory  
MultipleCompilationErrorsException
Represents multiple other exceptions
MultipleSetterProperty
This class represents a property with multiple setters.
MutableMetaClass
An interface that defines methods that implementers of mutable Meta classes should specify.
NamedArgumentListExpression
Represents one or more arguments being passed into a method by name
NamedDelegate
Marker interface used to indicate that the property names of the annotated parameter represent valid key names when using named arguments and that the property types are applicable for type checking purposes.
NamedParam
Marker interface used to indicate that the name of the annotated parameter (or specified optional name) is a valid key name when using named arguments and that the parameter type is applicable for type checking purposes.
NamedParams
Collector annotation for NamedParam.
NamedVariant
Allows construction of a named-arg equivalent method or constructor.
NamedVariantASTTransformation  
Newify
Annotation that supports writing constructor call expressions without the 'new' keyword.
NewifyASTTransformation
Handles generation of code for the @Newify AST transform.
NewInstanceMetaMethod
A MetaMethod implementation where the underlying method is really a static helper method on some class but it appears to be an instance method on a class.
NewMetaMethod
Base class for NewInstanceMetaMethod and NewStaticMetaMethod
NewStaticMetaMethod
A MetaMethod implementation where the underlying method is really a static helper method on some class.
Node
Represents an arbitrary tree node which can be used for structured metadata or any arbitrary XML-like tree.
NodeAsHTMLPrinter
A visitor that prints a html tags of each node to the supplied PrintStream
NodeBuilder
A helper class for creating nested trees of Node objects for handling arbitrary data
NodeCollector
A simple antlr AST visitor that collects all nodes into a List.
NodeList
A List implementation which is returned by queries on a Node which provides some XPath like helper methods for GPath.
NodeMetaDataHandler
An interface to mark a node being able to handle metadata.
NodePrinter
A helper class for creating nested trees of data
NodePrinter
A simple antlr AST visitor that outputs the tokenName of each node in a pseudo xml style.
NonEmptySequence
Represents a sequence of one or more objects of a given type.
NotExpression  
NullCallSite  
NullCheck
Class, method or constructor annotation which indicates that each parameter should be checked to ensure it isn't null.
NullCheckASTTransformation
Handles generation of code for the @NullCheck annotation.
NullObject  
NullProtectionStorage
A NullObject pattern implementation for ProtectionStorage Doesn't protect any resources.
NullWriter
An Writer than eats its input.
NumberAwareComparator<T>
Compares two objects using Groovy's friendly comparison algorithm, i.e.
NumberCachedClass  
NumberMath
Stateless objects used to perform math on the various Number subclasses.
NumberMathModificationInfo  
NumberNumberDiv  
NumberNumberMetaMethod  
NumberNumberMetaMethod.NumberNumberCallSite  
NumberNumberMinus  
NumberNumberMultiply  
NumberNumberPlus  
NumberRange
Represents an immutable list of Numbers from a value to a value with a particular step size.
Numbers
Helper class for processing Groovy numeric literals.
ObjectArrayGetAtMetaMethod  
ObjectArrayPutAtMetaMethod  
ObjectCachedClass  
ObjectGraphBuilder
A builder for creating object graphs.
Each node defines the class to be created and the property on its parent (if any) at the same time.
ObjectGraphBuilder.ChildPropertySetter
Strategy for setting a child node on its parent.
Useful for handling Lists/Arrays vs normal properties.
ObjectGraphBuilder.ClassNameResolver
Strategy for resolving a classname.
ObjectGraphBuilder.DefaultChildPropertySetter
Default impl that calls parent.propertyName = child
If parent.propertyName is a Collection it will try to add child to the collection.
ObjectGraphBuilder.DefaultClassNameResolver
Default impl that capitalizes the classname.
ObjectGraphBuilder.DefaultIdentifierResolver
Default impl, always returns 'id'
ObjectGraphBuilder.DefaultNewInstanceResolver
Default impl that calls Class.newInstance()
ObjectGraphBuilder.DefaultReferenceResolver
Default impl, always returns 'refId'
ObjectGraphBuilder.DefaultRelationNameResolver
Default impl that returns parentName and childName accordingly.
ObjectGraphBuilder.IdentifierResolver
Strategy for picking the correct synthetic identifier.
ObjectGraphBuilder.NewInstanceResolver
Strategy for creating new instances of a class.
Useful for plug-in calls to non-default constructors.
ObjectGraphBuilder.ReferenceResolver
Strategy for picking the correct synthetic reference identifier.
ObjectGraphBuilder.RelationNameResolver
Strategy for resolving a relationship property name.
ObjectHolder<T>
Just hold an object
ObjectRange
Represents an inclusive list of objects from a value to a value using comparators.
ObservableList
List decorator that will trigger PropertyChangeEvents when a value changes.
An optional Closure may be specified and will work as a filter, if it returns true the property will trigger an event (if the value indeed changed), otherwise it won't.
ObservableList.ChangeType  
ObservableList.ElementAddedEvent  
ObservableList.ElementClearedEvent  
ObservableList.ElementEvent  
ObservableList.ElementRemovedEvent  
ObservableList.ElementUpdatedEvent  
ObservableList.MultiElementAddedEvent  
ObservableList.MultiElementRemovedEvent  
ObservableMap
Map decorator that will trigger PropertyChangeEvents when a value changes.
An optional Closure may be specified and will work as a filter, if it returns true the property will trigger an event (if the value indeed changed), otherwise it won't.
ObservableMap.ChangeType  
ObservableMap.MultiPropertyEvent  
ObservableMap.PropertyAddedEvent  
ObservableMap.PropertyClearedEvent  
ObservableMap.PropertyEvent  
ObservableMap.PropertyRemovedEvent  
ObservableMap.PropertyUpdatedEvent  
ObservableSet<E>
Set decorator that will trigger PropertyChangeEvents when a value changes.
An optional Closure may be specified and will work as a filter, if it returns true the property will trigger an event (if the value indeed changed), otherwise it won't.
ObservableSet.ChangeType  
ObservableSet.ElementAddedEvent  
ObservableSet.ElementClearedEvent  
ObservableSet.ElementEvent  
ObservableSet.ElementRemovedEvent  
ObservableSet.MultiElementAddedEvent  
ObservableSet.MultiElementRemovedEvent  
OperandStack  
OptimizerVisitor
Visitor to produce several optimizations: to replace numbered constants with references to static fields remove superfluous references to GroovyObject interface
OptimizingStatementWriter  
OptimizingStatementWriter.ClassNodeSkip  
OptimizingStatementWriter.StatementMeta  
Option
Indicates that a method or property can be used to set a CLI option.
OrderBy<T>
A helper class for sorting objects via a closure to return the field or operation on which to sort.
OwnedMetaClass  
PackageNode
Represents a package in the AST.
PackageScope
Annotation used for turning off Groovy's auto visibility conventions.
PackageScopeASTTransformation
Handles transformation for the @PackageScope annotation.
PackageScopeTarget
Intended target when @PackageScope is placed at the class level.
Parameter
Represents a parameter on a constructor or method call.
ParameterArray Deprecated.
ParameterTypes  
ParameterUtils  
ParserAtnManager
Manage ATN for parser to avoid memory leak
ParserException  
ParserPlugin
A simple extension point to allow us to switch between the classic Groovy parser and the new Antlr based parser(s).
ParserPluginFactory
A factory of parser plugin instances.
PerInstancePojoMetaClassSite  
PermutationGenerator<E>
Systematically generate permutations.
Phases
Compilation phase identifiers.
PickAnyArgumentHint
Base class for hints which use the type of a parameter of the annotated method as the signature.
PickFirstResolver
Returns the first of several candidates found.
PlainObjectMetaMethodSite
Plain ordinary object call site meta class - cached method - cached
PlatformLineWriter
A buffered writer that gobbles any \r characters and replaces every \n with a platform specific newline.
PluginDefaultGroovyMethods Deprecated.
PluginDefaultGroovyMethods
Defines new Groovy methods which appear on standard Java 8 classes within the Groovy environment.
PogoGetPropertySite  
PogoInterceptableSite
Call site for GroovyInterceptable
PogoMetaClassGetPropertySite  
PogoMetaClassSite  
PogoMetaMethodSite
POGO call site meta class - cached method - cached
PogoMetaMethodSite.PogoCachedMethodSite  
PogoMetaMethodSite.PogoCachedMethodSiteNoUnwrap  
PogoMetaMethodSite.PogoCachedMethodSiteNoUnwrapNoCoerce  
PogoMetaMethodSite.PogoMetaMethodSiteNoUnwrap
Call site where we know there is no need to unwrap arguments
PogoMetaMethodSite.PogoMetaMethodSiteNoUnwrapNoCoerce
Call site where we know there is no need neither unwrap nor coerce arguments
PojoMetaClassGetPropertySite  
PojoMetaClassSite
POJO call site meta class - cached method - not cached
PojoMetaMethodSite
POJO call site meta class - cached method - cached
PojoMetaMethodSite.PojoCachedMethodSite  
PojoMetaMethodSite.PojoCachedMethodSiteNoUnwrap  
PojoMetaMethodSite.PojoCachedMethodSiteNoUnwrapNoCoerce  
PojoMetaMethodSite.PojoMetaMethodSiteNoUnwrap
Call site where we know there is no need to unwrap arguments
PojoMetaMethodSite.PojoMetaMethodSiteNoUnwrapNoCoerce
Call site where we know there is no need neither unwrap nor coerce arguments
PojoWrapper  
PositionConfigureUtils
Utilities for configuring node positions
PositionInfo  
PostCompletionFactory
A helper interface for factories which require post processing of generated nodes.
PostfixExpression
Represents a postfix expression like foo++ or bar++
PowerAssertionError
Indicates that a power assertion has failed.
Preferences
Container for shell preferences.
PrefixExpression
Represents a prefix expression like ++foo or --bar
PreJava2GroovyConverter Deprecated.
PreOrderTraversal
A simple preorder traversal over the supplied antlr AST.
PrimitiveHelper  
ProcessGroovyMethods
This class defines new groovy methods which appear on normal JDK classes related to process management.
ProcessGroovyMethods.ProcessRunner
A Runnable which waits for a process to complete together with a notification scheme allowing another thread to wait a maximum number of seconds for the process to complete before killing it.
ProcessingUnit
A base class for data structures that can collect messages and errors during processing.
PropertiesModuleFactory
This is the base class for classes responsible for creating modules using properties.
PropertyAccessInterceptor
An interface that adds the ability to intercept property getters/setters
PropertyAccessor  
PropertyExpression
Represents a property access such as the expression "foo.bar".
PropertyHandler
Used to provide custom property handling when getting, setting or initializing properties.
PropertyNode
Represents a property (member variable, a getter and setter)
PropertyNodeUtils  
PropertyOptions
Marker annotation used to indicate that special property handling code will be generated for this class.
PropertyReader  
PropertyValue  
PropertyWriter  
Proxy
Dynamic groovy proxy for another object.
ProxyGenerator
Generates 'Proxy' objects which implement interfaces, maps of closures and/or extend classes/delegates.
ProxyGeneratorAdapter
A proxy generator responsible for mapping a map of closures to a class implementing a list of interfaces.
ProxyMetaClass
As subclass of MetaClass, ProxyMetaClass manages calls from Groovy Objects to POJOs.
QName
QName class represents the value of a qualified name as specified in XML Schema Part2: Datatypes specification.
QName Deprecated.
Range<T extends java.lang.Comparable>
A Range represents the list of discrete items between some starting (or from) value and working up towards some ending (or to) value.
RangeExpression
Represents a range expression such as for iterating.
RangeExpressionTransformer
This transformer focuses on ranges to produce optimized bytecode.
RangeInfo  
RawJavaFileObject
Represents a Java source file in file to compile
ReaderSource
An interface for things that can supply (and potentially resupply) a Reader on a source stream.
ReadException
Encapsulates non-specific i/o exceptions.
ReadOnlyPropertyException
This exception is thrown if an attempt is made to set a read only property
ReadWriteLockASTTransformation
Handles generation of code for the @WithReadLock and @WithWriteLock annotation.
This transformation adds an instance of ReentrantReadWriteLock to the class.
Any method annotated with @WithReadLock will obtain a read lock and release it in a finally block.
Any method annotated with @WithWriteLock will obtain a write lock and release it in a finally block.
For more information see WithReadLock and WithWriteLock
Realm
A Realm is the representation of a metaclass layer in a tree of realm objects.
Receiver<T>  
Reduction
A syntax reduction, produced by the Parser.
ReevaluatingReference<T>
This class represents a reference to the most actual incarnation of a Metaclass.
Reference<T>
Represents a reference to a value
Reference<T,​V extends Finalizable>  
ReferenceBundle  
ReferenceManager  
ReferenceType  
ReflectionCache  
ReflectionMetaMethod  
ReflectionMethodInvoker
Utility class to call methods through reflection, and falls through using the Invoker to call the method if it fails.
ReflectionUtils
This class contains utility methods to determine which class called the current class to multiple levels of depth.
Reflector
Provides as alternative to reflection using bytecode generation.
ReflectorLoader
Reflector creation helper.
RegexSupport
Used to store the last regex match.
ReleaseInfo
Exposes the Groovy release information
ResolveVisitor
Visitor to resolve Types and convert VariableExpression to ClassExpressions if needed.
ResourceConnector
Base interface for customizing where resources can be found for the GroovyScriptEngine.
ResourceException  
ResourceGroovyMethods
This class defines new groovy methods for Readers, Writers, InputStreams and OutputStreams which appear on normal JDK classes inside the Groovy environment.
ReturnAdder
Utility class to add return statements.
ReturnAdder.ReturnStatementListener  
ReturnStatement
A return statement
ReverseListIterator<T>
A reverse iterator over a list.
RootLoader
This ClassLoader should be used as root of class loaders.
RuntimeParserException
A helper class to allow parser exceptions to be thrown anywhere in the code.
Script
This object represents a Groovy script
ScriptBytecodeAdapter
A static helper class to interface bytecode and runtime
ScriptException  
ScriptReference
Represents a reference to a variable in a script
ScriptRunner
The tool to simulate running script files via groovy command
SecondParam
A hint used to instruct the type checker to pick the second parameter type.
SecondParam.Component
A hint used to instruct the type checker to pick the type of the component of the second parameter type, which is therefore expected to be an array, like in this example:
SecondParam.FirstGenericType
A hint used to instruct the type checker to pick the first generic type of the second parameter type.
SecondParam.SecondGenericType
A hint used to instruct the type checker to pick the second generic type of the second parameter type.
SecondParam.ThirdGenericType
A hint used to instruct the type checker to pick the second generic type of the second parameter type.
SecureASTCustomizer
This customizer allows securing source code by controlling what code constructs are permitted.
SecureASTCustomizer.ExpressionChecker
This interface allows the user to provide a custom expression checker if the dis/allowed expression lists are not sufficient
SecureASTCustomizer.StatementChecker
This interface allows the user to provide a custom statement checker if the dis/allowed statement lists are not sufficient
SecureASTCustomizerFactory
This factory allows the generation of a SecureASTCustomizer.
Selector Deprecated.
Selector  
SelfType
This annotation can be added on a trait to declare the list of types that a class implementing that trait is supposed to extend.
SemanticPredicates
Some semantic predicates for altering the behaviour of the lexer and parser
Sequence
Represents a sequence of zero or more objects of a given type.
SharedVariableCollector
A visitor which collects the list of variable expressions which are closure shared.
ShortArrayGetAtMetaMethod  
ShortArrayIterator
Allow a short array to be used where an Iterator is expected.
ShortArrayPutAtMetaMethod  
ShortCachedClass  
ShortTypeHandling
Class providing various short paths for type conversions.
ShortWrapper  
SignatureCodec
A signature codec is responsible for encoding and decoding of inferred returned types as stored in bytecode.
SignatureCodecVersion1
First implementation of an inferred type signature codec.
SimpleExtensionModule
An extension module which provides extension methods using a DefaultGroovyMethods-like implementation, that is to say using static methods defined in an "extension class".
SimpleMessage
A base class for compilation messages.
SimpleStrategy
This strategy is used with the Builder AST transform to modify your Groovy objects so that the setter methods for properties return the original object, thus allowing chained usage of the setters.
SimpleType  
SingleKeyHashMap  
SingleKeyHashMap.Copier  
SingleKeyHashMap.Entry  
SingleSignatureClosureHint
A simplified version of a ClosureSignatureHint which is suitable for monomorphic closures, that is to say closures which only respond to a single signature.
Singleton
Class annotation to make a singleton class.
SingletonASTTransformation
Handles generation of code for the @Singleton annotation
Slf4j
This local transform adds a logging ability to your program using LogBack logging.
Slf4j.Slf4jLoggingStrategy  
SocketGroovyMethods
This class defines new groovy methods for Sockets which enhance JDK classes inside the Groovy environment.
Sortable
A class annotation used to make a class Comparable by (potentially) multiple Comparators.
SortableASTTransformation
Injects a set of Comparators and sort methods.
SourceAwareCustomizer
A base class for customizers which only have to be applied on specific source units.
SourceAwareCustomizerFactory
Factory for use with CompilerCustomizationBuilder.
SourceAwareCustomizerFactory.SourceOptions  
SourceBuffer
A simple buffer that provides line/col access to chunks of source code held within itself.
SourceCodeTraversal
A treewalker for the antlr generated AST that attempts to visit the AST nodes in the order needed to generate valid groovy source code.
SourceExtensionHandler
Looks for source file extensions in META-INF/services/org.codehaus.groovy.source.Extensions
SourceInfo  
SourcePrinter
An antlr AST visitor that prints groovy source code for each visited node to the supplied PrintStream.
SourceText
Provides the source text for an assertion statement and translates coordinates in the original source text to coordinates relative to the assertion's (normalized) source text.
SourceTextNotAvailableException
Indicates that the source text for an assertion statement is not available.
SourceUnit
Provides an anchor for a single source unit (usually a script file) as it passes through the compiler system.
SourceURI
Variable annotation used for getting the URI of the current script.
SourceURIASTTransformation
Handles transformation for the @SourceURI annotation.
SpreadExpression
Represents a spread expression *x in the list expression [1, *x, 2].
SpreadListEvaluatingException  
SpreadMap
Helper to turn a list with an even number of elements into a Map.
SpreadMapEvaluatingException  
SpreadMapExpression
Represents a spread map expression *:m in the map expression [1, *:m, 2, "c":100] or in the method invoke expression func(1, *:m, 2, "c":100).
StackTraceUtils
Originally was grails.utils.GrailsUtils, removed some grails specific stuff.
StampedCommonCache<K,​V>
Represents a simple key-value cache, which is thread safe and backed by a Map instance.
StandardPropertiesModuleFactory
This is the standard Groovy module factory.
Statement
Base class for any statement.
StatementMetaTypeChooser
A TypeChooser which is aware of statement metadata.
StatementWriter  
StaticCompilationMetadataKeys
Static compilation AST node metadata keys.
StaticCompilationMopWriter
A MOP Writer that skips the generation of MOP methods.
StaticCompilationTransformer
Some expressions use symbols as aliases to method calls (<<, +=, ...).
StaticCompilationVisitor
This visitor is responsible for amending the AST with static compilation metadata or transform the AST so that a class or a method can be statically compiled.
StaticCompileTransformation
Handles the implementation of the CompileStatic transformation.
StaticImportVisitor
Visitor to resolve constants and method calls from static imports.
StaticInvocationWriter  
StaticMetaClassSite
Call site for invoking static methods meta class - cached method - not cached
StaticMetaMethodSite
POJO call site meta class - cached method - cached
StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrap
Call site where we know there is no need to unwrap arguments
StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrapNoCoerce
Call site where we know there is no need neither unwrap nor coerce arguments
StaticMethodCallExpression
A static method call on a class
StaticPropertyAccessHelper
Facilitates the generation of statically-compiled bytecode for property access.
StaticTypeCheckingSupport
Support methods for StaticTypeCheckingVisitor.
StaticTypeCheckingSupport.BooleanArrayStaticTypesHelper  
StaticTypeCheckingSupport.ByteArrayStaticTypesHelper  
StaticTypeCheckingSupport.CharArrayStaticTypesHelper  
StaticTypeCheckingSupport.DoubleArrayStaticTypesHelper  
StaticTypeCheckingSupport.FloatArrayStaticTypesHelper  
StaticTypeCheckingSupport.IntArrayStaticTypesHelper  
StaticTypeCheckingSupport.LongArrayStaticTypesHelper  
StaticTypeCheckingSupport.ObjectArrayStaticTypesHelper
A DGM-like class which adds support for method calls which are handled specifically by the Groovy compiler.
StaticTypeCheckingSupport.ShortArrayStaticTypesHelper  
StaticTypeCheckingVisitor
The main class code visitor responsible for static type checking.
StaticTypeCheckingVisitor.SignatureCodecFactory  
StaticTypesBinaryExpressionMultiTypeDispatcher
A specialized version of the multi type binary expression dispatcher which is aware of static compilation.
StaticTypesCallSiteWriter
A call site writer which replaces call site caching with static calls.
StaticTypesClosureWriter
Writer responsible for generating closure classes in statically compiled mode.
StaticTypesLambdaWriter
Writer responsible for generating lambda classes in statically compiled mode.
StaticTypesMarker
This enumeration is used by the AST transformations which rely on static type checking, either to store or to retrieve information from AST node metadata.
StaticTypesMethodReferenceExpressionWriter
Generates bytecode for method reference expressions in statically-compiled code.
StaticTypesStatementWriter
A class to write out the optimized statements.
StaticTypesTransformation
Handles the implementation of the TypeChecked transformation.
StaticTypesTypeChooser
A TypeChooser which reads type information from node metadata generated by the static type checker.
StaticTypesUnaryExpressionHelper
An expression helper which generates optimized bytecode depending on the current type on top of the operand stack.
StaticTypesWriterController
An alternative WriterController which handles static types and method dispatch.
StaticTypesWriterControllerFactoryImpl  
StaticVerifier
Checks for dynamic variables in static contexts.
StringBufferWriter
This class codes around a silly limitation of StringWriter which doesn't allow a StringBuffer to be passed in as a constructor for some bizarre reason.
StringBuilderWriter
Copied from https://github.com/apache/commons-io/blob/master/src/main/java/org/apache/commons/io/output/StringBuilderWriter.java Writer implementation that outputs to a StringBuilder.
StringCachedClass  
StringGroovyMethods
This class defines new groovy methods which appear on String-related JDK classes (String, CharSequence, Matcher) inside the Groovy environment.
StringHelper  
StringReaderSource
A ReaderSource for source strings.
StringSetMap  
StringUtils
Utilities for handling strings
StringWriterIOException
An IO exception occurred trying to append to a StringWriter which should never happen.
SunClassLoader
Special class loader, which when running on Sun VM allows to generate accessor classes for any method
Supplier<T>
Backport of Java8 Supplier.
SwitchStatement
Represents a switch (object) { case value: ...
Synchronized
Method annotation to make a method call synchronized for concurrency handling with some useful baked-in conventions.
SynchronizedASTTransformation
Handles generation of code for the @Synchronized annotation.
SynchronizedStatement
Represents a synchronized statement
SyntaxErrorMessage
A class for error messages produced by the parser system.
SyntaxErrorReportable
A SyntaxErrorReportable is a recognizer that can report syntax error
SyntaxException
Base exception indicating a syntax error.
SystemUtil  
TemporaryMethodKey
A temporary implementation of MethodKey used to perform a fast lookup for a method using a set of arguments to a method
TemporaryVariableExpression
A front-end class for ExpressionAsVariableSlot which allows defining temporary variables loaded from variable slots directly at the AST level, without any knowledge of AsmClassGenerator.
TernaryExpression
Represents a ternary expression (booleanExpression) ? expression : expression
ThirdParam
A hint used to instruct the type checker to pick the third parameter type.
ThirdParam.Component
A hint used to instruct the type checker to pick the type of the component of the third parameter type, which is therefore expected to be an array, like in this example:
ThirdParam.FirstGenericType
A hint used to instruct the type checker to pick the first generic type of the third parameter type.
ThirdParam.SecondGenericType
A hint used to instruct the type checker to pick the second generic type of the third parameter type.
ThirdParam.ThirdGenericType
A hint used to instruct the type checker to pick the second generic type of the third parameter type.
ThreadManagedMetaBeanProperty
This MetaBeanProperty will create a pseudo property whose value is bound to an object using weak references.
ThrowStatement
Represents a throw statement
TimeCategory
Apply a number of methods to allow convenient Date/Time manipulation,such as:
TimeDatumDependentDuration
TimeDatumDuration represents a time period which results from an arithmetic operation between a TimeDuration object and a DatumDuration object
TimeDuration
TimeDuration represents time periods expressed in units of hours, minutes, seconds and milliseconds.
Token
A CSTNode produced by the Lexer.
TokenException  
TokenMismatchException  
TokenUtil
Utility methods for working with Tokens.
ToString
Class annotation used to assist in the creation of toString() methods in classes.
ToStringASTTransformation
Handles generation of code for the @ToString annotation.
TracingInterceptor  
Trait
Used to mark a class as being a trait.
TraitASTTransformation
Handles generation of code for the traits (trait keyword is equivalent to using the @Trait annotation).
TraitComposer
This class contains a static utility method TraitComposer.doExtendTraits(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.CompilationUnit) aimed at generating code for a classnode implementing a trait.
Traits
A collection of utility methods used to deal with traits.
Traits.Implemented
Internal annotation used to indicate which methods in a trait interface have a default implementation.
Traits.TraitBridge
Internal annotation used to indicate that a method is a bridge method to a trait default implementation.
TraitTypeCheckingExtension
A type checking extension that will take care of handling errors which are specific to traits.
TransformingCodeVisitor  
TransformMetaMethod
A MetaMethod implementation useful for implementing coercion based invocations
TraversalHelper Deprecated.
TripleKeyHashMap  
TripleKeyHashMap.Entry  
TryCatchStatement
Represents a try { ...
TryWithResourcesASTTransformation
Transform try-with-resources to try-catch-finally Reference JLS "14.20.3.
Tuple<E>
Represents a list of Objects.
Tuple0
Represents a list of 0 typed Object.
Tuple1<T1>
Represents a list of 1 typed Object.
Tuple10<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10>
Represents a list of 10 typed Objects.
Tuple11<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11>
Represents a list of 10 typed Objects.
Tuple12<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12>
Represents a list of 12 typed Objects.
Tuple13<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13>
Represents a list of 13 typed Objects.
Tuple14<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14>
Represents a list of 14 typed Objects.
Tuple15<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15>
Represents a list of 15 typed Objects.
Tuple16<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16>
Represents a list of 16 typed Objects.
Tuple2<T1,​T2>
Represents a list of 2 typed Objects.
Tuple3<T1,​T2,​T3>
Represents a list of 3 typed Objects.
Tuple4<T1,​T2,​T3,​T4>
Represents a list of 4 typed Objects.
Tuple5<T1,​T2,​T3,​T4,​T5>
Represents a list of 5 typed Objects.
Tuple6<T1,​T2,​T3,​T4,​T5,​T6>
Represents a list of 6 typed Objects.
Tuple7<T1,​T2,​T3,​T4,​T5,​T6,​T7>
Represents a list of 7 typed Objects.
Tuple8<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>
Represents a list of 8 typed Objects.
Tuple9<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9>
Represents a list of 9 typed Objects.
TupleConstructor
Class annotation used to assist in the creation of tuple constructors in classes.
TupleConstructorASTTransformation
Handles generation of code for the @TupleConstructor annotation.
TupleExpression  
TypeChecked
This will let the Groovy compiler use compile time checks in the style of Java.
TypeChecked.TypeCheckingInfo
This annotation is added by @TypeChecked on methods which have type checking turned on.
TypeCheckingContext  
TypeCheckingContext.EnclosingClosure
Represents the context of an enclosing closure.
TypeCheckingExtension
This interface defines a high-level API for handling type checking errors.
TypeCheckingMode
This enumeration can be used whenever it is preferred to annotate a class as TypeChecked in general, but where only one or more methods are "dynamic".
TypeChooser
Interface for modules which are capable of resolving the type of an expression.
TypedOption<T>  
TypeHelper Deprecated.
TypeHelper
This class contains helper methods for converting and comparing types.
Types
Typing information for the CST system.
TypeTransformers Deprecated.
TypeTransformers
This class contains several transformers for used during method invocation.
TypeUtil
A utility for getting information of types
UnaryExpressionHelper
A helper class used to generate bytecode for unary expressions.
UnaryMinusExpression  
UnaryPlusExpression  
UncheckedThrow
Allows to throw a checked exception unchecked.
Undefined
Java doesn't allow you to have null as an attribute value.
Undefined.CLASS  
Undefined.EXCEPTION  
UnicodeConst  
UnicodeEscapingReader Deprecated.
UnicodeLexerSharedInputState Deprecated.
UnlimitedConcurrentCache<K,​V>
A cache backed by a ConcurrentHashMap
Unparsed
Indicates that a method or property will contain the remaining arguments.
URLReaderSource
A ReaderSource for source files hosted at a URL.
URLStreams  
Utilities
Various utility functions for use in the compiler.
Value
A value recorded during evaluation of an assertion, along with the column it is associated with in the assertion's normalized source text.
ValueConvertable<V1,​V2>
To support caches whose values are convertable, e.g.
ValueRecorder
Records values produced during evaluation of an assertion statement's truth expression.
Variable
interface to mark a AstNode as Variable.
VariableExpression
Represents a local variable name, the simplest form of expression.
VariableExpressionTransformer
Transformer for VariableExpression the bytecode backend wouldn't be able to handle otherwise.
VariableScope
Records declared and referenced variabes for a given scope.
VariableScopeVisitor
Initializes the variable scopes for an AST.
VariableSlotLoader  
Verifier
Verifies the AST node and adds any default AST code before bytecode generation occurs.
Verifier.DefaultArgsAction  
VerifierCodeVisitor
Performs various checks on code inside methods and constructors including checking for valid field, variables names etc.
Vetoable
Annotates a groovy property or a class.
VetoableASTTransformation
Handles generation of code for the @Vetoable annotation, and @Bindable if also present.
Visibility
Indicates the visibility of a node.
VisibilityOptions
Marker annotation used in the context of AST transformations to provide a custom visibility.
VisibilityUtils  
Visitor
An interface for visiting a GroovySourceAST node.
VisitorAdapter
A default implementation of all visitor methods.
VMPlugin
Interface to access VM version based actions.
VMPluginFactory
Factory class to get functionality based on the VM version.
WarningMessage
A class for warning messages.
Weigher<V>
A class that can determine the weight of a value.
Weighers
A common set of Weigher and EntryWeigher implementations.
WhileStatement
Represents a while (condition) { ...
WideningCategories
This class provides helper methods to determine the type from a widening operation for example for a plus operation.
WideningCategories.LowestUpperBoundClassNode
This ClassNode specialization is used when the lowest upper bound of two types cannot be represented by an existing type.
WithReadLock
This annotation is used in conjunction with WithWriteLock to support read and write synchronization on a method.
WithWriteLock
This annotation is used in conjunction with WithReadLock to support read and write synchronization on a method.
Wrapper  
Writable
Represents an object which is capable of writing itself to a text stream in a more efficient format than just creating a toString() representation of itself.
WritableFile
A Writable File.
WriterController  
WriterControllerFactory
A non static factory to get alternative writer controller to be stored in the meta data
XStreamUtils