message = String.format("Should pass resolved pixel size instead of resource id here: " + "`getResources().getDimension*(%1$s)`", argument.getText()); } else if (expectedType.size() < ResourceType.getNames().length - 2) { // -2: marker types message = String.format("Expected resource of type %1$s", Joiner.on(" or ").join(expectedType));