Procedure templates for neo4j 4.0?

Hi!
Is there any template/examples for writing your own procedures for neo4j 4.0, similar to this one:

that is for version 3.5?

Thanks

for 4.0 is this sufficient https://neo4j.com/docs/java-reference/4.0/extending-neo4j/procedures-and-functions/procedures/

You can also check Mark's blog which is generally very extensive Stored Procedures in Neo4j Are NOT Evil | Max De Marzi

excellent posts by mark.. thanks for the suggestion!