Introduce IClasspath abstraction.

This commit is contained in:
Kris De Volder
2016-10-21 16:01:42 -07:00
parent f05e3b66cb
commit 46e2334b0c
12 changed files with 159 additions and 120 deletions

View File

@@ -0,0 +1,14 @@
package org.springframework.ide.vscode.commons.java;
import java.nio.file.Path;
public interface IClasspath {
/**
* Deprecated: Remove this. We should expose here information about classpath as a list of entries. Not
* depend on where it is read from.
*/
@Deprecated
Path getPath();
}

View File

@@ -1,8 +1,6 @@
package org.springframework.ide.vscode.commons.java;
import java.nio.file.Path;
public interface IJavaProject extends IJavaElement {
IType findType(String fqName);
Path getPath();
IClasspath getClasspath();
}