MCPcopy Create free account
hub / github.com/DiUS/java-faker / expression

Method expression

src/main/java/com/github/javafaker/Faker.java:652–654  ·  view source on GitHub ↗

Allows the evaluation of native YML expressions to allow you to build your own. The following are valid expressions: #{regexify '(a|b){2,3}'} #{regexify '\\.\\ \\?\\+'} #{bothify '????','false'} #{Name.first_name} #{Name.first_name} #{Name.last_name}

(String expression)

Source from the content-addressed store, hash-verified

650 * @throws RuntimeException if unable to evaluate the expression
651 */
652 public String expression(String expression) {
653 return this.fakeValuesService.expression(expression, this);
654 }
655}

Callers 2

isbn10Method · 0.45
isbn13Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected