Interface ResolvedMethodDeclaration

All Superinterfaces:
AssociableToAST<MethodDeclaration>, HasAccessSpecifier, ResolvedDeclaration, ResolvedMethodLikeDeclaration, ResolvedTypeParametrizable

public interface ResolvedMethodDeclaration extends ResolvedMethodLikeDeclaration, AssociableToAST<MethodDeclaration>
A declaration of a method (either in an interface, a class, an enum or an annotation).
Author:
Federico Tomassetti
  • Method Details

    • getReturnType

      ResolvedType getReturnType()
      The type of the value returned by the current method. This method can also be invoked for methods returning void.
    • isAbstract

      boolean isAbstract()
      Is the method abstract? All interface methods not marked as default are abstract.
    • isDefaultMethod

      boolean isDefaultMethod()
      Is this a default method?
    • isStatic

      boolean isStatic()