Package groovy.lang
Class GroovyObjectSupport
java.lang.Object
groovy.lang.GroovyObjectSupport
- All Implemented Interfaces:
- GroovyObject
- Direct Known Subclasses:
- BatchingStatementWrapper,- Binding,- BindingProxy,- Builder,- Builder.Built,- BuilderSupport,- Closure,- ConfigObject,- Expando,- ExpandoMetaClass.ExpandoMetaConstructor,- ExpandoMetaClass.ExpandoMetaProperty,- GPathResult,- GroovyMBean,- GroovyResultSetExtension,- GroovyRowResult,- GroovyShell,- GString,- JsonBuilder,- JsonDelegate,- MessageSource,- NullObject,- Proxy,- Reference,- ResultSetMetaDataWrapper,- Script,- StreamingJsonBuilder,- StreamingJsonBuilder.StreamingJsonDelegate,- TomlBuilder,- YamlBuilder
Base class for Java objects wishing to be Groovy objects.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the metaclass for a given class.voidsetMetaClass(MetaClass metaClass) Allows the MetaClass to be replaced with a derived implementation.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface groovy.lang.GroovyObjectgetProperty, invokeMethod, setProperty
- 
Constructor Details- 
GroovyObjectSupportpublic GroovyObjectSupport()
 
- 
- 
Method Details- 
getMetaClassDescription copied from interface:GroovyObjectReturns the metaclass for a given class.- Specified by:
- getMetaClassin interface- GroovyObject
- Returns:
- the metaClass of this instance
 
- 
setMetaClassDescription copied from interface:GroovyObjectAllows the MetaClass to be replaced with a derived implementation.- Specified by:
- setMetaClassin interface- GroovyObject
- Parameters:
- metaClass- the new metaclass
 
 
-