Class IgnoreHelper


  • public class IgnoreHelper
    extends Object
    Helping to figure out if we should ignore a field. Looking for the @Ignore and other relevant annotations.
    Author:
    Phillip Kruger (phillip.kruger@redhat.com)
    • Method Detail

      • shouldIgnore

        public static boolean shouldIgnore​(Annotations annotations)
        See if we should ignore this.
        Parameters:
        annotations - annotations
        Returns:
        true if we should.
      • shouldIgnore

        public static boolean shouldIgnore​(Annotations annotations,
                                           org.jboss.jandex.FieldInfo fieldInfo)
        See if we should ignore this.
        Parameters:
        annotations - annotations
        fieldInfo - field info (if any)
        Returns:
        true if we should.