/** * Print a new line into the stream if indent and align is active * * @return this */ @Nonnull public JSFormatter nl () { if (m_aSettings.isIndentAndAlign ()) nlFix (); return this; }
/** * Print a new line into the stream if indent and align is active * * @return this */ @Nonnull public JSFormatter nl () { if (m_aSettings.isIndentAndAlign ()) nlFix (); return this; }
aFormatter.plain ("/**").nlFix (); aFormatter.plain (" * ").nlFix (); for (final Map.Entry <String, JSCommentPart> aEntry : m_aParams.entrySet ()) aFormatter.plain (" * @param ").plain (aEntry.getKey ()).nlFix (); aEntry.getValue ().format (aFormatter, INDENT); aFormatter.plain (" * @return").nlFix (); m_aReturn.format (aFormatter, INDENT); aFormatter.plain (" * @deprecated").nlFix (); m_aDeprecated.format (aFormatter, INDENT); aFormatter.plain (" ").plain (aEntry2.getKey ()).plain ("= \"").plain (aEntry2.getValue ()).plain ("\""); aFormatter.nlFix (); aFormatter.plain (" */").nlFix ();
aFormatter.plain ("/**").nlFix (); aFormatter.plain (" * ").nlFix (); for (final Map.Entry <String, JSCommentPart> aEntry : m_aParams.entrySet ()) aFormatter.plain (" * @param ").plain (aEntry.getKey ()).nlFix (); aEntry.getValue ().format (aFormatter, INDENT); aFormatter.plain (" * @return").nlFix (); m_aReturn.format (aFormatter, INDENT); aFormatter.plain (" * @deprecated").nlFix (); m_aDeprecated.format (aFormatter, INDENT); aFormatter.plain (" ").plain (aEntry2.getKey ()).plain ("= \"").plain (aEntry2.getValue ()).plain ("\""); aFormatter.nlFix (); aFormatter.plain (" */").nlFix ();