Class ConstructorOrMethod


  • public class ConstructorOrMethod
    extends java.lang.Object
    Encapsulation of either a method or a constructor.
    • Constructor Detail

      • ConstructorOrMethod

        public ConstructorOrMethod​(java.lang.reflect.Method m)
      • ConstructorOrMethod

        public ConstructorOrMethod​(java.lang.reflect.Constructor<?> c)
      • ConstructorOrMethod

        public ConstructorOrMethod​(java.lang.reflect.Executable e)
    • Method Detail

      • getDeclaringClass

        public java.lang.Class<?> getDeclaringClass()
      • getName

        public java.lang.String getName()
      • getParameterTypes

        public java.lang.Class<?>[] getParameterTypes()
      • getMethod

        public java.lang.reflect.Method getMethod()
      • getConstructor

        public java.lang.reflect.Constructor<?> getConstructor()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • setEnabled

        public void setEnabled​(boolean enabled)
      • getEnabled

        public boolean getEnabled()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • stringifyParameterTypes

        public java.lang.String stringifyParameterTypes()