Inherit FunctionReference from CallableReference

This became possible now because FunctionImpl is no longer a class
This commit is contained in:
Alexander Udalov
2016-09-07 13:31:00 +03:00
parent a10cf8a931
commit d128827a34
4 changed files with 36 additions and 119 deletions
@@ -105,9 +105,4 @@ public class ReflectionFactoryImpl extends ReflectionFactory {
KDeclarationContainer owner = reference.getOwner();
return owner instanceof KDeclarationContainerImpl ? ((KDeclarationContainerImpl) owner) : EmptyContainerForLocal.INSTANCE;
}
private static KDeclarationContainerImpl getOwner(FunctionReference reference) {
KDeclarationContainer owner = reference.getOwner();
return owner instanceof KDeclarationContainerImpl ? ((KDeclarationContainerImpl) owner) : EmptyContainerForLocal.INSTANCE;
}
}