File tree Expand file tree Collapse file tree
core/src/main/java/net/roxymc/jserialize/type Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,15 +33,15 @@ private TypeToken(AnnotatedType type) {
3333 this .annotatedType = type ;
3434 }
3535
36- public static <T extends @ Nullable Object > TypeToken <T > of (Class <T > type ) {
36+ public static <T extends @ UnknownNullability Object > TypeToken <T > of (Class <T > type ) {
3737 return of ((Type ) type );
3838 }
3939
40- public static <T extends @ Nullable Object > TypeToken <T > of (Type type ) {
40+ public static <T extends @ UnknownNullability Object > TypeToken <T > of (Type type ) {
4141 return of (GenericTypeReflector .annotate (type ));
4242 }
4343
44- public static <T extends @ Nullable Object > TypeToken <T > of (AnnotatedType type ) {
44+ public static <T extends @ UnknownNullability Object > TypeToken <T > of (AnnotatedType type ) {
4545 return new TypeToken <>(type );
4646 }
4747
You can’t perform that action at this time.
0 commit comments