Skip to content

Commit

Permalink
Remove now unnecessary API-tools tags in JNIBridge
Browse files Browse the repository at this point in the history
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 eclipse-equinox#565
  • Loading branch information
HannesWell committed Mar 30, 2024
1 parent 89f2443 commit f451125
Showing 1 changed file with 0 additions and 25 deletions.
Expand Up @@ -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);
Expand All @@ -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) {
Expand All @@ -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);
Expand All @@ -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);
Expand All @@ -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);
Expand All @@ -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();
Expand All @@ -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();
Expand All @@ -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();
Expand All @@ -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$
Expand Down

0 comments on commit f451125

Please sign in to comment.