Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
refactoring
/
extractMethod
/
Cast4ParamGeneration_after.java
blob: 3c55402357eb714cac0689917cf123b57cdf84a2 [
file
] [
log
] [
blame
]
public
class
Test
{
void
foo
(
Object
o
)
{
if
(
o
instanceof
A
)
{
newMethod
((
A
)
o
);
}
}
private
void
newMethod
(
A o
)
{
o
.
bar
();
}
}
class
A
{
void
bar
(){}
}