[Java] Class ExtensionModule

  • org.codehaus.groovy.runtime.m12n.ExtensionModule

An extension module is a class responsible for providing a list of meta methods to 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 Summary

Constructors
Constructor and description
ExtensionModule (String moduleName, String moduleVersion)

Methods Summary

Methods
Type Params Return Type Name and description
List<MetaMethod> getMetaMethods()
String getName()
String getVersion()
String toString()

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class Object wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll

Constructor Detail

public ExtensionModule(String moduleName, String moduleVersion)

Method Detail

public List<MetaMethod> getMetaMethods()

public String getName()

public String getVersion()

@Override public String toString()

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/org/codehaus/groovy/runtime/m12n/ExtensionModule.html