MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / isNull

Method isNull

java/src/org/openqa/selenium/internal/Require.java:80–84  ·  view source on GitHub ↗
(String argName, @Nullable T arg)

Source from the content-addressed store, hash-verified

78 }
79
80 public static <T> void isNull(String argName, @Nullable T arg) {
81 if (arg != null) {
82 throw new IllegalArgumentException(String.format(MUST_NOT_BE_SET, argName));
83 }
84 }
85
86 public static <T> ArgumentChecker<T> argument(String argName, @Nullable T arg) {
87 return new ArgumentChecker<>(argName, arg);

Callers 15

DownloadBehaviorMethod · 0.95
AddArgumentMethod · 0.80
FromJsonMethod · 0.80
ExecuteInternalMethod · 0.80
SetTimeoutSettingsMethod · 0.80
SetProxySettingsMethod · 0.80
ValidateCapabilitiesMethod · 0.80
ExecuteInternalMethod · 0.80
IsParameterDefinedMethod · 0.80
ExecuteInternalMethod · 0.80

Calls 1

formatMethod · 0.45