Package com.plotsquared.core.util
Class ReflectionUtils.RefConstructor
java.lang.Object
com.plotsquared.core.util.ReflectionUtils.RefConstructor
- Enclosing class:
ReflectionUtils
Constructor wrapper
-
Method Summary
-
Method Details
-
create
public Object create(Object... params) throws ReflectiveOperationException, IllegalArgumentException create new instance with constructor- Parameters:
params
- parameters for constructor- Returns:
- new object
- Throws:
ReflectiveOperationException
- reflective operation exceptionIllegalArgumentException
- illegal argument exception
-