public String toGav() {
        if (purl.getNamespace() != null && purl.getVersion() != null) {
            return String.format("%s:%s:%s", purl.getNamespace(), purl.getName(), purl.getVersion());
        }
        return null;
    }
public String toGav ( ) { if ( purl . getNamespace ( ) != null && purl . getVersion ( ) != null ) { return String . format ( "%s:%s:%s" , purl . getNamespace ( ) , purl . getName ( ) , purl . getVersion ( ) ) ; } return null ; }
Returns the GAV representation of the Package URL as utilized in gradle
builds.

@return the GAV representation of the Package URL