Class ReflectiveBeanLikeClassUtils

java.lang.Object
com.kingsrook.qqq.backend.core.utils.ReflectiveBeanLikeClassUtils

public class ReflectiveBeanLikeClassUtils extends Object
Utilities for bean-like classes (e.g., QRecordEntity, QProcessPayload) that use reflection to understand their bean-fields
  • Constructor Details

    • ReflectiveBeanLikeClassUtils

      public ReflectiveBeanLikeClassUtils()
  • Method Details

    • getFieldNameFromGetter

      public static String getFieldNameFromGetter(Method getter)
    • isGetter

      public static boolean isGetter(Method method, boolean allowAssociations)
    • isGetter

      public static boolean isGetter(Method method, boolean allowAssociations, Collection<Class<?>> allowedTypes)
    • getSetterForGetter

      public static Optional<Method> getSetterForGetter(Class<?> c, Method getter)
    • defaultAllowedTypes

      public static Collection<Class<?>> defaultAllowedTypes()
    • getListTypeParam

      public static Class<?> getListTypeParam(Class<?> listType, AnnotatedType annotatedType)