Module jdk.javadoc

Interface ExecutableMemberDoc

    • Method Detail

      • thrownExceptions

        ClassDoc[] thrownExceptions​()
        Deprecated. 
        Return exceptions this method or constructor throws. If the type of the exception is a type variable, return the ClassDoc of its erasure.

        The thrownExceptions method cannot accommodate certain generic type constructs. The thrownExceptionTypes method should be used instead.

        Returns:
        an array of ClassDoc[] representing the exceptions thrown by this method.
        See Also:
        thrownExceptionTypes()
      • thrownExceptionTypes

        Type[] thrownExceptionTypes​()
        Deprecated. 
        Return exceptions this method or constructor throws.
        Returns:
        an array representing the exceptions thrown by this method. Each array element is either a ClassDoc or a TypeVariable.
        Since:
        1.5
      • isNative

        boolean isNative​()
        Deprecated. 
        Return true if this method is native
        Returns:
        true if this method is native
      • isSynchronized

        boolean isSynchronized​()
        Deprecated. 
        Return true if this method is synchronized
        Returns:
        true if this method is synchronized
      • isVarArgs

        boolean isVarArgs​()
        Deprecated. 
        Return true if this method was declared to take a variable number of arguments.
        Returns:
        true if this method was declared to take a variable number of arguments.
        Since:
        1.5
      • parameters

        Parameter[] parameters​()
        Deprecated. 
        Get argument information.
        Returns:
        an array of Parameter, one element per argument in the order the arguments are present.
        See Also:
        Parameter
      • receiverType

        Type receiverType​()
        Deprecated. 
        Get the receiver type of this executable element.
        Returns:
        the receiver type of this executable element.
        Since:
        1.8
      • throwsTags

        ThrowsTag[] throwsTags​()
        Deprecated. 
        Return the throws tags in this method.
        Returns:
        an array of ThrowTag containing all @exception and @throws tags.
      • paramTags

        ParamTag[] paramTags​()
        Deprecated. 
        Return the param tags in this method, excluding the type parameter tags.
        Returns:
        an array of ParamTag containing all @param tags corresponding to the parameters of this method.
      • typeParamTags

        ParamTag[] typeParamTags​()
        Deprecated. 
        Return the type parameter tags in this method.
        Returns:
        an array of ParamTag containing all @param tags corresponding to the type parameters of this method.
        Since:
        1.5
      • signature

        String signature​()
        Deprecated. 
        Get the signature. It is the parameter list, type is qualified. For instance, for a method mymethod(String x, int y), it will return (java.lang.String,int).
        Returns:
        the parameter list where type is qualified.
      • flatSignature

        String flatSignature​()
        Deprecated. 
        get flat signature. all types are not qualified. return a String, which is the flat signiture of this member. It is the parameter list, type is not qualified. For instance, for a method mymethod(String x, int y), it will return (String, int).
        Returns:
        a String, which is the flat signiture of this member.
      • typeParameters

        TypeVariable[] typeParameters​()
        Deprecated. 
        Return the formal type parameters of this method or constructor. Return an empty array if this method or constructor is not generic.
        Returns:
        the formal type parameters of this method or constructor.
        Since:
        1.5