Class RequireMetaData

    • Field Detail

      • m_Key

        protected String m_Key
        the meta-data key to be present.
    • Constructor Detail

      • RequireMetaData

        public RequireMetaData()
    • Method Detail

      • setKey

        public void setKey​(String value)
        Sets the meta-data key that must be present.
        Parameters:
        value - the key
      • getKey

        public String getKey()
        Returns the meta-data key that must be present.
        Returns:
        the key
      • keyTipText

        public String keyTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • doFindInvalidAnnotationsIndices

        protected int[] doFindInvalidAnnotationsIndices​(LocatedObjects objects)
        Checks the annotations and returns the indices of the invalid ones.
        Specified by:
        doFindInvalidAnnotationsIndices in class AbstractAnnotationCheck
        Parameters:
        objects - the annotations to check
        Returns:
        the invalid indices, 0-length array if no invalid ones