Community
Participate
Working Groups
Build 20021016 The spec states that a non-existing element should not be able to provide its underlyingResource. The implementation will always answer back the resource if there is one (e.g. it will not check that the element is on the project CP).
I assume the same should be true for getCorrespondingResource().
Fixed getUnderlyingResource() and getCorrespondingResource() for all java elements. Added regression tests in ExistenceTest.
Verified.