public final class BuilderResultUtils extends Object
Modifier and Type | Method and Description |
---|---|
static StringBuilder |
appendProblems(Object object,
StringBuilder builder)
Appends compilation problems to builder if object is an array of
CompilationProblem
or object itself if not |
static String |
getProblemMessage(Object object,
String summary)
Appends compilation problems to summary message if object is an array of
CompilationProblem
separated with backspaces |
static String |
getProblemMessage(Object object,
String summary,
String separator)
Appends compilation problems to summary message if object is an array of
CompilationProblem
with custom separator |
public static String getProblemMessage(Object object, String summary)
CompilationProblem
separated with backspacesobject
- object with compilation resultssummary
- summary messagepublic static String getProblemMessage(Object object, String summary, String separator)
CompilationProblem
with custom separatorobject
- object with compilation resultssummary
- summary messageseparator
- custom messages separatorpublic static StringBuilder appendProblems(Object object, StringBuilder builder)
CompilationProblem
or object itself if notobject
- object with compilation resultsbuilder
- message builderCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.