public Set<Method> getAnnotatedMethods() {
        Assert.state(annotatedMethods != null, "@GrpcExceptionHandler annotation scanning failed.");
        return annotatedMethods;
    }
A filter for selecting {@code @GrpcExceptionHandler} methods.
grpc-server-spring-boot-starter/src/main/java/net/devh/boot/grpc/server/advice/GrpcAdviceDiscoverer.java