Interface MethodHolder<O extends JavaType<O>>

    • Method Detail

      • hasMethod

        boolean hasMethod​(Method<O,​?> name)
        Return true if this MethodHolder has a method with the given name and zero parameters; otherwise return false.
      • hasMethodSignature

        boolean hasMethodSignature​(Method<?,​?> method)
        Return true if this MethodHolder has a method with signature matching the given method's signature.
      • hasMethodSignature

        boolean hasMethodSignature​(String name)
        Return true if this MethodHolder has a method with the given name and zero parameters; otherwise return false.
      • hasMethodSignature

        boolean hasMethodSignature​(String name,
                                   String... paramTypes)
        Return true if this MethodHolder has a method with the given name and signature types; otherwise return false.
      • hasMethodSignature

        boolean hasMethodSignature​(String name,
                                   Class<?>... paramTypes)
        Return true if this MethodHolder has a method with the given name and signature types; otherwise return false.
      • getMethod

        Method<O,​?> getMethod​(String name)
        Return the Method with the given name and zero parameters; otherwise return null.
      • getMethod

        Method<O,​?> getMethod​(String name,
                                    String... paramTypes)
        Return the Method with the given name and signature types; otherwise return null.
      • getMethod

        Method<O,​?> getMethod​(String name,
                                    Class<?>... paramTypes)
        Return the Method with the given name and signature types; otherwise return null.