Class JavaExpressionStatement

java.lang.Object
io.spring.initializr.generator.language.java.JavaStatement
io.spring.initializr.generator.language.java.JavaExpressionStatement

@Deprecated(since="0.20.0", forRemoval=true) public class JavaExpressionStatement extends JavaStatement
Deprecated, for removal: This API element is subject to removal in a future version.
since 0.20.0 in favor of CodeBlock
A statement that contains a single expression.
Author:
Andy Wilkinson
  • Constructor Details

    • JavaExpressionStatement

      public JavaExpressionStatement(JavaExpression expression)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getExpression

      public JavaExpression getExpression()
      Deprecated, for removal: This API element is subject to removal in a future version.