A TypeReferenceRefactor from org.alfasoftware.astra.exampleTypes.A to org.alfasoftware.astra.exampleTypes.B should update all references. Currently, only simple type name references in Javadoc @link tags are updated. It should also cover fully qualified references, as in this example:
Before
After
/**
* {@link org.alfasoftware.astra.exampleTypes.A}
*/
public class Example {
}
/**
* {@link org.alfasoftware.astra.exampleTypes.B}
*/
public class Example {
}
A fully qualified import like this should be added to TypeReferenceExample and TypeReferenceExampleAfter, the examples used for TestTypeReferenceRefactor#testChangeTypes.
It's likely that there is a mistake in the TypeReferenceRefactor at around line 117, debugging at this point while running the test will likely show why we don't reach this block.
A
TypeReferenceRefactor
fromorg.alfasoftware.astra.exampleTypes.A
toorg.alfasoftware.astra.exampleTypes.B
should update all references. Currently, only simple type name references in Javadoc @link tags are updated. It should also cover fully qualified references, as in this example:A fully qualified import like this should be added to
TypeReferenceExample
andTypeReferenceExampleAfter
, the examples used forTestTypeReferenceRefactor#testChangeTypes
.It's likely that there is a mistake in the
TypeReferenceRefactor
at around line 117, debugging at this point while running the test will likely show why we don't reach this block.