Class ClasspathSourceDirectory
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathLocation
org.aspectj.org.eclipse.jdt.internal.core.search.matching.ClasspathSourceDirectory
- All Implemented Interfaces:
IModulePathEntry
-
Field Summary
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathLocation
limitModuleNames, module, patchModuleName, updates
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup()
boolean
findClass(String sourceFileWithoutExtension, String qualifiedPackageName, String moduleName, String qualifiedSourceFileWithoutExtension)
findClass(String typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly, Predicate<String> moduleNameFilter)
org.eclipse.core.runtime.IPath
boolean
hasCompilationUnit(String qualifiedPackageName, String moduleName)
Answer whether the given package has any compilation unit (.java or .class) in the given module.int
hashCode()
boolean
void
reset()
toString()
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathLocation
areAllModuleOptionsEqual, findClass, forBinaryFolder, forJrtSystem, forLibrary, forLibrary, getModule, getModulesDeclaringPackage, hasModule, isOutputFolder, listPackages, setModule, singletonModuleNameIf
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.IModulePathEntry
getModule, getModule, getModulesDeclaringPackage, isAutomaticModule, listPackages, servesModule
-
Method Details
-
cleanup
public void cleanup()- Overrides:
cleanup
in classClasspathLocation
-
equals
-
findClass
public NameEnvironmentAnswer findClass(String typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly, Predicate<String> moduleNameFilter)- Specified by:
findClass
in classClasspathLocation
-
findClass
public NameEnvironmentAnswer findClass(String sourceFileWithoutExtension, String qualifiedPackageName, String moduleName, String qualifiedSourceFileWithoutExtension)- Specified by:
findClass
in classClasspathLocation
-
getProjectRelativePath
public org.eclipse.core.runtime.IPath getProjectRelativePath()- Specified by:
getProjectRelativePath
in classClasspathLocation
-
hashCode
public int hashCode() -
isPackage
- Specified by:
isPackage
in classClasspathLocation
-
hasCompilationUnit
Description copied from interface:IModulePathEntry
Answer whether the given package has any compilation unit (.java or .class) in the given module. For entries representing a single module, the module name should be checked before invoking this method.- Specified by:
hasCompilationUnit
in interfaceIModulePathEntry
- Specified by:
hasCompilationUnit
in classClasspathLocation
- Parameters:
qualifiedPackageName
- '/'-separated package namemoduleName
- if non-null only CUs attached to the given module should be considered- Returns:
- true iff a .java or .class file could be found in the given module / package.
-
reset
public void reset()- Overrides:
reset
in classClasspathLocation
-
toString
-
debugPathString
- Specified by:
debugPathString
in classClasspathLocation
-