[Java] Interface TargetSelector