Class PropertyDataFetcherHelper


  • public class PropertyDataFetcherHelper
    extends java.lang.Object
    This class is the guts of a property data fetcher and also used in AST code to turn in memory java objects into AST elements
    • Constructor Detail

      • PropertyDataFetcherHelper

        public PropertyDataFetcherHelper()
    • Method Detail

      • getPropertyValue

        public static java.lang.Object getPropertyValue​(java.lang.String propertyName,
                                                        java.lang.Object object,
                                                        GraphQLType graphQLType)
      • getPropertyValue

        public static java.lang.Object getPropertyValue​(java.lang.String propertyName,
                                                        java.lang.Object object,
                                                        GraphQLType graphQLType,
                                                        java.util.function.Supplier<DataFetchingEnvironment> environment)
      • clearReflectionCache

        public static void clearReflectionCache()
      • setUseSetAccessible

        public static boolean setUseSetAccessible​(boolean flag)
      • setUseLambdaFactory

        public static boolean setUseLambdaFactory​(boolean flag)
      • setUseNegativeCache

        public static boolean setUseNegativeCache​(boolean flag)