diff options
Diffstat (limited to 'src/test/java/org/javacs/JavaCompilerServiceTest.java')
-rw-r--r-- | src/test/java/org/javacs/JavaCompilerServiceTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/javacs/JavaCompilerServiceTest.java b/src/test/java/org/javacs/JavaCompilerServiceTest.java index d5cf119..0c04930 100644 --- a/src/test/java/org/javacs/JavaCompilerServiceTest.java +++ b/src/test/java/org/javacs/JavaCompilerServiceTest.java @@ -71,7 +71,7 @@ public class JavaCompilerServiceTest { if (c.element != null) result.add(c.element.getSimpleName().toString()); else if (c.packagePart != null) result.add(c.packagePart.name); else if (c.keyword != null) result.add(c.keyword); - else if (c.notImportedClass != null) result.add(Parser.lastName(c.notImportedClass)); + else if (c.className != null) result.add(Parser.lastName(c.className.name)); else if (c.snippet != null) result.add(c.snippet.snippet); } return result; |