Skip to content

Commit

Permalink
Fix for #921: add generics to binding keys of property-generated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-milles committed Jul 3, 2019
1 parent 07f03f4 commit 9d7053e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ protected MethodBinding[] augmentMethodBindings(MethodBinding[] methodBindings)
private int getModifiers(PropertyNode property) {
int modifiers = (property.getModifiers() & 0xF);

if (property.getType().isUsingGenerics()) {
modifiers |= ExtraCompilerModifiers.AccGenericSignature;
}

// if @PackageScope was detected by GCUD, field's modifiers will show it
char[] nameChars = property.getName().toCharArray();
for (FieldDeclaration field : referenceContext.fields) {
Expand Down

0 comments on commit 9d7053e

Please sign in to comment.