Uses of Enum Class
com.vaadin.copilot.rewriter.SourceLanguage
Packages that use SourceLanguage
Package
Description
-
Uses of SourceLanguage in com.vaadin.copilot
Methods in com.vaadin.copilot that return SourceLanguageModifier and TypeMethodDescriptionProjectFileManager.getFlowSourceLanguage(com.vaadin.flow.server.VaadinSession vaadinSession) Returns the language new Flow views should be written in.NewRouteTemplateHandler.FlowTemplateRequest.language()Returns the value of thelanguagerecord component.Methods in com.vaadin.copilot with parameters of type SourceLanguageModifier and TypeMethodDescriptionNewRouteTemplateHandler.getTemplateNames(String framework, SourceLanguage language) Lists the templates that can be generated for the given framework and language.Constructors in com.vaadin.copilot with parameters of type SourceLanguageModifierConstructorDescriptionFlowTemplateRequest(String packageName, String route, String title, String className, AccessRequirement accessRequirement, Class<?> layoutClass, String templateName, String templateData, boolean addToMenu, String menuIcon, SourceLanguage language) Creates an instance of aFlowTemplateRequestrecord class. -
Uses of SourceLanguage in com.vaadin.copilot.exception
Methods in com.vaadin.copilot.exception that return SourceLanguageConstructors in com.vaadin.copilot.exception with parameters of type SourceLanguageModifierConstructorDescriptionUnsupportedSourceLanguageException(SourceLanguage language, String operation) protectedUnsupportedSourceLanguageException(String message, SourceLanguage language, String operation) Allows a subclass to keep a pre-existing message while still carrying the error code. -
Uses of SourceLanguage in com.vaadin.copilot.javarewriter
Methods in com.vaadin.copilot.javarewriter that return SourceLanguage -
Uses of SourceLanguage in com.vaadin.copilot.kotlinrewriter
Methods in com.vaadin.copilot.kotlinrewriter that return SourceLanguage -
Uses of SourceLanguage in com.vaadin.copilot.rewriter
Methods in com.vaadin.copilot.rewriter that return SourceLanguageModifier and TypeMethodDescriptionParsedSource.getLanguage()static SourceLanguageReturns the enum constant of this class with the specified name.static SourceLanguage[]SourceLanguage.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.vaadin.copilot.rewriter that return types with arguments of type SourceLanguageModifier and TypeMethodDescriptionstatic Optional<SourceLanguage> Determines the language of a source file from its extension.static Optional<SourceLanguage> SourceLanguage.forFileName(String fileName) Determines the language of a source file from its name.static Optional<SourceLanguage> SourceLanguage.forSourceFolder(Path folder) Determines the language of a source folder from its path, by looking for a path segment named after a language.static Set<SourceLanguage> SourceLanguageCapabilities.projectLanguages()The languages this project has sources in, derived from its source folders.Methods in com.vaadin.copilot.rewriter with parameters of type SourceLanguageModifier and TypeMethodDescriptionstatic booleanSourceLanguageCapabilities.isSupported(SourceLanguage language, String command) SourceLanguageCapabilities.supportedCommands(SourceLanguage language)