Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.4.0
-
Component/s: C# API, Framework Core
-
Labels:None
Description
I suggest we simply create a hard HashMap<Class<?>, Collection<Field>> for this lookup:
// Get all fields (including those from bindable super classes)
final Collection<Field> fieldSet = BindableUtils
.getFieldsFromBindableHierarchy(object.getClass());
There will always be a limited set of classes to consider and this saves lots of reflection.
Switched to hard cache.