package com.iselsoft.easyium;

public interface Identifier {
    public static Identifier id = new Identifier() {
        @Override
        public String identify(Element element) {
            return "id=" + element.getAttribute("id");
        }
    };

    public static Identifier className = new Identifier() {
        @Override
        public String identify(Element element) {
            return "class=" + element.getAttribute("class");
        }
    };

    public static Identifier name = new Identifier() {
        @Override
        public String identify(Element element) {
            return "name=" + element.getAttribute("name");
        }
    };

    public static Identifier text = new Identifier() {
        @Override
        public String identify(Element element) {
            return String.format("xpath=.//*[.='%s')]", element.getText());
        }
    };

    public String identify(Element element);
}

@@ -54,38 +54,24 @@
 ifier %7B%0A    
-public static 
 Identifier i
@@ -85,32 +85,32 @@
  Identifier() %7B%0A
+
         @Overrid
@@ -234,38 +234,24 @@
     %7D;%0A%0A    
-public static 
 Identifier c
@@ -427,38 +427,24 @@
     %7D;%0A%0A    
-public static 
 Identifier n
@@ -621,22 +621,8 @@
     
-public static 
 Iden
@@ -816,27 +816,20 @@
     %7D;%0A%0A
+
     
-public 
 String i

Remove unnecessary modifiers.