sf-afmt 0.7.0

An Salesforce Apex lang formatter
Documentation
class A {
  {
    superDuperVeryInsanelyLongVariableNameThatWillSurelyBreak .getOneSet() .getAnotherSet() .getYetAnotherSet();

    t.a().b().c().d();

    return generator .objectBuilder .setExternalId(account.personContactId) .getInstance();

    String longResult =
      super.callMethod('first param').callAnotherMethod().getStringResult();

    String longResult = super.longPropertyName.anotherLongPropertyName.yetAnotherLongPropertyName;

    String longResult =
      super.longPropertyName.anotherLongPropertyName.yetAnotherLongPropertyName1;

    String longResult =
      super
        .longPropertyName
        .callMethod('first param')
        .callAnotherMethod()
        .getStringResult();

    aaaaaaaaaaaaaaaaaaaaaaaaa
      .bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb[0]
      .cccccccccccccccccccccccccccccccccccccccccccccccc()
      .dddddddddddddd()
      .e();
  }
}