Gitiles
Code Review
Sign In
android-review.linaro.org
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
refactoring
/
extractMethodObject
/
StaticTypeParamsRecursive.java.after
blob: f87edd2141592f28517d628bd0ed3cc38dad0f9e [
file
] [
log
] [
blame
]
class
Test
{
void
bar
()
{
foo
(
""
);
}
static
<
T
>
void
foo
(
T t
){
new
InnerClass
<
T
>(
t
).
invoke
();
}
private
static
class
InnerClass
<
T
>
{
private
T t
;
public
InnerClass
(
T t
)
{
this
.
t
=
t
;
}
public
void
invoke
()
{
if
(
t
!=
null
)
foo
(
t
);
}
}
}