Code example for Element

Methods: getTagName

    public void visitElement(XmlContext context, Element element) {, element, context.getLocation(element),
                String.format("%1$s is deprecated", element.getTagName()), null);
    public void visitAttribute(XmlContext context, Attr attribute) {
        if (!ANDROID_URI.equals(attribute.getNamespaceURI())) {
        String name = attribute.getLocalName();
        String fix;
        int minSdk = 1;
        if (name.equals(ATTR_EDITABLE)) {
            fix = "Use an <EditText> to make it editable";
Connect your IDE to all the code out there  Get Codota for Java