Class ExtensionModuleRegistry


  • public class ExtensionModuleRegistry
    extends java.lang.Object
    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 Detail

      • ExtensionModuleRegistry

        public ExtensionModuleRegistry()
    • Method Detail

      • hasModule

        public boolean hasModule​(java.lang.String moduleName)
      • getModule

        public ExtensionModule getModule​(java.lang.String moduleName)