Class MustCallChecker

  • All Implemented Interfaces:
    javax.annotation.processing.Processor, OptionConfiguration
    Direct Known Subclasses:
    MustCallNoCreatesMustCallForChecker

    @StubFiles({"IOUtils.astub","JavaEE.astub","JdkCompiler.astub","Reflection.astub","SocketCreatesMustCallFor.astub"})
    @SupportedOptions({"noCreatesMustCallFor","noLightweightOwnership","noResourceAliases"})
    public class MustCallChecker
    extends BaseTypeChecker
    This typechecker ensures that @MustCall annotations are consistent with one another. The Resource Leak Checker verifies that the given methods are actually called.
    • Field Detail

      • NO_CREATES_MUSTCALLFOR

        public static final java.lang.String NO_CREATES_MUSTCALLFOR
        Disables @CreatesMustCallFor support. Not of interest to most users. Not documented in the manual.
        See Also:
        Constant Field Values
      • NO_LIGHTWEIGHT_OWNERSHIP

        public static final java.lang.String NO_LIGHTWEIGHT_OWNERSHIP
        Disables @Owning/@NotOwning support. Not of interest to most users. Not documented in the manual.
        See Also:
        Constant Field Values
      • NO_RESOURCE_ALIASES

        public static final java.lang.String NO_RESOURCE_ALIASES
        Disables @MustCallAlias support. Not of interest to most users. Not documented in the manual.
        See Also:
        Constant Field Values
    • Constructor Detail

      • MustCallChecker

        public MustCallChecker()