@SuppressWarnings("null") public String toString(final int flags) { final Noun name = info.names[matchedPattern]; return baby.isTrue() ? m_baby.toString(name, flags) : baby.isFalse() ? m_adult.toString(name, flags) : name.toString(flags); }
/** * Prints errors. * * @param s String with optional indefinite article at the beginning * @return The parsed entity data */ @SuppressWarnings("null") @Nullable public static final EntityData<?> parse(final String s) { return SkriptParser.parseStatic(Noun.stripIndefiniteArticle(s), infos.iterator(), null); }