Package com.vaadin.copilot.javarewriter
Class ComponentImplicitlyCreatedInfo
java.lang.Object
com.vaadin.copilot.javarewriter.AbstractComponentLocationInfo
com.vaadin.copilot.javarewriter.ComponentImplicitlyCreatedInfo
Source information for the application call that indirectly created a
component in external code.
-
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.ExpressionGets the application expression that indirectly created the component.Optional<com.github.javaparser.ast.stmt.BlockStmt> voidsetImplicitCreateExpression(com.github.javaparser.ast.expr.Expression implicitCreateExpression) voidsetImplicitCreateScope(com.github.javaparser.ast.stmt.BlockStmt implicitCreateScope) Methods inherited from class com.vaadin.copilot.javarewriter.AbstractComponentLocationInfo
getFieldDeclaration, getFieldDeclarationAndAssignment, getFieldName, getJavaSource, getLocalVariableDeclarator, getLocalVariableName, setFieldDeclaration, setFieldDeclarationAndAssignment, setFieldName, setLocalVariableDeclarator, setLocalVariableName
-
Constructor Details
-
ComponentImplicitlyCreatedInfo
-
-
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
-
setImplicitCreateScope
public void setImplicitCreateScope(com.github.javaparser.ast.stmt.BlockStmt implicitCreateScope)
-