summaryrefslogtreecommitdiffstats
path: root/docs/adk15ProgGuideDB/ataspectj.xml
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-12-22 10:01:40 +0000
committeracolyer <acolyer>2005-12-22 10:01:40 +0000
commit06c7f82ea977dc9c03b249f9c65289555496c925 (patch)
tree3c14b09b987fb62710ae3dbf338108ef2845ba95 /docs/adk15ProgGuideDB/ataspectj.xml
parenta778ac41009cdc13412ca79cf7a1649ccec93571 (diff)
downloadaspectj-06c7f82ea977dc9c03b249f9c65289555496c925.tar.gz
aspectj-06c7f82ea977dc9c03b249f9c65289555496c925.zip
doc fix for @DeclareParents
Diffstat (limited to 'docs/adk15ProgGuideDB/ataspectj.xml')
-rw-r--r--docs/adk15ProgGuideDB/ataspectj.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/adk15ProgGuideDB/ataspectj.xml b/docs/adk15ProgGuideDB/ataspectj.xml
index 216418f31..4faa14548 100644
--- a/docs/adk15ProgGuideDB/ataspectj.xml
+++ b/docs/adk15ProgGuideDB/ataspectj.xml
@@ -690,7 +690,7 @@
};
// this implementation can be outside of the aspect
- public class MoodyImpl implements Moody {
+ public static class MoodyImpl implements Moody {
private Mood mood = Mood.HAPPY;
public Mood getMood() {
@@ -699,7 +699,7 @@
}
// the field type must be the introduced interface. It can't be a class.
- @DeclareParents(value="org.xzy..*",defaultImpl="MoodyImpl")
+ @DeclareParents(value="org.xzy..*",defaultImpl=MoodyImpl.class)
private Moody implementedInterface;
@Before("execution(* *.*(..)) && this(m)")