Skip to content

Commit

Permalink
Fix some javadoc links in ADOCs
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Kriegisch <[email protected]>
  • Loading branch information
kriegaex committed Feb 1, 2024
1 parent 692480d commit ecbe133
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/progguide/examples.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -220,15 +220,15 @@ 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`.

===== Printing the parameters

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.

Expand Down
2 changes: 1 addition & 1 deletion docs/progguide/language.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/progguide/semantics.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ecbe133

Please sign in to comment.