unbreak compilation
authorBas Leijdekkers <basleijdekkers@gmail.com>
Thu, 3 Sep 2015 08:12:56 +0000 (10:12 +0200)
committerBas Leijdekkers <basleijdekkers@gmail.com>
Thu, 3 Sep 2015 08:12:56 +0000 (10:12 +0200)
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/memory/InnerClassReferenceVisitor.java

index dfdf5ab9b4486cfe5d1cd8109906bc07cfe95454..dcfeb15c0d88ea295871b1831577d77996697a31 100644 (file)
@@ -21,16 +21,16 @@ import com.intellij.psi.util.PsiTreeUtil;
 import com.siyeh.ig.psiutils.ParenthesesUtils;
 import org.jetbrains.annotations.NotNull;
 
-class InnerClassReferenceVisitor extends JavaRecursiveElementWalkingVisitor {
+public class InnerClassReferenceVisitor extends JavaRecursiveElementWalkingVisitor {
 
   private final PsiClass innerClass;
   private boolean referencesStaticallyAccessible = true;
 
-  InnerClassReferenceVisitor(@NotNull PsiClass innerClass) {
+  public InnerClassReferenceVisitor(@NotNull PsiClass innerClass) {
     this.innerClass = innerClass;
   }
 
-  boolean canInnerClassBeStatic() {
+  public boolean canInnerClassBeStatic() {
     final PsiClass superClass = innerClass.getSuperClass();
     if (superClass != null && !isClassStaticallyAccessible(superClass)) {
       return false;