question: your value should start with a hash mark since it 's a reference to a value . this method will add the hash mark if it 's not present . concode_field_sep String mServerName concode_elem_sep Map<String,String> mQueryProps concode_field_sep JMXUriBuilder withThresholdHigh concode_elem_sep JMXUriBuilder withObjectDomain concode_elem_sep JMXUriBuilder withDifferenceMode concode_elem_sep String getServerName concode_elem_sep JMXUriBuilder withObjectProperties concode_elem_sep JMXUriBuilder withGranularityPeriod concode_elem_sep JMXUriBuilder withNotifyMatch concode_elem_sep JMXUriBuilder withReconnectDelay concode_elem_sep JMXUriBuilder withHandback concode_elem_sep JMXUriBuilder withFormat concode_elem_sep JMXUriBuilder withStringToCompare concode_elem_sep JMXUriBuilder withPassword concode_elem_sep JMXUriBuilder withNotificationFilter concode_elem_sep JMXUriBuilder withOffset concode_elem_sep JMXUriBuilder withModulus concode_elem_sep JMXUriBuilder withMonitorType concode_elem_sep JMXUriBuilder withUser concode_elem_sep JMXUriBuilder withServerName concode_elem_sep JMXUriBuilder withObservedAttribute concode_elem_sep JMXUriBuilder withNotifyLow concode_elem_sep JMXUriBuilder withThresholdLow concode_elem_sep JMXUriBuilder withNotifyHigh concode_elem_sep void addProperty concode_elem_sep JMXUriBuilder withReconnectOnConnectionFailure concode_elem_sep JMXUriBuilder withObjectName concode_elem_sep JMXUriBuilder withTestConnectionOnStartup concode_elem_sep JMXUriBuilder withNotifyDiffer concode_elem_sep String toString concode_elem_sep void setServerName concode_elem_sep JMXUriBuilder withInitThreshold
target: JMXUriBuilder function ( String arg0 ) { if ( arg0 . startsWith ( "srini_string" ) ) { addProperty ( "srini_string" , arg0 ) ; } else { addProperty ( "srini_string" , "srini_string" + arg0 ) ; } return this ; }