Class CustomComponentHandler

java.lang.Object
com.vaadin.copilot.javarewriter.custom.CustomComponentHandler

public class CustomComponentHandler extends Object
  • Method Details

    • get

      public static Optional<CustomComponentHandle> get(JavaComponent javaComponent)
      Finds the relevant CustomComponentHandle of the given JavaComponent
      Parameters:
      javaComponent - Java component for creating statements.
      Returns:
      Returns the custom component handle if present, returns empty otherwise.