From https://github.com/checkstyle/checkstyle/issues/4830#issuecomment-383102616 >FullIdent could be modified to save the AST that starts the type so we can then retrieve the correct AST. Part of https://github.com/checkstyle/checkstyle/issues/5758