alibaba / alibaba/p3c

对于fastutil泛型参数的识别问题

Open
#667 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
30.8k
Forks
8k
PR merge metrics
No merged PRs in 30d

Description

对fastutil包中的一些Map/Set类(如:Int2ObjectMap), 会把Value的泛型参数识别为Key
![image](https://user-images.githubusercontent.com/28723475/79713005-14798100-82ff-11ea-94af-beee006b37de.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by reproducing the report with fastutil types such as Int2ObjectMap and the attached example, then trace how the analyzer handles Map/Set generic parameters. Done means the Value parameter is identified as the value type rather than incorrectly as the key.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.