equal
deleted
inserted
replaced
77 return typeName; |
77 return typeName; |
78 } |
78 } |
79 |
79 |
80 @Override |
80 @Override |
81 String importLine(JShell state) { |
81 String importLine(JShell state) { |
82 return "import static " + classFullName() + "." + name() + ";\n" + |
82 return "import static " + classFullName() + "." + name() + "; " + |
83 anonymousClasses.stream() |
83 anonymousClasses.stream() |
84 .map(c -> "import static " + classFullName() + "." + c + ";\n") |
84 .map(c -> "import static " + classFullName() + "." + c + "; ") |
85 .collect(Collectors.joining()); |
85 .collect(Collectors.joining()); |
86 } |
86 } |
87 |
87 |
88 } |
88 } |