Skip to content

If field and getter predicates share property name, colliding signatures are generated #105

@Nava2

Description

@Nava2

For predicate properties, two signatures are generated for the asserts. Unsure why its only for predicates and not for String, too.

public class FieldPropertyClash {
  public String string;
  public String getString() {
	return "";
  }

  public boolean isBoolean;
  public boolean isBoolean() { return false; }
}

Actual

  • Two methods for each: isBoolean and isNotBoolean are generated

Expected

Only generate methods for Getter, as is done for the String property.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions