Skip to content

Does not work with nested, inner class #34

Description

@rajinder-yadav

Plugin version: 7.0.1
Platform: Linux

The wrong ctor is created when trying to create for inner class Product, also the indentation are off, see code below.

Other issues

  1. I am not able to generate getter, setter,
  2. wrong equals and hashCode is generated for inner class
  3. wrong toString generated for inner class
public class Cart {

  long id;
  long count;
  String user;

  class Product {

    long id;
    String name;
    String description;
    double price;


  public Cart(long id, long count, String user) {
    this.id = id;
    this.count = count;
    this.user = user;
  }


  }

}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions