Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

Commit

Permalink
merged downgraded master
Browse files Browse the repository at this point in the history
  • Loading branch information
mplushnikov committed Sep 23, 2019
1 parent 7aa0ecf commit ac3a9d7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# https://www.jetbrains.com/intellij-repository/releases
# https://www.jetbrains.com/intellij-repository/snapshots
#
#ideaVersion=2017.2
ideaVersion=2017.2
#ideaVersion=2017.2.7
ideaVersion=2017.3
#ideaVersion=2017.3
#ideaVersion=2017.3.5
#
lastReleaseVersion=2019.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ private String getTypeWithParameter(@NotNull PsiClassType psiClassType) {
if (psiClassType instanceof PsiClassReferenceType) {
return ((PsiClassReferenceType) psiClassType).getReference().getText();
}
return psiClassType.getName();
return psiClassType.getClassName();
}

private void copyModifiers(PsiModifierList fromModifierList, PsiModifierList resultModifierList) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package de.plushnikov.intellij.plugin.extension;

import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiClass;
import com.intellij.psi.PsiElementFinder;
Expand All @@ -13,7 +14,7 @@ public class LombokElementFinder extends PsiElementFinder {
private final JavaFileManager myFileManager;

public LombokElementFinder(Project project) {
myFileManager = JavaFileManager.getInstance(project);
myFileManager = ServiceManager.getService(project, JavaFileManager.class);
}

@Nullable
Expand Down

0 comments on commit ac3a9d7

Please sign in to comment.