protected String[] getTagNames() {
        if (hasAttribute(ALIAS_ATTRIBUTE)) {
            return getParser().parseArray(getAttribute(ALIAS_ATTRIBUTE), getActor());
        } else if (GdxMaps.isNotEmpty(getNamedAttributes())) {
            getParser().throwError(
                    "When using named attributes, new tag macro needs at least two attributes: 'method' (name of the method that returns an Actor and optionally consumes LmlActorBuilder) and 'tag' (array of new tag aliases). Found attributes: "
                            + getNamedAttributes());
        }
        return getParser().parseArray(getAttributes().first(), getActor());
    }
protected String [ ] getTagNames ( ) { if ( hasAttribute ( ALIAS_ATTRIBUTE ) ) { return getParser ( ) . parseArray ( getAttribute ( ALIAS_ATTRIBUTE ) , getActor ( ) ) ; } else if ( GdxMaps . isNotEmpty ( getNamedAttributes ( ) ) ) { getParser ( ) . throwError ( "When using named attributes, new tag macro needs at least two attributes: 'method' (name of the method that returns an Actor and optionally consumes LmlActorBuilder) and 'tag' (array of new tag aliases). Found attributes: " + getNamedAttributes ( ) ) ; } return getParser ( ) . parseArray ( getAttributes ( ) . first ( ) , getActor ( ) ) ; }
@return list of tag aliases.