/** * @param method the method to obtain the afterMapping methods for * @param selectionParameters method selectionParameters * @param ctx the builder context * @param existingVariableNames list of already used variable names * @return all applicable {@code @AfterMapping} methods for the given method */ public static List<LifecycleCallbackMethodReference> afterMappingMethods( Method method, SelectionParameters selectionParameters, MappingBuilderContext ctx, Set<String> existingVariableNames) { return collectLifecycleCallbackMethods( method, selectionParameters, filterAfterMappingMethods(ctx.getSourceModel()), ctx, existingVariableNames); }