public void setHorizontalAlignment(@MagicConstant(valuesFromClass = SwingConstants.class) int alignment) {
     myText.setHorizontalAlignment(alignment);
  }
public void setHorizontalAlignment(@MagicConstant(valuesFromClass = SwingConstants.class) int alignment)