Interface ConstructorAccessor


public interface ConstructorAccessor
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ConstructorAccessor
    NoOp Accessor, does what is says: nothing.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieve the underlying constructor.
    invoke(Object... args)
    Invoke the underlying constructor.
  • Field Details

    • NO_OP_ACCESSOR

      static final ConstructorAccessor NO_OP_ACCESSOR
      NoOp Accessor, does what is says: nothing.
  • Method Details

    • invoke

      Object invoke(Object... args)
      Invoke the underlying constructor.
      Parameters:
      args - - the arguments to pass to the method.
      Returns:
      The return value, or NULL for void methods.
    • getConstructor

      Constructor<?> getConstructor()
      Retrieve the underlying constructor.
      Returns:
      The method.