Class Generics

java.lang.Object
com.vaadin.hilla.parser.utils.Generics

public class Generics extends Object
Utility class for working with generics.
  • Constructor Details

    • Generics

      public Generics()
  • Method Details

    • getExactIterableType

      public static Optional<Type> getExactIterableType(Class<?> cls)
      Returns the exact type of the elements in an iterable class.
      Parameters:
      cls - the class to get the exact type of
      Returns:
      the exact type of the elements in the iterable class