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 21, 2017
1 parent 9455886 commit d6bf91b
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 d6bf91b

Please sign in to comment.