aboutsummaryrefslogtreecommitdiffstats
path: root/aspectj5rt/java5-src
diff options
context:
space:
mode:
authoravasseur <avasseur>2005-05-19 13:39:20 +0000
committeravasseur <avasseur>2005-05-19 13:39:20 +0000
commit49c3978146a3e1d303a5d7f520c906acbfebe9bd (patch)
tree184a715348f37a002d348429e4488ea5213fe3e0 /aspectj5rt/java5-src
parent92dfe7b7e91b78da65a3ad69f36a285ed47efd4e (diff)
downloadaspectj-49c3978146a3e1d303a5d7f520c906acbfebe9bd.tar.gz
aspectj-49c3978146a3e1d303a5d7f520c906acbfebe9bd.zip
deow @AJ + @AfterXX annotation warnings + test + JDWP sample for LTW tests + some AJ5 doc fix
Diffstat (limited to 'aspectj5rt/java5-src')
-rw-r--r--aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareError.java8
-rw-r--r--aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareWarning.java8
2 files changed, 10 insertions, 6 deletions
diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareError.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareError.java
index 803118de1..9f3a045ee 100644
--- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareError.java
+++ b/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareError.java
@@ -20,12 +20,14 @@ import java.lang.annotation.Target;
* @author colyer
* Annotation for declare error...
*
- * usage:
- * @DeclareError("somePcut()")
- * private static final String "a message";
+ * usage: @DeclareError("somePcut()")
+ * private static final String "a message";
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface DeclareError {
+ /**
+ * The pointcut expression where to bind the error (don't use if, formal bindings, cflow etc)
+ */
String value();
}
diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareWarning.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareWarning.java
index ba3d11eb7..446ac786a 100644
--- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareWarning.java
+++ b/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareWarning.java
@@ -20,12 +20,14 @@ import java.lang.annotation.Target;
* @author colyer
* Annotation for declare warning...
*
- * usage:
- * @DeclareWarning("somePcut()")
- * private static final String "a message";
+ * usage: @DeclareWarning("somePcut()")
+ * private static final String "a message";
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface DeclareWarning {
+ /**
+ * The pointcut expression where to bind the error (don't use if, formal bindings, cflow etc)
+ */
String value();
}