String ref = getRef(); Resource resource = getResource( ref );
Resource resource = getResource();
    protected String resolve()    {        if( null == m_feature )        {            final String error = "Missing 'feature' attribute.";            throw new BuildException( error );        }        else        {            log( "Processing feature: " + m_feature, Project.MSG_VERBOSE );        }                String ref = getRef();        Resource resource = getResource( ref );        Feature feature = Feature.parse( m_feature );        if( null == m_type )        {            return Feature.resolve( resource, feature );        }        else        {            Type type = resource.getType( m_type );            return Feature.resolve( resource, feature, type, m_alias );        }    }