moved classes to separate package

This commit is contained in:
Alexey Kudravtsev
2014-10-29 17:58:09 +03:00
parent 70ad95820b
commit 184d673ba5
5 changed files with 7 additions and 6 deletions
@@ -17,6 +17,7 @@ package com.intellij.psi;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.psi.refResolve.RefResolveServiceImpl;
import com.intellij.util.indexing.*;
import com.intellij.util.io.DataExternalizer;
import com.intellij.util.io.KeyDescriptor;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.intellij.psi.impl;
package com.intellij.psi.refResolve;
import com.intellij.openapi.Disposable;
import com.intellij.util.ArrayUtil;
@@ -34,7 +34,7 @@ import java.util.Arrays;
* <img src="PersistentIntList.png"/>
* <p>(to edit the diagram go to www.draw.io, "Import from", this PersistentIntList.png)</p>
*/
public class PersistentIntList implements Disposable {
class PersistentIntList implements Disposable {
public static final int MAX_DATA_BYTES = 500000000;
public static final int MAX_LIST_LENGTH = 10000000;
private final FileChannel data;

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.intellij.psi;
package com.intellij.psi.refResolve;
import com.intellij.concurrency.JobSchedulerImpl;
import com.intellij.ide.PowerSaveMode;
@@ -52,7 +52,7 @@ import com.intellij.openapi.vfs.newvfs.NewVirtualFile;
import com.intellij.openapi.vfs.newvfs.events.VFileEvent;
import com.intellij.openapi.vfs.newvfs.persistent.FSRecords;
import com.intellij.openapi.vfs.newvfs.persistent.PersistentFS;
import com.intellij.psi.impl.PersistentIntList;
import com.intellij.psi.*;
import com.intellij.psi.search.GlobalSearchScope;
import com.intellij.psi.util.PsiUtilCore;
import com.intellij.util.ArrayUtil;
@@ -294,7 +294,7 @@ public class RefResolveServiceImpl extends RefResolveService implements Runnable
return false;
}
static boolean isSupportedFileType(@NotNull VirtualFile virtualFile) {
public static boolean isSupportedFileType(@NotNull VirtualFile virtualFile) {
if (virtualFile.isDirectory()) return true;
if (virtualFile.getFileType() == StdFileTypes.JAVA) return true;
if (virtualFile.getFileType() == StdFileTypes.XML && !ProjectCoreUtil.isProjectOrWorkspaceFile(virtualFile)) return true;
+1 -1
View File
@@ -42,7 +42,7 @@
<component>
<interface-class>com.intellij.psi.RefResolveService</interface-class>
<implementation-class>com.intellij.psi.RefResolveServiceImpl</implementation-class>
<implementation-class>com.intellij.psi.refResolve.RefResolveServiceImpl</implementation-class>
</component>
</project-components>