I am using Java 8 and eclipse Kepler IDE for my development. I have Interface define in my project with the following default method:
public default Consumer getRetailCustomer(List<Consumer> consumers) {
for (Consumer cons : consumers) {
if(cons.getType.equals("Retail"))
return cons;
}
}
I try to debug this method, I put the break point on for condition but bedug is not able to go inside default method.
Let me know how can I debug default method of Interface in Java 8 using Eclipse IDE?