MCPcopy Index your code
hub / github.com/apache/groovy / setMetaClass

Method setMetaClass

src/main/java/groovy/lang/GroovyObject.java:76–76  ·  view source on GitHub ↗

Allows the MetaClass to be replaced with a derived implementation. @param metaClass the new metaclass

(MetaClass metaClass)

Source from the content-addressed store, hash-verified

74 * @param metaClass the new metaclass
75 */
76 void setMetaClass(MetaClass metaClass);
77}

Callers 15

invokeConstructorMethod · 0.95
setMetaClassMethod · 0.65
evalMethod · 0.65
setPropertyMethod · 0.65
useMethod · 0.65
ClosureClass · 0.65
getAtMethod · 0.65
setMetaClassMethod · 0.65
setMetaClassMethod · 0.65
buildMethod · 0.65

Implementers 7

Tt1cgisrc/test/groovy/gls/ch06/s05/testClass
Tt1gisrc/test/groovy/gls/ch06/s05/testClass
Sequencesrc/main/java/groovy/lang/Sequence.jav
DelegatingMetaClasssrc/main/java/groovy/lang/DelegatingMe
ExpandoMetaClasssrc/main/java/groovy/lang/ExpandoMetaC
GroovyObjectSupportsrc/main/java/groovy/lang/GroovyObject
Wrappersrc/main/java/org/codehaus/groovy/runt

Calls

no outgoing calls

Tested by 1

invokeConstructorMethod · 0.76