public void addPreexistingResource(Resource resource){
  resourceList.add(resource);
}

public void addPreexistingResource ( Resource resource ) { resourceList . add ( resource ) ; }
add a preexisting resource . that is , one that is not created within the analyzed method . resources passed to the method as parameters fall into this category .
