diff --git a/src/main/java/org/meeuw/i18n/languages/ISO_639_1_Code.java b/src/main/java/org/meeuw/i18n/languages/ISO_639_1_Code.java index 48bebea..8c48079 100644 --- a/src/main/java/org/meeuw/i18n/languages/ISO_639_1_Code.java +++ b/src/main/java/org/meeuw/i18n/languages/ISO_639_1_Code.java @@ -1,13 +1,14 @@ package org.meeuw.i18n.languages; -import com.fasterxml.jackson.annotation.JsonCreator; import java.util.List; +import com.fasterxml.jackson.annotation.JsonCreator; + /** * An enum with all ISO-639-1 language codes.
This enum is automatically generated by class org.meeuw.i18n.languages.test.GenerateEnums from all ISO-639-3 languages which have a part1 code.
- * + * */ public enum ISO_639_1_Code implements LanguageCode @@ -20,7 +21,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ aa, @@ -30,7 +31,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ab, @@ -40,7 +41,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: historical - * + * */ ae, @@ -50,7 +51,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ af, @@ -60,7 +61,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ ak, @@ -70,7 +71,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ am, @@ -80,7 +81,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ an, @@ -90,7 +91,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ ar, @@ -100,7 +101,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ as, @@ -110,7 +111,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ av, @@ -120,7 +121,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ ay, @@ -130,7 +131,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ az, @@ -140,7 +141,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ba, @@ -150,7 +151,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ be, @@ -160,7 +161,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ bg, @@ -170,7 +171,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ bi, @@ -180,7 +181,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ bm, @@ -190,7 +191,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ bn, @@ -200,7 +201,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ bo, @@ -210,7 +211,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ br, @@ -220,7 +221,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ bs, @@ -230,7 +231,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ca, @@ -240,7 +241,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ce, @@ -250,7 +251,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ch, @@ -260,7 +261,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ co, @@ -270,7 +271,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ cr, @@ -280,7 +281,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ cs, @@ -290,7 +291,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: historical - * + * */ cu, @@ -300,7 +301,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ cv, @@ -310,7 +311,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ cy, @@ -320,7 +321,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ da, @@ -330,7 +331,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ de, @@ -340,7 +341,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ dv, @@ -350,7 +351,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ dz, @@ -360,7 +361,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ee, @@ -370,7 +371,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ el, @@ -380,7 +381,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ en, @@ -390,7 +391,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: constructed - * + * */ eo, @@ -400,7 +401,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ es, @@ -410,7 +411,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ et, @@ -420,7 +421,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ eu, @@ -430,7 +431,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ fa, @@ -440,7 +441,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ ff, @@ -450,7 +451,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ fi, @@ -460,7 +461,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ fj, @@ -470,7 +471,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ fo, @@ -480,7 +481,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ fr, @@ -490,7 +491,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ fy, @@ -500,7 +501,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ga, @@ -510,7 +511,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ gd, @@ -520,7 +521,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ gl, @@ -530,7 +531,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ gn, @@ -540,7 +541,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ gu, @@ -550,7 +551,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ gv, @@ -560,7 +561,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ha, @@ -570,7 +571,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ he, @@ -580,7 +581,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ hi, @@ -590,7 +591,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ho, @@ -600,7 +601,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ hr, @@ -610,7 +611,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ht, @@ -620,7 +621,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ hu, @@ -630,7 +631,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ hy, @@ -640,7 +641,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ hz, @@ -650,7 +651,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: constructed - * + * */ ia, @@ -660,7 +661,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ id, @@ -670,7 +671,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: constructed - * + * */ ie, @@ -680,7 +681,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ig, @@ -690,7 +691,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ii, @@ -700,7 +701,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ ik, @@ -710,7 +711,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: constructed - * + * */ io, @@ -720,7 +721,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ is, @@ -730,7 +731,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ it, @@ -740,7 +741,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ iu, @@ -750,7 +751,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ja, @@ -760,7 +761,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ jv, @@ -770,7 +771,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ka, @@ -780,7 +781,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ kg, @@ -790,7 +791,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ki, @@ -800,7 +801,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ kj, @@ -810,7 +811,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ kk, @@ -820,7 +821,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ kl, @@ -830,7 +831,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ km, @@ -840,7 +841,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ kn, @@ -850,7 +851,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ko, @@ -860,7 +861,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ kr, @@ -870,7 +871,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ks, @@ -880,7 +881,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ ku, @@ -890,7 +891,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ kv, @@ -900,7 +901,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ kw, @@ -910,7 +911,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ky, @@ -920,7 +921,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: historical - * + * */ la, @@ -930,7 +931,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ lb, @@ -940,7 +941,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ lg, @@ -950,7 +951,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ li, @@ -960,7 +961,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ln, @@ -970,7 +971,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ lo, @@ -980,7 +981,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ lt, @@ -990,7 +991,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ lu, @@ -1000,7 +1001,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ lv, @@ -1010,7 +1011,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ mg, @@ -1020,7 +1021,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ mh, @@ -1030,7 +1031,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ mi, @@ -1040,7 +1041,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ mk, @@ -1050,7 +1051,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ml, @@ -1060,7 +1061,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ mn, @@ -1070,7 +1071,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ mr, @@ -1080,7 +1081,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ ms, @@ -1090,7 +1091,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ mt, @@ -1100,7 +1101,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ my, @@ -1110,7 +1111,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ na, @@ -1120,7 +1121,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ nb, @@ -1130,7 +1131,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ nd, @@ -1140,7 +1141,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ ne, @@ -1150,7 +1151,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ng, @@ -1160,7 +1161,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ nl, @@ -1170,7 +1171,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ nn, @@ -1180,7 +1181,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ no, @@ -1190,7 +1191,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ nr, @@ -1200,7 +1201,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ nv, @@ -1210,7 +1211,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ny, @@ -1220,7 +1221,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ oc, @@ -1230,7 +1231,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ oj, @@ -1240,7 +1241,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ om, @@ -1250,7 +1251,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ or, @@ -1260,7 +1261,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ os, @@ -1270,7 +1271,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ pa, @@ -1280,7 +1281,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: historical - * + * */ pi, @@ -1290,7 +1291,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ pl, @@ -1300,7 +1301,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ ps, @@ -1310,7 +1311,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ pt, @@ -1320,7 +1321,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ qu, @@ -1330,7 +1331,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ rm, @@ -1340,7 +1341,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ rn, @@ -1350,7 +1351,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ro, @@ -1360,7 +1361,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ru, @@ -1370,7 +1371,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ rw, @@ -1380,7 +1381,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: historical - * + * */ sa, @@ -1390,7 +1391,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ sc, @@ -1400,7 +1401,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ sd, @@ -1410,7 +1411,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ se, @@ -1420,7 +1421,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ sg, @@ -1432,7 +1433,7 @@ public enum ISO_639_1_Code * type: living *
* Code element for 639-1 has been deprecated - * + * */ sh, @@ -1442,7 +1443,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ si, @@ -1452,7 +1453,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ sk, @@ -1462,7 +1463,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ sl, @@ -1472,7 +1473,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ sm, @@ -1482,7 +1483,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ sn, @@ -1492,7 +1493,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ so, @@ -1502,7 +1503,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ sq, @@ -1512,7 +1513,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ sr, @@ -1522,7 +1523,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ss, @@ -1532,7 +1533,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ st, @@ -1542,7 +1543,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ su, @@ -1552,7 +1553,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ sv, @@ -1562,7 +1563,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ sw, @@ -1572,7 +1573,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ta, @@ -1582,7 +1583,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ te, @@ -1592,7 +1593,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ tg, @@ -1602,7 +1603,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ th, @@ -1612,7 +1613,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ti, @@ -1622,7 +1623,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ tk, @@ -1632,7 +1633,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ tl, @@ -1642,7 +1643,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ tn, @@ -1652,7 +1653,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ to, @@ -1662,7 +1663,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ tr, @@ -1672,7 +1673,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ts, @@ -1682,7 +1683,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ tt, @@ -1692,7 +1693,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ tw, @@ -1702,7 +1703,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ty, @@ -1712,7 +1713,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ug, @@ -1722,7 +1723,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ uk, @@ -1732,7 +1733,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ur, @@ -1742,7 +1743,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ uz, @@ -1752,7 +1753,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ ve, @@ -1762,7 +1763,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ vi, @@ -1772,7 +1773,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: constructed - * + * */ vo, @@ -1782,7 +1783,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ wa, @@ -1792,7 +1793,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ wo, @@ -1802,7 +1803,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ xh, @@ -1812,7 +1813,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ yi, @@ -1822,7 +1823,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living - * + * */ yo, @@ -1832,7 +1833,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ za, @@ -1842,7 +1843,7 @@ public enum ISO_639_1_Code * scope: macrolanguage *
* type: living - * + * */ zh, @@ -1852,7 +1853,7 @@ public enum ISO_639_1_Code * scope: individual *
* type: living
- *
+ *
*/
zu;
private ISO_639_3_Code languageCode;
diff --git a/src/main/java/org/meeuw/i18n/languages/LanguageFamilyCode.java b/src/main/java/org/meeuw/i18n/languages/LanguageFamilyCode.java
index dc29116..30112e8 100644
--- a/src/main/java/org/meeuw/i18n/languages/LanguageFamilyCode.java
+++ b/src/main/java/org/meeuw/i18n/languages/LanguageFamilyCode.java
@@ -16,120 +16,695 @@ public enum LanguageFamilyCode
implements ISO_639_Code
{
+
+ /**
+ * Austro-Asiatic languages
+ *
+ */
aav("http://id.loc.gov/vocabulary/iso639-5/aav", "Austro-Asiatic languages", "austro-asiatiques, langues"),
+
+ /**
+ * Afro-Asiatic languages
+ *
+ */
afa("http://id.loc.gov/vocabulary/iso639-5/afa", "Afro-Asiatic languages", "afro-asiatiques, langues"),
+
+ /**
+ * Algonquian languages
+ *
+ */
alg("http://id.loc.gov/vocabulary/iso639-5/alg", "Algonquian languages", "algonquines, langues"),
+
+ /**
+ * Atlantic-Congo languages
+ *
+ */
alv("http://id.loc.gov/vocabulary/iso639-5/alv", "Atlantic-Congo languages", "atlantique-congo, langues"),
+
+ /**
+ * Apache languages
+ *
+ */
apa("http://id.loc.gov/vocabulary/iso639-5/apa", "Apache languages", "apaches, langues"),
+
+ /**
+ * Alacalufan languages
+ *
+ */
aqa("http://id.loc.gov/vocabulary/iso639-5/aqa", "Alacalufan languages", "alacalufanes, langues"),
+
+ /**
+ * Algic languages
+ *
+ */
aql("http://id.loc.gov/vocabulary/iso639-5/aql", "Algic languages", "algiques, langues"),
+
+ /**
+ * Artificial languages
+ *
+ */
art("http://id.loc.gov/vocabulary/iso639-5/art", "Artificial languages", "artificielles, langues"),
+
+ /**
+ * Athapascan languages
+ *
+ */
ath("http://id.loc.gov/vocabulary/iso639-5/ath", "Athapascan languages", "athapascanes, langues"),
+
+ /**
+ * Arauan languages
+ *
+ */
auf("http://id.loc.gov/vocabulary/iso639-5/auf", "Arauan languages", "arauanes, langues"),
+
+ /**
+ * Australian languages
+ *
+ */
aus("http://id.loc.gov/vocabulary/iso639-5/aus", "Australian languages", "australiennes, langues"),
+
+ /**
+ * Arawakan languages
+ *
+ */
awd("http://id.loc.gov/vocabulary/iso639-5/awd", "Arawakan languages", "arawak, langues"),
+
+ /**
+ * Uto-Aztecan languages
+ *
+ */
azc("http://id.loc.gov/vocabulary/iso639-5/azc", "Uto-Aztecan languages", "uto-azt\u00e8ques, langues"),
+
+ /**
+ * Banda languages
+ *
+ */
bad("http://id.loc.gov/vocabulary/iso639-5/bad", "Banda languages", "banda, langues"),
+
+ /**
+ * Bamileke languages
+ *
+ */
bai("http://id.loc.gov/vocabulary/iso639-5/bai", "Bamileke languages", "bamil\u00e9k\u00e9, langues"),
+
+ /**
+ * Baltic languages
+ *
+ */
bat("http://id.loc.gov/vocabulary/iso639-5/bat", "Baltic languages", "baltes, langues"),
+
+ /**
+ * Berber languages
+ *
+ */
ber("http://id.loc.gov/vocabulary/iso639-5/ber", "Berber languages", "berb\u00e8res, langues"),
+
+ /**
+ * Bihari languages
+ *
+ */
bih("http://id.loc.gov/vocabulary/iso639-5/bih", "Bihari languages", "langues biharis"),
+
+ /**
+ * Bantu languages
+ *
+ */
bnt("http://id.loc.gov/vocabulary/iso639-5/bnt", "Bantu languages", "bantou, langues"),
+
+ /**
+ * Batak languages
+ *
+ */
btk("http://id.loc.gov/vocabulary/iso639-5/btk", "Batak languages", "batak, langues"),
+
+ /**
+ * Central American Indian languages
+ *
+ */
cai("http://id.loc.gov/vocabulary/iso639-5/cai", "Central American Indian languages", "am\u00e9rindiennes de l'Am\u00e9rique centrale, langues"),
+
+ /**
+ * Caucasian languages
+ *
+ */
cau("http://id.loc.gov/vocabulary/iso639-5/cau", "Caucasian languages", "caucasiennes, langues"),
+
+ /**
+ * Chibchan languages
+ *
+ */
cba("http://id.loc.gov/vocabulary/iso639-5/cba", "Chibchan languages", "chibcha, langues"),
+
+ /**
+ * North Caucasian languages
+ *
+ */
ccn("http://id.loc.gov/vocabulary/iso639-5/ccn", "North Caucasian languages", "caucasiennes du Nord, langues"),
+
+ /**
+ * South Caucasian languages
+ *
+ */
ccs("http://id.loc.gov/vocabulary/iso639-5/ccs", "South Caucasian languages", "caucasiennes du Sud, langues"),
+
+ /**
+ * Chadic languages
+ *
+ */
cdc("http://id.loc.gov/vocabulary/iso639-5/cdc", "Chadic languages", "tchadiques, langues"),
+
+ /**
+ * Caddoan languages
+ *
+ */
cdd("http://id.loc.gov/vocabulary/iso639-5/cdd", "Caddoan languages", "caddoanes, langues"),
+
+ /**
+ * Celtic languages
+ *
+ */
cel("http://id.loc.gov/vocabulary/iso639-5/cel", "Celtic languages", "celtiques, langues; celtes, langues"),
+
+ /**
+ * Chamic languages
+ *
+ */
cmc("http://id.loc.gov/vocabulary/iso639-5/cmc", "Chamic languages", "chames, langues"),
+
+ /**
+ * Creoles and pidgins, English‑based
+ *
+ */
cpe("http://id.loc.gov/vocabulary/iso639-5/cpe", "Creoles and pidgins, English\u2011based", "cr\u00e9oles et pidgins bas\u00e9s sur l'anglais"),
+
+ /**
+ * Creoles and pidgins, French‑based
+ *
+ */
cpf("http://id.loc.gov/vocabulary/iso639-5/cpf", "Creoles and pidgins, French\u2011based", "cr\u00e9oles et pidgins bas\u00e9s sur le fran\u00e7ais"),
+
+ /**
+ * Creoles and pidgins, Portuguese-based
+ *
+ */
cpp("http://id.loc.gov/vocabulary/iso639-5/cpp", "Creoles and pidgins, Portuguese-based", "cr\u00e9oles et pidgins bas\u00e9s sur le portugais"),
+
+ /**
+ * Creoles and pidgins
+ *
+ */
crp("http://id.loc.gov/vocabulary/iso639-5/crp", "Creoles and pidgins", "cr\u00e9oles et pidgins"),
+
+ /**
+ * Central Sudanic languages
+ *
+ */
csu("http://id.loc.gov/vocabulary/iso639-5/csu", "Central Sudanic languages", "soudaniques centrales, langues"),
+
+ /**
+ * Cushitic languages
+ *
+ */
cus("http://id.loc.gov/vocabulary/iso639-5/cus", "Cushitic languages", "couchitiques, langues"),
+
+ /**
+ * Land Dayak languages
+ *
+ */
day("http://id.loc.gov/vocabulary/iso639-5/day", "Land Dayak languages", "dayak, langues"),
+
+ /**
+ * Mande languages
+ *
+ */
dmn("http://id.loc.gov/vocabulary/iso639-5/dmn", "Mande languages", "mand\u00e9, langues"),
+
+ /**
+ * Dravidian languages
+ *
+ */
dra("http://id.loc.gov/vocabulary/iso639-5/dra", "Dravidian languages", "dravidiennes, langues"),
+
+ /**
+ * Egyptian languages
+ *
+ */
egx("http://id.loc.gov/vocabulary/iso639-5/egx", "Egyptian languages", "\u00e9gyptiennes, langues"),
+
+ /**
+ * Eskimo-Aleut languages
+ *
+ */
esx("http://id.loc.gov/vocabulary/iso639-5/esx", "Eskimo-Aleut languages", "esquimaudes-al\u00e9outiennes, langues"),
+
+ /**
+ * Basque (family)
+ *
+ */
euq("http://id.loc.gov/vocabulary/iso639-5/euq", "Basque (family)", "basque (famille)"),
+
+ /**
+ * Finno-Ugrian languages
+ *
+ */
fiu("http://id.loc.gov/vocabulary/iso639-5/fiu", "Finno-Ugrian languages", "finno-ougriennes, langues"),
+
+ /**
+ * Formosan languages
+ *
+ */
fox("http://id.loc.gov/vocabulary/iso639-5/fox", "Formosan languages", "formosanes, langues"),
+
+ /**
+ * Germanic languages
+ *
+ */
gem("http://id.loc.gov/vocabulary/iso639-5/gem", "Germanic languages", "germaniques, langues"),
+
+ /**
+ * East Germanic languages
+ *
+ */
gme("http://id.loc.gov/vocabulary/iso639-5/gme", "East Germanic languages", "germaniques orientales, langues"),
+
+ /**
+ * North Germanic languages
+ *
+ */
gmq("http://id.loc.gov/vocabulary/iso639-5/gmq", "North Germanic languages", "germaniques septentrionales, langues"),
+
+ /**
+ * West Germanic languages
+ *
+ */
gmw("http://id.loc.gov/vocabulary/iso639-5/gmw", "West Germanic languages", "germaniques occidentales, langues"),
+
+ /**
+ * Greek languages
+ *
+ */
grk("http://id.loc.gov/vocabulary/iso639-5/grk", "Greek languages", "grecques, langues"),
+
+ /**
+ * Hmong-Mien languages
+ *
+ */
hmx("http://id.loc.gov/vocabulary/iso639-5/hmx", "Hmong-Mien languages", "hmong-mien, langues"),
+
+ /**
+ * Hokan languages
+ *
+ */
hok("http://id.loc.gov/vocabulary/iso639-5/hok", "Hokan languages", "hoka, langues"),
+
+ /**
+ * Armenian (family)
+ *
+ */
hyx("http://id.loc.gov/vocabulary/iso639-5/hyx", "Armenian (family)", "arm\u00e9nien (famille)"),
+
+ /**
+ * Indo-Iranian languages
+ *
+ */
iir("http://id.loc.gov/vocabulary/iso639-5/iir", "Indo-Iranian languages", "indo-iraniennes, langues"),
+
+ /**
+ * Ijo languages
+ *
+ */
ijo("http://id.loc.gov/vocabulary/iso639-5/ijo", "Ijo languages", "ijo, langues"),
+
+ /**
+ * Indic languages
+ *
+ */
inc("http://id.loc.gov/vocabulary/iso639-5/inc", "Indic languages", "indo-aryennes, langues"),
+
+ /**
+ * Indo-European languages
+ *
+ */
ine("http://id.loc.gov/vocabulary/iso639-5/ine", "Indo-European languages", "indo-europ\u00e9ennes, langues"),
+
+ /**
+ * Iranian languages
+ *
+ */
ira("http://id.loc.gov/vocabulary/iso639-5/ira", "Iranian languages", "iraniennes, langues"),
+
+ /**
+ * Iroquoian languages
+ *
+ */
iro("http://id.loc.gov/vocabulary/iso639-5/iro", "Iroquoian languages", "iroquoises, langues"),
+
+ /**
+ * Italic languages
+ *
+ */
itc("http://id.loc.gov/vocabulary/iso639-5/itc", "Italic languages", "italiques, langues"),
+
+ /**
+ * Japanese (family)
+ *
+ */
jpx("http://id.loc.gov/vocabulary/iso639-5/jpx", "Japanese (family)", "japonais (famille)"),
+
+ /**
+ * Karen languages
+ *
+ */
kar("http://id.loc.gov/vocabulary/iso639-5/kar", "Karen languages", "karen, langues"),
+
+ /**
+ * Kordofanian languages
+ *
+ */
kdo("http://id.loc.gov/vocabulary/iso639-5/kdo", "Kordofanian languages", "kordofaniennes, langues"),
+
+ /**
+ * Khoisan languages
+ *
+ */
khi("http://id.loc.gov/vocabulary/iso639-5/khi", "Khoisan languages", "kho\u00efsan, langues"),
+
+ /**
+ * Kru languages
+ *
+ */
kro("http://id.loc.gov/vocabulary/iso639-5/kro", "Kru languages", "krou, langues"),
+
+ /**
+ * Austronesian languages
+ *
+ */
map("http://id.loc.gov/vocabulary/iso639-5/map", "Austronesian languages", "austron\u00e9siennes, langues"),
+
+ /**
+ * Mon-Khmer languages
+ *
+ */
mkh("http://id.loc.gov/vocabulary/iso639-5/mkh", "Mon-Khmer languages", "m\u00f4n-khmer, langues"),
+
+ /**
+ * Manobo languages
+ *
+ */
mno("http://id.loc.gov/vocabulary/iso639-5/mno", "Manobo languages", "manobo, langues"),
+
+ /**
+ * Munda languages
+ *
+ */
mun("http://id.loc.gov/vocabulary/iso639-5/mun", "Munda languages", "mounda, langues"),
+
+ /**
+ * Mayan languages
+ *
+ */
myn("http://id.loc.gov/vocabulary/iso639-5/myn", "Mayan languages", "maya, langues"),
+
+ /**
+ * Nahuatl languages
+ *
+ */
nah("http://id.loc.gov/vocabulary/iso639-5/nah", "Nahuatl languages", "nahuatl, langues"),
+
+ /**
+ * North American Indian languages
+ *
+ */
nai("http://id.loc.gov/vocabulary/iso639-5/nai", "North American Indian languages", "nord-am\u00e9rindiennes, langues"),
+
+ /**
+ * Trans-New Guinea languages
+ *
+ */
ngf("http://id.loc.gov/vocabulary/iso639-5/ngf", "Trans-New Guinea languages", "trans-nouvelle-guin\u00e9e, langues"),
+
+ /**
+ * Niger-Kordofanian languages
+ *
+ */
nic("http://id.loc.gov/vocabulary/iso639-5/nic", "Niger-Kordofanian languages", "nig\u00e9ro-kordofaniennes, langues"),
+
+ /**
+ * Nubian languages
+ *
+ */
nub("http://id.loc.gov/vocabulary/iso639-5/nub", "Nubian languages", "nubiennes, langues"),
+
+ /**
+ * Oto-Manguean languages
+ *
+ */
omq("http://id.loc.gov/vocabulary/iso639-5/omq", "Oto-Manguean languages", "otomangue, langues"),
+
+ /**
+ * Omotic languages
+ *
+ */
omv("http://id.loc.gov/vocabulary/iso639-5/omv", "Omotic languages", "omotiques, langues"),
+
+ /**
+ * Otomian languages
+ *
+ */
oto("http://id.loc.gov/vocabulary/iso639-5/oto", "Otomian languages", "otomi, langues"),
+
+ /**
+ * Papuan languages
+ *
+ */
paa("http://id.loc.gov/vocabulary/iso639-5/paa", "Papuan languages", "papoues, langues"),
+
+ /**
+ * Philippine languages
+ *
+ */
phi("http://id.loc.gov/vocabulary/iso639-5/phi", "Philippine languages", "philippines, langues"),
+
+ /**
+ * Central Malayo-Polynesian languages
+ *
+ */
plf("http://id.loc.gov/vocabulary/iso639-5/plf", "Central Malayo-Polynesian languages", "malayo-polyn\u00e9siennes centrales, langues"),
+
+ /**
+ * Malayo-Polynesian languages
+ *
+ */
poz("http://id.loc.gov/vocabulary/iso639-5/poz", "Malayo-Polynesian languages", "malayo-polyn\u00e9siennes, langues"),
+
+ /**
+ * Eastern Malayo-Polynesian languages
+ *
+ */
pqe("http://id.loc.gov/vocabulary/iso639-5/pqe", "Eastern Malayo-Polynesian languages", "malayo-polyn\u00e9siennes orientales, langues"),
+
+ /**
+ * Western Malayo-Polynesian languages
+ *
+ */
pqw("http://id.loc.gov/vocabulary/iso639-5/pqw", "Western Malayo-Polynesian languages", "malayo-polyn\u00e9siennes occidentales, langues"),
+
+ /**
+ * Prakrit languages
+ *
+ */
pra("http://id.loc.gov/vocabulary/iso639-5/pra", "Prakrit languages", "pr\u00e2krit, langues"),
+
+ /**
+ * Quechuan (family)
+ *
+ */
qwe("http://id.loc.gov/vocabulary/iso639-5/qwe", "Quechuan (family)", "quechua (famille)"),
+
+ /**
+ * Romance languages
+ *
+ */
roa("http://id.loc.gov/vocabulary/iso639-5/roa", "Romance languages", "romanes, langues"),
+
+ /**
+ * South American Indian languages
+ *
+ */
sai("http://id.loc.gov/vocabulary/iso639-5/sai", "South American Indian languages", "sud-am\u00e9rindiennes, langues"),
+
+ /**
+ * Salishan languages
+ *
+ */
sal("http://id.loc.gov/vocabulary/iso639-5/sal", "Salishan languages", "salishennes, langues"),
+
+ /**
+ * Eastern Sudanic languages
+ *
+ */
sdv("http://id.loc.gov/vocabulary/iso639-5/sdv", "Eastern Sudanic languages", "soudaniques orientales, langues"),
+
+ /**
+ * Semitic languages
+ *
+ */
sem("http://id.loc.gov/vocabulary/iso639-5/sem", "Semitic languages", "s\u00e9mitiques, langues"),
+
+ /**
+ * sign languages
+ *
+ */
sgn("http://id.loc.gov/vocabulary/iso639-5/sgn", "sign languages", "langues des signes"),
+
+ /**
+ * Siouan languages
+ *
+ */
sio("http://id.loc.gov/vocabulary/iso639-5/sio", "Siouan languages", "sioux, langues"),
+
+ /**
+ * Sino-Tibetan languages
+ *
+ */
sit("http://id.loc.gov/vocabulary/iso639-5/sit", "Sino-Tibetan languages", "sino-tib\u00e9taines, langues"),
+
+ /**
+ * Slavic languages
+ *
+ */
sla("http://id.loc.gov/vocabulary/iso639-5/sla", "Slavic languages", "slaves, langues"),
+
+ /**
+ * Sami languages
+ *
+ */
smi("http://id.loc.gov/vocabulary/iso639-5/smi", "Sami languages", "sames, langues"),
+
+ /**
+ * Songhai languages
+ *
+ */
son("http://id.loc.gov/vocabulary/iso639-5/son", "Songhai languages", "songhai, langues"),
+
+ /**
+ * Albanian languages
+ *
+ */
sqj("http://id.loc.gov/vocabulary/iso639-5/sqj", "Albanian languages", "albanaises, langues"),
+
+ /**
+ * Nilo-Saharan languages
+ *
+ */
ssa("http://id.loc.gov/vocabulary/iso639-5/ssa", "Nilo-Saharan languages", "nilo-sahariennes, langues"),
+
+ /**
+ * Samoyedic languages
+ *
+ */
syd("http://id.loc.gov/vocabulary/iso639-5/syd", "Samoyedic languages", "samoy\u00e8des, langues"),
+
+ /**
+ * Tai languages
+ *
+ */
tai("http://id.loc.gov/vocabulary/iso639-5/tai", "Tai languages", "tai, langues"),
+
+ /**
+ * Tibeto-Burman languages
+ *
+ */
tbq("http://id.loc.gov/vocabulary/iso639-5/tbq", "Tibeto-Burman languages", "tib\u00e9to-birmanes, langues"),
+
+ /**
+ * Turkic languages
+ *
+ */
trk("http://id.loc.gov/vocabulary/iso639-5/trk", "Turkic languages", "turques, langues"),
+
+ /**
+ * Tupi languages
+ *
+ */
tup("http://id.loc.gov/vocabulary/iso639-5/tup", "Tupi languages", "tupi, langues"),
+
+ /**
+ * Altaic languages
+ *
+ */
tut("http://id.loc.gov/vocabulary/iso639-5/tut", "Altaic languages", "alta\u00efques, langues"),
+
+ /**
+ * Tungus languages
+ *
+ */
tuw("http://id.loc.gov/vocabulary/iso639-5/tuw", "Tungus languages", "toungouses, langues"),
+
+ /**
+ * Uralic languages
+ *
+ */
urj("http://id.loc.gov/vocabulary/iso639-5/urj", "Uralic languages", "ouraliennes, langues"),
+
+ /**
+ * Wakashan languages
+ *
+ */
wak("http://id.loc.gov/vocabulary/iso639-5/wak", "Wakashan languages", "wakashanes, langues"),
+
+ /**
+ * Sorbian languages
+ *
+ */
wen("http://id.loc.gov/vocabulary/iso639-5/wen", "Sorbian languages", "sorabes, langues"),
+
+ /**
+ * Mongolian languages
+ *
+ */
xgn("http://id.loc.gov/vocabulary/iso639-5/xgn", "Mongolian languages", "mongoles, langues"),
+
+ /**
+ * Na-Dene languages
+ *
+ */
xnd("http://id.loc.gov/vocabulary/iso639-5/xnd", "Na-Dene languages", "na-d\u00e9n\u00e9, langues"),
+
+ /**
+ * Yupik languages
+ *
+ */
ypk("http://id.loc.gov/vocabulary/iso639-5/ypk", "Yupik languages", "yupik, langues"),
+
+ /**
+ * Chinese (family)
+ *
+ */
zhx("http://id.loc.gov/vocabulary/iso639-5/zhx", "Chinese (family)", "chinois (famille)"),
+
+ /**
+ * East Slavic languages
+ *
+ */
zle("http://id.loc.gov/vocabulary/iso639-5/zle", "East Slavic languages", "slaves orientales, langues"),
+
+ /**
+ * South Slavic languages
+ *
+ */
zls("http://id.loc.gov/vocabulary/iso639-5/zls", "South Slavic languages", "slaves m\u00e9ridionales, langues"),
+
+ /**
+ * West Slavic languages
+ *
+ */
zlw("http://id.loc.gov/vocabulary/iso639-5/zlw", "West Slavic languages", "slaves occidentales, langues"),
+
+ /**
+ * Zande languages
+ *
+ */
znd("http://id.loc.gov/vocabulary/iso639-5/znd", "Zande languages", "zand\u00e9, langues");
private final URI uri;
private final Map ")
.append("This enum is automatically generated by " + GenerateEnums.class + " from a tab seperated file found on id.loc.gov. ");
-
+
JFieldVar uri = iso639_5.field(JMod.PRIVATE | JMod.FINAL, URI.class, "uri");
-
+
JClass narrowedMap = model.ref(Map.class).narrow(String.class, String.class
);
JFieldVar labels = iso639_5.field(JMod.PRIVATE | JMod.FINAL, narrowedMap, "labels");
-
+
labels.init(JExpr._new(model.ref(HashMap.class).narrow(String.class, String.class)));
JMethod constructor = iso639_5.constructor(JMod.NONE);
@@ -117,44 +119,44 @@ public void create639_5() throws JClassAlreadyExistsException, IOException, Clas
code.annotate(Override.class);
code.body()._return(JExpr._this().invoke("name"));
}
-
+
{
JMethod scope = iso639_5.method(JMod.PUBLIC, Scope.class, "scope");
scope.annotate(Override.class);
scope.body()._return(model.ref(Scope.class).staticRef(Scope.FAMILY.name()));
}
-
+
{
JMethod languageType = iso639_5.method(JMod.PUBLIC, Type.class, "languageType");
languageType.annotate(Override.class);
languageType.body()._return(model.ref(Type.class).staticRef(Type.L.name()));
}
-
-
+
+
{
JMethod uriM = iso639_5.method(JMod.PUBLIC, URI.class, "uri");
uriM.body()._return(uri);
}
-
+
{
JMethod refName = iso639_5.method(JMod.PUBLIC, String.class, "refName");
refName.annotate(Override.class);
refName.body()._return(labels.invoke("get").arg("en"));
}
-
+
{
JMethod labelsM = iso639_5.method(JMod.PUBLIC, narrowedMap, "labels");
JClass collections = model.ref(Collections.class);
labelsM.body()._return(collections.staticInvoke("unmodifiableMap").arg(labels));
}
-
+
{
JMethod toString = iso639_5.method(JMod.PUBLIC, String.class, "toString");
toString.annotate(Override.class);
toString.body()._return(JExpr._this().invoke("name").plus(JExpr.lit(" (").plus(JExpr._this().invoke("refName").plus(JExpr.lit(")")))));
}
{
-
+
JType optional = model.ref(Optional.class).narrow(iso639_5);
JMethod get = iso639_5.method(JMod.PUBLIC | JMod.STATIC, optional, "get");
JVar code = get.param(String.class, "code");
@@ -169,10 +171,10 @@ public void create639_5() throws JClassAlreadyExistsException, IOException, Clas
._return(model.ref(Optional.class).staticInvoke("empty"));
}
-
-
-
-
+
+
+
+
try (InputStream inputStream = ISO_639_3_Code.class.getResourceAsStream("/iso639-5.tsv");
BufferedReader inputStreamReader = new BufferedReader(new InputStreamReader(inputStream, StandardCharsets.UTF_8));
) {
@@ -187,15 +189,17 @@ public void create639_5() throws JClassAlreadyExistsException, IOException, Clas
enumConstant.arg(JExpr.lit(line[0]));
enumConstant.arg(JExpr.lit(line[2]));
enumConstant.arg(JExpr.lit(line[3]));
+
+ enumConstant.javadoc().append("" + line[2] + "");
}
}
model.build(new FileCodeWriter(new File(absolutePath), false));
}
-
-
+
+
protected void overrideGetter(JDefinedClass iso639_1, JFieldVar languageCode, String name, Class> returnType) {
overrideGetter(iso639_1, languageCode, name, iso639_1.owner().ref(returnType));
-
+
}
protected void overrideGetter(JDefinedClass iso639_1, JFieldVar languageCode1, String name, JType languageCode) {
JMethod toString = iso639_1.method(JMod.PUBLIC, languageCode, name);
@@ -204,4 +208,3 @@ protected void overrideGetter(JDefinedClass iso639_1, JFieldVar languageCode1, S
JExpr._this().invoke("getLanguageCode").invoke(name));
}
}
-
\ No newline at end of file