Class Description
java.lang.Object
com.graphql_java_generator.plugin.language.Description
This class matches the description of a GraphQL item, as described in the GraphQL schema. It allows several
capabilities for use in the template, for code or schema generation
- Author:
- etienne-sf
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the content of the descriptiongetLines()
Returns an array of the lines of this description.boolean
-
Constructor Details
-
Description
public Description(graphql.language.Description description2)
-
-
Method Details
-
getContent
Returns the content of the description- Returns:
-
isMultiLine
public boolean isMultiLine() -
getLines
Returns an array of the lines of this description. This array contains at least one item.- Returns:
-