Class MustCallChecker

All Implemented Interfaces:
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 Details

    • NO_CREATES_MUSTCALLFOR

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

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

      public static final String NO_RESOURCE_ALIASES
      Disables @MustCallAlias support. Not of interest to most users. Not documented in the manual.
      See Also:
  • Constructor Details

    • MustCallChecker

      public MustCallChecker()