Interface AnnotationCheck
-
- All Superinterfaces:
Destroyable
,OptionHandler
,QuickInfoSupporter
- All Known Implementing Classes:
AbstractAnnotationCheck
,MultiCheck
,PassThrough
,RequireMetaData
public interface AnnotationCheck extends OptionHandler, QuickInfoSupporter
Interface for annotation checks.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
checkAnnotations(LocatedObjects objects)
Checks the annotations.int[]
findInvalidAnnotationsIndices(LocatedObjects objects)
Checks the annotations and returns the indices of the invalid ones.-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
Methods inherited from interface adams.core.QuickInfoSupporter
getQuickInfo
-
-
-
-
Method Detail
-
checkAnnotations
String checkAnnotations(LocatedObjects objects)
Checks the annotations.- Parameters:
objects
- the annotations to check- Returns:
- null if checks passed, otherwise error message
-
findInvalidAnnotationsIndices
int[] findInvalidAnnotationsIndices(LocatedObjects objects)
Checks the annotations and returns the indices of the invalid ones.- Parameters:
objects
- the annotations to check- Returns:
- the invalid indices, 0-length array if no invalid ones
-
-