Class UnitsVisitor

  • All Implemented Interfaces:
    com.sun.source.tree.TreeVisitor<java.lang.Void,​java.lang.Void>

    public class UnitsVisitor
    extends BaseTypeVisitor<UnitsAnnotatedTypeFactory>
    Units visitor.

    Ensure consistent use of compound assignments.

    • Method Detail

      • visitCompoundAssignment

        public java.lang.Void visitCompoundAssignment​(com.sun.source.tree.CompoundAssignmentTree tree,
                                                      java.lang.Void p)
        Description copied from class: BaseTypeVisitor
        Performs assignability check.
        Specified by:
        visitCompoundAssignment in interface com.sun.source.tree.TreeVisitor<java.lang.Void,​java.lang.Void>
        Overrides:
        visitCompoundAssignment in class BaseTypeVisitor<UnitsAnnotatedTypeFactory>