Class ComponentCreateInfo

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

public class ComponentCreateInfo extends AbstractComponentLocationInfo
Represents metadata related to the creation of a component within a Java source file.

This record holds the source context and the corresponding file where the component is created.

  • Constructor Details

    • ComponentCreateInfo

      public ComponentCreateInfo(JavaSource javaSource)
  • Method Details

    • getComponentCreateScope

      public com.github.javaparser.ast.stmt.BlockStmt getComponentCreateScope()
    • setComponentCreateScope

      public void setComponentCreateScope(com.github.javaparser.ast.stmt.BlockStmt componentCreateScope)
    • getAssignmentExpression

      public com.github.javaparser.ast.expr.AssignExpr getAssignmentExpression()
    • setAssignmentExpression

      public void setAssignmentExpression(com.github.javaparser.ast.expr.AssignExpr assignmentExpression)
    • getObjectCreationExpr

      public com.github.javaparser.ast.expr.ObjectCreationExpr getObjectCreationExpr()
    • setObjectCreationExpr

      public void setObjectCreationExpr(com.github.javaparser.ast.expr.ObjectCreationExpr objectCreationExpr)