This is what language allows:
ee.m1();
but you should rather write:
Encloser.m1();
you compiler should issue warning like below, to inform you of that:
source_file.java:37: warning: [static] static method should be qualified by type name, Encloser, instead of by an expression ee.m1();