protected String getMethodId() {
        if (hasAttribute(METHOD_ATTRIBUTE)) {
            return getAttribute(METHOD_ATTRIBUTE);
        } else if (GdxMaps.isNotEmpty(getNamedAttributes())) {
            getParser().throwError("Evaluate macro needs 'method' attribute. Got: " + getNamedAttributes());
        }
        return getAttributes().get(0);
    }
protected String getMethodId ( ) { if ( hasAttribute ( METHOD_ATTRIBUTE ) ) { return getAttribute ( METHOD_ATTRIBUTE ) ; } else if ( GdxMaps . isNotEmpty ( getNamedAttributes ( ) ) ) { getParser ( ) . throwError ( "Evaluate macro needs 'method' attribute. Got: " + getNamedAttributes ( ) ) ; } return getAttributes ( ) . get ( 0 ) ; }
@return attribute assigned to method ID.