Browse Source

Add javadoc links to ClassFileTransformer::transform

Relates to #277.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
tags/V1_9_21_1
Alexander Kriegisch 4 months ago
parent
commit
3d7dd3d66e

+ 2
- 0
loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassPreProcessor.java View 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);


+ 2
- 0
weaver/src/main/java/org/aspectj/weaver/tools/WeavingAdaptor.java View 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) {

Loading…
Cancel
Save