Package org.codehaus.groovy.runtime.m12n
Class ExtensionModuleRegistry
java.lang.Object
org.codehaus.groovy.runtime.m12n.ExtensionModuleRegistry
The extension method registry is responsible for collecting methods (or static methods) which are added to existing
classes and may be called like regular methods.
In previous Groovy versions, such methods could only be defined in a single class called DefaultGroovyMethods
for instance methods, and DefaultGroovyStaticMethods
for static methods.
- Since:
- 2.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addModule
(ExtensionModule module) boolean
void
removeModule
(ExtensionModule module)
-
Constructor Details
-
ExtensionModuleRegistry
public ExtensionModuleRegistry()
-
-
Method Details
-
addModule
-
removeModule
-
getModules
-
hasModule
-
getModule
-