code: private String getNextTypeName(String className, String groupName, String sequenceName, boolean isLast){
          if (isLast)
              return groupName == null ? className + "Complete" : className;
          else
              return className + firstToUpper(sequenceName);
      }
docs: Obtains the name of the next type of the sequence.
  @param className The name of the class which contains the sequence.
  @param groupName The groupName of this sequence, if any.
  @param sequenceName The sequence name.
  @param isLast Indication if the next type will be the last of the sequence.
  @return The next sequence type name.