Interface Method<O extends JavaType<O>,​T extends Method<O,​T>>

    • Method Detail

      • isSynchronized

        boolean isSynchronized()
        Returns:
        true if this method is synchronized
      • isNative

        boolean isNative()
        Returns:
        true if this method is native
      • getBody

        String getBody()
        Get the inner body of this Method
      • isConstructor

        boolean isConstructor()
        Return true if this Method is a constructor for the class in which it is defined.
      • getReturnType

        Type<O> getReturnType()
        Get the return Type of this Method.
      • isReturnTypeVoid

        boolean isReturnTypeVoid()
        Convenience method to learn whether the Method has a primitive void return type.
      • getParameters

        List<? extends Parameter<O>> getParameters()
        Get a list of this Method's parameters.
      • toSignature

        String toSignature()
        Convert this Method into a string representing its unique signature.
      • getThrownExceptions

        List<String> getThrownExceptions()
        Get a list of qualified (if possible) Exception class names thrown by this method.
      • isDefault

        boolean isDefault()
        Returns:
        true if this method is declared as default (JDK 8)