java.lang.Object
io.github.blyznytsiaorg.bibernate.dao.method.ReturnType

public class ReturnType extends Object
Represents the return type of a method, including the entity class and generic parameters if applicable.
Since:
1.0
Author:
Blyzhnytsia Team
  • Field Details

    • genericEntityClass

      private ParameterizedType genericEntityClass
      The parameterized type representing the generic entity class.
    • entityClass

      private Class<?> entityClass
      The raw class representing the entity class.
  • Constructor Details

    • ReturnType

      public ReturnType(ParameterizedType entityClass)
      Constructs a ReturnType instance with a parameterized entity class.
      Parameters:
      entityClass - The parameterized type representing the generic entity class.
    • ReturnType

      public ReturnType(Class<?> entityClass)
      Constructs a ReturnType instance with a raw entity class.
      Parameters:
      entityClass - The raw class representing the entity class.