private Object readResolve() throws ObjectStreamException { return new DefaultMethodMetadata(supportedInterceptionTypes, methodReference); }
public static <M> MethodMetadata of(M methodReference, AnnotatedMethodReader<M> methodReader) { return new DefaultMethodMetadata(methodReference, methodReader); }
public static MethodMetadata of(Method method) { return new DefaultMethodMetadata(method, new ReflectiveAnnotatedMethodReader()); }