-
Notifications
You must be signed in to change notification settings - Fork 147
Expand file tree
/
Copy pathFoo.java
More file actions
30 lines (28 loc) · 746 Bytes
/
Foo.java
File metadata and controls
30 lines (28 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
* Copyright 2013-2025 chronicle.software; SPDX-License-Identifier: Apache-2.0
*/
package eg.components;
@SuppressWarnings("QuestionableName")
/**
* Simple data holder used to demonstrate dynamic compilation.
*/
public class Foo {
private final Bar bar;
private final Bar copy;
public final String s;
private final int i;
/**
* Creates a new instance.
*
* @param bar first bar dependency
* @param copy second bar dependency
* @param s textual flag for the example
* @param i example value representing some business field
*/
public Foo(Bar bar, Bar copy, String s, int i) {
this.bar = bar;
this.copy = copy;
this.s = s;
this.i = i;
}
}