Uses of Class
com.vaadin.copilot.javarewriter.JavaRewriter
Packages that use JavaRewriter
-
Uses of JavaRewriter in com.vaadin.copilot.javarewriter
Methods in com.vaadin.copilot.javarewriter that return JavaRewriterModifier and TypeMethodDescriptionComponentInfo.rewriter()
Returns the value of therewriter
record component.Methods in com.vaadin.copilot.javarewriter with parameters of type JavaRewriterModifier and TypeMethodDescriptionvoid
JavaBatchRewriter.Callback.accept
(ComponentTypeAndSourceLocation source, ComponentInfo component, JavaRewriter rewriter) static ComponentInfo
ComponentInfo.find
(ComponentTypeAndSourceLocation typeAndSourceLocation, JavaRewriter javaRewriter) Creates ComponentInfo of the given component.Constructors in com.vaadin.copilot.javarewriter with parameters of type JavaRewriterModifierConstructorDescriptionComponentInfo
(Class<? extends Component> type, com.github.javaparser.ast.expr.ObjectCreationExpr objectCreationExpr, com.github.javaparser.ast.stmt.BlockStmt componentCreateScope, AttachExpression attachCall, com.github.javaparser.ast.stmt.BlockStmt componentAttachScope, com.github.javaparser.ast.body.VariableDeclarator localVariableDeclarator, com.github.javaparser.ast.expr.AssignExpr assignmentExpression, com.github.javaparser.ast.body.FieldDeclaration fieldDeclaration, com.github.javaparser.ast.body.FieldDeclaration fieldDeclarationAndAssignment, String localVariableName, String fieldName, com.github.javaparser.ast.body.ConstructorDeclaration routeConstructor, boolean containerComposite, boolean isAnonymousComponent, boolean isReturnValue, JavaRewriter rewriter) Creates an instance of aComponentInfo
record class. -
Uses of JavaRewriter in com.vaadin.copilot.javarewriter.custom
Methods in com.vaadin.copilot.javarewriter.custom with parameters of type JavaRewriterModifier and TypeMethodDescriptionList<com.github.javaparser.ast.body.VariableDeclarator>
CrudComponentHandle.createComponentStatements
(JavaRewriter javaRewriter, JavaComponent component, InsertionPoint insertionPoint, JavaComponent parent, String layoutVariableName, ComponentInfo referenceComponent, JavaRewriter.AddTemplateOptions options) abstract List<com.github.javaparser.ast.body.VariableDeclarator>
CustomComponentHandle.createComponentStatements
(JavaRewriter javaRewriter, JavaComponent component, InsertionPoint insertionPoint, JavaComponent parent, String layoutVariableName, ComponentInfo referenceComponent, JavaRewriter.AddTemplateOptions options) List<com.github.javaparser.ast.body.VariableDeclarator>
DetailsComponentHandle.createComponentStatements
(JavaRewriter javaRewriter, JavaComponent component, InsertionPoint insertionPoint, JavaComponent parent, String layoutVariableName, ComponentInfo referenceComponent, JavaRewriter.AddTemplateOptions options) protected void
CustomComponentHandle.insertSetter
(JavaComponent javaComponent, com.github.javaparser.ast.expr.ObjectCreationExpr constructor, JavaRewriter javaRewriter, String componentClassName, InsertionPoint insertionPoint, com.github.javaparser.ast.expr.NameExpr variableNameExpr)