Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
refactoring
/
extractMethod
/
SuggestChangeSignatureEqualConstExprFolding.java
blob: 9e3586b51a9f3e6dc5ccfebba27875675f686e04 [
file
]
class
C
{
public
static
final
int
A
=
4
-
1
;
public
static
final
int
B
=
4
+
2
;
void
foo
(
int
x
)
{
<
selection
>
if
(
x
==
A
+
1
)
bar
(
A
+
1
);
</
selection
>
if
(
x
==
B
-
2
)
bar
(
B
-
2
);
}
void
bar
(
int
n
)
{}
}