Inherit FunctionReference from CallableReference
This became possible now because FunctionImpl is no longer a class
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user