code: private static int checkFieldTypeSignature(final String signature, int pos) {
          // FieldTypeSignature:
          // ClassTypeSignature | ArrayTypeSignature | TypeVariableSignature
          //
          // ArrayTypeSignature:
          // [ TypeSignature
  
          switch (getChar(signature, pos)) {
          case 'L':
              return checkClassTypeSignature(signature, pos);
          case '[':
              return checkTypeSignature(signature, pos + 1);
          default:
              return checkTypeVariableSignature(signature, pos);
          }
      }
docs: Checks a field 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.