Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2000, 2012 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at Contributors: IBM Corporation - initial API and implementation /
package org.eclipse.jdt.internal.core.builder;
import  org.eclipse.core.resources.*;
import  org.eclipse.core.runtime.*;
public abstract class ClasspathLocation {
static ClasspathLocation forSourceFolder(IContainer sourceFolder, IContainer outputFolderchar[][] inclusionPatternschar[][] exclusionPatternsboolean ignoreOptionalProblems) {
	return new ClasspathMultiDirectory(sourceFolderoutputFolderinclusionPatternsexclusionPatternsignoreOptionalProblems);
public static ClasspathLocation forBinaryFolder(IContainer binaryFolderboolean isOutputFolderAccessRuleSet accessRuleSet) {
	return new ClasspathDirectory(binaryFolderisOutputFolderaccessRuleSet);
static ClasspathLocation forLibrary(String libraryPathnamelong lastModifiedAccessRuleSet accessRuleSet) {
	return new ClasspathJar(libraryPathnamelastModifiedaccessRuleSet);
static ClasspathLocation forLibrary(String libraryPathnameAccessRuleSet accessRuleSet) {
	return forLibrary(libraryPathname, 0, accessRuleSet);
static ClasspathLocation forLibrary(IFile libraryAccessRuleSet accessRuleSet) {
	return new ClasspathJar(libraryaccessRuleSet);
public abstract NameEnvironmentAnswer findClass(String binaryFileNameString qualifiedPackageNameString qualifiedBinaryFileName);
public abstract IPath getProjectRelativePath();
public boolean isOutputFolder() {
	return false;
public abstract boolean isPackage(String qualifiedPackageName);
public void cleanup() {
	// free anything which is not required when the state is saved
public void reset() {
	// reset any internal caches before another compile loop starts
public abstract String debugPathString();
New to GrepCode? Check out our FAQ X