@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        NamespaceMetaData that = (NamespaceMetaData) o;

        if (name != null ? !name.equals(that.name) : that.name != null) {
            return false;
        }
        return extensionMap != null ? extensionMap.equals(that.extensionMap) : that.extensionMap == null;
    }
POJO for holding extension meta data
modules/siddhi-doc-gen/src/main/java/io/siddhi/doc/gen/metadata/NamespaceMetaData.java