# Groovy 6.0.0-beta-1

## Groovy - An extensible multi-paradigm language for the JVM Platform
(GroovyDoc for Groovy and Java classes)

Groovy...

- is an extensible and multi-paradigm language for the Java Virtual Machine
- makes modern programming features available to Java developers with almost-zero learning curve
- has a dynamic nature like Python and Ruby, which means that it is very powerful, easy to learn, and productive
- optionally has static typing like Java and Kotlin, which makes it fast and provides extra type checking when desired
- has first-class functional, stream processing and immutability support, meaning that it offers features similar to Scala and can offer many advantages when working in parallel processing or clustered environments
- supports Domain-Specific Languages and other compact syntax so your code becomes easy to read and maintain
- makes writing shell and build scripts easy with its powerful processing primitives, OO abilities and an Ant DSL
- increases developer productivity by reducing scaffolding code when developing web, GUI, database or console applications
- simplifies testing by supporting unit testing and mocking out-of-the-box
- compiles straight to Java bytecode so you can use it anywhere you can use Java; it seamlessly integrates with all existing Java objects and libraries

Packages
Package
Description
groovy.ant
Classes for working with Apache Ant™.
groovy.beans
JavaBean property binding and change notification via AST transformations.
groovy.cli
Command-line interface (CLI) option declaration and processing framework.
groovy.concurrent
Structured concurrency abstractions for asynchronous and parallel programming.
groovy.console.ui
An interactive command line terminal along with a Swing console for evaluating Groovy scripts and inspecting objects, AST and bytecode information.
groovy.console.ui.text
Text processing helpers for the interactive command line terminal.
groovy.contracts
Design-by-contract (DbC) support with compile-time assertion generation.
groovy.csv
Classes for parsing and building CSV.
groovy.ginq.transform
GINQ (Groovy Integrated Query) transformation for SQL-like queries.
groovy.grape
Dynamic dependency resolution and management.
groovy.http
A small DSL and supporting types over the JDK `HttpClient` API.
groovy.inspect
Classes for inspecting object properties through introspection.
groovy.io
Classes for Groovier Input/Output.
groovy.jmx
Classes for working with the Java Management Extensions (JMX) technology.
groovy.jmx.builder
Classes for the JMX Builder.
groovy.json
JSON parsing, generation, and streaming support.
groovy.junit5.plugin
Classes to support running JUnit5 tests as scripts.
groovy.junit6.plugin
Classes to support running JUnit 6 (Jupiter) tests as scripts.
groovy.lang
Core Groovy language classes for implementing data structures, closures, metadata and so forth.
groovy.lang.annotation
Extended annotation support for Groovy-specific language constructs.
groovy.lang.groovydoc
Runtime representation of Groovy documentation and javadoc tags.
groovy.markdown
Classes for parsing CommonMark Markdown.
groovy.mock.interceptor
The groovy.mock.interceptor is an all-groovy mock testing library.
groovy.namespace
XML namespace support via `QName` qualified names.
groovy.security
Security-related classes
groovy.servlet
Support for Groovlets which are Servlets written as a simple Groovy script.
groovy.sql
Groovy helper classes for working with SQL data as Groovy objects
groovy.swing.binding
Binding classes for SwingBuilder
groovy.swing.impl
Implementation classes for SwingBuilder
groovy.swing.model
An MVC model package for working with user interfaces and data structures and arbitrary Java and Groovy objects
groovy.swing.table
Swing table support with sorting and model management.
groovy.test
Testing utilities and base classes for Groovy test development.
groovy.text
Contains the text processing utilities including templating APIs and default implementations.
groovy.text.markup
Contains a template engine facilitating generation of XML-like markup with optional type checking.
groovy.time
Classes for easily manipulating Dates and times.
groovy.toml
Classes for building and parsing TOML.
groovy.transform
Compile-time AST transformations for code generation and type checking.
groovy.transform.builder
Builder pattern generation via AST transformation.
groovy.transform.options
Customizable property handlers for transform-related property processing.
groovy.transform.stc
Static type checking support with closure signature hints and validation.
groovy.ui
Command-line entry point for Groovy script execution.
groovy.util
Various Groovy utilities for working with nodes, builders, logging, and other things.
groovy.util.function
Classes for functional interfaces.
groovy.util.logging
Logging framework integration via AST transformations.
groovy.util.regex
groovy.xml
Groovy markup builder classes for working with SAX and W3C DOM and Groovy markup.
groovy.xml.dom
Groovy XML Dom processing classes.
groovy.xml.markupsupport
XML character filtering and escaping for safe markup generation.
groovy.xml.slurpersupport
Helper classes for XmlSlurper.
groovy.xml.streamingmarkupsupport
XmlBuilder related classes to support streaming XML.
groovy.yaml
Classes for building and parsing YAML.
org.apache.groovy.antlr
Support utilities for legacy ANTLR parser.
org.apache.groovy.ast.builder
Legacy classes for building AST data structures.
org.apache.groovy.ast.tools
Utilities for Abstract Syntax Tree manipulation and analysis.
org.apache.groovy.contracts
Provides Design by Contract (DbC) support for Groovy classes and methods.
org.apache.groovy.contracts.annotations.meta
Meta-annotations for contract support, providing annotation stereotypes and composable contract definitions.
org.apache.groovy.contracts.ast
AST transformations for implementing Design by Contract semantics, including precondition, postcondition, and invariant validation transformations.
org.apache.groovy.contracts.ast.visitor
Visitor implementations for AST traversal and manipulation during contract transformation processing.
org.apache.groovy.contracts.classgen.asm
Bytecode generation utilities for injecting contract checks into compiled classes at the ASM bytecode level.
org.apache.groovy.contracts.common.base
Base abstractions and common interfaces for contract specification and validation.
org.apache.groovy.contracts.common.impl
Default implementations of contract abstractions including preconditions, postconditions, and invariants.
org.apache.groovy.contracts.common.impl.lc
Lifecycle contract implementations managing contract initialization and runtime state.
org.apache.groovy.contracts.common.spi
Service provider interfaces for extending contract functionality with custom validators and handlers.
org.apache.groovy.contracts.domain
Domain model classes representing contract elements such as preconditions, postconditions, and class invariants.
org.apache.groovy.contracts.generation
Code generation and transformation utilities for producing runtime contract validation code.
org.apache.groovy.contracts.util
Utility functions and helper classes for contract processing and validation.
org.apache.groovy.datetime
org.apache.groovy.datetime.extensions
org.apache.groovy.dateutil
org.apache.groovy.dateutil.extensions
Date utility extension methods and convenience functions for date calculations.
org.apache.groovy.ginq
Groovy-Integrated Query (GINQ) framework providing SQL-like syntax for querying collections and data sources.
org.apache.groovy.ginq.dsl
Domain-specific language (DSL) for GINQ, defining the syntax and semantics of GINQ query operations.
org.apache.groovy.ginq.dsl.expression
Expression classes representing query operations in GINQ such as SELECT, FROM, WHERE, GROUP BY, and JOIN clauses.
org.apache.groovy.ginq.provider.collection.runtime
Runtime support classes for collection-based GINQ operations including aggregation and windowing functions.
org.apache.groovy.ginq.transform
AST transformation framework for GINQ that converts GINQ query syntax into executable Groovy code.
org.apache.groovy.groovydoc.tools
Tools and utilities for Groovy documentation generation, supporting documentation extraction and processing.
org.apache.groovy.groovysh.jline
JLine integration for Groovy shell (GroovyShell) providing interactive command-line editing, history, and completion features.
org.apache.groovy.internal.metaclass
Internal metaclass utilities.
org.apache.groovy.internal.util
Internal utility functions.
org.apache.groovy.io
I/O utilities for Groovy.
org.apache.groovy.json
org.apache.groovy.json.internal
org.apache.groovy.lang.annotation
Annotation interfaces for Groovy language features.
org.apache.groovy.macrolib
Macro library providing reusable macro definitions and DSL extensions for common Groovy programming patterns.
org.apache.groovy.metaclass
Metaclass implementation utilities.
org.apache.groovy.nio.extensions
org.apache.groovy.nio.runtime
org.apache.groovy.parser.antlr4
ANTLR4-based parser for Groovy language.
org.apache.groovy.parser.antlr4.internal
Internal utilities for the ANTLR4 (Parrot) parser: ATN management, friendly error strategies (`DescriptiveErrorStrategy` fail-fast, `RecoveringDescriptiveErrorStrategy` multi-error), and related diagnostics.
org.apache.groovy.parser.antlr4.internal.atnmanager
Manages Augmented Transition Network (ATN) state and caching for ANTLR4 parser optimization.
org.apache.groovy.parser.antlr4.util
Utility classes for ANTLR4 parser operations.
org.apache.groovy.plugin
Plugin interface and support for Groovy extensions.
org.apache.groovy.plugin.testng
Classes to support running TestNG tests as scripts.
org.apache.groovy.reactor
`AwaitableAdapter` implementations bridging Project Reactor types to Groovy's `Awaitable` API.
org.apache.groovy.runtime
org.apache.groovy.runtime.async
Runtime support for Groovy's `async`/`await`/`defer` language features.
org.apache.groovy.runtime.indy
Scoped invokedynamic SwitchPoint utilities for the Groovy MOP (GROOVY-12191).
org.apache.groovy.rxjava
`AwaitableAdapter` implementations bridging RxJava types to Groovy's `Awaitable` API.
org.apache.groovy.sql.extensions
org.apache.groovy.swing.binding
Classes related to property binding.
org.apache.groovy.swing.extensions
org.apache.groovy.test
org.apache.groovy.test.transform
org.apache.groovy.toml.util
Utility classes for TOML processing.
org.apache.groovy.transform.copywith
org.apache.groovy.util
General-purpose utility classes.
org.apache.groovy.util.concurrent
Concurrent programming utilities.
org.apache.groovy.util.concurrent.concurrentlinkedhashmap
This package contains an implementation of a bounded `ConcurrentMap` data structure.
org.apache.groovy.xml.extensions
org.apache.groovy.xml.tools
org.apache.groovy.xml.util
org.apache.groovy.yaml.util
Utility classes for YAML processing.
org.codehaus.groovy
Groovy Language for the JVM
org.codehaus.groovy.ant
Ant tasks for working with Groovy - such as groovyc for compiling Groovy source code to Java bytecode
org.codehaus.groovy.antlr
Legacy ANTLR parser support and utilities.
org.codehaus.groovy.ast
Groovy AST nodes for the syntax of the language
org.codehaus.groovy.ast.builder
DSL builders for programmatic AST construction.
org.codehaus.groovy.ast.decompiled
Tools for converting decompiled Java bytecode back into AST representation.
org.codehaus.groovy.ast.expr
AST nodes for Groovy expressions
org.codehaus.groovy.ast.query
A small, read-only fluent query API over the Groovy AST, intended as a declarative alternative to hand-written `ClassCodeVisitorSupport` subclasses for the common "find / collect / detect" cases that arise in AST transformations and compiler checks.
org.codehaus.groovy.ast.stmt
AST nodes for Groovy statements
org.codehaus.groovy.ast.tools
AST manipulation and analysis utilities.
org.codehaus.groovy.classgen
Provides classes for generating Java bytecode from Groovy Abstract Syntax Trees (AST).
org.codehaus.groovy.classgen.asm
ASM-based helpers that support Groovy bytecode generation in the core class generator.
org.codehaus.groovy.classgen.asm.indy
InvokeDynamic-based bytecode generation for optimized method calls.
org.codehaus.groovy.classgen.asm.indy.sc
Static compilation with InvokeDynamic optimization.
org.codehaus.groovy.classgen.asm.sc
Static compilation bytecode generation.
org.codehaus.groovy.classgen.asm.util
Utilities for bytecode generation.
org.codehaus.groovy.control
Compiler control classes.
org.codehaus.groovy.control.customizers
Compiler customization framework.
org.codehaus.groovy.control.customizers.builder
Builder DSL for compiler customizers.
org.codehaus.groovy.control.io
Internal classes for Groovier Input/Output.
org.codehaus.groovy.control.messages
Error message classes.
org.codehaus.groovy.groovydoc
GroovyDoc internal classes.
org.codehaus.groovy.jsr223
JSR223 scripting engine implementation.
org.codehaus.groovy.macro.matcher
Pattern matching framework for AST matching and manipulation, enabling meta-programming patterns in Groovy.
org.codehaus.groovy.macro.methods
Methods and operations for runtime macro evaluation and AST node manipulation.
org.codehaus.groovy.macro.runtime
Runtime support for macro execution including evaluation context and result handling.
org.codehaus.groovy.macro.transform
AST transformation framework for macro compilation and macro-based code generation.
org.codehaus.groovy.reflection
Internal classes for assisting with reflection.
org.codehaus.groovy.reflection.android
Android-specific reflection utilities.
org.codehaus.groovy.reflection.stdclasses
Standard class reflection support.
org.codehaus.groovy.reflection.v7
Java 7-specific reflection features.
org.codehaus.groovy.runtime
Runtime classes for Groovy - whether the dynamic interpreter is being used, the compiler or the bytecode generator.
org.codehaus.groovy.runtime.callsite
Classic (non-`invokedynamic`) call-site caching.
org.codehaus.groovy.runtime.dgmimpl
Dynamic Groovy Methods (DGM) implementation.
org.codehaus.groovy.runtime.dgmimpl.arrays
Array-related Dynamic Groovy Methods.
org.codehaus.groovy.runtime.m12n
Module-to-name (m12n) mapping for extension modules.
org.codehaus.groovy.runtime.memoize
Method result memoization framework.
org.codehaus.groovy.runtime.metaclass
Internal classes related to Groovy's metaclass implementation.
org.codehaus.groovy.runtime.powerassert
Power Assert implementation for Groovy assertions.
org.codehaus.groovy.runtime.typehandling
Classes used to execute special actions based on the type.
org.codehaus.groovy.runtime.wrappers
Wrapper types used by the Groovy runtime to associate values with a constrained type while preserving Groovy dispatch semantics.
org.codehaus.groovy.syntax
Lexer, parser and trees.
org.codehaus.groovy.tools
Command-line, compilation, and bootstrap utilities used by the Groovy tool chain.
org.codehaus.groovy.tools.groovydoc
GroovyDoc tool.
org.codehaus.groovy.tools.groovydoc.antlr4
ANTLR4 grammar and lexer/parser support for Groovy documentation comment parsing.
org.codehaus.groovy.tools.groovydoc.gstringTemplates
GString template utilities for rendering generated Groovy documentation in various output formats.
org.codehaus.groovy.tools.gse
Groovy Script Engine (GSE) utilities.
org.codehaus.groovy.tools.javac
Joint-compilation support integrating Groovy compilation units with Java stub generation and javac execution.
org.codehaus.groovy.tools.shell
Groovy Shell implementation.
org.codehaus.groovy.tools.shell.util
Utilities for Groovy Shell.
org.codehaus.groovy.transform
AST transformation framework.
org.codehaus.groovy.transform.sc
Static compilation transformation.
org.codehaus.groovy.transform.sc.transformers
Transformers for static compilation.
org.codehaus.groovy.transform.stc
Static type checking transformation.
org.codehaus.groovy.transform.tailrec
Tail recursion optimization.
org.codehaus.groovy.transform.trait
Trait transformation.
org.codehaus.groovy.util
Core utility classes.
org.codehaus.groovy.vmplugin
JVM version specific classes.
org.codehaus.groovy.vmplugin.v10
Java 10 VM plugin.
org.codehaus.groovy.vmplugin.v16
Java 16 VM plugin.
org.codehaus.groovy.vmplugin.v17
Java 17 VM plugin.
org.codehaus.groovy.vmplugin.v7
Java 7 VM plugin.
org.codehaus.groovy.vmplugin.v8
Java 8 VM plugin.
org.codehaus.groovy.vmplugin.v9
Java 9 VM plugin.