github / github/codeql

Java: Member.getQualifiedName does not use qualified name of declaring type

Open
#3,711 0 comments 0 reactions 0 assignees View on GitHub
Java question
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

**Description of the issue**
Slightly related to #3604

It appears `Member.getQualifiedName` does not use the qualified name of the declaring type, but instead only the simple name, e.g.:
```
Integer.MAX_VALUE
```
instead of
```
java.lang.Integer.MAX_VALUE
```
In case this is intended, it would be good if that was documented because normally you would expect the qualified name of the declaring type to be used.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.