Interface MethodDeclaration

    • Method Detail

      • isFinal

        boolean isFinal()
        Returns:
        whether this method is declared final
      • isAbstract

        boolean isAbstract()
        Returns:
        whether this method is declared abstract
      • isStatic

        boolean isStatic()
        Returns:
        whether this method is declared static
      • isSynchronized

        boolean isSynchronized()
        Returns:
        whether this method is declared synchronized
      • isDefault

        boolean isDefault()
        Returns:
        whether this method is declared default
      • isStrictFloatingPoint

        boolean isStrictFloatingPoint()
        Returns:
        whether this method is declared strictfp
      • isNative

        boolean isNative()
        Returns:
        whether this method is declared native
      • getReturnType

        TypeReference getReturnType()
        Returns:
        the return type of this method
      • getOverriddenOrImplementedMethods

        default java.lang.Iterable<? extends MethodDeclaration> getOverriddenOrImplementedMethods()
        Returns:
        the overridden or implemented methods
        Since:
        2.23