final File file = resource.getArtifact( project, name ); path.createPathElement().setLocation( file ); String alias = type.getAlias(); if( null != alias )
if( cached )
    private void addTypeToPath( final Project project, Resource resource, Path path, Type type )    {        String name = type.getName();        final File file = resource.getArtifact( project, name );        path.createPathElement().setLocation( file );        String alias = type.getAlias();        if( null != alias )        {            //            // include the alias resource in the path            //            final File link = resource.getArtifact( project, name, alias );            path.createPathElement().setLocation( link );        }    }