Selector.beforeGeneration() javadoc