public ComponentDefinition addAlias(@NotNull String text){
  if (aliases == null) {
    aliases=new ArrayList<String>();
  }
  aliases.add(text);
  return this;
}

public ComponentDefinition addAlias ( @ NotNull String text ) { if ( aliases == null ) { aliases = new ArrayList < String > ( ) ; } aliases . add ( text ) ; return this ; }
adds a component name alias to help with text search .
