MCPcopy Index your code
hub / github.com/apache/groovy / setAttribute

Method setAttribute

src/main/java/groovy/util/Node.java:323–326  ·  view source on GitHub ↗

{@inheritDoc}

(final Object object, final String attribute, final Object newValue)

Source from the content-addressed store, hash-verified

321
322 /** {@inheritDoc} */
323 @Override
324 public void setAttribute(final Object object, final String attribute, final Object newValue) {
325 ((Node) object).attributes().put(attribute, newValue);
326 }
327
328 /** {@inheritDoc} */
329 @Override

Callers 1

setPropertyMethod · 0.95

Calls 2

putMethod · 0.65
attributesMethod · 0.45

Tested by

no test coverage detected