diff options
author | acolyer <acolyer> | 2004-11-28 21:44:27 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2004-11-28 21:44:27 +0000 |
commit | 4f5756d56fff9f5af0ed2cf72cf135ae0c1d7b5f (patch) | |
tree | b5d727f275b8320a5b82f9a467238134aa075daf /docs/adk15ProgGuideDB/varargs.xml | |
parent | acbb4e5b1a7c107d0f3897431b15a78d9026c381 (diff) | |
download | aspectj-4f5756d56fff9f5af0ed2cf72cf135ae0c1d7b5f.tar.gz aspectj-4f5756d56fff9f5af0ed2cf72cf135ae0c1d7b5f.zip |
aspectj 5 docs update. Signature matching chapter added.
Annotations chapter complete. Varargs, covariance, autoboxing,
and enum chapters complete. Pertypewithin proposal written up.
Generics, new reflection interfaces, and the "miscellaneous" section
still outstanding.
Diffstat (limited to 'docs/adk15ProgGuideDB/varargs.xml')
-rw-r--r-- | docs/adk15ProgGuideDB/varargs.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/adk15ProgGuideDB/varargs.xml b/docs/adk15ProgGuideDB/varargs.xml index ceadfed05..b74064b74 100644 --- a/docs/adk15ProgGuideDB/varargs.xml +++ b/docs/adk15ProgGuideDB/varargs.xml @@ -6,7 +6,7 @@ <title>Variable-length Argument Lists in Java 5</title> <para> - Java 5 (and hence AspectJ 1.5) allows you to specify methods that take a + Java 5 (and hence AspectJ 5) allows you to specify methods that take a variable number of arguments of a specified type. This is achieved using an ellipsis (...) in the method signature as shown: </para> @@ -62,17 +62,17 @@ <sect1> <title>Using Variable-length arguments in advice and pointcut expressions</title> - <para>AspectJ 1.5 allows variable-length arguments to be used for methods declared within + <para>AspectJ 5 allows variable-length arguments to be used for methods declared within aspects, and for inter-type declared methods and constructors, in accordance with the rules outlined in the previous section.</para> <para> - AspectJ 1.5 also allows variable length arguments to be specified in pointcut expressions and + AspectJ 5 also allows variable length arguments to be matched by pointcut expressions and bound as formals in advice. </para> <sect2> - <title>Matching signatures based on variable length arguments</title> + <title>Matching signatures based on variable length argument types</title> <para> Building on the definition of signature patterns given in the chapter on |