Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
refactoring
/
inlineParameter
/
RefArrayAccess.java
blob: 929fd277fb78da94ac2562a854f8b661d67c664c [
file
] [
log
] [
blame
]
public
class
Subject
{
private
int
myInt
;
public
void
withArray
(
int
[]
<
caret
>
pia
)
{
myInt
+=
pia
[
0
];
}
}
class
User
{
private
void
oper
()
{
Subject
subj
=
new
Subject
();
int
[]
ia
=
new
int
[]{
0
,
1
};
ia
[
0
]
=
2
;
subj
.
withArray
(
ia
);
}
}