Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2004, 2007 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.osgi.internal.module;
 * A companion to ImportPackageSpecification from the state used while resolving
public class ResolverImport extends ResolverConstraint {
	// only used for dynamic imports
	private String name;
	boolean isOptional() {
	boolean isDynamic() {
	public String getName() {
		if ( != null)
			return // return the required package set for a dynamic import
		return super.getName();
	// used for dynamic import package when wildcards are used
	void setName(String requestedPackage) {
		this. = requestedPackage;
New to GrepCode? Check out our FAQ X