[ https://issues.apache.org/jira/browse/GROOVY-8726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16568388#comment-16568388 ]
Eric Milles commented on GROOVY-8726: ------------------------------------- The reason I cite other AST nodes as a precedent is all the back references that do exist in Groovy make navigating a heap dump incredibly difficult. Starting from a ModuleNode, it is very hard to see who holds the reference that is preventing GC because the module referes to SourceUnit and ResolveVisitor, etc. and many of them end up with references back to ModuleNode. Any {{AnnotatedNode}} can produce its declaring class. From there, you can use a CodeVisitor to discover any ancestor or sibling relationship you may need. > Parameter lacks a reference to the MethodNode it belongs to > ----------------------------------------------------------- > > Key: GROOVY-8726 > URL: https://issues.apache.org/jira/browse/GROOVY-8726 > Project: Groovy > Issue Type: Improvement > Components: Compiler > Affects Versions: 2.5.1 > Reporter: James Kleeh > Priority: Major > > The Parameter class lacks a reference to it's method node. This is important > to find arguments that have been "overridden". -- This message was sent by Atlassian JIRA (v7.6.3#76005)