Class ProjectSpecificInfoFilter

    • Field Detail

      • projectSpecific

        private boolean projectSpecific
      • override

        private boolean override
    • Constructor Detail

      • ProjectSpecificInfoFilter

        public ProjectSpecificInfoFilter()
    • Method Detail

      • evaluate

        public boolean evaluate​(AnnotationSnapshot snapshot)
        Evaluate the annotation snapshot and update the flags if the snapshot is a project-specific annotation and overrides a default value.
        Specified by:
        evaluate in interface Filter<AnnotationSnapshot>
        Parameters:
        snapshot - The object to evaluate
        Returns:
        TRUE if the object passes the filter, FALSE otherwise
      • hasProjectSpecificAnnotation

        public boolean hasProjectSpecificAnnotation()
        Check if the project-specific flag is set.
      • overridesDefaultAnnotation

        public boolean overridesDefaultAnnotation()
        Check if the override flag is set.