MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / getAttributes

Method getAttributes

java/src/org/openqa/selenium/grid/jmx/MBean.java:256–269  ·  view source on GitHub ↗
(String @Nullable [] attributes)

Source from the content-addressed store, hash-verified

254 }
255
256 @Override
257 public AttributeList getAttributes(String @Nullable [] attributes) {
258 AttributeList resultList = new AttributeList();
259
260 // if attributeNames is empty, return an empty result list
261 if (attributes == null || attributes.length == 0) return resultList;
262
263 for (String attribute : attributes) {
264 Object value = getAttribute(attribute);
265 resultList.add(new Attribute(attribute, value));
266 }
267
268 return resultList;
269 }
270
271 @Override
272 public @Nullable AttributeList setAttributes(AttributeList attributes) {

Calls 2

getAttributeMethod · 0.95
addMethod · 0.65