Add implementation for moc callback java methods.