From: Alexander Kriegisch Date: Thu, 1 Feb 2024 10:11:38 +0000 (+0700) Subject: Fix some javadoc links in ADOCs X-Git-Tag: V1_9_21_1~22 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ecbe1338108eba5756669ac1b67e691a0f695282;p=aspectj.git Fix some javadoc links in ADOCs Signed-off-by: Alexander Kriegisch --- diff --git a/docs/progguide/examples.adoc b/docs/progguide/examples.adoc index 98b7f6a3a..3b570115d 100644 --- a/docs/progguide/examples.adoc +++ b/docs/progguide/examples.adoc @@ -111,7 +111,7 @@ the pointcut, we can reasonably ask which join point was reached. Information about the join point that was matched is available to advice through the special variable `thisJoinPoint`, of type -xref:../api/org/aspectj/lang/JoinPoint.html[`org.aspectj.lang.JoinPoint`]. +xref:../runtime-api/org/aspectj/lang/JoinPoint.html[`org.aspectj.lang.JoinPoint`]. Through this object we can access information such as * the kind of join point that was matched @@ -220,7 +220,7 @@ advised. The name of the method and that method's defining class are available as parts of the -xref:../api/org/aspectj/lang/Signature.html[`org.aspectj.lang.Signature`] +xref:../runtime-api/org/aspectj/lang/Signature.html[`org.aspectj.lang.Signature`] object returned by calling `getSignature()` on either `thisJoinPoint` or `thisJoinPointStaticPart`. @@ -228,7 +228,7 @@ object returned by calling `getSignature()` on either `thisJoinPoint` or The static portions of the parameter details, the name and types of the parameters, can be accessed through the -xref:../api/org/aspectj/lang/reflect/CodeSignature.html[`org.aspectj.lang.reflect.CodeSignature`] +xref:../runtime-api/org/aspectj/lang/reflect/CodeSignature.html[`org.aspectj.lang.reflect.CodeSignature`] associated with the join point. All execution join points have code signatures, so the cast to `CodeSignature` cannot fail. diff --git a/docs/progguide/language.adoc b/docs/progguide/language.adoc index 72a49e813..feada215b 100644 --- a/docs/progguide/language.adoc +++ b/docs/progguide/language.adoc @@ -896,7 +896,7 @@ advice to use. The `thisJoinPoint` variable can only be used in the context of advice, just like `this` can only be used in the context of non-static methods and variable initializers. In advice, `thisJoinPoint` is an object of type -xref:../api/org/aspectj/lang/JoinPoint.html[`org.aspectj.lang.JoinPoint`]. +xref:../runtime-api/org/aspectj/lang/JoinPoint.html[`org.aspectj.lang.JoinPoint`]. One way to use it is simply to print it out. Like all Java objects, `thisJoinPoint` has a `toString()` method that makes quick-and-dirty diff --git a/docs/progguide/semantics.adoc b/docs/progguide/semantics.adoc index d993d2fcb..8bebeef3f 100644 --- a/docs/progguide/semantics.adoc +++ b/docs/progguide/semantics.adoc @@ -2109,7 +2109,7 @@ the before advice... There is no general way to detect these kinds of circularities at compile time. If advice runs before its aspect is instantiated, AspectJ will throw a -xref:../api/org/aspectj/lang/NoAspectBoundException.html[`org.aspectj.lang.NoAspectBoundException`]. +xref:../runtime-api/org/aspectj/lang/NoAspectBoundException.html[`org.aspectj.lang.NoAspectBoundException`]. === Aspect privilege