1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-14 20:45:22 +02:00

[226561][apidoc] Add API markup to RSE Javadocs where extend / implement is allowed

https://bugs.eclipse.org/bugs/show_bug.cgi?id=226561
This commit is contained in:
David Dykstal 2008-04-23 18:49:40 +00:00
parent b2e93b069e
commit 833eafaa44
13 changed files with 68 additions and 29 deletions

View file

@ -12,7 +12,7 @@
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley. * Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
* *
* Contributors: * Contributors:
* {Name} (company) - description of contribution. * David Dykstal (IBM) - [226561] Add API markup for noextend / noimplement where needed
*******************************************************************************/ *******************************************************************************/
package org.eclipse.rse.core.references; package org.eclipse.rse.core.references;
@ -48,11 +48,11 @@ package org.eclipse.rse.core.references;
* and restore methods. If using MOF, and the containment of the manager class is modelled in * and restore methods. If using MOF, and the containment of the manager class is modelled in
* your own containing class, this will happen automatically when you use mof to save * your own containing class, this will happen automatically when you use mof to save
* your containing class instance. * your containing class instance.
* @noextend This interface is not intended to be extended by clients.
* The standard extensions are included in the framework.
* @noimplement This interface is not intended to be implemented by clients.
* The standard implementations are included in the framework.
*/ */
/**
* @lastgen interface SystemPersistableReferenceManager {}
*/
public interface IRSEBasePersistableReferenceManager { public interface IRSEBasePersistableReferenceManager {
/** /**

View file

@ -1,5 +1,5 @@
/******************************************************************************** /********************************************************************************
* Copyright (c) 2002, 2006 IBM Corporation. All rights reserved. * Copyright (c) 2002, 2008 IBM Corporation. All rights reserved.
* This program and the accompanying materials are made available under the terms * 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 * of the Eclipse Public License v1.0 which accompanies this distribution, and is
* available at http://www.eclipse.org/legal/epl-v10.html * available at http://www.eclipse.org/legal/epl-v10.html
@ -11,7 +11,7 @@
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley. * Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
* *
* Contributors: * Contributors:
* {Name} (company) - description of contribution. * David Dykstal (IBM) - [226561] Add API markup for noextend / noimplement where needed
********************************************************************************/ ********************************************************************************/
package org.eclipse.rse.core.references; package org.eclipse.rse.core.references;
@ -37,6 +37,10 @@ package org.eclipse.rse.core.references;
* <p> * <p>
* This interface supplies the method to allow a referencing object to * This interface supplies the method to allow a referencing object to
* query that unique name or key from this real object. * query that unique name or key from this real object.
* @noextend This interface is not intended to be extended by clients.
* The standard extensions are included in the framework.
* @noimplement This interface is not intended to be implemented by clients.
* The standard implementations are included in the framework.
*/ */
public interface IRSEBasePersistableReferencedObject extends IRSEBaseReferencedObject { public interface IRSEBasePersistableReferencedObject extends IRSEBaseReferencedObject {

View file

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2002, 2007 IBM Corporation and others. * Copyright (c) 2002, 2008 IBM 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,7 +12,7 @@
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley. * Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
* *
* Contributors: * Contributors:
* {Name} (company) - description of contribution. * David Dykstal (IBM) - [226561] Add API markup for noextend / noimplement where needed
*******************************************************************************/ *******************************************************************************/
package org.eclipse.rse.core.references; package org.eclipse.rse.core.references;
@ -36,6 +36,10 @@ package org.eclipse.rse.core.references;
* from disk we then resolve that into a runtime reference to a real memory object. * from disk we then resolve that into a runtime reference to a real memory object.
* <p> * <p>
* This interface captures the methods to set and query that name or key. * This interface captures the methods to set and query that name or key.
* @noextend This interface is not intended to be extended by clients.
* The standard extensions are included in the framework.
* @noimplement This interface is not intended to be implemented by clients.
* The standard implementations are included in the framework.
*/ */
public interface IRSEBasePersistableReferencingObject extends IRSEBaseReferencingObject { public interface IRSEBasePersistableReferencingObject extends IRSEBaseReferencingObject {
/** /**

View file

@ -12,12 +12,17 @@
* *
* Contributors: * Contributors:
* Martin Oberhuber (Wind River) - Cleanup Javadoc. * Martin Oberhuber (Wind River) - Cleanup Javadoc.
* David Dykstal (IBM) - [226561] Add API markup for noextend / noimplement where needed
********************************************************************************/ ********************************************************************************/
package org.eclipse.rse.core.references; package org.eclipse.rse.core.references;
/** /**
* Interface that any master object that is referenced must implement. * Interface that any master object that is referenced must implement.
* @noextend This interface is not intended to be extended by clients.
* The standard extensions are included in the framework.
* @noimplement This interface is not intended to be implemented by clients.
* The standard implementations are included in the framework.
*/ */
public interface IRSEBaseReferencedObject { public interface IRSEBaseReferencedObject {
/** /**

View file

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2002, 2007 IBM Corporation and others. * Copyright (c) 2002, 2008 IBM 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,7 +12,7 @@
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley. * Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
* *
* Contributors: * Contributors:
* {Name} (company) - description of contribution. * David Dykstal (IBM) - [226561] Add API markup for noextend / noimplement where needed
*******************************************************************************/ *******************************************************************************/
package org.eclipse.rse.core.references; package org.eclipse.rse.core.references;
@ -24,6 +24,10 @@ package org.eclipse.rse.core.references;
* real object. * real object.
* <p> * <p>
* This interface captures the simple set of methods such a shadow must implement. * This interface captures the simple set of methods such a shadow must implement.
* @noextend This interface is not intended to be extended by clients.
* The standard extensions are included in the framework.
* @noimplement This interface is not intended to be implemented by clients.
* The standard implementations are included in the framework.
*/ */
public interface IRSEBaseReferencingObject { public interface IRSEBaseReferencingObject {
/** /**

View file

@ -1,5 +1,5 @@
/******************************************************************************** /********************************************************************************
* Copyright (c) 2002, 2006 IBM Corporation. All rights reserved. * Copyright (c) 2002, 2008 IBM Corporation. All rights reserved.
* This program and the accompanying materials are made available under the terms * 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 * of the Eclipse Public License v1.0 which accompanies this distribution, and is
* available at http://www.eclipse.org/legal/epl-v10.html * available at http://www.eclipse.org/legal/epl-v10.html
@ -11,7 +11,7 @@
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley. * Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
* *
* Contributors: * Contributors:
* {Name} (company) - description of contribution. * David Dykstal (IBM) - [226561] Add API markup for noextend / noimplement where needed
********************************************************************************/ ********************************************************************************/
package org.eclipse.rse.core.references; package org.eclipse.rse.core.references;
@ -19,6 +19,10 @@ package org.eclipse.rse.core.references;
/** /**
* This is an object that can have shadow (reference) objects, which simply * This is an object that can have shadow (reference) objects, which simply
* point to this object, and a copy of this object's unique name or key (for storing on disk). * point to this object, and a copy of this object's unique name or key (for storing on disk).
* @noextend This interface is not intended to be extended by clients.
* The standard extensions are included in the framework.
* @noimplement This interface is not intended to be implemented by clients.
* The standard implementations are included in the framework.
*/ */
public interface IRSEPersistableReferencedObject extends IRSEReferencedObject, IRSEBasePersistableReferencedObject { public interface IRSEPersistableReferencedObject extends IRSEReferencedObject, IRSEBasePersistableReferencedObject {

View file

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2002, 2007 IBM Corporation and others. * Copyright (c) 2002, 2008 IBM 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,7 +12,7 @@
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley. * Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
* *
* Contributors: * Contributors:
* {Name} (company) - description of contribution. * David Dykstal (IBM) - [226561] Add API markup for noextend / noimplement where needed
*******************************************************************************/ *******************************************************************************/
package org.eclipse.rse.core.references; package org.eclipse.rse.core.references;
@ -34,11 +34,11 @@ package org.eclipse.rse.core.references;
* and manage the saving/restoring of that list. * and manage the saving/restoring of that list.
* <p> * <p>
* <b>YOU MUST OVERRIDE resolveReferencesAfterRestore IN YOUR REFERENCE MANAGER SUBCLASS</b> * <b>YOU MUST OVERRIDE resolveReferencesAfterRestore IN YOUR REFERENCE MANAGER SUBCLASS</b>
* @noextend This interface is not intended to be extended by clients.
* The standard extensions are included in the framework.
* @noimplement This interface is not intended to be implemented by clients.
* The standard implementations are included in the framework.
*/ */
/**
* @lastgen interface SystemPersistableReferencingObject extends SystemReferencingObject {}
*/
public interface IRSEPersistableReferencingObject extends IRSEReferencingObject, IRSEBasePersistableReferencingObject { public interface IRSEPersistableReferencingObject extends IRSEReferencingObject, IRSEBasePersistableReferencingObject {
/** /**

View file

@ -1,5 +1,5 @@
/******************************************************************************** /********************************************************************************
* Copyright (c) 2002, 2006 IBM Corporation. All rights reserved. * Copyright (c) 2002, 2008 IBM Corporation. All rights reserved.
* This program and the accompanying materials are made available under the terms * 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 * of the Eclipse Public License v1.0 which accompanies this distribution, and is
* available at http://www.eclipse.org/legal/epl-v10.html * available at http://www.eclipse.org/legal/epl-v10.html
@ -11,7 +11,7 @@
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley. * Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
* *
* Contributors: * Contributors:
* {Name} (company) - description of contribution. * David Dykstal (IBM) - [226561] Add API markup for noextend / noimplement where needed
********************************************************************************/ ********************************************************************************/
package org.eclipse.rse.core.references; package org.eclipse.rse.core.references;
@ -25,8 +25,11 @@ package org.eclipse.rse.core.references;
* <p> * <p>
* These references are not persistent. Persistent references are managed * These references are not persistent. Persistent references are managed
* by the subtype IRSEPersistableReferencedObject. * by the subtype IRSEPersistableReferencedObject.
* @noextend This interface is not intended to be extended by clients.
* The standard extensions are included in the framework.
* @noimplement This interface is not intended to be implemented by clients.
* The standard implementations are included in the framework.
*/ */
public interface IRSEReferencedObject extends IRSEBaseReferencedObject { public interface IRSEReferencedObject extends IRSEBaseReferencedObject {
} }

View file

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2002, 2007 IBM Corporation and others. * Copyright (c) 2002, 2008 IBM 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,7 +12,7 @@
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley. * Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
* *
* Contributors: * Contributors:
* {Name} (company) - description of contribution. * David Dykstal (IBM) - [226561] Add API markup for noextend / noimplement where needed
*******************************************************************************/ *******************************************************************************/
package org.eclipse.rse.core.references; package org.eclipse.rse.core.references;
@ -27,11 +27,11 @@ package org.eclipse.rse.core.references;
* <p> * <p>
* These references are not persistent. Persistent references are managed * These references are not persistent. Persistent references are managed
* by the subclass SystemPersistableReferencingObject. * by the subclass SystemPersistableReferencingObject.
* @noextend This interface is not intended to be extended by clients.
* The standard extensions are included in the framework.
* @noimplement This interface is not intended to be implemented by clients.
* The standard implementations are included in the framework.
*/ */
/**
* @lastgen interface SystemReferencingObject {}
*/
public interface IRSEReferencingObject extends IRSEBaseReferencingObject { public interface IRSEReferencingObject extends IRSEBaseReferencingObject {
} }

View file

@ -12,6 +12,7 @@
* *
* Contributors: * Contributors:
* David Dykstal (IBM) - [224671] [api] org.eclipse.rse.core API leaks non-API types * David Dykstal (IBM) - [224671] [api] org.eclipse.rse.core API leaks non-API types
* David Dykstal (IBM) - [226561] Add API markup for noextend / noimplement where needed
********************************************************************************/ ********************************************************************************/
package org.eclipse.rse.core.references; package org.eclipse.rse.core.references;
@ -24,6 +25,8 @@ import org.eclipse.rse.core.model.RSEModelObject;
* This type of class needs to support maintaining an in-memory list of * This type of class needs to support maintaining an in-memory list of
* all who reference it so that list can be following on delete and * all who reference it so that list can be following on delete and
* rename operations. * rename operations.
* @noextend This class is not intended to be subclassed by clients.
* The standard extensions are included in the framework.
*/ */
public abstract class SystemReferencedObject extends RSEModelObject implements IRSEReferencedObject { public abstract class SystemReferencedObject extends RSEModelObject implements IRSEReferencedObject {

View file

@ -13,6 +13,7 @@
* *
* Contributors: * Contributors:
* David Dykstal (IBM) - [224671] [api] org.eclipse.rse.core API leaks non-API types * David Dykstal (IBM) - [224671] [api] org.eclipse.rse.core API leaks non-API types
* David Dykstal (IBM) - [226561] Add API markup for noextend / noimplement where needed
*******************************************************************************/ *******************************************************************************/
package org.eclipse.rse.core.references; package org.eclipse.rse.core.references;
@ -21,6 +22,10 @@ import java.util.Vector;
/** /**
* The class should be used by subclasses of {@link SystemReferencedObject} by instantiating it and delegating to it. * The class should be used by subclasses of {@link SystemReferencedObject} by instantiating it and delegating to it.
* @noextend This class is not intended to be subclassed by clients.
* The standard extensions are included in the framework.
* @noinstantiate This class is not intended to be instantiated by clients.
* The standard instances are created by the framework.
*/ */
public class SystemReferencedObjectHelper { public class SystemReferencedObjectHelper {

View file

@ -13,6 +13,7 @@
* Contributors: * Contributors:
* Martin Oberhuber (Wind River) - [184095] Replace systemTypeName by IRSESystemType * Martin Oberhuber (Wind River) - [184095] Replace systemTypeName by IRSESystemType
* David Dykstal (IBM) - [224671] [api] org.eclipse.rse.core API leaks non-API types * David Dykstal (IBM) - [224671] [api] org.eclipse.rse.core API leaks non-API types
* David Dykstal (IBM) - [226561] Add API markup for noextend / noimplement where needed
********************************************************************************/ ********************************************************************************/
package org.eclipse.rse.core.references; package org.eclipse.rse.core.references;
@ -27,6 +28,8 @@ import org.eclipse.rse.internal.core.RSECoreMessages;
* object in multiple places. To enable that, it is necessary not to * object in multiple places. To enable that, it is necessary not to
* use the same physical object in each UI representation as the UI * use the same physical object in each UI representation as the UI
* will only know how to update/refresh the first one it finds. * will only know how to update/refresh the first one it finds.
* @noextend This class is not intended to be subclassed by clients.
* The standard extensions are included in the framework.
*/ */
public abstract class SystemReferencingObject extends RSEModelObject implements IRSEReferencingObject { public abstract class SystemReferencingObject extends RSEModelObject implements IRSEReferencingObject {
private SystemReferencingObjectHelper helper = null; private SystemReferencingObjectHelper helper = null;

View file

@ -13,6 +13,7 @@
* *
* Contributors: * Contributors:
* David Dykstal (IBM) - [224671] [api] org.eclipse.rse.core API leaks non-API types * David Dykstal (IBM) - [224671] [api] org.eclipse.rse.core API leaks non-API types
* David Dykstal (IBM) - [226561] Add API markup for noextend / noimplement where needed
*******************************************************************************/ *******************************************************************************/
package org.eclipse.rse.core.references; package org.eclipse.rse.core.references;
@ -20,7 +21,10 @@ package org.eclipse.rse.core.references;
/** /**
* The class should be used by subclasses of {@link SystemReferencingObject} by instantiating it and delegating to it. * The class should be used by subclasses of {@link SystemReferencingObject} by instantiating it and delegating to it.
* @noextend * @noextend This class is not intended to be subclassed by clients.
* The standard extensions are included in the framework.
* @noinstantiate This class is not intended to be instantiated by clients.
* The standard instances are created by the framework.
*/ */
public class SystemReferencingObjectHelper { public class SystemReferencingObjectHelper {