Interface JavaExecutable

    • Method Detail

      • getParameterByName

        JavaParameter getParameterByName​(String name)
        Parameters:
        name - the name of the parameter
        Returns:
        the JavaParameter matching the name, otherwise null
      • getParameterTypes

        List<JavaType> getParameterTypes​(boolean resolve)
        If a class inherits this method from a generic class or interface, you can use this method to get the resolved parameter types
        Parameters:
        resolve - true if the resolved types should be returned, otherwise false
        Returns:
        the parameter types
        Since:
        1.12
      • getSourceCode

        String getSourceCode()
        Get the original source code of the body of this method.
        Returns:
        Code as string.
      • isVarArgs

        boolean isVarArgs()
        Returns:
        true if the final parameter is a varArg, otherwise false
      • getCallSignature

        String getCallSignature()