Search in sources :

Example 1 with YSeqType

use of org.springframework.ide.vscode.commons.yaml.schema.YTypeFactory.YSeqType in project sts4 by spring-projects.

the class ManifestYmlSchemaTest method getNestedProps.

private List<YTypedProperty> getNestedProps() {
    YSeqType applications = (YSeqType) schema.getTopLevelType().getPropertiesMap().get("applications").getType();
    AbstractType application = (AbstractType) applications.getDomainType();
    return application.getProperties();
}
Also used : YSeqType(org.springframework.ide.vscode.commons.yaml.schema.YTypeFactory.YSeqType) AbstractType(org.springframework.ide.vscode.commons.yaml.schema.YTypeFactory.AbstractType)

Aggregations

AbstractType (org.springframework.ide.vscode.commons.yaml.schema.YTypeFactory.AbstractType)1 YSeqType (org.springframework.ide.vscode.commons.yaml.schema.YTypeFactory.YSeqType)1