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.
()
| 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. |
no outgoing calls
no test coverage detected