diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-02-07 12:06:30 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-02-07 12:06:30 +0700 |
commit | 3d7dd3d66ed30faeac4ee54b3f1ae2cc164f9371 (patch) | |
tree | 0e252e88fe6360ee179357b0b70541356d53a727 | |
parent | 3e3c83712e7eb41ed2d769280092bc83b8492a3d (diff) | |
download | aspectj-3d7dd3d66ed30faeac4ee54b3f1ae2cc164f9371.tar.gz aspectj-3d7dd3d66ed30faeac4ee54b3f1ae2cc164f9371.zip |
Add javadoc links to ClassFileTransformer::transform
Relates to #277.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
-rw-r--r-- | loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassPreProcessor.java | 2 | ||||
-rw-r--r-- | weaver/src/main/java/org/aspectj/weaver/tools/WeavingAdaptor.java | 2 |
2 files changed, 4 insertions, 0 deletions
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) { |