Sneha
Sneha

Reputation: 317

Codemodel: how to implement method reference

I have a interface having getter methods like below

public interface IAddress {
  AddressId getId();
  String getCity();
  String getCountry();
}

I want to create another class where I want to reference the getter methods of IAddress like IAddress::getId .

How can I achieve this in JCodeModel?

Upvotes: 2

Views: 260

Answers (0)

Related Questions