Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
refactoring
/
inheritanceToDelegation
/
multipleInterfaceDelegation
/
after
/
A.java
blob: 69fd5f4fc32fec49ec4d7728676c128ead67aa52 [
file
] [
log
] [
blame
]
public
class
A
implements
Intf
{
public
final
MyIntf
myDelegate
=
new
MyIntf
();
public
void
method1
()
{
myDelegate
.
method2
();
}
private
class
MyIntf
implements
Intf2
{
public
void
method2
()
{
System
.
out
.
println
(
"2"
);
}
}
}