Class ParameterUtils
- java.lang.Object
-
- biz.gabrys.maven.plugin.util.parameter.ParameterUtils
-
public final class ParameterUtils extends Object
Provides tools to work with method parameters.- Since:
- 1.4.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
verifyNotNull(String name, Object value)
Verifies that a parameter value is notnull
.
-
-
-
Method Detail
-
verifyNotNull
public static void verifyNotNull(String name, Object value)
Verifies that a parameter value is notnull
.- Parameters:
name
- the parameter name.value
- the parameter value.- Throws:
IllegalArgumentException
- if the parameter value is equal tonull
.- Since:
- 1.4.0
-
-