public @CheckForNull Block createNewBlock(@Nonnull String userName){
  int nextAutoBlockRef=lastAutoBlockRef + 1;
  StringBuilder b=new StringBuilder("IB:AUTO:");
  String nextNumber=paddedNumber.format(nextAutoBlockRef);
  b.append(nextNumber);
  return createNewBlock(b.toString(),userName);
}

public @ CheckForNull Block createNewBlock ( @ Nonnull String userName ) { int nextAutoBlockRef = lastAutoBlockRef + 1 ; StringBuilder b = new StringBuilder ( "IB:AUTO:" ) ; String nextNumber = paddedNumber . format ( nextAutoBlockRef ) ; b . append ( nextNumber ) ; return createNewBlock ( b . toString ( ) , userName ) ; }
method to create a new block using an automatically incrementing system name .
