diff --git a/src/main/java/xyz/zhouxy/plusone/commons/annotation/StaticFactoryMethod.java b/src/main/java/xyz/zhouxy/plusone/commons/annotation/StaticFactoryMethod.java index 137ea03..50ab70d 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/annotation/StaticFactoryMethod.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/annotation/StaticFactoryMethod.java @@ -32,5 +32,5 @@ import java.lang.annotation.Target; @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface StaticFactoryMethod { - Class value(); + Class value() default void.class; }