@SuppressWarnings("unchecked")
    public <T extends WebLocatorAbstractBuilder> T setName(final String name) {
        pathBuilder.setName(name);
        return (T) this;
    }
@ SuppressWarnings ( "unchecked" ) public < T extends WebLocatorAbstractBuilder > T setName ( final String name ) { pathBuilder . setName ( name ) ; return ( T ) this ; }
<p><b>Used for finding element process (to generate xpath address)</b></p>

@param name eg. name="buttonSubmit"
@param <T>  the element which calls this method
@return this element