Class Wrapper

    • Field Detail

      • constrainedType

        protected final Class constrainedType
    • Constructor Detail

      • Wrapper

        public Wrapper​(Class constrainedType)
    • Method Detail

      • getMetaClass

        public MetaClass getMetaClass()
        Description copied from interface: GroovyObject
        Returns the metaclass for a given class.
        Specified by:
        getMetaClass in interface GroovyObject
        Returns:
        the metaClass of this instance
      • getType

        public Class getType()
      • unwrap

        public abstract Object unwrap()
      • getWrapped

        protected abstract Object getWrapped()
      • getDelegatedMetaClass

        protected abstract MetaClass getDelegatedMetaClass()