Creo™ Schematics 4.0 Help Center > Customizing Creo Schematics Using Java APIs > Example: Syntax to Call Java from Derived Parameters
  
Example: Syntax to Call Java from Derived Parameters
public class ExampleClass
{
public static String derivedfn(Artifact artifact, String prop, String par1)
{
return "Received artifact for prop ' + prop + ' with text ' + par1;
}
}
The correct syntax to call the method reportMethod is:
{ExampleClass.derivedfn} with parameter text1.
* 
The call specifies only one parameter because for derived functions, the first parameter (the artifact) and the second parameter (the property name) are automatically inserted in the call to the method.