Fixed incorrect method / field extractors in MemberFinder
This commit is contained in:
parent
4a4ff17cc8
commit
5357b1ec4a
1 changed files with 2 additions and 2 deletions
|
@ -26,9 +26,9 @@ public class MemberFinder< T >
|
||||||
{
|
{
|
||||||
|
|
||||||
/** Function to extract methods from a class */
|
/** 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 */
|
/** 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( );
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue