code: public static int toModifiers(final String modifiers) {
          if (modifiers == null) {
              return 0;
          }
          final String trimmedModifiers = modifiers.trim();
          int modifier = 0;
          final StringTokenizer tok = new StringTokenizer(trimmedModifiers, " ");
          while (tok.hasMoreTokens()) {
              final String mod = tok.nextToken();
              modifier = modifier | modifierValueForName(mod);
          }
          return modifier;
      }
docs: Returns a Java "Modifier" value for a list of modifier names.
  
  @param modifiers
  Modifier names separated by spaces.
  
  @return Modifiers.