}
@Override
protected IKey createPluginKey(IKey key) {
SimulatedKey result = null;
if (key != null && key instanceof SimulatedKey) {
result = new SimulatedKey();
SimulatedKey.registerColoration(result, ColorationLevel.ATTRIBUTE_QUALITY,
((SimulatedKey) key)
.getExpectedSourceType());
result.setExpectedSourceType(new GenericDescriptor(String.class));
}
return result;
}