public abstract class ClasspathLocation extends Object implements FileSystem.Classpath, SuffixConstants
| Modifier and Type | Field and Description |
|---|---|
AccessRuleSet |
accessRuleSet |
static int |
BINARY |
String |
destinationPath |
static int |
SOURCE |
EXTENSION_class, EXTENSION_CLASS, EXTENSION_java, EXTENSION_JAVA, SUFFIX_class, SUFFIX_CLASS, SUFFIX_java, SUFFIX_JAVA, SUFFIX_STRING_class, SUFFIX_STRING_CLASS, SUFFIX_STRING_java, SUFFIX_STRING_JAVA| Modifier | Constructor and Description |
|---|---|
protected |
ClasspathLocation(AccessRuleSet accessRuleSet,
String destinationPath) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
protected AccessRestriction |
fetchAccessRestriction(String qualifiedBinaryFileName)
Return the first access rule which is violated when accessing a given
type, or null if no 'non accessible' access rule applies.
|
int |
getMode() |
String |
getPath()
Return the path for file based classpath entries.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitfetchLinkedJars, findClass, findClass, findTypeNames, initialize, isPackage, normalizedPath, resetpublic static final int SOURCE
public static final int BINARY
public AccessRuleSet accessRuleSet
public String destinationPath
protected ClasspathLocation(AccessRuleSet accessRuleSet, String destinationPath)
protected AccessRestriction fetchAccessRestriction(String qualifiedBinaryFileName)
qualifiedBinaryFileName - tested type specification, formed as:
"org/eclipse/jdt/core/JavaCore.class"; on systems that
use \ as File.separator, the
"org\eclipse\jdt\core\JavaCore.class" is accepted as wellpublic int getMode()
public String getPath()
FileSystem.ClasspathgetPath in interface FileSystem.ClasspathCopyright © 2015. All rights reserved.