Class AutoValueConstructorOrderChecker

  • All Implemented Interfaces:
    BugChecker.NewClassTreeMatcher, Suppressible, Serializable

    public class AutoValueConstructorOrderChecker
    extends BugChecker
    implements BugChecker.NewClassTreeMatcher
    Checker to make sure that constructors for AutoValue types are invoked with arguments in the correct order.

    Warning: this check relies on recovering parameter names from library class files. These names are only included if you compile with debugging symbols (-g) or with -parameters. You also need to tell the compiler to read these names from the classfiles and so must compile your project with -parameters too.

    Author:
    [email protected] (Andrew Rice)
    See Also:
    Serialized Form