Package graphql.schema
Class PropertyDataFetcherHelper
- java.lang.Object
-
- graphql.schema.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 Summary
Constructors Constructor Description PropertyDataFetcherHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
clearReflectionCache()
static java.lang.Object
getPropertyValue(java.lang.String propertyName, java.lang.Object object, GraphQLType graphQLType)
static java.lang.Object
getPropertyValue(java.lang.String propertyName, java.lang.Object object, GraphQLType graphQLType, java.util.function.Supplier<DataFetchingEnvironment> environment)
static boolean
setUseLambdaFactory(boolean flag)
static boolean
setUseNegativeCache(boolean flag)
static boolean
setUseSetAccessible(boolean flag)
-
-
-
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)
-
-