make internal Def methods private and add basic javadocs
This commit is contained in:
parent
928e2b904d
commit
59c135b58d
|
@ -241,7 +241,8 @@ public class Def {
|
|||
}
|
||||
}
|
||||
|
||||
public static Method getMethod(final Object owner, final String name, final Definition definition) {
|
||||
/** Method lookup for owner.name(), returns null if no matching method was found */
|
||||
private static Method getMethod(final Object owner, final String name, final Definition definition) {
|
||||
Class<?> clazz = owner.getClass();
|
||||
|
||||
while (clazz != null) {
|
||||
|
@ -273,7 +274,8 @@ public class Def {
|
|||
return null;
|
||||
}
|
||||
|
||||
public static Field getField(final Object owner, final String name, final Definition definition) {
|
||||
/** Field lookup for owner.name, returns null if no matching field was found */
|
||||
private static Field getField(final Object owner, final String name, final Definition definition) {
|
||||
Class<?> clazz = owner.getClass();
|
||||
|
||||
while (clazz != null) {
|
||||
|
|
Loading…
Reference in New Issue