Files
openide/java/java-tests/testData/refactoring/changeSignature/RemoveAnnotation_after.java
Tagir Valeev 218a25f776 LightTypeElement#getText: include annotations
Otherwise JavaChangeInfoImpl.fillOldParams thinks that old parameter type has no annotation, so if we removed an annotation, it's considered unchanged
Fixes IDEA-235090 "Change signature" action removing @NotNull does nothing

GitOrigin-RevId: 419990f23330090fc5bd8f92500328db7bd5e15b
2020-03-18 07:01:42 +00:00

8 lines
117 B
Java

import java.lang.annotation.*;
class X {
void test(int x) {}
@Target(ElementType.TYPE_USE)
@interface Foo
}