Interface FunctionSymbol

    • Method Detail

      • isStub

        boolean isStub()
        When true, it denotes a function symbol for a function stub.
           def fn(p1, p2): ...
         
      • isAsynchronous

        boolean isAsynchronous()
      • hasVariadicParameter

        boolean hasVariadicParameter()
      • isInstanceMethod

        boolean isInstanceMethod()
      • decorators

        List<String> decorators()
        Returns the known names of the decorators. It might not be a reliable way to infer the number of decorators as they can take more complex expressions since Python 3.9
      • hasDecorators

        boolean hasDecorators()
      • annotatedReturnTypeName

        @Beta
        @CheckForNull
        String annotatedReturnTypeName()
        Returns fully qualified name of the return type if any