Class AnnotationUtilities

java.lang.Object
io.sapl.springdatacommon.utils.AnnotationUtilities

public class AnnotationUtilities extends Object
  • Constructor Details

    • AnnotationUtilities

      public AnnotationUtilities()
  • Method Details

    • hasAnnotationQueryR2dbc

      public static boolean hasAnnotationQueryR2dbc(Method method)
      Checks whether a method has a Query annotation.
      Parameters:
      method - is the method to be checked.
      Returns:
      true, if method has a Query annotation.
    • hasAnnotationQueryReactiveMongo

      public static boolean hasAnnotationQueryReactiveMongo(Method method)
    • hasAnnotationQueryEnforce

      public static boolean hasAnnotationQueryEnforce(Method method)
      Checks whether a method has a QueryEnforce annotation.
      Parameters:
      method - is the method to be checked.
      Returns:
      true, if method has a QueryEnforce annotation.