diff options
author | wisberg <wisberg> | 2004-04-02 20:27:49 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2004-04-02 20:27:49 +0000 |
commit | b66f05a7abef6e187fb7e8bbe34a3c3e509e2321 (patch) | |
tree | d98964bcd8ace4ee135c5a47487717ae63fd8d0c /docs/progGuideDB | |
parent | fbfd1a5891a7fe51ed9f2e899de41b3535852bfa (diff) | |
download | aspectj-b66f05a7abef6e187fb7e8bbe34a3c3e509e2321.tar.gz aspectj-b66f05a7abef6e187fb7e8bbe34a3c3e509e2321.zip |
requirements for declaring members on interfaces
Diffstat (limited to 'docs/progGuideDB')
-rw-r--r-- | docs/progGuideDB/implementation.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/progGuideDB/implementation.xml b/docs/progGuideDB/implementation.xml index 96939d29a..3647b7f65 100644 --- a/docs/progGuideDB/implementation.xml +++ b/docs/progGuideDB/implementation.xml @@ -98,6 +98,17 @@ <literal>java.lang.String</literal> unless <literal>java.lang.String</literal> is part of the compile. </para> + <para> + When declaring members on interfaces, the implementation must + control both the interface and the top-level implementors of + that interface (the classes that implement the interface but + do not have a superclass that implements the interface). + You may weave these separately, but be aware that you will get + runtime exceptions if you run the affected top-level classes + without the interface as produced by the same ajc implementation. + Finally, note that one cannot define static fields or methods + on interfaces. + </para> <para> Other AspectJ implementations, indeed, future versions of ajc, may |