Uses of Record Class
com.vaadin.copilot.javarewriter.ComponentTypeAndSourceLocation
Packages that use ComponentTypeAndSourceLocation
Package
Description
-
Uses of ComponentTypeAndSourceLocation in com.vaadin.copilot
Methods in com.vaadin.copilot that return ComponentTypeAndSourceLocationModifier and TypeMethodDescriptionComponentSourceFinder._getSourceLocation(com.vaadin.flow.component.Component component) Gets the source location for the given component.ComponentSourceFinder.findTypeAndSourceLocation(int uiId, int nodeId) Finds the source location of a component.ComponentSourceFinder.findTypeAndSourceLocation(int uiId, int nodeId, boolean includeChildren) Finds the source location of a component.ComponentSourceFinder.findTypeAndSourceLocation(com.vaadin.flow.component.Component component, boolean includeChildren) Finds the source location of a component.ComponentSourceFinder.findTypeAndSourceLocation(elemental.json.JsonObject component) Finds the source location of a component.ComponentSourceFinder.findTypeAndSourceLocation(elemental.json.JsonObject component, boolean includeChildren) Finds the source location of a component. -
Uses of ComponentTypeAndSourceLocation in com.vaadin.copilot.javarewriter
Methods in com.vaadin.copilot.javarewriter that return ComponentTypeAndSourceLocationModifier and TypeMethodDescriptionComponentTypeAndSourceLocation.parent()Returns the value of theparentrecord component.Methods in com.vaadin.copilot.javarewriter that return types with arguments of type ComponentTypeAndSourceLocationModifier and TypeMethodDescriptionComponentTypeAndSourceLocation.children()Returns the value of thechildrenrecord component.Methods in com.vaadin.copilot.javarewriter with parameters of type ComponentTypeAndSourceLocationModifier and TypeMethodDescriptionvoidJavaBatchRewriter.Callback.accept(ComponentTypeAndSourceLocation source, ComponentInfo component, JavaRewriter rewriter) voidJavaBatchRewriter.duplicate(ComponentTypeAndSourceLocation componentSource) static ComponentInfoComponentInfo.find(ComponentTypeAndSourceLocation typeAndSourceLocation, JavaRewriter javaRewriter) Creates ComponentInfo of the given component.JavaRewriter.findComponentInfo(ComponentTypeAndSourceLocation typeAndSourceLocation) Finds a component in the source code.JavaRewriterCopyPasteHandler.getCopiedJavaComponent(ComponentTypeAndSourceLocation componentTypeAndSourceLocation) Collects required data for copying and pasting a componentstatic booleanJavaDataProviderHandler.isDataProviderItemChange(ComponentTypeAndSourceLocation componentTypeAndSourceLocation) Check for attach and create location is generated from DataProviderstatic booleanJavaRewriterUtil.isRouteClass(ComponentTypeAndSourceLocation typeAndSourceLocation, com.github.javaparser.ast.CompilationUnit compilationUnit) Checks if the given location refers to a @Route annotated class.Constructors in com.vaadin.copilot.javarewriter with parameters of type ComponentTypeAndSourceLocationModifierConstructorDescriptionComponentTypeAndSourceLocation(Class<? extends com.vaadin.flow.component.Component> type, List<Class<?>> inheritanceChain, com.vaadin.flow.component.Component component, File javaFile, Optional<com.vaadin.flow.component.internal.ComponentTracker.Location> createLocationInProject, Optional<com.vaadin.flow.component.internal.ComponentTracker.Location> attachLocationInProject, ComponentTypeAndSourceLocation parent, List<ComponentTypeAndSourceLocation> children) Creates an instance of aComponentTypeAndSourceLocationrecord class.ComponentTypeAndSourceLocation(Class<? extends com.vaadin.flow.component.Component> type, List<Class<?>> inheritanceChain, File javaFile, Optional<com.vaadin.flow.component.internal.ComponentTracker.Location> createLocationInProject, Optional<com.vaadin.flow.component.internal.ComponentTracker.Location> attachLocationInProject, ComponentTypeAndSourceLocation parent, List<ComponentTypeAndSourceLocation> children) Creates the entry where component is setnullJavaDataProviderHandler(ProjectManager projectManager, ComponentTypeAndSourceLocation typeAndSourceLocation) Reads source file which is found from typeAndSourceLocationConstructor parameters in com.vaadin.copilot.javarewriter with type arguments of type ComponentTypeAndSourceLocationModifierConstructorDescriptionJavaBatchRewriter(ProjectManager projectManager, List<ComponentTypeAndSourceLocation> componentLocations) -
Uses of ComponentTypeAndSourceLocation in com.vaadin.copilot.javarewriter.exception
Methods in com.vaadin.copilot.javarewriter.exception that return ComponentTypeAndSourceLocationModifier and TypeMethodDescriptionComponentInfoNotFoundException.getComponentTypeAndSourceLocation()Constructors in com.vaadin.copilot.javarewriter.exception with parameters of type ComponentTypeAndSourceLocationModifierConstructorDescriptionComponentInfoNotFoundException(ComponentTypeAndSourceLocation componentTypeAndSourceLocation, String message) -
Uses of ComponentTypeAndSourceLocation in com.vaadin.copilot.plugins.themeeditor
Methods in com.vaadin.copilot.plugins.themeeditor with parameters of type ComponentTypeAndSourceLocationModifier and TypeMethodDescriptionprotected com.github.javaparser.ast.stmt.ExpressionStmtJavaSourceModifier.findLocalClassNameStmt(com.github.javaparser.ast.CompilationUnit cu, ComponentTypeAndSourceLocation componentSource, boolean overlay) protected WhereJavaSourceModifier.findModificationWhere(com.github.javaparser.ast.CompilationUnit cu, ComponentTypeAndSourceLocation componentSource) protected com.github.javaparser.ast.NodeJavaSourceModifier.findNode(com.github.javaparser.ast.CompilationUnit cu, ComponentTypeAndSourceLocation componentSource) protected com.github.javaparser.ast.CompilationUnitJavaSourceModifier.getCompilationUnit(ComponentTypeAndSourceLocation componentSource) protected booleanJavaSourceModifier.hasOverlay(ComponentTypeAndSourceLocation componentSource) voidJavaSourceModifier.removeLocalClassName(ComponentTypeAndSourceLocation componentSource, boolean overlay) protected voidJavaSourceModifier.setLocalClassName(ComponentTypeAndSourceLocation componentSource, String className, boolean overlay)