private Map < String , Object > getProperties ( GDLParser . PropertiesContext propertiesContext ) { if ( propertiesContext != null ) { Map < String , Object > properties = new HashMap <> ( ) ; for ( GDLParser . PropertyContext property : propertiesContext . property ( ) ) { properties . put ( property . Identifier ( ) . getText ( ) , getPropertyValue ( property . literal ( ) ) ) ; } return properties ; } return Collections . emptyMap ( ) ; }
Returns the properties map from a given properties context .