MCPcopy Create free account
hub / github.com/evant/android-retrolambda-lombok / replaceChild

Method replaceChild

src/main/lombok/ast/Node.java:49–49  ·  view source on GitHub ↗

If the provided child node is a child of this node, the child/parent link will be deleted. The replacement node, if it is non-null, will take its place, and a new child/parent link will be created between this node and the replacement. @return true if child was indeed a dir

(Node child, Node replacement)

Source from the content-addressed store, hash-verified

47 * which is true for those nodes that only have an {@code astName()} method and not a {@code rawName()} method.
48 */
49 boolean replaceChild(Node child, Node replacement) throws AstException;
50
51 /**
52 * If the provided <em>child</em> node is a child of this node, the child/parent link will be deleted. The child's parentage is set to unparented,

Callers 3

visitBinaryExpressionMethod · 0.65
visitBinaryExpressionMethod · 0.65
replaceMethod · 0.65

Implementers 2

AbstractNodesrc/main/lombok/ast/AbstractNode.java
TemporaryNodesrc/main/lombok/ast/grammar/TemporaryN

Calls

no outgoing calls

Tested by 2

visitBinaryExpressionMethod · 0.52
visitBinaryExpressionMethod · 0.52