There is already a getServerNames method in GerritManagement. Moving that to PliginImpl would make it so that you don't need to implement it twice.