Class CustomizedNotNullAnnotationForRPCDto

java.lang.Object
org.evomaster.client.java.controller.problem.rpc.CustomizedNotNullAnnotationForRPCDto

public class CustomizedNotNullAnnotationForRPCDto extends Object
a customized criteria to check if a field is required or (not nullable) with the following three situations - only [annotationType] is specified, then the field with such annotation would be considered as `required` - [annotationType], [annotationMethod] and [equalsTo] are specified, then the field is considered as `required` only if the field is applied with the annotation and the method of the annotation returns the same value as [equalsTo]
  • Field Details

    • annotationType

      public String annotationType
      name of the annotation it is not nullable
    • annotationMethod

      public String annotationMethod
      name of method of the annotation it is nullable
    • equalsTo

      public Object equalsTo
      value of the specified field or method note that it is nullable, but if annotationMethod] is not null, this must not be null
  • Constructor Details

    • CustomizedNotNullAnnotationForRPCDto

      public CustomizedNotNullAnnotationForRPCDto()