org.eclipse.jdt.internal.compiler.batch
Class ClasspathLocation
java.lang.Object
org.eclipse.jdt.internal.compiler.batch.ClasspathLocation
- All Implemented Interfaces:
- FileSystem.Classpath, SuffixConstants
- Direct Known Subclasses:
- ClasspathDirectory, ClasspathJar
public abstract class ClasspathLocation
- extends Object
- implements FileSystem.Classpath, SuffixConstants
Fields inherited from interface org.eclipse.jdt.internal.compiler.util.SuffixConstants |
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 |
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 String destinationPath
ClasspathLocation
protected ClasspathLocation(AccessRuleSet accessRuleSet,
String destinationPath)
fetchAccessRestriction
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.
- Parameters:
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 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 Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getPath
public 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
Copyright © 2012. All Rights Reserved.