Core Groovy language classes for implementing data structures, closures, metadata and so forth.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | AdaptingMetaClass
An interface for MetaClass instances that "adapt" other MetaClass instances such as a proxy or delegating MetaClass. |
| public interface | |
| public interface | ClosureInvokingMethod
An interface for MetaMethods that invoke closures to implements. |
| public interface | GeneratedGroovyProxy
An interface implemented by some Groovy proxies which gives access to the proxied object. |
| public interface | 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. |
| public interface | GroovyInterceptable
Marker interface used to notify that all methods should be intercepted through the |
| public interface | GroovyObject
The interface implemented by all Groovy objects. |
| public interface | GroovyResourceLoader
Allows frameworks that integrate with Groovy to determine how Groovy files are resolved. |
| public interface | Interceptor
Implementers of this interface can be registered in the ProxyMetaClass for notifications about method calls for objects managed by the ProxyMetaClass. |
| public interface | MetaClass
A MetaClass within Groovy defines the behaviour of any given Groovy or Java class. |
| public interface | MetaClassRegistry
A MetaClassRegistry is an object that is responsible for managing the a cache of MetaClass instances. |
| public interface | MetaClassRegistryChangeEventListener
A listener called whenever a constant MetaClass is set, removed or replaced. |
| public interface | MetaObjectProtocol
An interface that defines the API usable by clients of Groovy's Meta Object Protocol (MOP). |
| public interface | MutableMetaClass
An interface that defines methods that implementers of mutable Meta classes should specify. |
| public interface | PropertyAccessInterceptor
An interface that adds the ability to intercept property getters/setters |
| public interface | Range<T extends Comparable
A Range represents the list of discrete items between some starting (or |
| public interface | 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. |
| Modifier and Type | Annotation and Description |
|---|---|
| public @interface | Category
Transforms an instance-style Groovy class or interface to become a static-style conventional Groovy category. |
| public @interface | Delegate
Annotation to automatically delegate part of the functionality of an owner class to the annotated delegation target. |
| public @interface | DelegatesTo
This annotation can be used by API or DSL writers to document parameters which accept a closure. |
| public @interface | Grab
Used to grab the referenced artifact and its dependencies and make it available on the Classpath. |
| public @interface | GrabConfig
Used to modify the grape configuration for grab requests. |
| public @interface | GrabExclude
Used to exclude an indirectly referenced artifact (a transitive dependency) from the classpath. |
| public @interface | GrabResolver
Used to add a repository for resolving Grape dependencies. |
| public @interface | Grapes
Sometimes we will need more than one grab per class, but we can only add one annotation type per annotatable node. |
| public @interface | Groovydoc
An annotation to hold the groovydoc for the annotated element at runtime, we call it "Runtime Groovydoc". |
| public @interface | Lazy
Field annotation to simplify lazy initialization. |
| public @interface | Mixin
Deprecated
static mixins have been deprecated in favour of traits (trait keyword).
Provides a mechanism for mixing in methods into a class.
|
| public @interface | Newify
Annotation that supports writing constructor call expressions without the 'new' keyword. |
| public @interface | Singleton
Class annotation to make a singleton class. |
| Modifier and Type | Class and Description |
|---|---|
| public class | BenchmarkInterceptor
Interceptor that registers the timestamp of each method call before and after invocation. |
| public class | 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. |
| public abstract class | |
| public class | ClosureException
An exception thrown by a closure invocation |
| public class | |
| public class | DeprecationException
Use this exception to mark a method implementation as being deprecated. |
| public class | |
| public class | ExpandoMetaClass
ExpandoMetaClass is a MetaClass that behaves like an Expando, allowing the addition or replacement of methods, properties and constructors on the fly. |
| public class | ExpandoMetaClassCreationHandle
A handle for the MetaClassRegistry that changes all classes loaded into the Grails VM to use ExpandoMetaClass instances The handle should be registered with the Groovy runtime before Groovy loads, for example in your main method. |
| public class | GroovyClassLoader
A ClassLoader which can load Groovy classes. |
| public class | GroovyCodeSource
CodeSource wrapper class that allows specific security policies to be associated with a class compiled from groovy source. |
| public abstract class | GroovyObjectSupport
Base class for Java objects wishing to be Groovy objects. |
| public class | GroovyRuntimeException
An exception thrown by the interpreter |
| public class | GroovyShell
Represents a groovy shell capable of running arbitrary groovy scripts |
| public class | |
| public abstract class | GString
Represents a String which contains embedded values such as "hello there ${user} how are you?" which can be evaluated lazily. |
| public class | IllegalPropertyAccessException
An exception occurred if a dynamic property dispatch fails with a field not accessible. |
| public class | IncorrectClosureArgumentsException
An exception occurred when invoking a Closure with the wrong number and/or types of arguments |
| public class | IntRange
Represents a list of Integer objects starting at a specified |
| public class | ListWithDefault<T>
A wrapper for |
| public class | |
| public class | MetaArrayLengthProperty
Represents the length property of an array |
| public class | MetaBeanProperty
Represents a property on a bean which may have a getter and/or a setter |
| public class | MetaClassImpl
Allows methods to be dynamically added to existing classes at runtime |
| public class | MetaClassRegistryChangeEvent
An event used to propagate meta class updates |
| public class | MetaExpandoProperty
Represents a property in an Expando object |
| public abstract class | MetaMethod
Represents a Method on a Java object a little like |
| public abstract class | MetaProperty
Represents a property on a bean which may have a getter and/or a setter |
| public class | MissingClassException
An exception occurred if a dynamic method dispatch fails with an unknown class. |
| public class | MissingFieldException
An exception occurred if a dynamic field dispatch fails with an unknown field. |
| public class | MissingMethodException
An exception occurred if a dynamic method dispatch fails with an unknown method. |
| public class | MissingPropertyException
An exception occurred if a dynamic property dispatch fails with an unknown property. |
| public class | NonEmptySequence
Represents a sequence of one or more objects of a given type. |
| public class | NumberRange
Represents an immutable list of Numbers from a value to a value with a particular step size. |
| public class | ObjectRange
Represents an inclusive list of objects from a value to a value using comparators. |
| public class | ParameterArray
Deprecated
Distinguish a parameter array from Object[].
|
| public class | |
| public class | ProxyMetaClass
As subclass of MetaClass, ProxyMetaClass manages calls from Groovy Objects to POJOs. |
| public class | ReadOnlyPropertyException
This exception is thrown if an attempt is made to set a read only property |
| public class | |
| public abstract class | Script
This object represents a Groovy script |
| public class | Sequence
Represents a sequence of zero or more objects of a given type. |
| public class | |
| public class | SpreadMap
Helper to turn a list with an even number of elements into a Map. |
| public class | |
| public class | StringWriterIOException
An IO exception occurred trying to append to a StringWriter which should never happen. |
| public class | |
| pack-priv class | TrampolineClosure<V>
A TrampolineClosure wraps a closure that needs to be executed on a functional trampoline. |
| public class | |
| public class | Tuple0
Represents a list of 0 typed Object. |
| public class | |
| public class | |
| public class | |
| public class | |
| public class | Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>
Represents a list of 13 typed Objects. |
| public class | Tuple14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>
Represents a list of 14 typed Objects. |
| public class | Tuple15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>
Represents a list of 15 typed Objects. |
| public class | Tuple16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>
Represents a list of 16 typed Objects. |
| public class | |
| public class | |
| public class | |
| public class | |
| public class | |
| public class | |
| public class | |
| public class |