Import handling needs to be improved

Issue #8 new
Jan Lahoda
repo owner created an issue

Consider this rule: {{{


javax.print.attribute.AttributeSet $x;=>javax.swing.text.AttributeSet $x; ;;


and this code: {{{


package test;

import javax.print.attribute.AttributeSet;

public class Main {

public static void main(String[] args) {
    AttributeSet s;



When the rule is applied to the code, FQN is used to denote the AttributeSet and the (unused) import is not removed.

Comments (0)

  1. Log in to comment