code: private static void firstDotConstellation(int[] dollarPositions, int[] dotPositions, int nestingLevel) {
          int i = 0;
          int unassigned = dotPositions.length - nestingLevel;
  
          for (; i < unassigned; ++i) {
              dotPositions[i] = -1;
          }
  
          for (; i < dotPositions.length; ++i) {
              dotPositions[i] = dollarPositions[i];
          }
      }
docs: This will set the last nestingLevel elements in the dotPositions to the values present in the dollarPositions.
  The rest will be set to -1.
  
  <p>In another words the dotPositions array will contain the rightmost dollar positions.
  
  @param dollarPositions the positions of the $ in the binary class name
  @param dotPositions the positions of the dots to initialize from the dollarPositions
  @param nestingLevel the number of dots (i.e. how deep is the nesting of the classes)