Skip to content

Commit

Permalink
Weaving: fix javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
EcljpseB0T committed Nov 9, 2023
1 parent 1201365 commit e43ccf2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
*
* Contributors:
* Matthew Webster initial implementation
* Martin Lippert supplementing mechanism reworked
* Martin Lippert supplementing mechanism reworked
*******************************************************************************/

package org.eclipse.equinox.weaving.hooks;
Expand All @@ -27,7 +27,7 @@
/**
* Default implementation of all the necessary adaptor hooks. Used to keep the
* real hook implementation focused on only the necessary methods.
*
*
* @author Matthew Webster
* @author Martin Lippert
*/
Expand All @@ -42,7 +42,7 @@ public abstract class AbstractWeavingHook extends ClassLoaderHook implements Hoo
private ISupplementerRegistry supplementerRegistry;

/**
* @see org.eclipse.osgi.baseadaptor.HookConfigurator#addHooks(org.eclipse.osgi.baseadaptor.HookRegistry)
* @see org.eclipse.osgi.internal.hookregistry.HookConfigurator#addHooks(HookRegistry)
*/
public void addHooks(final HookRegistry hooks) {
if (verbose)
Expand All @@ -67,7 +67,7 @@ public BundleActivator createActivator() {
/**
* Their is only one registry for dealing with supplementers available via this
* accessor method.
*
*
* @return The supplementer registry, guaranteed to be not null
*/
public ISupplementerRegistry getSupplementerRegistry() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,8 @@ private void initialize(final BundleContext context) {
}

/**
* @see org.eclipse.equinox.weaving.hooks.AbstractWeavingHook#processClass(java.lang.String,
* byte[], org.eclipse.osgi.baseadaptor.loader.ClasspathEntry,
* org.eclipse.osgi.baseadaptor.bundlefile.BundleEntry,
* org.eclipse.osgi.baseadaptor.loader.ClasspathManager)
* @see org.eclipse.equinox.weaving.hooks.AbstractWeavingHook#processClass(String,
* byte[], ClasspathEntry, BundleEntry, ClasspathManager)
*/
@Override
public byte[] processClass(final String name, final byte[] classbytes, final ClasspathEntry classpathEntry,
Expand All @@ -160,11 +158,8 @@ public byte[] processClass(final String name, final byte[] classbytes, final Cla
}

/**
* @see org.eclipse.equinox.weaving.hooks.AbstractWeavingHook#recordClassDefine(java.lang.String,
* java.lang.Class, byte[],
* org.eclipse.osgi.baseadaptor.loader.ClasspathEntry,
* org.eclipse.osgi.baseadaptor.bundlefile.BundleEntry,
* org.eclipse.osgi.baseadaptor.loader.ClasspathManager)
* @see org.eclipse.equinox.weaving.hooks.AbstractWeavingHook#recordClassDefine(String,
* Class, byte[], ClasspathEntry, BundleEntry, ClasspathManager)
*/
@Override
public void recordClassDefine(final String name, final Class<?> clazz, final byte[] classbytes,
Expand All @@ -190,16 +185,12 @@ public void resetAdaptor(final long bundleID) {
this.adaptors.remove(bundleID);
}

/**
* @see org.eclipse.equinox.weaving.hooks.AbstractWeavingHook#frameworkStart(org.osgi.framework.BundleContext)
*/
@Override
public void start(final BundleContext context) throws BundleException {
initialize(context);
}

/**
* @see org.eclipse.equinox.weaving.hooks.AbstractWeavingHook#frameworkStop(org.osgi.framework.BundleContext)
*/
@Override
public void stop(final BundleContext context) throws BundleException {
adaptorFactory.dispose(context);
}
Expand Down

0 comments on commit e43ccf2

Please sign in to comment.