MCPcopy Index your code
hub / github.com/beanshell/beanshell / replace

Method replace

src/bsh/servlet/SimpleTemplate.java:140–144  ·  view source on GitHub ↗

Substitute the specified text for the parameter

( String param, String value	)

Source from the content-addressed store, hash-verified

138 Substitute the specified text for the parameter
139 */
140 public void replace( String param, String value ) {
141 int [] range;
142 while ( (range = findTemplate( param )) != null )
143 buff.replace( range[0], range[1], value );
144 }
145
146 /**
147 Find the starting (inclusive) and ending (exclusive) index of the

Callers 15

mainMethod · 0.95
sendHTMLMethod · 0.95
addSpiMethod · 0.80
ClassGeneratorUtilMethod · 0.80
generateConstructorMethod · 0.80
getTypeDescriptorMethod · 0.80
importCommandsMethod · 0.80
getCommandMethod · 0.80
generateClassImplMethod · 0.80
showEvalStringMethod · 0.80
loadSourceClassMethod · 0.80

Calls 1

findTemplateMethod · 0.95

Tested by 1

runTestMethod · 0.64