]> source.dussan.org Git - aspectj.git/commitdiff
Add javadoc links to ClassFileTransformer::transform
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Wed, 7 Feb 2024 05:06:30 +0000 (12:06 +0700)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Wed, 7 Feb 2024 05:06:30 +0000 (12:06 +0700)
Relates to #277.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassPreProcessor.java
weaver/src/main/java/org/aspectj/weaver/tools/WeavingAdaptor.java

index 5d9b74f8748f21bc5002d936802b3bc9f806ea20..01b9538d109e6dd39dff31836b056deeedd83790 100644 (file)
@@ -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);
 
index 41f19db557fc6c12222c8e8284c8574b2aadbf43..2311e3dcfaf70268c01c703abaf7c8de1a7142dd 100644 (file)
@@ -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) {