From: Alexander Kriegisch Date: Wed, 7 Feb 2024 05:06:30 +0000 (+0700) Subject: Add javadoc links to ClassFileTransformer::transform X-Git-Tag: V1_9_21_1~17 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3d7dd3d66ed30faeac4ee54b3f1ae2cc164f9371;p=aspectj.git Add javadoc links to ClassFileTransformer::transform Relates to #277. Signed-off-by: Alexander Kriegisch --- diff --git a/loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassPreProcessor.java b/loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassPreProcessor.java index 5d9b74f87..01b9538d1 100644 --- a/loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassPreProcessor.java +++ b/loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassPreProcessor.java @@ -34,6 +34,8 @@ public interface ClassPreProcessor { * @param protectionDomain the protection domain of the class being defined or redefined * * @return a well-formed class file buffer (weaving result), or {@code null} if no weaving was performed + * + * @see java.lang.instrument.ClassFileTransformer#transform(ClassLoader, String, Class, ProtectionDomain, byte[]) */ byte[] preProcess(String className, final byte[] bytes, ClassLoader classLoader, ProtectionDomain protectionDomain); diff --git a/weaver/src/main/java/org/aspectj/weaver/tools/WeavingAdaptor.java b/weaver/src/main/java/org/aspectj/weaver/tools/WeavingAdaptor.java index 41f19db55..2311e3dcf 100644 --- a/weaver/src/main/java/org/aspectj/weaver/tools/WeavingAdaptor.java +++ b/weaver/src/main/java/org/aspectj/weaver/tools/WeavingAdaptor.java @@ -326,6 +326,8 @@ public class WeavingAdaptor implements IMessageContext { * @return a well-formed class file buffer (the weaving result), or {@code null} if no weaving was performed * * @throws IOException weave failed + * + * @see java.lang.instrument.ClassFileTransformer#transform(ClassLoader, String, Class, ProtectionDomain, byte[]) */ public byte[] weaveClass(String name, final byte[] bytes, boolean mustWeave) throws IOException { if (trace == null) {