Class PropertyDescriptorUtils
java.lang.Object
org.apache.myfaces.core.api.shared.lang.PropertyDescriptorUtils
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interfacestatic interfacestatic interface
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringDefines if Lambda expressions (via LambdaMetafactory) are used for getter/setter instead of Reflection.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic LambdaPropertyDescriptorcreateLambdaPropertyDescriptor(Class<?> target, PropertyDescriptor pd, MethodHandles.Lookup lookup) protected static BiConsumercreateSetter(MethodHandles.Lookup lookup, LambdaPropertyDescriptor propertyInfo, MethodHandle setterHandle) protected static CallSitecreateSetterCallSite(MethodHandles.Lookup lookup, MethodHandle setter, Class<?> interfaceType, Class<?> valueType) static Map<String,? extends PropertyDescriptorWrapper> getCachedPropertyDescriptors(ExternalContext ec, Class<?> target) static LambdaPropertyDescriptorgetLambdaPropertyDescriptor(Class<?> target, String name) static Map<String,PropertyDescriptorWrapper> getLambdaPropertyDescriptors(Class<?> target) static Map<String,? extends PropertyDescriptorWrapper> getPropertyDescriptors(ExternalContext ec, Class<?> target) static boolean
- 
Field Details- 
USE_LAMBDA_METAFACTORY@JSFWebConfigParam(since="2.3-next", defaultValue="false", expectedValues="true,false", tags="performance") public static final String USE_LAMBDA_METAFACTORYDefines if Lambda expressions (via LambdaMetafactory) are used for getter/setter instead of Reflection.- See Also:
 
 
- 
- 
Constructor Details- 
PropertyDescriptorUtilspublic PropertyDescriptorUtils()
 
- 
- 
Method Details- 
getCachedPropertyDescriptorspublic static Map<String,? extends PropertyDescriptorWrapper> getCachedPropertyDescriptors(ExternalContext ec, Class<?> target) 
- 
isUseLambdaMetafactory
- 
getPropertyDescriptorspublic static Map<String,? extends PropertyDescriptorWrapper> getPropertyDescriptors(ExternalContext ec, Class<?> target) 
- 
getLambdaPropertyDescriptor
- 
createLambdaPropertyDescriptorpublic static LambdaPropertyDescriptor createLambdaPropertyDescriptor(Class<?> target, PropertyDescriptor pd, MethodHandles.Lookup lookup) throws Throwable - Throws:
- Throwable
 
- 
getLambdaPropertyDescriptorspublic static Map<String,PropertyDescriptorWrapper> getLambdaPropertyDescriptors(Class<?> target) throws Throwable - Throws:
- Throwable
 
- 
createSetterCallSiteprotected static CallSite createSetterCallSite(MethodHandles.Lookup lookup, MethodHandle setter, Class<?> interfaceType, Class<?> valueType) throws LambdaConversionException - Throws:
- LambdaConversionException
 
 
-