org.aspectj.org.eclipse.jdt.internal.compiler.batch
Class ClasspathLocation

java.lang.Object
  extended by 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


Field Summary
 AccessRuleSet accessRuleSet
           
static int BINARY
           
 java.lang.String destinationPath
           
static int SOURCE
           
 
Fields inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.util.SuffixConstants
EXTENSION_aj, EXTENSION_AJ, EXTENSION_class, EXTENSION_CLASS, EXTENSION_jar, EXTENSION_JAR, EXTENSION_java, EXTENSION_JAVA, EXTENSION_zip, EXTENSION_ZIP, SUFFIX_aj, SUFFIX_AJ, SUFFIX_class, SUFFIX_CLASS, SUFFIX_jar, SUFFIX_JAR, SUFFIX_java, SUFFIX_JAVA, SUFFIX_STRING_aj, SUFFIX_STRING_AJ, SUFFIX_STRING_class, SUFFIX_STRING_CLASS, SUFFIX_STRING_jar, SUFFIX_STRING_JAR, SUFFIX_STRING_java, SUFFIX_STRING_JAVA, SUFFIX_STRING_zip, SUFFIX_STRING_ZIP, SUFFIX_zip, SUFFIX_ZIP
 
Constructor Summary
protected ClasspathLocation(AccessRuleSet accessRuleSet, java.lang.String destinationPath)
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.batch.FileSystem.Classpath
findClass, findClass, findTypeNames, getPath, initialize, isPackage, normalizedPath, reset
 

Field Detail

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
Constructor Detail

ClasspathLocation

protected ClasspathLocation(AccessRuleSet accessRuleSet,
                            java.lang.String destinationPath)
Method Detail

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