Hyphen
Hyphen copied to clipboard
Support factory methods instead of constructors
Allow something like this
class Foo<T>{
private final int hash;
@Serialize
private final T t;
private Foo(int hash, T t){ ... }
@SerFactory
public static Foo<T> of(T t){ ... }
}