- modify InlineConstantRefactoring.InitializerTraversal
areInSameType() method to look for a SimpleName or
MethodInvocation being passed in and use bindings to find its
real declaring class as opposed to walking up the parent nodes
- add new tests to InlineConstantTests
Change-Id: I51ac057b450cb6c24ae14ae1f74b3594bc0bf17c
Reviewed-on: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/182194
Tested-by: JDT Bot <jdt-bot@eclipse.org>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>