Class FileSystem.ClasspathNormalizer
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.batch.FileSystem.ClasspathNormalizer
- Enclosing class:
- FileSystem
This class is defined how to normalize the classpath entries.
It removes duplicate entries.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ArrayList<FileSystem.Classpath>
normalize(ArrayList<FileSystem.Classpath> classpaths)
Returns the normalized classpath entries (no duplicate).
-
Constructor Details
-
ClasspathNormalizer
public ClasspathNormalizer()
-
-
Method Details
-
normalize
public static ArrayList<FileSystem.Classpath> normalize(ArrayList<FileSystem.Classpath> classpaths)Returns the normalized classpath entries (no duplicate).The given classpath entries are FileSystem.Classpath. We check the getPath() in order to find duplicate entries.
- Parameters:
classpaths
- the given classpath entries- Returns:
- the normalized classpath entries
-