repo.or.cz
/
fedora-idea.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
introduce parameter: fix getter call
[fedora-idea.git]
/
java
/
java-tests
/
testData
/
refactoring
/
introduceParameter
/
afterStaticFieldWithGetterReplacement.java
blob
a0288ebd69f21643e50079628b76ce8ede52c0c7
1
public class
R
{
2
private static int
ourInt
;
3
4
public static int
getOurInt
() {
5
return
ourInt
;
6
}
7
8
public static void
doSmth
(
final int
anObject
) {
9
System
.
out
.
println
(
anObject
);
10
}
11
}
12
13
class
Usage
{
14
void
foo
() {
15
R
.
doSmth
(
R
.
getOurInt
());
16
}
17
}