Class Executable<T extends AnnotatedElement & Member>

    • Constructor Detail

      • Executable

        public Executable()
    • Method Detail

      • getParameterCount

        public abstract int getParameterCount()
        Returns the number of formal parameters this executable takes. May differ from getParameters().length.
        Returns:
        The number of formal parameter this executable takes
      • getAnnotatedParameterTypes

        public abstract AnnotatedType[] getAnnotatedParameterTypes()
      • getParameters

        public abstract Parameter[] getParameters()
      • getDelegate

        public T getDelegate()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object that)
        Two Executables are considered equal either if their wrapped fields/methods are equal or if one wraps a field and the other its corresponding getter/setter.
        Overrides:
        equals in class Object