Class AbstractMemberAccessor
java.lang.Object
ai.timefold.solver.core.impl.domain.common.accessor.AbstractMemberAccessor
- All Implemented Interfaces:
MemberAccessor
- Direct Known Subclasses:
AbstractGizmoMemberAccessor,ReflectionBeanPropertyMemberAccessor,ReflectionFieldMemberAccessor,ReflectionMethodMemberAccessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal <Fact_,Result_>
Function<Fact_,Result_> In order to support node sharing in constraint streams, we need to referenceMemberAccessor.executeGetter(Object)in a way so that the method reference stays the same instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ai.timefold.solver.core.impl.domain.common.accessor.MemberAccessor
executeGetter, executeSetter, getAnnotation, getDeclaredAnnotationsByType, getDeclaringClass, getGenericType, getName, getSpeedNote, getType, supportSetter
-
Constructor Details
-
AbstractMemberAccessor
public AbstractMemberAccessor()
-
-
Method Details
-
getGetterFunction
Description copied from interface:MemberAccessorIn order to support node sharing in constraint streams, we need to referenceMemberAccessor.executeGetter(Object)in a way so that the method reference stays the same instance. This method returns just such a method reference.- Specified by:
getGetterFunctionin interfaceMemberAccessor- Returns:
- never null, a constant reference to
MemberAccessor.executeGetter(Object)
-