1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00

bug 291585: API tooling warning/error when implementing IBuildMacro

This commit is contained in:
Andrew Gvozdev 2009-10-14 12:59:27 +00:00
parent bc5eb83877
commit e8ef8a942a
2 changed files with 10 additions and 10 deletions

View file

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2005, 2007 Intel Corporation and others. * Copyright (c) 2005, 2009 Intel Corporation and others.
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
@ -10,24 +10,25 @@
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.managedbuilder.macros; package org.eclipse.cdt.managedbuilder.macros;
import org.eclipse.cdt.core.cdtvariables.CdtVariableException;
import org.eclipse.cdt.core.cdtvariables.ICdtVariable; import org.eclipse.cdt.core.cdtvariables.ICdtVariable;
/** /**
* this interface represents the given build macro * This interface represents the given build macro
* Clients may implement or extend this interface.
*
* @since 3.0 * @since 3.0
*/ */
public interface IBuildMacro extends ICdtVariable{ public interface IBuildMacro extends ICdtVariable{
int getMacroValueType(); int getMacroValueType();
/** /**
* @throws CdtVariableException if macro holds StringList-type value * @throws BuildMacroException if macro holds StringList-type value
*/ */
String getStringValue() throws BuildMacroException; String getStringValue() throws BuildMacroException;
/** /**
* @throws CdtVariableException if macro holds single String-type value * @throws BuildMacroException if macro holds single String-type value
*/ */
String[] getStringListValue() throws BuildMacroException; String[] getStringListValue() throws BuildMacroException;

View file

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2005, 2007 Intel Corporation and others. * Copyright (c) 2005, 2009 Intel Corporation and others.
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
@ -12,11 +12,10 @@ package org.eclipse.cdt.core.cdtvariables;
/** /**
* this interface represents the given build macro * This interface represents the given build macro
* Clients may implement or extend this interface.
* @since 3.0 * @since 3.0
*
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients.
*/ */
public interface ICdtVariable{ public interface ICdtVariable{
/** /**