This commit is contained in:
@@ -296,7 +296,6 @@ public interface Attribute<T, F> {
|
|||||||
for (java.lang.reflect.Method method : clazz.getDeclaredMethods()) {
|
for (java.lang.reflect.Method method : clazz.getDeclaredMethods()) {
|
||||||
if (java.lang.reflect.Modifier.isStatic(method.getModifiers())) continue;
|
if (java.lang.reflect.Modifier.isStatic(method.getModifiers())) continue;
|
||||||
if (!method.getName().startsWith("set")) continue;
|
if (!method.getName().startsWith("set")) continue;
|
||||||
if (method.getReturnType() != void.class) continue;
|
|
||||||
if (method.getParameterCount() != 1) continue;
|
if (method.getParameterCount() != 1) continue;
|
||||||
list.add(create(clazz, null, method));
|
list.add(create(clazz, null, method));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user