feat(factory): add utility method which does the "unchecked" cast
All checks were successful
Build / Gradle-Build (push) Successful in 1m36s
Publish / Gradle-Publish (push) Successful in 10s
Test / Gradle-Test (push) Successful in 12s

This commit is contained in:
tueem 2025-04-15 11:06:00 +02:00
parent 28d991f17c
commit 8d24604707
Signed by: tueem
GPG Key ID: 65C8667EC17A88FB

View File

@ -31,5 +31,10 @@ public interface ReflectedMethodFactory<I extends Object, C extends Object> {
private ParserResults() {}
@SuppressWarnings("unchecked")
public <T extends Object> T get(Class<? extends MethodParser> key) {
return (T) super.get(key);
}
}
}