org.aspectj.org.eclipse.jdt.internal.compiler.batch
Class ClasspathLocation
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.batch.ClasspathLocation
- All Implemented Interfaces:
- FileSystem.Classpath, SuffixConstants
- Direct Known Subclasses:
- ClasspathDirectory, ClasspathJar
public abstract class ClasspathLocation
- extends java.lang.Object
- implements FileSystem.Classpath, SuffixConstants
| Fields inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.util.SuffixConstants |
EXTENSION_aj, EXTENSION_AJ, EXTENSION_class, EXTENSION_CLASS, EXTENSION_java, EXTENSION_JAVA, SUFFIX_aj, SUFFIX_AJ, SUFFIX_class, SUFFIX_CLASS, SUFFIX_java, SUFFIX_JAVA, SUFFIX_STRING_aj, SUFFIX_STRING_AJ, SUFFIX_STRING_class, SUFFIX_STRING_CLASS, SUFFIX_STRING_java, SUFFIX_STRING_JAVA |
|
Method Summary |
boolean |
equals(java.lang.Object obj)
|
protected AccessRestriction |
fetchAccessRestriction(java.lang.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()
|
java.lang.String |
getPath()
Return the path for file based classpath entries. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
SOURCE
public static final int SOURCE
- See Also:
- Constant Field Values
BINARY
public static final int BINARY
- See Also:
- Constant Field Values
accessRuleSet
public AccessRuleSet accessRuleSet
destinationPath
public java.lang.String destinationPath
ClasspathLocation
protected ClasspathLocation(AccessRuleSet accessRuleSet,
java.lang.String destinationPath)
fetchAccessRestriction
protected AccessRestriction fetchAccessRestriction(java.lang.String qualifiedBinaryFileName)
- Return the first access rule which is violated when accessing a given
type, or null if no 'non accessible' access rule applies.
- Parameters:
qualifiedBinaryFileName - tested type specification, formed as:
"org.aspectj.org.eclipse.jdt/core/JavaCore.class"; on systems that
use \ as File.separator, the
"org.aspectj.org.eclipse.jdt\core\JavaCore.class" is accepted as well
- Returns:
- the first access rule which is violated when accessing a given
type, or null if none applies
getMode
public int getMode()
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
getPath
public java.lang.String getPath()
- Description copied from interface:
FileSystem.Classpath
- Return the path for file based classpath entries. This is an absolute path
ending with a file separator for directories, an absolute path including the '.jar'
(resp. '.zip') extension for jar (resp. zip) files.
- Specified by:
getPath in interface FileSystem.Classpath
- Returns:
- the path for file based classpath entries