public String propertyTypeLabel(final String context, final Schema type) { boolean _matched = false; if (Objects.equal(type, null)) { _matched=true; return ""; } if (!_matched) { String _type = type.getType(); boolean _equals = Objects.equal(_type, "array"); if (_equals) { _matched=true; String _propertyTypeLabel = this.propertyTypeLabel(context, type.getItemsSchema()); String _cardinalitySuffix = this.cardinalitySuffix(((type.getMinItems() != null) && ((type.getMinItems()).intValue() > 0))); return (_propertyTypeLabel + _cardinalitySuffix); } } if (!_matched) { boolean _contains = Collections.<String>unmodifiableSet(CollectionLiterals.<String>newHashSet("boolean", "integer", "null", "number", "string")).contains(type.getType()); if (_contains) { _matched=true; return this.primitiveTypeLabel(type.getType(), type.getFormat()); } } return this._kaiZenParserHelper.getSchemaTitle(type); }