PyDecorator (String name) { final PyDecorator[] decorators = getDecorators(); for (PyDecorator decorator : decorators) { final QualifiedName qName = decorator.getQualifiedName(); if (qName != null && name.equals(qName.toString())) { return decorator; } } return null; }