Browse Source

Replace links to https://www.eclipse.org/aspectj/doc/next

This part of the website is outdated and will be deleted. Instead, link
to ADOCs right in the GitHub repository.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
tags/V1_9_21_2
Alexander Kriegisch 2 months ago
parent
commit
2f2416bd5d

+ 2
- 2
docs/developer/IDE.md View File

@@ -9,7 +9,7 @@ are AspectJ plugins for Maven, Gradle, Mill and Ant.
Of course, you can use and other IDE and build tool or simply use your trusted text editor of choice and compile using
the AspectJ Compiler _ajc_ from the command line.

Please refer to the [AspectJ Development Environment Guide](https://www.eclipse.org/aspectj/doc/next/devguide/printable.html)
Please refer to the [AspectJ Development Environment Guide](../devguide/index.adoc)
for more details about on-board AspectJ tools, such as _ajc_ (compiler), _ajdoc_ (aspect-enriched Javadoc), _aj_
(load-time weaving helper) as well as basic information about load-time weaving configuration and the built-in Ant task
for AspectJ.
@@ -107,7 +107,7 @@ Java/Scala) and AspectJ (for weaving aspects) in the same module.
### Ant

As mentioned in the introduction, AspectJ features its own Ant task, which is described in
[this chapter](https://www.eclipse.org/aspectj/doc/next/devguide/printable.html#antTasks) of the Development Environment
[this chapter](../devguide/antsupport.adoc) of the Development Environment
Guide.

### Command line

+ 1
- 3
docs/release/README-1.5.0.adoc View File

@@ -11,9 +11,7 @@ changes are summarized in the xref:../faq/faq.adoc#AspectJ5[FAQ entry on
AspectJ 5].

Some of the other documentation has not been updated for AspectJ 5. For
the latest documentation, see
https://eclipse.org/aspectj/doc/next/index.html, linked off
https://eclipse.org/aspectj/doc/latest/index.html[the AspectJ documentation home page].
the latest documentation, see xref:../index.adoc[the AspectJ documentation home page].

For information on bug fixes in AspectJ 5 v1.5.0, see the
xref:changes.adoc[changes] document.

+ 4
- 4
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/SignaturePattern.java View File

@@ -325,7 +325,7 @@ public class SignaturePattern extends PatternNode implements ISignaturePattern {
}
// if we got a "MAYBE" it's worth looking at the other signatures
// The first signature is the subject signature - and against it we must match modifiers/annotations/throws
// see https://www.eclipse.org/aspectj/doc/next/adk15notebook/join-point-modifiers.html
// see https://github.com/eclipse-aspectj/aspectj/blob/master/docs/adk15notebook/joinpointsignatures.adoc#join-point-modifiers
subjectMatch = false;
// Early exit
if (wantsAnnotationMatch) {
@@ -346,7 +346,7 @@ public class SignaturePattern extends PatternNode implements ISignaturePattern {
}

// Only the subject is checked for modifiers
// see https://www.eclipse.org/aspectj/doc/next/adk15notebook/join-point-modifiers.html
// see https://github.com/eclipse-aspectj/aspectj/blob/master/docs/adk15notebook/joinpointsignatures.adoc#join-point-modifiers
if (subjectMatch && !modifiers.matches(aMember.getModifiers())) {
return FuzzyBoolean.NO;
}
@@ -366,7 +366,7 @@ public class SignaturePattern extends PatternNode implements ISignaturePattern {
}

// Only the subject is checked for annotations (239441/119749)
// see https://www.eclipse.org/aspectj/doc/next/adk15notebook/join-point-modifiers.html
// see https://github.com/eclipse-aspectj/aspectj/blob/master/docs/adk15notebook/joinpointsignatures.adoc#join-point-modifiers
if (subjectMatch) {
// The annotations must match if specified
if (!matchesAnnotations(aMember, inAWorld).alwaysTrue()) {
@@ -717,7 +717,7 @@ public class SignaturePattern extends PatternNode implements ISignaturePattern {
return FuzzyBoolean.YES;
} else {
// do NOT look at ancestor members... only the subject can have an annotation match
// see https://www.eclipse.org/aspectj/doc/next/adk15notebook/join-point-modifiers.html
// see https://github.com/eclipse-aspectj/aspectj/blob/master/docs/adk15notebook/joinpointsignatures.adoc#join-point-modifiers
return FuzzyBoolean.NO;
}
}

+ 1
- 1
tests/bugs164/pr265695/Asp.aj View File

@@ -18,7 +18,7 @@ class DemoServiceImpl implements DemoService {

aspect X {
// None of these match, the subject at execution(secureMethod()) does not have the annotation
// see https://www.eclipse.org/aspectj/doc/next/adk15notebook/join-point-modifiers.html
// see https://github.com/eclipse-aspectj/aspectj/blob/master/docs/adk15notebook/joinpointsignatures.adoc#join-point-modifiers
before(): execution(@Secured * *Service+.*(..)) { }

before(): execution(@Secured * *Service.*(..)) { }

+ 1
- 1
tests/bugs164/pr265695/AspNew.aj View File

@@ -17,7 +17,7 @@ class DemoServiceImpl implements DemoService {

aspect X {
// None of these match, the subject at execution(secureMethod()) does not have the annotation
// see https://www.eclipse.org/aspectj/doc/next/adk15notebook/join-point-modifiers.html
// see https://github.com/eclipse-aspectj/aspectj/blob/master/docs/adk15notebook/joinpointsignatures.adoc#join-point-modifiers
before(): execution(@Secured! * *Service+.*(..)) { }
}


Loading…
Cancel
Save