Closed
Description
Java file with class A is definition of an annotation that is annotated with @Configuration
Java file with class B annotated with A has bean definitions.
Once @Configuration
is removed from A and saved it is expected that B has a warning about missing @Configuration
. However, nothing happens. Even after editing B.
The issue is that classpath is considered not to be changed. Therefore java parser isn't reset and still based on old implementation of everything. If project is closed and re-opened (or IDE restarted or reloaded) then B class would have proper warning.
This issue has been around for a long time.