Class AccessStrategyHelper

java.lang.Object
org.hibernate.property.access.internal.AccessStrategyHelper

public class AccessStrategyHelper extends Object
  • Field Details

    • COMPOSITE_TRACKER_MASK

      public static final int COMPOSITE_TRACKER_MASK
      See Also:
    • COMPOSITE_OWNER

      public static final int COMPOSITE_OWNER
      See Also:
    • PERSISTENT_ATTRIBUTE_INTERCEPTABLE_MASK

      public static final int PERSISTENT_ATTRIBUTE_INTERCEPTABLE_MASK
      See Also:
  • Constructor Details

    • AccessStrategyHelper

      public AccessStrategyHelper()
  • Method Details

    • fieldOrNull

      public static @Nullable Field fieldOrNull(Class<?> containerJavaType, String propertyName)
    • getAccessType

      public static AccessType getAccessType(Class<?> containerJavaType, String propertyName)
    • getExplicitAccessType

      public static @Nullable AccessType getExplicitAccessType(Class<?> containerClass, String propertyName, @Nullable Field field)
    • findIsMethodVariant

      public static @Nullable Method findIsMethodVariant(Class<?> containerClass, String stemName)
    • getAccessTypeOrNull

      protected static @Nullable AccessType getAccessTypeOrNull(@Nullable AnnotatedElement element)
    • determineEnhancementState

      public static int determineEnhancementState(Class<?> containerClass, Class<?> attributeType)
    • handleEnhancedInjection

      public static void handleEnhancedInjection(Object target, @Nullable Object value, int enhancementState, String propertyName)