...
Exceptions
Wiki Markup |
---|
*OBJ14-EX1EX0* Raw types must be used in class literals. For example, because {{List<Integer>.class}} is illegal, it is permissible to use the raw type {{List.class}} \[[Bloch 2008|AA. Bibliography#Bloch 08]\]. |
Wiki Markup |
---|
*OBJ14-EX2EX1* The {{instanceof}} operator cannot be used with generic types. It is permissible to mix generic and raw code in such cases \[[Bloch 2008|AA. Bibliography#Bloch 08]\]. |
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b29355f56bb501ba-e938c8f6-4abc4840-8cf4b637-1076db0a586bf7579f69e10b"><ac:plain-text-body><![CDATA[ | [[Bloch 2008 | AA. Bibliography#Bloch 08]] | Item 23: "Don't use raw types in new code" | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="0023b8bc9b541a74-919d8bc1-473f4cd3-b39a9189-90583d964cd641659ed12fc5"><ac:plain-text-body><![CDATA[ | [[Bloch 2007 | AA. Bibliography#Bloch 07]] | Generics, 1. "Avoid Raw Types in New Code" | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="5a06ba3e2690d06b-6edad4e9-4fc142d0-8f2fa412-ab01f97798b9d70b482623a1"><ac:plain-text-body><![CDATA[ | [[Bloch 2005 | AA. Bibliography#Bloch 05]] | Puzzle 88: Raw Deal | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="89e23907e6ff4c31-4c34f630-42fd47fc-837bbc4d-2815aa79decc015b3589812e"><ac:plain-text-body><![CDATA[ | [[Darwin 2004 | AA. Bibliography#Darwin 04]] | 8.3 Avoid Casting by Using Generics | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="71e8294c238cfc05-8922b0c9-4c4c4dbc-84e38ea2-1a21318149898ef08dd4bbe3"><ac:plain-text-body><![CDATA[ | [[JavaGenerics 2004 | AA. Bibliography#JavaGenerics 04]] |
| ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="8083b35f77a5ab25-f4566352-460d4a46-a96b8ac2-aa385593c55a22c0e8449c4c"><ac:plain-text-body><![CDATA[ | [[JLS 2005 | AA. Bibliography#JLS 05]] | [Chapter 5 "Conversions and Promotions" | http://java.sun.com/docs/books/jls/third_edition/html/conversions.html] | ]]></ac:plain-text-body></ac:structured-macro> |
| |||||
| |||||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="226da6a889efc4cc-db4296e4-480944f7-af64919f-2e86850c26ddc69e91d79820"><ac:plain-text-body><![CDATA[ | [[Langer 2008 | AA. Bibliography#Langer 08]] | Topic 3, "[Coping with Legacy | http://www.angelikalanger.com/GenericsFAQ/FAQSections/ProgrammingIdioms.html#Topic3]" | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9a23333192116082-0816fc6e-4c5a4b3e-8eb6a9ee-5e1fc455b2999a3923e88eb3"><ac:plain-text-body><![CDATA[ | [[Naftalin 2006 | AA. Bibliography#Naftalin 06]] | Chapter 8, "Effective Generics" | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="8a7685837f0a1210-97fba6a1-4f5e4b51-a8b1a404-2a4605b4bfdeec1c27fd0661"><ac:plain-text-body><![CDATA[ | [[Naftalin 2006b | AA. Bibliography#Naftalin 06b]] | "Principle of Indecent Exposure" | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b806dae68cc8bd1e-dfb1b48a-403743db-802f9c07-d97cfe426cefb44d1e4387bf"><ac:plain-text-body><![CDATA[ | [[Schildt 2007 | AA. Bibliography#Schildt 07]] | "Create a checked collection" | ]]></ac:plain-text-body></ac:structured-macro> |
...