Package ovh.mythmc.gestalt.features
Class FeatureConstructorParams
java.lang.Object
ovh.mythmc.gestalt.features.FeatureConstructorParams
Holds the constructor parameter values and their types for a feature class that cannot
be instantiated with a no-arg constructor.
Use builder() to create instances via the fluent FeatureConstructorParams.FeatureConstructorParamsBuilder.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns a newFeatureConstructorParams.FeatureConstructorParamsBuilderfor constructing aFeatureConstructorParamsinstance.Object[]Returns the constructor argument values.Class<?>[]Returns the types of the constructor parameters, used to resolve the correct constructor via reflection.
-
Method Details
-
getParams
Returns the constructor argument values.- Returns:
- the parameter values array
-
getParamTypes
Returns the types of the constructor parameters, used to resolve the correct constructor via reflection.- Returns:
- the parameter type array
-
builder
Returns a newFeatureConstructorParams.FeatureConstructorParamsBuilderfor constructing aFeatureConstructorParamsinstance.- Returns:
- a new builder
-