From 7e0fe787d125c0c08658ab8a5d1de38665069c60 Mon Sep 17 00:00:00 2001 From: Robin Leroy Date: Mon, 2 Oct 2023 14:13:44 +0200 Subject: [PATCH] spotless --- .../java/org/unicode/props/UcdProperty.java | 84 ++- .../org/unicode/props/UcdPropertyValues.java | 506 ++++++++++-------- 2 files changed, 338 insertions(+), 252 deletions(-) diff --git a/unicodetools/src/main/java/org/unicode/props/UcdProperty.java b/unicodetools/src/main/java/org/unicode/props/UcdProperty.java index 649e45bf7..750beb165 100644 --- a/unicodetools/src/main/java/org/unicode/props/UcdProperty.java +++ b/unicodetools/src/main/java/org/unicode/props/UcdProperty.java @@ -41,13 +41,13 @@ */ public enum UcdProperty { - // Numeric + // Numeric Numeric_Value(PropertyType.Numeric, "nv"), kAccountingNumeric(PropertyType.Numeric, "cjkAccountingNumeric"), kOtherNumeric(PropertyType.Numeric, "cjkOtherNumeric"), kPrimaryNumeric(PropertyType.Numeric, "cjkPrimaryNumeric"), - // String + // String Bidi_Mirroring_Glyph(PropertyType.String, "bmg"), Bidi_Paired_Bracket(PropertyType.String, "bpb"), Case_Folding(PropertyType.String, "cf"), @@ -69,10 +69,12 @@ public enum UcdProperty { Titlecase_Mapping(PropertyType.String, "tc"), Uppercase_Mapping(PropertyType.String, "uc"), kCompatibilityVariant(PropertyType.String, "cjkCompatibilityVariant"), - kSimplifiedVariant(PropertyType.String, null, ValueCardinality.Unordered, "cjkSimplifiedVariant"), - kTraditionalVariant(PropertyType.String, null, ValueCardinality.Unordered, "cjkTraditionalVariant"), + kSimplifiedVariant( + PropertyType.String, null, ValueCardinality.Unordered, "cjkSimplifiedVariant"), + kTraditionalVariant( + PropertyType.String, null, ValueCardinality.Unordered, "cjkTraditionalVariant"), - // Miscellaneous + // Miscellaneous CJK_Radical(PropertyType.Miscellaneous, null, ValueCardinality.Ordered, "CJKR"), Emoji_DCM(PropertyType.Miscellaneous, "EDCM"), Emoji_KDDI(PropertyType.Miscellaneous, "EKDDI"), @@ -92,7 +94,8 @@ public enum UcdProperty { kCangjie(PropertyType.Miscellaneous, "cjkCangjie"), kCantonese(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkCantonese"), kCheungBauer(PropertyType.Miscellaneous, "cjkCheungBauer"), - kCheungBauerIndex(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkCheungBauerIndex"), + kCheungBauerIndex( + PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkCheungBauerIndex"), kCihaiT(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkCihaiT"), kCowles(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkCowles"), kDaeJaweon(PropertyType.Miscellaneous, "cjkDaeJaweon"), @@ -100,7 +103,8 @@ public enum UcdProperty { kEACC(PropertyType.Miscellaneous, "cjkEACC"), kFenn(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkFenn"), kFennIndex(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkFennIndex"), - kFourCornerCode(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkFourCornerCode"), + kFourCornerCode( + PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkFourCornerCode"), kFrequency(PropertyType.Miscellaneous, "cjkFrequency"), kGB0(PropertyType.Miscellaneous, "cjkGB0"), kGB1(PropertyType.Miscellaneous, "cjkGB1"), @@ -138,7 +142,8 @@ public enum UcdProperty { kJa(PropertyType.Miscellaneous, "cjkJa"), kJapaneseKun(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkJapaneseKun"), kJapaneseOn(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkJapaneseOn"), - kJinmeiyoKanji(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkJinmeiyoKanji"), + kJinmeiyoKanji( + PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkJinmeiyoKanji"), kJis0(PropertyType.Miscellaneous, "cjkJis0"), kJis1(PropertyType.Miscellaneous, "cjkJis1"), kJoyoKanji(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkJoyoKanji"), @@ -149,7 +154,11 @@ public enum UcdProperty { kKangXi(PropertyType.Miscellaneous, "cjkKangXi"), kKarlgren(PropertyType.Miscellaneous, "cjkKarlgren"), kKorean(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkKorean"), - kKoreanEducationHanja(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkKoreanEducationHanja"), + kKoreanEducationHanja( + PropertyType.Miscellaneous, + null, + ValueCardinality.Unordered, + "cjkKoreanEducationHanja"), kKoreanName(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkKoreanName"), kLau(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkLau"), kMainlandTelegraph(PropertyType.Miscellaneous, "cjkMainlandTelegraph"), @@ -160,15 +169,27 @@ public enum UcdProperty { kNelson(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkNelson"), kPhonetic(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkPhonetic"), kPseudoGB1(PropertyType.Miscellaneous, "cjkPseudoGB1"), - kRSAdobe_Japan1_6(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkRSAdobe_Japan1_6"), + kRSAdobe_Japan1_6( + PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkRSAdobe_Japan1_6"), kRSJapanese(PropertyType.Miscellaneous, "cjkRSJapanese"), kRSKanWa(PropertyType.Miscellaneous, "cjkRSKanWa"), kRSKangXi(PropertyType.Miscellaneous, "cjkRSKangXi"), kRSKorean(PropertyType.Miscellaneous, "cjkRSKorean"), - kRSUnicode(PropertyType.Miscellaneous, null, ValueCardinality.Ordered, "cjkRSUnicode", "Unicode_Radical_Stroke", "URS"), + kRSUnicode( + PropertyType.Miscellaneous, + null, + ValueCardinality.Ordered, + "cjkRSUnicode", + "Unicode_Radical_Stroke", + "URS"), kSBGY(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkSBGY"), - kSemanticVariant(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkSemanticVariant"), - kSpecializedSemanticVariant(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkSpecializedSemanticVariant"), + kSemanticVariant( + PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkSemanticVariant"), + kSpecializedSemanticVariant( + PropertyType.Miscellaneous, + null, + ValueCardinality.Unordered, + "cjkSpecializedSemanticVariant"), kSpoofingVariant(PropertyType.Miscellaneous, "cjkSpoofingVariant"), kTGH(PropertyType.Miscellaneous, null, ValueCardinality.Unordered, "cjkTGH"), kTGHZ2013(PropertyType.Miscellaneous, "cjkTGHZ2013"), @@ -181,23 +202,30 @@ public enum UcdProperty { kXerox(PropertyType.Miscellaneous, "cjkXerox"), kZVariant(PropertyType.Miscellaneous, "cjkZVariant"), - // Catalog + // Catalog Age(PropertyType.Catalog, Age_Values.class, null, "age"), Block(PropertyType.Catalog, Block_Values.class, null, "blk"), Script(PropertyType.Catalog, Script_Values.class, null, "sc"), Script_Extensions(PropertyType.Catalog, Script_Values.class, ValueCardinality.Unordered, "scx"), - // Enumerated + // Enumerated Bidi_Class(PropertyType.Enumerated, Bidi_Class_Values.class, null, "bc"), - Bidi_Paired_Bracket_Type(PropertyType.Enumerated, Bidi_Paired_Bracket_Type_Values.class, null, "bpt"), - Canonical_Combining_Class(PropertyType.Enumerated, Canonical_Combining_Class_Values.class, null, "ccc"), + Bidi_Paired_Bracket_Type( + PropertyType.Enumerated, Bidi_Paired_Bracket_Type_Values.class, null, "bpt"), + Canonical_Combining_Class( + PropertyType.Enumerated, Canonical_Combining_Class_Values.class, null, "ccc"), Decomposition_Type(PropertyType.Enumerated, Decomposition_Type_Values.class, null, "dt"), East_Asian_Width(PropertyType.Enumerated, East_Asian_Width_Values.class, null, "ea"), General_Category(PropertyType.Enumerated, General_Category_Values.class, null, "gc"), - Grapheme_Cluster_Break(PropertyType.Enumerated, Grapheme_Cluster_Break_Values.class, null, "GCB"), + Grapheme_Cluster_Break( + PropertyType.Enumerated, Grapheme_Cluster_Break_Values.class, null, "GCB"), Hangul_Syllable_Type(PropertyType.Enumerated, Hangul_Syllable_Type_Values.class, null, "hst"), Identifier_Status(PropertyType.Enumerated, Identifier_Status_Values.class, null, "idstatus"), - Identifier_Type(PropertyType.Enumerated, Identifier_Type_Values.class, ValueCardinality.Unordered, "idtype"), + Identifier_Type( + PropertyType.Enumerated, + Identifier_Type_Values.class, + ValueCardinality.Unordered, + "idtype"), Idn_2008(PropertyType.Enumerated, Idn_2008_Values.class, null, "idn8"), Idn_Status(PropertyType.Enumerated, Idn_Status_Values.class, null, "idns"), Indic_Conjunct_Break(PropertyType.Enumerated, Indic_Conjunct_Break_Values.class, null, "InCB"), @@ -217,7 +245,7 @@ public enum UcdProperty { Vertical_Orientation(PropertyType.Enumerated, Vertical_Orientation_Values.class, null, "vo"), Word_Break(PropertyType.Enumerated, Word_Break_Values.class, null, "WB"), - // Binary + // Binary ASCII_Hex_Digit(PropertyType.Binary, Binary.class, null, "AHex"), Alphabetic(PropertyType.Binary, Binary.class, null, "Alpha"), Basic_Emoji(PropertyType.Binary, Binary.class, null, "BE"), @@ -279,8 +307,10 @@ public enum UcdProperty { Prepended_Concatenation_Mark(PropertyType.Binary, Binary.class, null, "PCM"), Quotation_Mark(PropertyType.Binary, Binary.class, null, "QMark"), RGI_Emoji_Flag_Sequence(PropertyType.Binary, Binary.class, null, "REFS", "Emoji_Flag_Sequence"), - RGI_Emoji_Keycap_Sequence(PropertyType.Binary, Binary.class, null, "REKS", "Emoji_Keycap_Sequence"), - RGI_Emoji_Modifier_Sequence(PropertyType.Binary, Binary.class, null, "REMS", "Emoji_Modifier_Sequence"), + RGI_Emoji_Keycap_Sequence( + PropertyType.Binary, Binary.class, null, "REKS", "Emoji_Keycap_Sequence"), + RGI_Emoji_Modifier_Sequence( + PropertyType.Binary, Binary.class, null, "REMS", "Emoji_Modifier_Sequence"), RGI_Emoji_Tag_Sequence(PropertyType.Binary, Binary.class, null, "RETS", "Emoji_Tag_Sequence"), RGI_Emoji_Zwj_Sequence(PropertyType.Binary, Binary.class, null, "REZS", "Emoji_Zwj_Sequence"), Radical(PropertyType.Binary, Binary.class, null, "Radical"), @@ -295,17 +325,17 @@ public enum UcdProperty { XID_Continue(PropertyType.Binary, Binary.class, null, "XIDC"), XID_Start(PropertyType.Binary, Binary.class, null, "XIDS"), - // Unknown - ; +// Unknown +; -private final PropertyType type; + private final PropertyType type; private final PropertyNames names; // for enums private final NameMatcher name2enum; private final EnumSet enums; private final Class enumClass; private final ValueCardinality cardinality; - + private UcdProperty(PropertyType type, String shortName, String... otherNames) { this.type = type; names = new PropertyNames(UcdProperty.class, this, shortName, otherNames); @@ -334,7 +364,7 @@ private UcdProperty( enumClass = classItem; } } - + public ValueCardinality getCardinality() { return cardinality; } diff --git a/unicodetools/src/main/java/org/unicode/props/UcdPropertyValues.java b/unicodetools/src/main/java/org/unicode/props/UcdPropertyValues.java index 272f5ea43..9d03f153b 100644 --- a/unicodetools/src/main/java/org/unicode/props/UcdPropertyValues.java +++ b/unicodetools/src/main/java/org/unicode/props/UcdPropertyValues.java @@ -17,8 +17,7 @@ public enum Binary implements Named { private final PropertyNames names; private Binary(String shortName, String... otherNames) { - names = new PropertyNames( - Binary.class, this, shortName, otherNames); + names = new PropertyNames(Binary.class, this, shortName, otherNames); } @Override @@ -31,7 +30,8 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Binary.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Binary.class); public static Binary forName(String name) { return NAME_MATCHER.get(name); @@ -71,8 +71,7 @@ public enum Age_Values implements Named { private final PropertyNames names; private Age_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Age_Values.class, this, shortName, otherNames); + names = new PropertyNames(Age_Values.class, this, shortName, otherNames); } @Override @@ -85,7 +84,8 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Age_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Age_Values.class); public static Age_Values forName(String name) { return NAME_MATCHER.get(name); @@ -119,8 +119,9 @@ public enum Bidi_Class_Values implements Named { private final PropertyNames names; private Bidi_Class_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Bidi_Class_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Bidi_Class_Values.class, this, shortName, otherNames); } @Override @@ -133,15 +134,16 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Bidi_Class_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Bidi_Class_Values.class); public static Bidi_Class_Values forName(String name) { return NAME_MATCHER.get(name); } } - // Bidi_Mirroring_Glyph - // Bidi_Paired_Bracket + // Bidi_Mirroring_Glyph + // Bidi_Paired_Bracket public enum Bidi_Paired_Bracket_Type_Values implements Named { Close("c"), None("n"), @@ -149,8 +151,9 @@ public enum Bidi_Paired_Bracket_Type_Values implements Named { private final PropertyNames names; private Bidi_Paired_Bracket_Type_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Bidi_Paired_Bracket_Type_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Bidi_Paired_Bracket_Type_Values.class, this, shortName, otherNames); } @Override @@ -163,7 +166,8 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Bidi_Paired_Bracket_Type_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Bidi_Paired_Bracket_Type_Values.class); public static Bidi_Paired_Bracket_Type_Values forName(String name) { return NAME_MATCHER.get(name); @@ -255,7 +259,8 @@ public enum Block_Values implements Named { Devanagari_Extended_A("Devanagari_Ext_A"), Combining_Diacritical_Marks("Diacriticals"), Combining_Diacritical_Marks_Extended("Diacriticals_Ext"), - Combining_Diacritical_Marks_For_Symbols("Diacriticals_For_Symbols", "Combining_Marks_For_Symbols"), + Combining_Diacritical_Marks_For_Symbols( + "Diacriticals_For_Symbols", "Combining_Marks_For_Symbols"), Combining_Diacritical_Marks_Supplement("Diacriticals_Sup"), Dingbats("Dingbats"), Dives_Akuru("Dives_Akuru"), @@ -504,8 +509,9 @@ public enum Block_Values implements Named { private final PropertyNames names; private Block_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Block_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Block_Values.class, this, shortName, otherNames); } @Override @@ -518,7 +524,8 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Block_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Block_Values.class); public static Block_Values forName(String name) { return NAME_MATCHER.get(name); @@ -587,8 +594,9 @@ public enum Canonical_Combining_Class_Values implements Named { private final PropertyNames names; private Canonical_Combining_Class_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Canonical_Combining_Class_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Canonical_Combining_Class_Values.class, this, shortName, otherNames); } @Override @@ -601,20 +609,21 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Canonical_Combining_Class_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Canonical_Combining_Class_Values.class); public static Canonical_Combining_Class_Values forName(String name) { return NAME_MATCHER.get(name); } } - // Case_Folding - // CJK_Radical - // Confusable_MA - // Confusable_ML - // Confusable_SA - // Confusable_SL - // Decomposition_Mapping + // Case_Folding + // CJK_Radical + // Confusable_MA + // Confusable_ML + // Confusable_SA + // Confusable_SL + // Decomposition_Mapping public enum Decomposition_Type_Values implements Named { Canonical("Can", "can"), Compat("Com", "com"), @@ -637,8 +646,9 @@ public enum Decomposition_Type_Values implements Named { private final PropertyNames names; private Decomposition_Type_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Decomposition_Type_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Decomposition_Type_Values.class, this, shortName, otherNames); } @Override @@ -651,7 +661,8 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Decomposition_Type_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Decomposition_Type_Values.class); public static Decomposition_Type_Values forName(String name) { return NAME_MATCHER.get(name); @@ -668,8 +679,9 @@ public enum East_Asian_Width_Values implements Named { private final PropertyNames names; private East_Asian_Width_Values(String shortName, String... otherNames) { - names = new PropertyNames( - East_Asian_Width_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + East_Asian_Width_Values.class, this, shortName, otherNames); } @Override @@ -682,18 +694,19 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(East_Asian_Width_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(East_Asian_Width_Values.class); public static East_Asian_Width_Values forName(String name) { return NAME_MATCHER.get(name); } } - // Emoji_DCM - // Emoji_KDDI - // Emoji_SB - // Equivalent_Unified_Ideograph - // FC_NFKC_Closure + // Emoji_DCM + // Emoji_KDDI + // Emoji_SB + // Equivalent_Unified_Ideograph + // FC_NFKC_Closure public enum General_Category_Values implements Named { Other("C"), Control("Cc", "cntrl"), @@ -736,8 +749,9 @@ public enum General_Category_Values implements Named { private final PropertyNames names; private General_Category_Values(String shortName, String... otherNames) { - names = new PropertyNames( - General_Category_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + General_Category_Values.class, this, shortName, otherNames); } @Override @@ -750,7 +764,8 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(General_Category_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(General_Category_Values.class); public static General_Category_Values forName(String name) { return NAME_MATCHER.get(name); @@ -779,8 +794,9 @@ public enum Grapheme_Cluster_Break_Values implements Named { private final PropertyNames names; private Grapheme_Cluster_Break_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Grapheme_Cluster_Break_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Grapheme_Cluster_Break_Values.class, this, shortName, otherNames); } @Override @@ -793,7 +809,8 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Grapheme_Cluster_Break_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Grapheme_Cluster_Break_Values.class); public static Grapheme_Cluster_Break_Values forName(String name) { return NAME_MATCHER.get(name); @@ -810,8 +827,9 @@ public enum Hangul_Syllable_Type_Values implements Named { private final PropertyNames names; private Hangul_Syllable_Type_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Hangul_Syllable_Type_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Hangul_Syllable_Type_Values.class, this, shortName, otherNames); } @Override @@ -824,7 +842,8 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Hangul_Syllable_Type_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Hangul_Syllable_Type_Values.class); public static Hangul_Syllable_Type_Values forName(String name) { return NAME_MATCHER.get(name); @@ -837,8 +856,9 @@ public enum Identifier_Status_Values implements Named { private final PropertyNames names; private Identifier_Status_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Identifier_Status_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Identifier_Status_Values.class, this, shortName, otherNames); } @Override @@ -851,7 +871,8 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Identifier_Status_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Identifier_Status_Values.class); public static Identifier_Status_Values forName(String name) { return NAME_MATCHER.get(name); @@ -875,8 +896,9 @@ public enum Identifier_Type_Values implements Named { private final PropertyNames names; private Identifier_Type_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Identifier_Type_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Identifier_Type_Values.class, this, shortName, otherNames); } @Override @@ -889,7 +911,8 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Identifier_Type_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Identifier_Type_Values.class); public static Identifier_Type_Values forName(String name) { return NAME_MATCHER.get(name); @@ -903,8 +926,9 @@ public enum Idn_2008_Values implements Named { private final PropertyNames names; private Idn_2008_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Idn_2008_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Idn_2008_Values.class, this, shortName, otherNames); } @Override @@ -917,14 +941,15 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Idn_2008_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Idn_2008_Values.class); public static Idn_2008_Values forName(String name) { return NAME_MATCHER.get(name); } } - // Idn_Mapping + // Idn_Mapping public enum Idn_Status_Values implements Named { valid("v"), ignored("i"), @@ -936,8 +961,9 @@ public enum Idn_Status_Values implements Named { private final PropertyNames names; private Idn_Status_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Idn_Status_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Idn_Status_Values.class, this, shortName, otherNames); } @Override @@ -950,7 +976,8 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Idn_Status_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Idn_Status_Values.class); public static Idn_Status_Values forName(String name) { return NAME_MATCHER.get(name); @@ -1008,8 +1035,9 @@ public enum Indic_Positional_Category_Values implements Named { private final PropertyNames names; private Indic_Positional_Category_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Indic_Positional_Category_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Indic_Positional_Category_Values.class, this, shortName, otherNames); } @Override @@ -1022,7 +1050,8 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Indic_Positional_Category_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Indic_Positional_Category_Values.class); public static Indic_Positional_Category_Values forName(String name) { return NAME_MATCHER.get(name); @@ -1069,8 +1098,9 @@ public enum Indic_Syllabic_Category_Values implements Named { private final PropertyNames names; private Indic_Syllabic_Category_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Indic_Syllabic_Category_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Indic_Syllabic_Category_Values.class, this, shortName, otherNames); } @Override @@ -1083,14 +1113,15 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Indic_Syllabic_Category_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Indic_Syllabic_Category_Values.class); public static Indic_Syllabic_Category_Values forName(String name) { return NAME_MATCHER.get(name); } } - // ISO_Comment + // ISO_Comment public enum Jamo_Short_Name_Values implements Named { A("A"), AE("AE"), @@ -1147,8 +1178,9 @@ public enum Jamo_Short_Name_Values implements Named { private final PropertyNames names; private Jamo_Short_Name_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Jamo_Short_Name_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Jamo_Short_Name_Values.class, this, shortName, otherNames); } @Override @@ -1161,7 +1193,8 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Jamo_Short_Name_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Jamo_Short_Name_Values.class); public static Jamo_Short_Name_Values forName(String name) { return NAME_MATCHER.get(name); @@ -1276,8 +1309,9 @@ public enum Joining_Group_Values implements Named { private final PropertyNames names; private Joining_Group_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Joining_Group_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Joining_Group_Values.class, this, shortName, otherNames); } @Override @@ -1290,7 +1324,8 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Joining_Group_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Joining_Group_Values.class); public static Joining_Group_Values forName(String name) { return NAME_MATCHER.get(name); @@ -1307,8 +1342,9 @@ public enum Joining_Type_Values implements Named { private final PropertyNames names; private Joining_Type_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Joining_Type_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Joining_Type_Values.class, this, shortName, otherNames); } @Override @@ -1321,114 +1357,115 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Joining_Type_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Joining_Type_Values.class); public static Joining_Type_Values forName(String name) { return NAME_MATCHER.get(name); } } - // kAccountingNumeric - // kBigFive - // kCangjie - // kCantonese - // kCCCII - // kCheungBauer - // kCheungBauerIndex - // kCihaiT - // kCNS1986 - // kCNS1992 - // kCompatibilityVariant - // kCowles - // kDaeJaweon - // kDefinition - // kEACC - // kFenn - // kFennIndex - // kFourCornerCode - // kFrequency - // kGB0 - // kGB1 - // kGB3 - // kGB5 - // kGB7 - // kGB8 - // kGradeLevel - // kGSR - // kHangul - // kHanYu - // kHanyuPinlu - // kHanyuPinyin - // kHDZRadBreak - // kHKGlyph - // kHKSCS - // kIBMJapan - // kIICore - // kIRG_GSource - // kIRG_HSource - // kIRG_JSource - // kIRG_KPSource - // kIRG_KSource - // kIRG_MSource - // kIRG_SSource - // kIRG_TSource - // kIRG_UKSource - // kIRG_USource - // kIRG_VSource - // kIRGDaeJaweon - // kIRGDaiKanwaZiten - // kIRGHanyuDaZidian - // kIRGKangXi - // kJa - // kJapaneseKun - // kJapaneseOn - // kJinmeiyoKanji - // kJis0 - // kJis1 - // kJIS0213 - // kJoyoKanji - // kKangXi - // kKarlgren - // kKorean - // kKoreanEducationHanja - // kKoreanName - // kKPS0 - // kKPS1 - // kKSC0 - // kKSC1 - // kLau - // kMainlandTelegraph - // kMandarin - // kMatthews - // kMeyerWempe - // kMorohashi - // kNelson - // kOtherNumeric - // kPhonetic - // kPrimaryNumeric - // kPseudoGB1 - // kRSAdobe_Japan1_6 - // kRSJapanese - // kRSKangXi - // kRSKanWa - // kRSKorean - // kRSUnicode - // kSBGY - // kSemanticVariant - // kSimplifiedVariant - // kSpecializedSemanticVariant - // kSpoofingVariant - // kTaiwanTelegraph - // kTang - // kTGH - // kTGHZ2013 - // kTotalStrokes - // kTraditionalVariant - // kUnihanCore2020 - // kVietnamese - // kXerox - // kXHC1983 - // kZVariant + // kAccountingNumeric + // kBigFive + // kCangjie + // kCantonese + // kCCCII + // kCheungBauer + // kCheungBauerIndex + // kCihaiT + // kCNS1986 + // kCNS1992 + // kCompatibilityVariant + // kCowles + // kDaeJaweon + // kDefinition + // kEACC + // kFenn + // kFennIndex + // kFourCornerCode + // kFrequency + // kGB0 + // kGB1 + // kGB3 + // kGB5 + // kGB7 + // kGB8 + // kGradeLevel + // kGSR + // kHangul + // kHanYu + // kHanyuPinlu + // kHanyuPinyin + // kHDZRadBreak + // kHKGlyph + // kHKSCS + // kIBMJapan + // kIICore + // kIRG_GSource + // kIRG_HSource + // kIRG_JSource + // kIRG_KPSource + // kIRG_KSource + // kIRG_MSource + // kIRG_SSource + // kIRG_TSource + // kIRG_UKSource + // kIRG_USource + // kIRG_VSource + // kIRGDaeJaweon + // kIRGDaiKanwaZiten + // kIRGHanyuDaZidian + // kIRGKangXi + // kJa + // kJapaneseKun + // kJapaneseOn + // kJinmeiyoKanji + // kJis0 + // kJis1 + // kJIS0213 + // kJoyoKanji + // kKangXi + // kKarlgren + // kKorean + // kKoreanEducationHanja + // kKoreanName + // kKPS0 + // kKPS1 + // kKSC0 + // kKSC1 + // kLau + // kMainlandTelegraph + // kMandarin + // kMatthews + // kMeyerWempe + // kMorohashi + // kNelson + // kOtherNumeric + // kPhonetic + // kPrimaryNumeric + // kPseudoGB1 + // kRSAdobe_Japan1_6 + // kRSJapanese + // kRSKangXi + // kRSKanWa + // kRSKorean + // kRSUnicode + // kSBGY + // kSemanticVariant + // kSimplifiedVariant + // kSpecializedSemanticVariant + // kSpoofingVariant + // kTaiwanTelegraph + // kTang + // kTGH + // kTGHZ2013 + // kTotalStrokes + // kTraditionalVariant + // kUnihanCore2020 + // kVietnamese + // kXerox + // kXHC1983 + // kZVariant public enum Line_Break_Values implements Named { Ambiguous("AI"), Aksara("AK"), @@ -1481,8 +1518,9 @@ public enum Line_Break_Values implements Named { private final PropertyNames names; private Line_Break_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Line_Break_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Line_Break_Values.class, this, shortName, otherNames); } @Override @@ -1495,18 +1533,19 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Line_Break_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Line_Break_Values.class); public static Line_Break_Values forName(String name) { return NAME_MATCHER.get(name); } } - // Lowercase_Mapping - // Name - // Name_Alias - // Named_Sequences - // Named_Sequences_Prov + // Lowercase_Mapping + // Name + // Name_Alias + // Named_Sequences + // Named_Sequences_Prov public enum NFC_Quick_Check_Values implements Named { Maybe("M"), No("N"), @@ -1514,8 +1553,9 @@ public enum NFC_Quick_Check_Values implements Named { private final PropertyNames names; private NFC_Quick_Check_Values(String shortName, String... otherNames) { - names = new PropertyNames( - NFC_Quick_Check_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + NFC_Quick_Check_Values.class, this, shortName, otherNames); } @Override @@ -1528,7 +1568,8 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(NFC_Quick_Check_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(NFC_Quick_Check_Values.class); public static NFC_Quick_Check_Values forName(String name) { return NAME_MATCHER.get(name); @@ -1541,8 +1582,9 @@ public enum NFD_Quick_Check_Values implements Named { private final PropertyNames names; private NFD_Quick_Check_Values(String shortName, String... otherNames) { - names = new PropertyNames( - NFD_Quick_Check_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + NFD_Quick_Check_Values.class, this, shortName, otherNames); } @Override @@ -1555,14 +1597,15 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(NFD_Quick_Check_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(NFD_Quick_Check_Values.class); public static NFD_Quick_Check_Values forName(String name) { return NAME_MATCHER.get(name); } } - // NFKC_Casefold + // NFKC_Casefold public enum NFKC_Quick_Check_Values implements Named { Maybe("M"), No("N"), @@ -1570,8 +1613,9 @@ public enum NFKC_Quick_Check_Values implements Named { private final PropertyNames names; private NFKC_Quick_Check_Values(String shortName, String... otherNames) { - names = new PropertyNames( - NFKC_Quick_Check_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + NFKC_Quick_Check_Values.class, this, shortName, otherNames); } @Override @@ -1584,7 +1628,8 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(NFKC_Quick_Check_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(NFKC_Quick_Check_Values.class); public static NFKC_Quick_Check_Values forName(String name) { return NAME_MATCHER.get(name); @@ -1598,8 +1643,9 @@ public enum NFKD_Quick_Check_Values implements Named { private final PropertyNames names; private NFKD_Quick_Check_Values(String shortName, String... otherNames) { - names = new PropertyNames( - NFKD_Quick_Check_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + NFKD_Quick_Check_Values.class, this, shortName, otherNames); } @Override @@ -1612,7 +1658,8 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(NFKD_Quick_Check_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(NFKD_Quick_Check_Values.class); public static NFKD_Quick_Check_Values forName(String name) { return NAME_MATCHER.get(name); @@ -1627,8 +1674,9 @@ public enum Numeric_Type_Values implements Named { private final PropertyNames names; private Numeric_Type_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Numeric_Type_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Numeric_Type_Values.class, this, shortName, otherNames); } @Override @@ -1641,14 +1689,15 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Numeric_Type_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Numeric_Type_Values.class); public static Numeric_Type_Values forName(String name) { return NAME_MATCHER.get(name); } } - // Numeric_Value + // Numeric_Value public enum Script_Values implements Named { Adlam("Adlm"), Caucasian_Albanian("Aghb"), @@ -1825,8 +1874,9 @@ public enum Script_Values implements Named { private final PropertyNames names; private Script_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Script_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Script_Values.class, this, shortName, otherNames); } @Override @@ -1839,14 +1889,15 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Script_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Script_Values.class); public static Script_Values forName(String name) { return NAME_MATCHER.get(name); } } - // Script_Extensions + // Script_Extensions public enum Sentence_Break_Values implements Named { ATerm("AT"), Close("CL"), @@ -1866,8 +1917,9 @@ public enum Sentence_Break_Values implements Named { private final PropertyNames names; private Sentence_Break_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Sentence_Break_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Sentence_Break_Values.class, this, shortName, otherNames); } @Override @@ -1880,21 +1932,22 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Sentence_Break_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Sentence_Break_Values.class); public static Sentence_Break_Values forName(String name) { return NAME_MATCHER.get(name); } } - // Simple_Case_Folding - // Simple_Lowercase_Mapping - // Simple_Titlecase_Mapping - // Simple_Uppercase_Mapping - // Standardized_Variant - // Titlecase_Mapping - // Unicode_1_Name - // Uppercase_Mapping + // Simple_Case_Folding + // Simple_Lowercase_Mapping + // Simple_Titlecase_Mapping + // Simple_Uppercase_Mapping + // Standardized_Variant + // Titlecase_Mapping + // Unicode_1_Name + // Uppercase_Mapping public enum Vertical_Orientation_Values implements Named { Rotated("R"), Transformed_Rotated("Tr"), @@ -1903,8 +1956,9 @@ public enum Vertical_Orientation_Values implements Named { private final PropertyNames names; private Vertical_Orientation_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Vertical_Orientation_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Vertical_Orientation_Values.class, this, shortName, otherNames); } @Override @@ -1917,7 +1971,8 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Vertical_Orientation_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Vertical_Orientation_Values.class); public static Vertical_Orientation_Values forName(String name) { return NAME_MATCHER.get(name); @@ -1951,8 +2006,9 @@ public enum Word_Break_Values implements Named { private final PropertyNames names; private Word_Break_Values(String shortName, String... otherNames) { - names = new PropertyNames( - Word_Break_Values.class, this, shortName, otherNames); + names = + new PropertyNames( + Word_Break_Values.class, this, shortName, otherNames); } @Override @@ -1965,11 +2021,11 @@ public String getShortName() { return names.getShortName(); } - private static final NameMatcher NAME_MATCHER = PropertyNames.getNameToEnums(Word_Break_Values.class); + private static final NameMatcher NAME_MATCHER = + PropertyNames.getNameToEnums(Word_Break_Values.class); public static Word_Break_Values forName(String name) { return NAME_MATCHER.get(name); } } - }