code: private static int checkTypeSignature(final String signature, int pos) {
          // TypeSignature:
          // Z | C | B | S | I | F | J | D | FieldTypeSignature
  
          switch (getChar(signature, pos)) {
          case 'Z':
          case 'C':
          case 'B':
          case 'S':
          case 'I':
          case 'F':
          case 'J':
          case 'D':
              return pos + 1;
          default:
              return checkFieldTypeSignature(signature, pos);
          }
      }
docs: Checks a type signature.
  
  @param signature
  a string containing the signature that must be checked.
  @param pos
  index of first character to be checked.
  @return the index of the first character after the checked part.