This commit is contained in:
AriaLyy
2017-06-16 21:35:14 +08:00
parent e71729bd09
commit 72e296adeb
13 changed files with 92 additions and 36 deletions

View File

@ -154,7 +154,7 @@ class ElementHandle {
ParameterSpec.builder(task, "task").addModifiers(Modifier.FINAL).build();
StringBuilder sb = new StringBuilder();
sb.append("Set<String> keys = keyMapping.get(\"")
.append(annotation.getSimpleName())
.append(methodName)
.append("\");\n");
sb.append("if (keys != null) {\n\tif (keys.contains(task.getKey())) {\n")
.append("\t\tobj.")