Package groovy.lang

package groovy.lang

Core Groovy language classes for implementing data structures, closures, metadata and so forth.

  • Class
    An interface for MetaClass instances that "adapt" other MetaClass instances such as a proxy or delegating MetaClass.
    Interceptor that registers the timestamp of each method call before and after invocation.
    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.
    Transforms an instance-style Groovy class or interface to become a static-style conventional Groovy category.
    Represents any closure object in Groovy.
    An exception thrown by a closure invocation
    An interface for MetaMethods that invoke closures to implements.
    Annotation to automatically delegate part of the functionality of an owner class to the annotated delegation target.
    This annotation can be used by API or DSL writers to specify what the delegate type of a closure will be.
    Specifies the delegate for a @DelegatesTo annotated parameter of the same method.
    Use this exception to mark a method implementation as being deprecated.
    Constructing Ranges like 0..<0
    ExpandoMetaClass is a MetaClass that behaves like an Expando, allowing the addition or replacement of methods, properties and constructors on the fly.
    A handle for the MetaClassRegistry that changes all classes loaded into the Grails VM to use ExpandoMetaClass instances
    An interface implemented by some Groovy proxies which gives access to the proxied object.
    Used to grab the referenced artifact and its dependencies and make it available on the Classpath.
    Used to modify the grape configuration for grab requests.
    Used to exclude an indirectly referenced artifact (a transitive dependency) from the classpath.
    Used to add a repository for resolving Grape dependencies.
    Sometimes we will need more than one grab per class, but we can only add one annotation type per annotatable node.
    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.
    A ClassLoader which can load Groovy classes.
    CodeSource wrapper class that allows specific security policies to be associated with a class compiled from groovy source.
    An annotation to hold the groovydoc for the annotated element at runtime, we call it "Runtime Groovydoc".
    Marker interface used to notify that all methods should be intercepted through the invokeMethod mechanism of GroovyObject.
    The interface implemented by all Groovy objects.
    Base class for Java objects wishing to be Groovy objects.
    Allows frameworks that integrate with Groovy to determine how Groovy files are resolved.
    An exception thrown by the interpreter
    Represents a groovy shell capable of running arbitrary groovy scripts
    Represents a String which contains embedded values such as "hello there ${user} how are you?" which can be evaluated lazily.
    An exception occurred if a dynamic property dispatch fails with a field not accessible.
    An exception occurred when invoking a Closure with the wrong number and/or types of arguments
    Implementers of this interface can be registered in the ProxyMetaClass for notifications about method calls for objects managed by the ProxyMetaClass.
    Represents a list of Integer objects starting at and potentially including a specified from value up (or down) to and potentially including a given to value.
    Field annotation to simplify lazy initialization.
    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().
    A wrapper for Map which allows a default value to be specified using a closure.
    Represents the length property of an array
    Represents a property on a bean which may have a getter and/or a setter
    A MetaClass within Groovy defines the behaviour of any given Groovy or Java class.
    Allows methods to be dynamically added to existing classes at runtime
    use LinkedHashMap instead
    This is a helper class which is used only by indy.
    A MetaClassRegistry is an object that is responsible for managing a cache of MetaClass instances.
    Class used as base for the creation of MetaClass implementations.
    An event used to propagate metaclass updates
    A listener called whenever a constant MetaClass is set, removed or replaced.
    Represents a property in an Expando object
    Common values of a class member -- a field, property, method, or constructor.
    Represents a Method on a Java object a little like Method except without using reflection to invoke the method
    An interface that defines the API usable by clients of Groovy's Meta Object Protocol (MOP).
    Represents a property on a bean which may have a getter and/or a setter
    An exception occurred if a dynamic method dispatch fails with an unknown class.
    An exception occurred if a dynamic field dispatch fails with an unknown field.
    An exception occurred if a dynamic method dispatch fails with an unknown method.
    An exception occurred if a dynamic property dispatch fails with an unknown property.
    Static mixins have been deprecated in favour of traits.
    An interface that defines methods that implementers of mutable Meta classes should specify.
    Represents a value with name
    Annotation that supports writing constructor call expressions without the 'new' keyword.
    Represents a sequence of one or more objects of a given type.
    Represents an immutable list of Numbers from a value to a value with a particular step size.
    Represents an inclusive list of objects from a value to a value using comparators.
    An interface that adds the ability to intercept property getters/setters
    As subclass of MetaClass, ProxyMetaClass manages calls from Groovy Objects to POJOs.
    Range<T extends Comparable>
    A Range represents the list of discrete items between some starting (or from) value and working up towards some ending (or to) value.
    This exception is thrown if an attempt is made to set a read-only property.
    Represents a reference to a value
    This object represents a Groovy script
    Represents a sequence of zero or more objects of a given type.
    Class annotation to make a singleton class.
    Helper to turn a list with an even number of elements into a Map.
    An IO exception occurred trying to append to a StringWriter which should never happen.
    Represents a list of Objects.
    Represents a list of 0 typed Object.
    Represents a list of 1 typed Object.
    Represents a list of 10 typed Objects.
    Represents a list of 10 typed Objects.
    Represents a list of 12 typed Objects.
    Represents a list of 13 typed Objects.
    Represents a list of 14 typed Objects.
    Represents a list of 15 typed Objects.
    Represents a list of 16 typed Objects.
    Represents a list of 2 typed Objects.
    Represents a list of 3 typed Objects.
    Represents a list of 4 typed Objects.
    Represents a list of 5 typed Objects.
    Represents a list of 6 typed Objects.
    Represents a list of 7 typed Objects.
    Represents a list of 8 typed Objects.
    Represents a list of 9 typed Objects.
    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.