Dom element that is a definition is returned as a usage

Hi all.
I’m struggling with the FindUsage feature. I develop a plugin for OFBiz framework.
This framework uses Xml definitions for database entity. There entities can then be called in java, groovy or even XML.

This is an example of entity definition in the framework

<entity entity-name="MyEntity">
    <field name="someField"/>
</entity>

This is my DOM implementation of this xml structure:

interface Entity extends DomElement {
    @Attribute("title")
    GenericAttributeValue<String> getTitle()

    @NameValue
    @XmlValue
    @Stubbed
    @Attribute("entity-name")
    GenericAttributeValue<String> getEntityName()

    @SubTag("description")
    GenericDomValue<String> getDescription()

    @Attribute("never-cache")
    GenericAttributeValue<String> getNeverCache()

    @Attribute("package-name")
    GenericAttributeValue<String> getPackageName()

    @SubTagList("field")
    List<EntityField> getFields()

    @SubTagList("prim-key")
    List<EntityPrimKey> getPrimKeys()

    @SubTagList("relation")
    List<EntityRelation> getRelations()
}

Example of xml call:

<service name="someService" default-entity-name="MyEntity"/>

Example of java call:

List<GenericValue> testDataList = EntityQuery.use(Delegator)
    .from("MyEntity")
    .queryList();

The problem I get is that when i use the find usages feature (OOTB) the DEFINITION (as in the Xml definition of the entity) is return as a usage.
Is there a way to prevent this behavior ?
Is there something wrong with the annotations I used in my Dom implementation ?

Thanks beforehand !

Try @NameValue(referencable = false).

Hi @yann.cebron, and thanks for the answer. I tried the @NameValue annotation, but without sucess. The entity definition is still listed as a usage even with the annotation set up.
Do you have any other leads or ideas ?
I don’t know if i mentionned it, but i have a referencing implemented, and i used XmlPatterns for this.

Thanks and regards,
Gaetan