aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/DecwClassCastException.java
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2021-07-23 11:31:13 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2024-01-06 10:09:11 +0100
commit8518fcf96e52edea67b862ade95b64f63607e605 (patch)
treebebd46a1f1204d1d3812853be83189ec2066a4c5 /tests/bugs/DecwClassCastException.java
parent9ddd317779717bdb8f4eb1d61b7bca596a1846e3 (diff)
downloadaspectj-8518fcf96e52edea67b862ade95b64f63607e605.tar.gz
aspectj-8518fcf96e52edea67b862ade95b64f63607e605.zip
Globally replace HTTP links to eclipse.org by HTTPS
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'tests/bugs/DecwClassCastException.java')
-rw-r--r--tests/bugs/DecwClassCastException.java40
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/bugs/DecwClassCastException.java b/tests/bugs/DecwClassCastException.java
index e040a1e44..0ad3bd5cc 100644
--- a/tests/bugs/DecwClassCastException.java
+++ b/tests/bugs/DecwClassCastException.java
@@ -1,25 +1,25 @@
/*
* From:
- *
- * http://dev.eclipse.org/viewcvs/indextech.cgi/~checkout~/aspectj-home/doc/progguide/semantics-declare.html#d0e6499
*
- * Pointcuts that appear inside of declare forms have certain restrictions.
- * Like other pointcuts, these pick out join points, but they do so in a
- * way that is statically determinable.
- *
- * Consequently, such pointcuts may not include, directly or indirectly
- * (through user-defined pointcut declarations) pointcuts that discriminate
- * based on dynamic (runtime) context. Therefore, such pointcuts may not be
+ * https://dev.eclipse.org/viewcvs/indextech.cgi/~checkout~/aspectj-home/doc/progguide/semantics-declare.html#d0e6499
+ *
+ * Pointcuts that appear inside of declare forms have certain restrictions.
+ * Like other pointcuts, these pick out join points, but they do so in a
+ * way that is statically determinable.
+ *
+ * Consequently, such pointcuts may not include, directly or indirectly
+ * (through user-defined pointcut declarations) pointcuts that discriminate
+ * based on dynamic (runtime) context. Therefore, such pointcuts may not be
* defined in terms of
- *
+ *
* cflow
* cflowbelow
* this
* target
* args
* if
- *
- * all of which can discriminate on runtime information.
+ *
+ * all of which can discriminate on runtime information.
*/
public aspect DecwClassCastException {
@@ -27,30 +27,30 @@ public aspect DecwClassCastException {
declare warning : if(true) : "if(true) directly against checker";
pointcut p(): if(false);
declare warning : p() : "if(false) through defined pointcut";
-
+
declare error : cflow(execution(* main(..))): "cflow(execution(* main(..))) directly against checker";
pointcut p2(): cflow(execution(* main(..)));
declare error : p2() : "cflow(execution(* main(..))) through defined pointcut";
-
+
declare warning : cflowbelow(execution(* main(..))): "cflowbelow(execution(* main(..))) directly against checker";
pointcut p3(): cflowbelow(execution(* main(..)));
declare error : p3() : "cflowbelow(execution(* main(..))) through defined pointcut";
-
+
declare warning : this(Object): "this(Object) directly against checker";
pointcut p4(): this(Object);
declare warning : p4(): "this(Object) through defined pointcut";
-
+
declare warning : target(Object): "target(Object) directly against checker";
pointcut p5(): target(Object);
declare warning : p5(): "target(Object) through defined pointcut";
-
+
declare warning : args(Object): "args(Object) directly against checker";
pointcut p6(): args(Object);
declare warning : p6(): "args(Object) through defined pointcut";
-
+
public static void main(String[] args) {
System.err.println("In main!");
}
-
-} \ No newline at end of file
+
+}