Class PropertyDataFetcherHelper

java.lang.Object
graphql.schema.PropertyDataFetcherHelper

public class PropertyDataFetcherHelper extends 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 Details

    • PropertyDataFetcherHelper

      public PropertyDataFetcherHelper()
  • Method Details

    • getPropertyValue

      public static Object getPropertyValue(String propertyName, Object object, GraphQLType graphQLType)
    • getPropertyValue

      public static Object getPropertyValue(String propertyName, Object object, GraphQLType graphQLType, 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)