Fixed NullPointerException in MemberFinder
This commit is contained in:
parent
5357b1ec4a
commit
84ee63afa8
1 changed files with 4 additions and 6 deletions
|
@ -310,13 +310,11 @@ public class MemberFinder< T >
|
||||||
if ( target == null || this.classFilter != null && !this.classFilter.test( target ) ) {
|
if ( target == null || this.classFilter != null && !this.classFilter.test( target ) ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
checked.add( target );
|
|
||||||
|
|
||||||
if ( this.interfaces && !this.classesFirst ) {
|
if ( this.interfaces ) {
|
||||||
for ( final Class< ? > intf : target.getInterfaces( ) ) {
|
checked.add( target );
|
||||||
if ( !checked.contains( intf ) ) {
|
if ( !this.classesFirst ) {
|
||||||
this.findInternal( output , checked , intf );
|
this.checkInterfaces( output , checked , target );
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue