Annotation Type Untainted


  • @Documented
    @TypeQualifier
    @Retention(RUNTIME)
    public @interface Untainted
    This annotation is used to denote String values that are untainted, i.e. properly validated.

    For example, this annotation should be used on the String value which represents SQL query to be passed to database engine.

    When this annotation is applied to a method it applies to the method return value.

    See Also:
    Tainted
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      When when  
    • Element Detail

      • when

        When when
        Default:
        javax.annotation.meta.When.ALWAYS