Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/BruceEckel/OnJava8-Examples
/ Position
Method
Position
reflection/Position.java:12–15 ·
view source on GitHub ↗
(String jobTitle, Person employee)
Source
from the content-addressed store, hash-verified
10
private
String title;
11
private
Person person;
12
Position(String jobTitle, Person employee) {
13
setTitle(jobTitle);
14
setPerson(employee);
15
}
16
Position(String jobTitle) {
17
this(jobTitle, null);
18
}
Callers
nothing calls this directly
Calls
2
setTitle
Method · 0.95
setPerson
Method · 0.95
Tested by
no test coverage detected