[code-reflection] RFR: 8324789: Add line number information to code models [v2]
Paul Sandoz
psandoz at openjdk.org
Thu Apr 25 16:49:52 UTC 2024
On Thu, 25 Apr 2024 10:45:07 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> test/jdk/java/lang/reflect/code/location/TestLocation.java line 49:
>>
>>> 47: public void testLocation() {
>>> 48: CoreOps.FuncOp f = getFuncOp(ClassWithReflectedMethod.class, "f");
>>> 49: f.traverse(null, (o, ce) -> {
>>
>> Does this test also cover the method call and the `return` ?
>
> Nevermind, yes - it does, as it traverses the code model recursively.
Yes, pre-order search.
-------------
PR Review Comment: https://git.openjdk.org/babylon/pull/54#discussion_r1579823833
More information about the babylon-dev
mailing list