I need to build new recipes for Salesforce APEX code

34 Views Asked by At

I need to build new recipes for Salesforce APEX code , I started in Java using patterns but I noticed openrewrite have already scanning and need to create recipe. If I pass a class it should give me all blocks like Method, while. for etc, how to achieve this ? Your help is highly appreciated.

enter image description here

Thanks Dora.

any solution for this need.

1

There are 1 best solutions below

2
Tim On

It's not immediately clear to me what you've already read and tried, so I can only give you a rough overview of resources until you have more specific questions.

We have our OpenRewrite docs to take you through Concepts & explanations; From there you can go through our Authoring recipes guides. Be sure to follow the developing tips for IntelliJ. If you want to dive deeper into particular topics we videos on a variety of subjects. We recommend that you use our rewrite-recipe-starter project.

Beyond that you're welcome to ask more specific questions. Hope this helps!