mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-24 10:59:36 +07:00
Also handles wrong references inside the generics From the PR: Yeah but what is being done like, in the code ? - More custom tokens for the javadoc lexer (only for markdown comments) - No real support for the `JavaDocTokenType.DOC_L/GT`, things like `JavaDocTokenTypes` and `JavaDocCommentTokenTypes` are on their way out (no actual use) - Parser now accepts the generic types when building the tree - aggressively convert unneeded token types into comment data blocks (needed to avoid an issue where the first tokens of each line which were comment_data weren't converted) - Updated a reference inspection to take into account generic parameters - updated how method comparison is done for method references if they are using generic parameters - More tests. Of course. #Fixed IDEA-357736 #Fixed IDEA-387350 GitOrigin-RevId: 497ca38617721c3fd5c27bee5be80da755f83881
14 lines
404 B
Java
14 lines
404 B
Java
package pkg;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @see #method(java.util.List)
|
|
* @see #method(java.util.List<String>)
|
|
* @see #<error descr="Cannot resolve symbol 'method(java.util.List<T>)'">method</error>(java.util.List<T>)
|
|
* @see #<error descr="Cannot resolve symbol 'method(java.util.List<Number>)'">method</error>(java.util.List<Number>)
|
|
*/
|
|
class A2<T> {
|
|
public void method(List<String> list) { }
|
|
}
|