Java: don't want to share code

I am in java project team. My team members need to access my java code functionality but I don’t want them to access my java code. So how can I share the code functionality without sharing my java code?