diff options
author | Eike Stepper | 2011-05-26 21:49:08 +0000 |
---|---|---|
committer | Eike Stepper | 2011-05-26 21:49:08 +0000 |
commit | a08506b7fdd7c933c4f8ecfd1baa09ff257a0824 (patch) | |
tree | 81e4ee293b30372620af24eccbf32429f43a7fb1 /plugins | |
parent | 496333f2fb126dee68e3ec3923739f8a1b97cb67 (diff) | |
download | cdo-a08506b7fdd7c933c4f8ecfd1baa09ff257a0824.tar.gz cdo-a08506b7fdd7c933c4f8ecfd1baa09ff257a0824.tar.xz cdo-a08506b7fdd7c933c4f8ecfd1baa09ff257a0824.zip |
[345905] Add @noextends, @noimplements and @noinstantiates wherever possible
https://bugs.eclipse.org/bugs/show_bug.cgi?id=345905
Diffstat (limited to 'plugins')
13 files changed, 85 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/CDOCommonRepository.java b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/CDOCommonRepository.java index d8ff989585..93d1af0fe4 100644 --- a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/CDOCommonRepository.java +++ b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/CDOCommonRepository.java @@ -91,6 +91,7 @@ public interface CDOCommonRepository extends CDOTimeProvider /** * @author Eike Stepper + * @noextend This interface is not intended to be extended by clients. */ public enum Type { @@ -99,6 +100,7 @@ public interface CDOCommonRepository extends CDOTimeProvider /** * @author Eike Stepper + * @noextend This interface is not intended to be extended by clients. */ public static enum State { @@ -112,6 +114,8 @@ public interface CDOCommonRepository extends CDOTimeProvider /** * @author Eike Stepper + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. */ public interface TypeChangedEvent extends IEvent { @@ -122,6 +126,8 @@ public interface CDOCommonRepository extends CDOTimeProvider /** * @author Eike Stepper + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. */ public interface StateChangedEvent extends IEvent { diff --git a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/CDOCommonSession.java b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/CDOCommonSession.java index c38400611d..a194d8cd21 100644 --- a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/CDOCommonSession.java +++ b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/CDOCommonSession.java @@ -37,6 +37,8 @@ public interface CDOCommonSession extends IUserAware, IOptionsContainer, Closeab /** * @author Simon McDuff + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. */ public interface Options extends IOptions { diff --git a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/branch/CDOBranchCreatedEvent.java b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/branch/CDOBranchCreatedEvent.java index bd09a98913..8c956c2d6b 100644 --- a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/branch/CDOBranchCreatedEvent.java +++ b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/branch/CDOBranchCreatedEvent.java @@ -15,6 +15,8 @@ import org.eclipse.net4j.util.event.IEvent; /** * @author Eike Stepper * @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 CDOBranchCreatedEvent extends IEvent { diff --git a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/revision/CDORevisionCache.java b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/revision/CDORevisionCache.java index de59d626f6..e8c2ef7b23 100644 --- a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/revision/CDORevisionCache.java +++ b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/revision/CDORevisionCache.java @@ -56,6 +56,8 @@ public interface CDORevisionCache extends CDORevisionCacheAdder, INotifier /** * @author Eike Stepper + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. */ public interface EvictionEvent extends IEvent, CDORevisionKey { diff --git a/plugins/org.eclipse.emf.cdo.net4j/.settings/.api_filters b/plugins/org.eclipse.emf.cdo.net4j/.settings/.api_filters index 38e2166e37..1c6ebbe86d 100644 --- a/plugins/org.eclipse.emf.cdo.net4j/.settings/.api_filters +++ b/plugins/org.eclipse.emf.cdo.net4j/.settings/.api_filters @@ -41,6 +41,14 @@ </message_arguments>
</filter>
</resource>
+ <resource path="src/org/eclipse/emf/cdo/net4j/CDOSession.java" type="org.eclipse.emf.cdo.net4j.CDOSession$Options">
+ <filter id="571473929">
+ <message_arguments>
+ <message_argument value="Options"/>
+ <message_argument value="Options"/>
+ </message_arguments>
+ </filter>
+ </resource>
<resource path="src/org/eclipse/emf/cdo/net4j/CDOSessionConfiguration.java" type="org.eclipse.emf.cdo.net4j.CDOSessionConfiguration">
<filter id="571473929">
<message_arguments>
diff --git a/plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/net4j/CDOSession.java b/plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/net4j/CDOSession.java index 22eac9ffe9..22914e3b8e 100644 --- a/plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/net4j/CDOSession.java +++ b/plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/net4j/CDOSession.java @@ -31,6 +31,8 @@ public interface CDOSession extends org.eclipse.emf.cdo.session.CDOSession /** * @author Eike Stepper + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. */ public interface Options extends org.eclipse.emf.cdo.session.CDOSession.Options { diff --git a/plugins/org.eclipse.emf.cdo.server/.settings/.api_filters b/plugins/org.eclipse.emf.cdo.server/.settings/.api_filters index 8269b55ac6..4078c4d036 100644 --- a/plugins/org.eclipse.emf.cdo.server/.settings/.api_filters +++ b/plugins/org.eclipse.emf.cdo.server/.settings/.api_filters @@ -27,6 +27,14 @@ </message_arguments>
</filter>
</resource>
+ <resource path="src/org/eclipse/emf/cdo/internal/server/ServerCDOView.java" type="org.eclipse.emf.cdo.internal.server.ServerCDOView">
+ <filter id="574619656">
+ <message_arguments>
+ <message_argument value="Options"/>
+ <message_argument value="ServerCDOView"/>
+ </message_arguments>
+ </filter>
+ </resource>
<resource path="src/org/eclipse/emf/cdo/internal/server/ServerCDOView.java" type="org.eclipse.emf.cdo.internal.server.ServerCDOView$ServerCDOSession">
<filter id="574619656">
<message_arguments>
@@ -214,4 +222,12 @@ </message_arguments>
</filter>
</resource>
+ <resource path="src/org/eclipse/emf/cdo/spi/server/InternalSession.java" type="org.eclipse.emf.cdo.spi.server.InternalSession">
+ <filter id="571473929">
+ <message_arguments>
+ <message_argument value="Options"/>
+ <message_argument value="InternalSession"/>
+ </message_arguments>
+ </filter>
+ </resource>
</component>
diff --git a/plugins/org.eclipse.emf.cdo/.settings/.api_filters b/plugins/org.eclipse.emf.cdo/.settings/.api_filters index 183bde283b..3aa90b47ef 100644 --- a/plugins/org.eclipse.emf.cdo/.settings/.api_filters +++ b/plugins/org.eclipse.emf.cdo/.settings/.api_filters @@ -32,6 +32,14 @@ </message_arguments>
</filter>
</resource>
+ <resource path="src/org/eclipse/emf/cdo/session/CDOSession.java" type="org.eclipse.emf.cdo.session.CDOSession$Options">
+ <filter id="571473929">
+ <message_arguments>
+ <message_argument value="Options"/>
+ <message_argument value="Options"/>
+ </message_arguments>
+ </filter>
+ </resource>
<resource path="src/org/eclipse/emf/cdo/session/CDOSessionInvalidationEvent.java" type="org.eclipse.emf.cdo.session.CDOSessionInvalidationEvent">
<filter id="571473929">
<message_arguments>
@@ -99,6 +107,15 @@ </message_arguments>
</filter>
</resource>
+ <resource path="src/org/eclipse/emf/internal/cdo/session/CDOSessionImpl.java" type="org.eclipse.emf.internal.cdo.session.CDOSessionImpl$OptionsImpl">
+ <filter id="574660632">
+ <message_arguments>
+ <message_argument value="Options"/>
+ <message_argument value="Options"/>
+ <message_argument value="OptionsImpl"/>
+ </message_arguments>
+ </filter>
+ </resource>
<resource path="src/org/eclipse/emf/internal/cdo/session/DelegatingSessionProtocol.java" type="org.eclipse.emf.internal.cdo.session.DelegatingSessionProtocol">
<filter id="574660632">
<message_arguments>
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/session/CDOSession.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/session/CDOSession.java index 87c7d8540e..457362147f 100644 --- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/session/CDOSession.java +++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/session/CDOSession.java @@ -326,6 +326,8 @@ public interface CDOSession extends CDOCommonSession, CDOUpdatable, IContainer<C /** * @author Simon McDuff + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. */ public interface Options extends CDOCommonSession.Options { @@ -373,6 +375,8 @@ public interface CDOSession extends CDOCommonSession, CDOUpdatable, IContainer<C /** * @author Eike Stepper + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. */ public interface GeneratedPackageEmulationEvent extends IOptionsEvent { @@ -380,6 +384,8 @@ public interface CDOSession extends CDOCommonSession, CDOUpdatable, IContainer<C /** * @author Eike Stepper + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. */ public interface CollectionLoadingPolicyEvent extends IOptionsEvent { @@ -388,6 +394,8 @@ public interface CDOSession extends CDOCommonSession, CDOUpdatable, IContainer<C /** * @author Eike Stepper * @since 4.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 LobCacheEvent extends IOptionsEvent { diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/session/remote/CDORemoteSessionManager.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/session/remote/CDORemoteSessionManager.java index e82c88c4f6..bcf20d9c9a 100644 --- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/session/remote/CDORemoteSessionManager.java +++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/session/remote/CDORemoteSessionManager.java @@ -119,6 +119,8 @@ public interface CDORemoteSessionManager extends IContainer<CDORemoteSession> * * @author Eike Stepper * @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 LocalSubscriptionChangedEvent extends IEvent { diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/view/CDOView.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/view/CDOView.java index 6687eda567..5718e28017 100644 --- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/view/CDOView.java +++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/view/CDOView.java @@ -393,6 +393,8 @@ public interface CDOView extends CDOCommonView, CDOUpdatable, INotifier, IOption /** * @author Simon McDuff + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. */ public interface Options extends IOptions { @@ -542,6 +544,8 @@ public interface CDOView extends CDOCommonView, CDOUpdatable, INotifier, IOption /** * @author Eike Stepper + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. */ public interface CacheReferenceTypeEvent extends IOptionsEvent { @@ -549,6 +553,8 @@ public interface CDOView extends CDOCommonView, CDOUpdatable, INotifier, IOption /** * @author Eike Stepper + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. */ public interface ReferencePolicyEvent extends IOptionsEvent { @@ -556,6 +562,8 @@ public interface CDOView extends CDOCommonView, CDOUpdatable, INotifier, IOption /** * @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 StaleReferencePolicyEvent extends IOptionsEvent { @@ -563,6 +571,8 @@ public interface CDOView extends CDOCommonView, CDOUpdatable, INotifier, IOption /** * @author Eike Stepper + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. */ public interface ChangeSubscriptionPoliciesEvent extends IOptionsEvent { @@ -571,6 +581,8 @@ public interface CDOView extends CDOCommonView, CDOUpdatable, INotifier, IOption /** * @author Eike Stepper * @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 InvalidationPolicyEvent extends IOptionsEvent { @@ -578,6 +590,8 @@ public interface CDOView extends CDOCommonView, CDOUpdatable, INotifier, IOption /** * @author Eike Stepper + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. */ public interface InvalidationNotificationEvent extends IOptionsEvent { @@ -585,6 +599,8 @@ public interface CDOView extends CDOCommonView, CDOUpdatable, INotifier, IOption /** * @author Eike Stepper + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. */ public interface RevisionPrefetchingPolicyEvent extends IOptionsEvent { diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/cache/ICacheMonitorEvent.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/cache/ICacheMonitorEvent.java index e556e85060..f070f2d3de 100644 --- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/cache/ICacheMonitorEvent.java +++ b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/cache/ICacheMonitorEvent.java @@ -14,6 +14,8 @@ import org.eclipse.net4j.util.event.IEvent; /** * @author Eike Stepper + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. */ public interface ICacheMonitorEvent extends IEvent { diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/collection/IHistoryChangeEvent.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/collection/IHistoryChangeEvent.java index 02f42b6cf0..631a7af284 100644 --- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/collection/IHistoryChangeEvent.java +++ b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/collection/IHistoryChangeEvent.java @@ -14,6 +14,8 @@ import org.eclipse.net4j.util.event.IEvent; /** * @author Eike Stepper + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. */ public interface IHistoryChangeEvent extends IEvent { |