Package com.vaadin.copilot.javarewriter
Class ComponentCreateInfo
java.lang.Object
com.vaadin.copilot.javarewriter.AbstractComponentLocationInfo
com.vaadin.copilot.javarewriter.ComponentCreateInfo
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.
-
Field Summary
Fields inherited from class com.vaadin.copilot.javarewriter.AbstractComponentLocationInfo
fieldDeclaration, fieldDeclarationAndAssignment, fieldName, localVariableDeclarator, localVariableName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.github.javaparser.ast.expr.AssignExprcom.github.javaparser.ast.stmt.BlockStmtcom.github.javaparser.ast.expr.ObjectCreationExprvoidsetAssignmentExpression(com.github.javaparser.ast.expr.AssignExpr assignmentExpression) voidsetComponentCreateScope(com.github.javaparser.ast.stmt.BlockStmt componentCreateScope) voidsetObjectCreationExpr(com.github.javaparser.ast.expr.ObjectCreationExpr objectCreationExpr) Methods inherited from class com.vaadin.copilot.javarewriter.AbstractComponentLocationInfo
getFieldDeclaration, getFieldDeclarationAndAssignment, getFieldName, getJavaSource, getLocalVariableDeclarator, getLocalVariableName, setFieldDeclaration, setFieldDeclarationAndAssignment, setFieldName, setLocalVariableDeclarator, setLocalVariableName
-
Constructor Details
-
ComponentCreateInfo
-
-
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)
-