Compare commits
3 Commits
4c800cfd89
...
v0.2.0
Author | SHA1 | Date | |
---|---|---|---|
d76db0ba61
|
|||
8d24604707
|
|||
28d991f17c
|
@@ -6,7 +6,7 @@ plugins {
|
||||
|
||||
allprojects {
|
||||
group = "net.tomatentum.cutin"
|
||||
version = "0.1.1" + (if (!project.hasProperty("release")) ("-" + getGitHash()) else "")
|
||||
version = "0.2.0" + (if (!project.hasProperty("release")) ("-" + getGitHash()) else "")
|
||||
description = "A lightweight Reflection abstraction specifically but not exclusively made for tueem/Marinara."
|
||||
plugins.withType<JavaPlugin> {
|
||||
tasks.withType<Jar>().configureEach {
|
||||
|
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@@ -37,7 +37,7 @@ public class ReflectedMethodFactoryImpl<I extends Object, C extends Object> impl
|
||||
.findFirst();
|
||||
|
||||
if (rmethod.isEmpty())
|
||||
logger.warn("Could not produce a ReflectedMethod for Method {} in ", ReflectionUtil.getFullMethodName(method), this);
|
||||
logger.warn("Could not produce a ReflectedMethod for Method {} in {}", ReflectionUtil.getFullMethodName(method), this);
|
||||
else
|
||||
logger.debug("Produced {} for Method {} in {}", rmethod.get(), ReflectionUtil.getFullMethodName(method), this);
|
||||
|
||||
|
Reference in New Issue
Block a user