}
if (adaptee.isAssignableFrom(IGeoResource.class)) {
return adaptee.cast(this);
}
if (adaptee.isAssignableFrom(RendererImpl.class)) {
RasterRenderer renderer = new RasterRenderer();
return adaptee.cast(renderer);
}
if (adaptee.isAssignableFrom(AbstractGridCoverage2DReader.class)) {
GrassCoverageReader reader = new GrassCoverageReader(jGrassMapEnvironment.getMapFile());