From f4511255a81420b0e3092bc68cf10ce87c72fd22 Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Sat, 30 Mar 2024 13:16:10 +0100 Subject: [PATCH] Remove now unnecessary API-tools tags in JNIBridge Because JNIBridge is now a package-private class it cannot be referenced from other bundles anyway. So there is no need for API-tags that prohibit it. Follow-up of https://github.com/eclipse-equinox/equinox/pull/565 --- .../eclipse/equinox/launcher/JNIBridge.java | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/JNIBridge.java b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/JNIBridge.java index 724249e24b..860d00edf6 100644 --- a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/JNIBridge.java +++ b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/JNIBridge.java @@ -20,8 +20,6 @@ * a native launcher. To launch Eclipse programmatically, use * org.eclipse.core.runtime.adaptor.EclipseStarter. This class is not API. * - * @noextend This class is not intended to be subclassed by clients. - * @noinstantiate This class is not intended to be instantiated by clients. */ class JNIBridge { private native void _set_exit_data(String sharedId, String data); @@ -46,8 +44,6 @@ class JNIBridge { private boolean libraryLoaded = false; /** - * @noreference This constructor is not intended to be referenced by clients. - * * @param library the given library */ public JNIBridge(String library) { @@ -74,9 +70,6 @@ private void loadLibrary() { libraryLoaded = true; } - /** - * @noreference This method is not intended to be referenced by clients. - */ public boolean setExitData(String sharedId, String data) { try { _set_exit_data(sharedId, data); @@ -90,9 +83,6 @@ public boolean setExitData(String sharedId, String data) { } } - /** - * @noreference This method is not intended to be referenced by clients - */ public boolean setLauncherInfo(String launcher, String name) { try { _set_launcher_info(launcher, name); @@ -106,9 +96,6 @@ public boolean setLauncherInfo(String launcher, String name) { } } - /** - * @noreference This method is not intended to be referenced by clients. - */ public boolean showSplash(String bitmap) { try { _show_splash(bitmap); @@ -122,9 +109,6 @@ public boolean showSplash(String bitmap) { } } - /** - * @noreference This method is not intended to be referenced by clients. - */ public boolean updateSplash() { try { _update_splash(); @@ -138,9 +122,6 @@ public boolean updateSplash() { } } - /** - * @noreference This method is not intended to be referenced by clients. - */ public long getSplashHandle() { try { return _get_splash_handle(); @@ -164,9 +145,6 @@ boolean isLibraryLoadedByJava() { return libraryLoaded; } - /** - * @noreference This method is not intended to be referenced by clients. - */ public boolean takeDownSplash() { try { _takedown_splash(); @@ -180,9 +158,6 @@ public boolean takeDownSplash() { } } - /** - * @noreference This method is not intended to be referenced by clients. - */ public boolean uninitialize() { if (libraryLoaded && library != null) { if (library.contains("wpf")) { //$NON-NLS-1$