Skip to content

Commit

Permalink
FieldReferenceFunction uses CtQuery#select
Browse files Browse the repository at this point in the history
  • Loading branch information
pvojtechovsky committed Jan 22, 2017
1 parent a7e7a58 commit 098eeac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public FieldReferenceFunction() {
public void apply(CtField<?> field, CtConsumer<Object> outputConsumer) {
field
.map(new FieldScopeFunction())
.filter(new DirectReferenceFilter<CtFieldReference<?>>(field.getReference()))
.select(new DirectReferenceFilter<CtFieldReference<?>>(field.getReference()))
.forEach(outputConsumer);
}
}

0 comments on commit 098eeac

Please sign in to comment.