public class ReplacementFileReader
extends java.lang.Object
readReplacements(Reader, String) and readReplacements(Path) that read a replacecall agent replacement file and populate the method
replacement map used by the agent. See the replacecall user
documentation for the file format.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DOT_DELIMITED_IDS
Regex to match a sequence of identifiers separated by periods.
|
static java.lang.String |
ID_STRING
Regex for Java identifiers.
|
| Constructor and Description |
|---|
ReplacementFileReader() |
| Modifier and Type | Method and Description |
|---|---|
protected static @Nullable org.apache.bcel.classfile.JavaClass |
getJavaClassFromClassname(java.lang.String classname)
Returns a JavaClass object for the given class name.
|
public static final java.lang.String ID_STRING
public static final java.lang.String DOT_DELIMITED_IDS
protected static @Nullable org.apache.bcel.classfile.JavaClass getJavaClassFromClassname(java.lang.String classname)
throws randoop.instrument.ReplacementFileReader.ReplacementException
classname - name of class to find and loadReplacementException - if any error loading and converting class filerandoop.instrument.ReplacementFileReader.ReplacementException