Package org.codehaus.groovy.runtime.m12n
Class ExtensionModule
- java.lang.Object
- 
- org.codehaus.groovy.runtime.m12n.ExtensionModule
 
- 
- Direct Known Subclasses:
- SimpleExtensionModule
 
 public abstract class ExtensionModule extends java.lang.ObjectAn extension module is a class responsible for providing a list ofmeta methodsto the Groovy compiler and runtime. Those methods are use to "dynamically extend" existing classes by adding methods to existing classes.- Since:
- 2.0.0
 
- 
- 
Constructor SummaryConstructors Constructor Description ExtensionModule(java.lang.String moduleName, java.lang.String moduleVersion)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.util.List<MetaMethod>getMetaMethods()java.lang.StringgetName()java.lang.StringgetVersion()java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
getNamepublic java.lang.String getName() 
 - 
getVersionpublic java.lang.String getVersion() 
 - 
getMetaMethodspublic abstract java.util.List<MetaMethod> getMetaMethods() 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-