Access Allocating Actor/Component (computed) from Logical Function

I want to know if there is any way to access the computed Component of a Logical Function in Java. This computed Component is shown in the semantic Browser (often if function has subfunctions) but i dont know how to access it from a Logical Function instance.

Does someone know how to access it or how capella computes this component in semantic browser?

You want to use:
new org.polarsys.capella.core.semantic.queries.basic.queries.AbstractFunction_mother_function_allocation().compute(
available from plug-in org.polarsys.capella.core.semantic.queries