public CommandExecutionResult executeNow(ClassDiagram diagram, List<String> lines) {
		StringUtils.trim(lines, false);
		final RegexResult line0 = getStartingPattern().matcher(lines.get(0).trim());
		final IEntity entity = executeArg0(diagram, line0);
		if (entity == null) {
			return CommandExecutionResult.error("No such entity");
		}
		lines = lines.subList(1, lines.size() - 1);
		final Url url;
		if (lines.size() > 0) {
			final UrlBuilder urlBuilder = new UrlBuilder(diagram.getSkinParam().getValue("topurl"), ModeUrl.STRICT);
			url = urlBuilder.getUrl(lines.get(0).toString());
		} else {
			url = null;
		}
		if (url != null) {
			lines = lines.subList(1, lines.size());
		}
		for (String s : lines) {
			if (s.length() > 0 && VisibilityModifier.isVisibilityCharacter(s.charAt(0))) {
				diagram.setVisibilityModifierPresent(true);
			}
			entity.addFieldOrMethod(s);
		}
		if (url != null) {
			entity.addUrl(url);
		}

		manageExtends(diagram, line0, entity);

		return CommandExecutionResult.ok();
	}