Class ClassExtender


  • public class ClassExtender
    extends Object
    A helper class used by the runtime to allow Groovy classes to be extended at runtime
    Author:
    James Strachan
    • Constructor Detail

      • ClassExtender

        public ClassExtender()
    • Method Detail

      • remove

        public void remove​(String name)
      • addMethod

        public void addMethod​(String name,
                              Closure closure)
      • removeMethod

        public void removeMethod​(String name)
      • createMap

        protected Map createMap()