code: public static int getPropertyValueEnum(int property, CharSequence valueAlias) {
          int propEnum = UPropertyAliases.INSTANCE.getPropertyValueEnum(property, valueAlias);
          if (propEnum == UProperty.UNDEFINED) {
              throw new IllegalIcuArgumentException("Invalid name: " + valueAlias);
          }
          return propEnum;
      }
docs: <strong>[icu]</strong> Return the property value integer for a given value name, as
  specified in the Unicode database file PropertyValueAliases.txt.
  Short, long, and any other variants are recognized.
  
  Note: Some of the names in PropertyValueAliases.txt will only be
  recognized with UProperty.GENERAL_CATEGORY_MASK, not
  UProperty.GENERAL_CATEGORY.  These include: "C" / "Other", "L" /
  "Letter", "LC" / "Cased_Letter", "M" / "Mark", "N" / "Number", "P"
  / "Punctuation", "S" / "Symbol", and "Z" / "Separator".
  
  @param property UProperty selector constant.
  UProperty.INT_START &lt;= property &lt; UProperty.INT_LIMIT or
  UProperty.BINARY_START &lt;= property &lt; UProperty.BINARY_LIMIT or
  UProperty.MASK_START &lt; = property &lt; UProperty.MASK_LIMIT.
  Only these properties can be enumerated.
  
  @param valueAlias the value name to be matched.  The name is
  compared using "loose matching" as described in
  PropertyValueAliases.txt.
  
  @return a value integer.  Note: UProperty.GENERAL_CATEGORY
  values are mask values produced by left-shifting 1 by
  UCharacter.getType().  This allows grouped categories such as
  [:L:] to be represented.
  
  @see UProperty
  @throws IllegalArgumentException if property is not a valid UProperty
  selector or valueAlias is not a value of this property