diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-02-01 11:57:10 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-02-01 11:57:10 +0700 |
commit | bbe629bc4a5e8c76a0b31686eedc88add5d71360 (patch) | |
tree | c03cca36ccdd16f37e23ff66c191381a41b5ed8a /docs/adk15notebook/autoboxing.adoc | |
parent | d6056515f8078572dd35cd091fb31ba48e9d8b53 (diff) | |
download | aspectj-bbe629bc4a5e8c76a0b31686eedc88add5d71360.tar.gz aspectj-bbe629bc4a5e8c76a0b31686eedc88add5d71360.zip |
Always use ":leveloffset: +1" with ":doctype: book"
Headlines per ADOC file should start at level 1, not 2. Adjusting the
level offset for books helps to avoid warnings when including book
chapters, but still allows to also use the chapters as stand-alone
documents.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'docs/adk15notebook/autoboxing.adoc')
-rw-r--r-- | docs/adk15notebook/autoboxing.adoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/adk15notebook/autoboxing.adoc b/docs/adk15notebook/autoboxing.adoc index fa3842950..11803d632 100644 --- a/docs/adk15notebook/autoboxing.adoc +++ b/docs/adk15notebook/autoboxing.adoc @@ -1,8 +1,8 @@ [[autoboxing]] -== Autoboxing and Unboxing += Autoboxing and Unboxing [[boxing-inJava5]] -=== Autoboxing and Unboxing in Java 5 +== Autoboxing and Unboxing in Java 5 Java 5 (and hence AspectJ 1.5) supports automatic conversion of primitive types (`int`, `float`, `double` etc.) to their object equivalents @@ -23,7 +23,7 @@ Integer i2 = 5; // autoboxing .... [[autoboxing-in-aspectj5]] -=== Autoboxing and Join Point matching in AspectJ 5 +== Autoboxing and Join Point matching in AspectJ 5 Most of the pointcut designators match based on signatures, and hence are unaffected by autoboxing. For example, a call to a method @@ -63,7 +63,7 @@ before(Integer i) : foo(i) { .... [[autoboxing-and-method-dispatch]] -=== Inter-type method declarations and method dispatch +== Inter-type method declarations and method dispatch Autoboxing, unboxing, and also varargs all affect the method dispatch algorithm used in Java 5. In AspectJ 5, the target method of a call is |