Top Description Interfaces Classes
[default module]

Package org.codehaus.groovy.runtime


Runtime classes for Groovy - whether the dynamic interpreter is being used, the compiler or the bytecode generator.

Interface Summary

Modifier and TypeInterface and Description
public interface
GeneratedClosure

Marker interface to identify closures generated by the groovy compiler.

public interface
GeneratedLambda

Marker interface to identify lambda generated by the groovy compiler.

Class Summary

Modifier and TypeClass and Description
public abstract class
public class
ArrayTypeUtils

Utilities for handling array types

public class
ArrayUtil

This is a generated class used internally during the writing of bytecode within the CallSiteWriter logic.

public class
BytecodeInterface8

This class contains methods special to optimizations used directly from bytecode in Groovy 1.8

public class
ComposedClosure<V>

A wrapper for Closure to support composition.

public abstract class
ConversionHandler

This class is a general adapter to map a call to a Java interface to a given delegate.

public class
ConvertedClosure

This class is a general adapter to adapt a closure to any Java interface.

public class
ConvertedMap

This class is a general adapter to adapt a map of closures to any Java interface.

public class
CurriedClosure<V>

A wrapper for Closure to support currying.

public class
DateGroovyMethods

Deprecated use DateUtilExtensions instead
public class
DefaultCachedMethodKey

A default implementation of MethodKey

public class
DefaultGroovyMethods

This class defines new groovy methods which appear on normal JDK classes inside the Groovy environment.

public class
DefaultGroovyMethodsSupport

Support methods for DefaultGroovyMethods and PluginDefaultMethods.

public class
DefaultGroovyStaticMethods

This class defines all the new static groovy methods which appear on normal JDK classes inside the Groovy environment.

public class
DefaultMethodKey

A default implementation of MethodKey

public class
EncodingGroovyMethods

This class defines all the encoding/decoding groovy methods which enhance the normal JDK classes when inside the Groovy environment.

public class
EncodingGroovyMethodsSupport

Keep this constant in a separate file as it is troublesome for Antlr to parse for doc purposes.

public class
FlushingStreamWriter

Stream writer which flushes after each write operation.

public class
GroovyCategorySupport

Support methods for Groovy category usage

public class
GStringImpl

Default implementation of a GString used by the compiler.

public class
public class
InvokerHelper

A static helper class to make bytecode generation easier and act as a facade over the Invoker

public class
InvokerInvocationException

An exception thrown if a method is called and an exception occurred

public class
IOGroovyMethods

This class defines new groovy methods for Files, URLs, URIs which appear on normal JDK classes inside the Groovy environment.

public class
IteratorClosureAdapter<T>

A closure which stores calls in a List so that method calls can be iterated over in a 'yield' style way

public class
public class
MethodClosure

Represents a method on an object using a closure which can be invoked at any time

public abstract class
MethodKey

An abstract base class for a key used for comparators and Map keys to lookup a method by name and parameter types

public class
MethodRankHelper

Utility class for MissingMethodException, MissingPropertyException etc. This class contains methods assisting in ranking and listing probable intended methods/fields when a exception is thrown.

public class
public class
NumberAwareComparator<T>

Compares two objects using Groovy's friendly comparison algorithm, i.e. handles nulls gracefully (nul being less than everything else) and performs numeric type coercion if required.

public class
ProcessGroovyMethods

This class defines new groovy methods which appear on normal JDK classes related to process management.

public class
ProxyGeneratorAdapter

A proxy generator responsible for mapping a map of closures to a class implementing a list of interfaces.

public class
public class
ReflectionMethodInvoker

Utility class to call methods through reflection, and falls through using the Invoker to call the method if it fails.

public class
Reflector

Provides as alternative to reflection using bytecode generation.

public class
RegexSupport

Used to store the last regex match.

public class
ResourceGroovyMethods

This class defines new groovy methods for Readers, Writers, InputStreams and OutputStreams which appear on normal JDK classes inside the Groovy environment.

public class
ReverseListIterator<T>

A reverse iterator over a list.

public class
ScriptBytecodeAdapter

A static helper class to interface bytecode and runtime

public class
ScriptReference

Represents a reference to a variable in a script

public class
SocketGroovyMethods

This class defines new groovy methods for Sockets which enhance JDK classes inside the Groovy environment.

public class
StackTraceUtils

Originally was grails.utils.GrailsUtils, removed some grails specific stuff.

public class
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.

public class
StringGroovyMethods

This class defines new groovy methods which appear on String-related JDK classes (String, CharSequence, Matcher) inside the Groovy environment.

public class
WritableFile

A Writable File.