Runtime classes for Groovy - whether the dynamic interpreter is being used, the compiler or the bytecode generator.
Interface Summary Interface Description GeneratedClosureMarker interface to identify closures generated by the groovy compiler. GeneratedLambdaMarker interface to identify lambda generated by the groovy compiler.
Class Summary Class Description AbstractComparator<T> ArrayTypeUtilsUtilities for handling array types ArrayUtilThis is a generated class used internally during the writing of bytecode within the CallSiteWriter logic. BytecodeInterface8This class contains methods special to optimizations used directly from bytecode in Groovy 1.8 ComposedClosure<V>A wrapper for Closure to support composition. ConversionHandlerThis class is a general adapter to map a call to a Java interface to a given delegate. ConvertedClosureThis class is a general adapter to adapt a closure to any Java interface. ConvertedMapThis class is a general adapter to adapt a map of closures to any Java interface. CurriedClosure<V>A wrapper for Closure to support currying. DateGroovyMethods Deprecated.use DateUtilExtensions instead DefaultCachedMethodKeyA default implementation of MethodKey DefaultGroovyMethodsThis class defines new groovy methods which appear on normal JDK classes inside the Groovy environment. DefaultGroovyMethodsSupportSupport methods for DefaultGroovyMethods and PluginDefaultMethods. DefaultGroovyStaticMethodsThis class defines all the new static groovy methods which appear on normal JDK classes inside the Groovy environment. DefaultMethodKeyA default implementation of MethodKey EncodingGroovyMethodsThis class defines all the encoding/decoding groovy methods which enhance the normal JDK classes when inside the Groovy environment. EncodingGroovyMethodsSupportKeep this constant in a separate file as it is troublesome for Antlr to parse for doc purposes. FlushingStreamWriterStream writer which flushes after each write operation. GroovyCategorySupportSupport methods for Groovy category usage GroovyCategorySupport.CategoryMethod GroovyCategorySupport.CategoryMethodList GroovyCategorySupport.ThreadCategoryInfo GStringImplDefault implementation of a GString used by the compiler. HandleMetaClass InvokerHelperA static helper class to make bytecode generation easier and act as a facade over the Invoker IOGroovyMethodsThis class defines new groovy methods for Files, URLs, URIs which appear on normal JDK classes inside the Groovy environment. IteratorClosureAdapter<T>A closure which stores calls in a List so that method calls can be iterated over in a 'yield' style way MetaClassHelper MethodClosureRepresents a method on an object using a closure which can be invoked at any time MethodKeyAn abstract base class for a key used for comparators and Map keys to lookup a method by name and parameter types MethodRankHelperUtility class for MissingMethodException, MissingPropertyException etc. NioGroovyMethods Deprecated. NullObject NumberAwareComparator<T>Compares two objects using Groovy's friendly comparison algorithm, i.e. ProcessGroovyMethodsThis class defines new groovy methods which appear on normal JDK classes related to process management. ProcessGroovyMethods.ProcessRunnerA 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. ProxyGeneratorAdapterA proxy generator responsible for mapping a map of closures to a class implementing a list of interfaces. RangeInfo ReflectionMethodInvokerUtility class to call methods through reflection, and falls through using the
Invokerto call the method if it fails.
ReflectorProvides as alternative to reflection using bytecode generation. RegexSupportUsed to store the last regex match. ResourceGroovyMethodsThis class defines new groovy methods for Readers, Writers, InputStreams and OutputStreams which appear on normal JDK classes inside the Groovy environment. ReverseListIterator<T>A reverse iterator over a list. ScriptBytecodeAdapterA static helper class to interface bytecode and runtime ScriptReferenceRepresents a reference to a variable in a script ScriptTestAdapter Deprecated. SocketGroovyMethodsThis class defines new groovy methods for Sockets which enhance JDK classes inside the Groovy environment. StackTraceUtilsOriginally was grails.utils.GrailsUtils, removed some grails specific stuff. StringBufferWriterThis 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. StringGroovyMethodsThis class defines new groovy methods which appear on String-related JDK classes (String, CharSequence, Matcher) inside the Groovy environment. SwingGroovyMethods Deprecated. WritableFileA Writable File. WritablePath Deprecated. XmlGroovyMethods Deprecated.
Exception Summary Exception Description InvokerInvocationExceptionAn exception thrown if a method is called and an exception occurred