Fixed incorrect method / field extractors in MemberFinder

This commit is contained in:
Emmanuel BENOîT 2015-09-12 14:13:58 +02:00
parent 4a4ff17cc8
commit 5357b1ec4a

View file

@ -26,9 +26,9 @@ public class MemberFinder< T >
{
/** Function to extract methods from a class */
public static final Function< Class< ? > , Method[] > METHOD_EXTRACTOR = c -> c.getMethods( );
public static final Function< Class< ? > , Method[] > METHOD_EXTRACTOR = c -> c.getDeclaredMethods( );
/** Function to extract fields from a class */
public static final Function< Class< ? > , Field[] > FIELD_EXTRACTOR = c -> c.getFields( );
public static final Function< Class< ? > , Field[] > FIELD_EXTRACTOR = c -> c.getDeclaredFields( );
/**