CssStylesheet sheet, JMethod[] methods,
Map<JMethod, String> obfuscatedClassNames)
throws UnableToCompleteException {
// Get list of @defs
DefsCollector collector = new DefsCollector();
collector.accept(sheet);
Set<String> defs = collector.getDefs();
for (JMethod toImplement : methods) {
String name = toImplement.getName();
if ("getName".equals(name) || "getText".equals(name)
|| "ensureInjected".equals(name)) {