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.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(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 Component> type, List<Class> inheritanceChain, Component component, File javaFile, ComponentTracker.Location createLocation, ComponentTracker.Location attachLocation, ComponentTypeAndSourceLocation parent, List<ComponentTypeAndSourceLocation> children) Creates an instance of aComponentTypeAndSourceLocationrecord class.ComponentTypeAndSourceLocation(Class<? extends Component> type, List<Class> inheritanceChain, File javaFile, ComponentTracker.Location createLocation, ComponentTracker.Location attachLocation, 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)