When one class have as method parameter pointer(or reference, or object) to other class, in UML it is reflected as association or aggregation, with diamond, or have some specific notation?
What you need is not an association (nor an aggregation or a composition that are specific associations) because an association refers to an attribute of your ClassA being of type ClassB.
Here, for a method parameter, you can use a dependency arrow between your classes (dashed arrow). It is a very general relationship that should fit your purpose.
See for example here for an explanation: http://martinfowler.com/bliki/DependencyAndAssociation.html