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

Method findMethod

java/src/org/openqa/selenium/grid/jmx/MBean.java:177–182  ·  view source on GitHub ↗
(Class<?> cls, String name)

Source from the content-addressed store, hash-verified

175 }
176
177 private @Nullable Method findMethod(Class<?> cls, String name) {
178 return Stream.of(cls.getMethods())
179 .filter(m -> m.getName().equals(name))
180 .findFirst()
181 .orElse(null);
182 }
183
184 private void collectOperationInfo(Object bean) {
185 Stream.of(bean.getClass().getMethods())

Callers 1

findSetterMethod · 0.95

Calls 5

filterMethod · 0.80
getMethodsMethod · 0.80
getNameMethod · 0.65
ofMethod · 0.45
equalsMethod · 0.45

Tested by

no test coverage detected