Uses of Class
com.vaadin.copilot.javarewriter.JavaSource
Packages that use JavaSource
-
Uses of JavaSource in com.vaadin.copilot.javarewriter
Methods in com.vaadin.copilot.javarewriter that return JavaSourceModifier and TypeMethodDescriptionComponentInfo.getEffectiveJavaSource()AbstractComponentLocationInfo.getJavaSource()JavaFileSourceProvider.getJavaSource(File sourceFile) Retrieves aJavaSourcerepresentation of the specified Java source file.JavaDataProviderHandler.handleSetComponentProperty(JavaFileSourceProvider javaFileSourceProvider, String property, String value) Replaces the value of items from data providerMethods in com.vaadin.copilot.javarewriter that return types with arguments of type JavaSourceModifier and TypeMethodDescriptionJavaFileSourceProvider.getLoadedSources()Returns the Java sources loaded for the current rewrite operation.Methods in com.vaadin.copilot.javarewriter with parameters of type JavaSourceModifier and TypeMethodDescriptionstatic ComponentAttachInfoComponentInfoFinder.createAttachInfo(JavaSource javaSource, AttachExpression attachCall, com.github.javaparser.ast.stmt.BlockStmt componentAttachScope, ComponentCreateInfo createInfo) static ComponentCreateInfoComponentInfoFinder.createComponentCreateInfo(JavaSource javaSource, com.github.javaparser.ast.expr.ObjectCreationExpr objectCreationExpr) static ComponentInfoJavaRewriterUtil.createComponentInfoForTemplateComponent(JavaSource javaSource, com.github.javaparser.ast.expr.ObjectCreationExpr objectCreationExpr, AttachExpression attachExpression) JavaRewriter.createComponentStatements(InsertionPoint insertionPoint, CopilotComponent parent, CopilotComponent maybeCopilotComponent, boolean attach, String layoutVariableName, ComponentInfo referenceComponent, AddTemplateOptions options, Where where, JavaSource javaSource) JavaRewriter.createComponentStatements(InsertionPoint insertionPoint, CopilotComponent parent, List<CopilotComponent> template, String layoutVariableName, ComponentInfo referenceComponent, AddTemplateOptions options, Where where, JavaSource javaSource) static ComponentInfoOptimisticPreviewMarker.find(JavaSource source, String optimisticComponentId) Resolves live component locations identified by a creation marker in a source tree.static List<ComponentInfo> OptimisticPreviewMarker.findAll(JavaSource source) Recreates every component that has a creation marker in a source tree.com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.Expression> JavaRewriter.getParameterList(InsertionPoint insertionPoint, Object value, JavaSource javaSource) booleanJavaRewriter.importLitTemplate(JavaSource litTemplateSource, List<CopilotComponent> componentDefinitions) Imports the given components that come from a lit template into the given LitTemplate Java class.booleanJavaRewriter.importLitTemplate(JavaSource litTemplateSource, List<CopilotComponent> componentDefinitions, String cssClassName) Imports the given components that come from a lit template into the given LitTemplate Java class.voidJavaRewriter.insertSetter(InsertionPoint insertionPoint, com.github.javaparser.ast.expr.Expression owner, String setterName, Object value, CopilotComponent copilotComponent, JavaSource javaSource) Insert setters for given java component.static voidOptimisticPreviewMarker.remove(JavaSource source, String componentId) Removes a component identity from all creation and attachment markers in the current source.Constructors in com.vaadin.copilot.javarewriter with parameters of type JavaSourceModifierConstructorDescriptionprotectedAbstractComponentLocationInfo(JavaSource javaSource) Creates a newComponentBaseInfowith the specified Java source and file reference.ComponentAttachInfo(JavaSource javaSource) Constructs a newComponentAttachInfowith the given Java source and file reference.ComponentCreateInfo(JavaSource javaSource) ComponentImplicitlyCreatedInfo(JavaSource javaSource) -
Uses of JavaSource in com.vaadin.copilot.javarewriter.custom
Methods in com.vaadin.copilot.javarewriter.custom with parameters of type JavaSourceModifier and TypeMethodDescriptionList<com.github.javaparser.ast.body.VariableDeclarator> CrudComponentHandle.createComponentStatements(JavaRewriter javaRewriter, CopilotComponent component, InsertionPoint insertionPoint, CopilotComponent parent, String layoutVariableName, ComponentInfo referenceComponent, AddTemplateOptions options, JavaSource javaSource) abstract List<com.github.javaparser.ast.body.VariableDeclarator> CustomComponentHandle.createComponentStatements(JavaRewriter javaRewriter, CopilotComponent component, InsertionPoint insertionPoint, CopilotComponent parent, String layoutVariableName, ComponentInfo referenceComponent, AddTemplateOptions options, JavaSource javaSource) List<com.github.javaparser.ast.body.VariableDeclarator> DashboardComponentHandle.createComponentStatements(JavaRewriter javaRewriter, CopilotComponent component, InsertionPoint insertionPoint, CopilotComponent parent, String layoutVariableName, ComponentInfo referenceComponent, AddTemplateOptions options, JavaSource javaSource) List<com.github.javaparser.ast.body.VariableDeclarator> DetailsComponentHandle.createComponentStatements(JavaRewriter javaRewriter, CopilotComponent component, InsertionPoint insertionPoint, CopilotComponent parent, String layoutVariableName, ComponentInfo referenceComponent, AddTemplateOptions options, JavaSource javaSource) protected voidCustomComponentHandle.insertSetter(CopilotComponent copilotComponent, com.github.javaparser.ast.expr.ObjectCreationExpr constructor, JavaRewriter javaRewriter, String componentClassName, InsertionPoint insertionPoint, com.github.javaparser.ast.expr.NameExpr variableNameExpr, JavaSource javaSource)