Interface MMethod

    • Method Detail

      • setReturnType

        void setReturnType​(java.lang.String qualifiedTypeName)

        Sets the type of this method's return value. Null can be passed if a 'void' return type is desired.

        Throws:
        java.lang.IllegalArgumentException - if the parameter is not a valid java class name.
      • setUnqualifiedReturnType

        void setUnqualifiedReturnType​(java.lang.String unqualifiedTypeName)
      • setReturnType

        void setReturnType​(JClass c)

        Sets the type of this method's return value. Null may be passed if a 'void' return type is desired. This method is exactly equivalent to calling setReturnType(jclass.getQualifiedName()).