public abstract class DependencyClasspathEntry extends Object implements ClasspathEntry
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
exportedPackages |
protected Path |
file |
protected Set<String> |
packageNames |
protected static String |
PATH_EXPORT_PACKAGE |
protected static String |
PATH_MANIFESTMF |
Modifier | Constructor and Description |
---|---|
protected |
DependencyClasspathEntry(Path file,
Collection<String> packageNames,
Collection<String> exportedPackages) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer |
findType(String packageName,
String typeName) |
abstract org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer |
findType(String packageName,
String typeName,
org.eclipse.jdt.internal.compiler.env.AccessRestriction accessRestriction) |
protected org.eclipse.jdt.internal.compiler.env.AccessRestriction |
getAccessRestriction(String packageName) |
String |
getEntryDescription() |
String |
getEntryName() |
Collection<String> |
getPackageNames() |
protected static Collection<String> |
parseBundleManifest(InputStream is) |
protected static Collection<String> |
parseExportPackage(InputStream is) |
protected static final String PATH_EXPORT_PACKAGE
protected static final String PATH_MANIFESTMF
protected final Path file
protected DependencyClasspathEntry(Path file, Collection<String> packageNames, Collection<String> exportedPackages)
protected org.eclipse.jdt.internal.compiler.env.AccessRestriction getAccessRestriction(String packageName)
public Collection<String> getPackageNames()
getPackageNames
in interface ClasspathEntry
protected static Collection<String> parseExportPackage(InputStream is) throws IOException
IOException
protected static Collection<String> parseBundleManifest(InputStream is) throws IOException, org.osgi.framework.BundleException
IOException
org.osgi.framework.BundleException
public String getEntryDescription()
getEntryDescription
in interface ClasspathEntry
public org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer findType(String packageName, String typeName)
findType
in interface ClasspathEntry
public abstract org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer findType(String packageName, String typeName, org.eclipse.jdt.internal.compiler.env.AccessRestriction accessRestriction)
public String getEntryName()
Copyright © 2020. All rights reserved.