Adapt the Java style for your own