Class ComponentImplicitlyCreatedInfo

java.lang.Object
com.vaadin.copilot.javarewriter.AbstractComponentLocationInfo
com.vaadin.copilot.javarewriter.ComponentImplicitlyCreatedInfo

public class ComponentImplicitlyCreatedInfo extends AbstractComponentLocationInfo
Source information for the application call that indirectly created a component in external code.
  • Constructor Details

    • ComponentImplicitlyCreatedInfo

      public ComponentImplicitlyCreatedInfo(JavaSource javaSource)
  • Method Details

    • getImplicitCreateExpression

      public com.github.javaparser.ast.expr.Expression getImplicitCreateExpression()
      Gets the application expression that indirectly created the component. It can be a method call or an object-creation expression.
    • setImplicitCreateExpression

      public void setImplicitCreateExpression(com.github.javaparser.ast.expr.Expression implicitCreateExpression)
    • getImplicitCreateScope

      public Optional<com.github.javaparser.ast.stmt.BlockStmt> getImplicitCreateScope()
    • setImplicitCreateScope

      public void setImplicitCreateScope(com.github.javaparser.ast.stmt.BlockStmt implicitCreateScope)