public class M { public int g (final A a, final B b, final C c){ return a.f() + b.f() + c.f() + c.g(); } }