MCPcopy Create free account
hub / github.com/apache/groovy / set

Method set

src/main/java/org/codehaus/groovy/syntax/CSTNode.java:403–405  ·  view source on GitHub ↗

Sets the element at the specified index. Not all node types support this operation. @param index the element index @param element the element to set @return the set element @throws GroovyBugError if this node type does not support setting

(int index, CSTNode element)

Source from the content-addressed store, hash-verified

401 * @throws GroovyBugError if this node type does not support setting
402 */
403 public CSTNode set(int index, CSTNode element) {
404 throw new GroovyBugError("set() not supported for this CSTNode type");
405 }
406
407 /**
408 * Converts this node to a {@link Reduction}.

Callers 15

resetLatestHitCountMethod · 0.45
resetFallbackCountMethod · 0.45
addReturnsIfNeededMethod · 0.45
castToBoolMethod · 0.45
boxMethod · 0.45
swapMethod · 0.45
replaceMethod · 0.45
setCatchStatementMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected