Uses of Class
com.vaadin.copilot.javarewriter.InsertionPoint
Packages that use InsertionPoint
-
Uses of InsertionPoint in com.vaadin.copilot.javarewriter
Methods in com.vaadin.copilot.javarewriter that return InsertionPointModifier and TypeMethodDescriptionstatic InsertionPointJavaRewriterUtil.findLocationAfter(com.github.javaparser.ast.expr.Expression expr) Finds the insert location after of given expression.static InsertionPointJavaRewriterUtil.findLocationAtEnd(com.github.javaparser.ast.stmt.Statement statement) Finds the insert location at the end of the code block containing the given statement.static InsertionPointJavaRewriterUtil.findLocationBefore(com.github.javaparser.ast.expr.Expression expr) Finds the insert location before of given expression.Methods in com.vaadin.copilot.javarewriter with parameters of type InsertionPointModifier and TypeMethodDescriptionstatic voidJavaDataProviderHandler.handleDataStatementsAndClearDataProps(com.github.javaparser.ast.CompilationUnit compilationUnit, com.github.javaparser.ast.body.VariableDeclarator parentVarDec, JavaComponent javaComponent, InsertionPoint insertionPoint) Creates the data statements when adding a new template e.g.setItems,setItemLabelGeneratoretc...