diff options
author | mkersten <mkersten> | 2004-04-07 04:08:43 +0000 |
---|---|---|
committer | mkersten <mkersten> | 2004-04-07 04:08:43 +0000 |
commit | 213f48fcbc1f10dd33e608b66acd4d75276bd4f9 (patch) | |
tree | d3287ea517cc51359df73d19ca3121f02a301d5a /ajdoc/testdata | |
parent | 3b7bd4b6f198e63d41c7491d796d4ae270d6fe7e (diff) | |
download | aspectj-213f48fcbc1f10dd33e608b66acd4d75276bd4f9.tar.gz aspectj-213f48fcbc1f10dd33e608b66acd4d75276bd4f9.zip |
I just committed the final round of updates to ajdoc needed for 1.2. In a nutshell it's moved forward a ways from the previous ajdoc:
- AJDT integration works
- generates documentation for all the AspectJ modules
- works on 1.3 and 1.4
- comments and Javadoc tags are properly preserved and resolved
Note that the hope is still for "declare" documentation to come in the form of a contribution.
Getting it to work for our tree involved a bunch of bug fixes to deal with things like anonymous types. To run from our tree in bootstrap mode use something like the attached batch script.
I had to roll back some of Andy's fix to broken links: getRelativeComponent didn't work properly for internal anchor links (..html#<mumble>). Andy, could you check this against the current thing against whatever was breaking for you, and ideally add that code patter to CoverageTestCase?
I added -XjavadocsInModel to make the addition of Javadoc strings to the ASM only happen when request it (prevent bloat of the model with strings. The running time of ajdoc is now dominated by the compilation time.
Diffstat (limited to 'ajdoc/testdata')
-rw-r--r-- | ajdoc/testdata/simple/foo/ClassA.java | 15 | ||||
-rw-r--r-- | ajdoc/testdata/simple/foo/PlainJava.java | 20 |
2 files changed, 32 insertions, 3 deletions
diff --git a/ajdoc/testdata/simple/foo/ClassA.java b/ajdoc/testdata/simple/foo/ClassA.java index 1b357a788..097f4a281 100644 --- a/ajdoc/testdata/simple/foo/ClassA.java +++ b/ajdoc/testdata/simple/foo/ClassA.java @@ -5,12 +5,21 @@ import java.io.IOException; /** * Test class. This is a comment. - */ + */ public abstract class ClassA implements InterfaceI { + /** + * Mumble field. + */ + public String mumble = "xxx"; public int pubfield; - private int privfield; - + private String privfield = "mumble"; + + public IOException exception = new IOException() { + + public String getMumble() { return "mumble"; } + }; + /** * Mumbo. Jumbo. * diff --git a/ajdoc/testdata/simple/foo/PlainJava.java b/ajdoc/testdata/simple/foo/PlainJava.java new file mode 100644 index 000000000..a7300b07e --- /dev/null +++ b/ajdoc/testdata/simple/foo/PlainJava.java @@ -0,0 +1,20 @@ + +package foo; + +import java.io.*; + +public class PlainJava { + public int i; + + public int getI() { + + new FileFilter() { + public boolean accept(File f) { + boolean accept = !(f.isDirectory() || f.getName().endsWith(".class")) ; + return accept; + } + }; + + return i; + } +}
\ No newline at end of file |