blob: 7929d227dfda05b7a2c8ad692b199ff000a28dee [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010 xored software, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* xored software, Inc. - initial API and Implementation (Alex Panchenko)
*******************************************************************************/
package org.eclipse.dltk.core;
/**
* @since 3.0
*/
public interface INamespace {
/**
* Returns the parts of this namespace
*
* @return
*/
String[] getStrings();
/**
* Returns the qualified name of this namespace. This consists of the simple
* names, separated by <code>'$'</code>. This is a handle-only method.
*
* @return the qualified name of this namespace
*/
String getQualifiedName();
/**
* Returns the qualified name of this namespace. This consists of the simple
* names, separated by <code>separator</code>. This is a handle-only method.
*
* @param separator
* the specified enclosing type separator
* @return the qualified name of this package
*
*/
String getQualifiedName(String separator);
boolean isRoot();
}