Find correct template for @Path-annotated method