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

Method redirect

src/main/java/org/codehaus/groovy/ast/ClassNode.java:283–285  ·  view source on GitHub ↗

Returns the ClassNode this node is a proxy for or the node itself. If this ClassNode has been set as a proxy to another ClassNode via #setRedirect(ClassNode), recursively follows the redirect chain to return the ultimate target ClassNode. If no redirect is set, returns this.

()

Source from the content-addressed store, hash-verified

281 * @return the final {@link ClassNode} in the redirect chain; never {@code null}
282 */
283 public ClassNode redirect() {
284 return (redirect == null ? this : redirect.redirect());
285 }
286
287 /**
288 * Returns whether this {@link ClassNode} is a redirect (proxy) node for another ClassNode.

Callers 15

visitClassMethod · 0.95
addCovariantMethodsMethod · 0.95
visitMethod · 0.95
defineVariableMethod · 0.95
getTypeDescriptionMethod · 0.95
writeLambdaMethod · 0.95
isPrimaryClassNodeMethod · 0.95
getPlainNodeReferenceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected