Here I want to say that this function just should be applied to the following classes: A, B and C.

> 
> This function just applies for/to A, B and C.
> 
> 
> 

But once again I am not sure which preposition should I use ?