Interface MutableMethodDeclaration

    • Method Detail

      • setReturnType

        void setReturnType​(TypeReference type)
        Parameters:
        type - the return type of this method, must be not null
        Throws:
        java.lang.IllegalArgumentException - if the type is null
      • setStatic

        void setStatic​(boolean isStatic)
        Parameters:
        isStatic - whether this method declaration is static
      • setFinal

        void setFinal​(boolean isFinal)
        Parameters:
        isFinal - whether this method declaration is final
      • setStrictFloatingPoint

        void setStrictFloatingPoint​(boolean isStrictFloatingPoint)
        Parameters:
        isStrictFloatingPoint - whether this method declaration is strictfp
      • setNative

        void setNative​(boolean isNative)
        Parameters:
        isNative - whether this method declaration is native
      • setAbstract

        void setAbstract​(boolean isAbstract)
        Parameters:
        isAbstract - whether this method declaration is abstract
      • setSynchronized

        void setSynchronized​(boolean isSynchronized)
        Parameters:
        isSynchronized - whether this method declaration is synchronized
      • setDefault

        void setDefault​(boolean isDefault)
        Parameters:
        isDefault - whether this method declaration is default