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

Class App

src/main/java/com/github/javafaker/App.java:3–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1package com.github.javafaker;
2
3public class App {
4 private final Faker faker;
5
6 protected App(Faker faker) {
7 this.faker = faker;
8 }
9
10 public String name() {
11 return faker.fakeValuesService().resolve("app.name", this, faker);
12 }
13
14 public String version() {
15 return faker.numerify(faker.fakeValuesService().resolve("app.version", this, faker));
16 }
17
18 public String author() {
19 return faker.fakeValuesService().resolve("app.author", this, faker);
20 }
21}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected