Describe the bug
Scanner serializes a wrong method signature for @NotNull formal parameters annotated with a type use annotation. The type use annotation fully qualified name is included in the serialized method signature which should not.
To Reproduce
Run scanner for the code below:
package test;
import org.jetbrains.annotations.NotNull;
public class A {
static void foo(@NotNull Object o) {}
static void bar() { foo(null); }
}
Scanner serializes foo(@org.jetbrains.annotations.NotNull java.lang.Object) as the method signature for o.
Expected behavior
It should just serialize foo(java.lang.Object).
Describe the bug Scanner serializes a wrong method signature for
@NotNull
formal parameters annotated with a type use annotation. The type use annotation fully qualified name is included in the serialized method signature which should not.To Reproduce Run scanner for the code below:
Scanner serializes
foo(@org.jetbrains.annotations.NotNull java.lang.Object)
as the method signature foro
.Expected behavior It should just serialize
foo(java.lang.Object)
.Stack trace Not applicable.
OS (please complete the following information):
1.3.10-SNAPSHOT