if (match != null) {
ResourceValue resourceValue = match.getResourceValue(isFramework());
if (resourceValue != null) {
String value = resourceValue.getValue();
if (value != null && value.startsWith(PREFIX_RESOURCE_REF)) {
ResourceUrl url = ResourceUrl.parse(value);
if (url != null && url.type == type
&& url.framework == isFramework()) {
name = url.name;
continue;
}