diff --git a/lib/src/main/java/net/tomatentum/cutin/ReflectedMethodFactory.java b/lib/src/main/java/net/tomatentum/cutin/ReflectedMethodFactory.java index 8432b54..bf2e060 100644 --- a/lib/src/main/java/net/tomatentum/cutin/ReflectedMethodFactory.java +++ b/lib/src/main/java/net/tomatentum/cutin/ReflectedMethodFactory.java @@ -31,5 +31,10 @@ public interface ReflectedMethodFactory { private ParserResults() {} + @SuppressWarnings("unchecked") + public T get(Class key) { + return (T) super.get(key); + } + } } \ No newline at end of file