INRIA / INRIA/spoon

Bug: prettyprint() adds static variables as imports after generating code

Open
#3,618 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2k
Forks
392
Avg merge
11h 24m
Merged PRs (30d)
36

Description

The prettyprint() method always adds static variables as imports on classes where there are calls to these variables and deletes their class name on it specific calls on code. (see illustration)
![image](https://user-images.githubusercontent.com/26030917/94367605-21857200-00e0-11eb-9be1-1c5a3c2d8eda.png)
SVGAbstractTranscoder.KEY_HEIGHT & SVGAbstractTranscoder.KEY_WIDTH are static variables

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.