public AstNode setProperty ( String name , Object ... values ) { CheckArg . isNotNull ( name , "name" ) ; CheckArg . isNotNull ( values , "value" ) ; if ( values . length != 0 ) { properties . put ( name , Arrays . asList ( values ) ) ; } return this ; }
Set the property with the given name to the supplied values . If there is at least one value the new property will replace any existing property with the same name . This method does nothing if zero values are supplied .