public class ClasspathHelpers extends Object
Constructor and Description |
---|
ClasspathHelpers() |
Modifier and Type | Method and Description |
---|---|
static void |
assertClasspath(String[] expectedPathPatterns,
org.eclipse.jdt.core.IClasspathEntry[] cp)
Asserts that classpath matches specified path regex patterns.
|
static void |
assertClasspathEntry(org.eclipse.jdt.core.IClasspathEntry[] cp,
org.eclipse.core.runtime.IPath path)
Asserts that classpath has one and only one entry with given path.
|
static void |
assertClasspathEntry(org.eclipse.jdt.core.IClasspathEntry[] cp,
String... segments)
Asserts that classpath has one and only one entry with given first path segments.
|
static org.eclipse.jdt.core.IClasspathAttribute |
getClasspathAttribute(org.eclipse.jdt.core.IClasspathEntry entry,
String attributeName) |
static org.eclipse.jdt.core.IClasspathEntry |
getClasspathEntry(org.eclipse.jdt.core.IClasspathEntry[] cp,
org.eclipse.core.runtime.IPath path)
Returns classpath entry with given path.
|
static org.eclipse.jdt.core.IClasspathEntry |
getClasspathEntry(org.eclipse.jdt.core.IClasspathEntry[] cp,
String path) |
public static org.eclipse.jdt.core.IClasspathEntry getClasspathEntry(org.eclipse.jdt.core.IClasspathEntry[] cp, org.eclipse.core.runtime.IPath path)
public static org.eclipse.jdt.core.IClasspathEntry getClasspathEntry(org.eclipse.jdt.core.IClasspathEntry[] cp, String path)
public static void assertClasspathEntry(org.eclipse.jdt.core.IClasspathEntry[] cp, String... segments)
public static void assertClasspathEntry(org.eclipse.jdt.core.IClasspathEntry[] cp, org.eclipse.core.runtime.IPath path)
public static void assertClasspath(String[] expectedPathPatterns, org.eclipse.jdt.core.IClasspathEntry[] cp)
public static org.eclipse.jdt.core.IClasspathAttribute getClasspathAttribute(org.eclipse.jdt.core.IClasspathEntry entry, String attributeName)
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.