Interface ConstructorAccessor
public interface ConstructorAccessor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConstructorAccessorNoOp Accessor, does what is says: nothing. -
Method Summary
Modifier and TypeMethodDescriptionConstructor<?> Retrieve the underlying constructor.Invoke the underlying constructor.
-
Field Details
-
NO_OP_ACCESSOR
NoOp Accessor, does what is says: nothing.
-
-
Method Details
-
invoke
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.
-