Skip to content

Bump checker-qual from 3.6.0 to 3.11.0#65

Closed
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/maven/org.checkerframework-checker-qual-3.11.0
Closed

Bump checker-qual from 3.6.0 to 3.11.0#65
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/maven/org.checkerframework-checker-qual-3.11.0

Conversation

@dependabot-preview
Copy link
Contributor

Bumps checker-qual from 3.6.0 to 3.11.0.

Release notes

Sourced from checker-qual's releases.

Checker Framework 3.11.0

Version 3.11.0, March 1, 2021

User-visible changes:

In a stub file for a class C, you may write a declaration for a method that is inherited by C but not defined by it. Previously, such stub declarations were ignored. For more information, see the manual's documentation of "fake overrides".

Nullness Checker error message key changes:

  • known.nonnull => nulltest.redundant
  • initialization.static.fields.uninitialized => initialization.static.field.uninitialized, and it is now issued on the field rather than on the class
  • new initialization.field.uninitialized is issued on the field instead of initialization.fields.uninitialized on the class, if there is no explicitly-written constructor.

Signature Checker supports two new type qualifiers:

  • @CanonicalNameAndBinaryName
  • @CanonicalNameOrPrimitiveType

Implementation details:

You can make a variable's default type depend on its name, or a method return type default depend on the method's name. To support this feature, @DefaultFor has new elements names and namesExceptions.

Changes to protected fields in OverrideChecker:

  • Removed overriderMeth, overriderTyp, overriddenMeth, overriddenTyp
  • Renamed methodReference => isMethodReference
  • Renamed overridingType => overriderType
  • Renamed overridingReturnType => overriderReturnType

Changes to JavaExpression parsing:

  • The signatures of these methods changed; see Javadoc.
    • JavaExpressionParseUtil#parse
    • DependentTypesHelper#standardizeString
  • These methods moved:
    • GenericAnnotatedTypeFactory#standardizeAnnotationFromContract => DependentTypesHelper
    • JavaExpressionParseUtil#fromVariableTree => JavaExpression

Changes to JavaExpressionContext:

  • New method JavaExpressionContext#buildContextForMethodDeclaration(MethodTree, SourceChecker) replaces all overloads of buildContextForMethodDeclaration.

Parsing a Java expression no longer requires the formal parameters AnnotationProvider provider or boolean allowNonDeterministic. Methods in JavaExpression with simplified signatures include

  • fromArrayAccess
  • fromNodeFieldAccess
  • fromNode
  • fromTree
  • getParametersOfEnclosingMethod
  • getReceiver

CFAbstractStore.insertValue does nothing if passed a nondeterministic expression. Use new method CFAbstractStore.insertValuePermitNondeterministic to map a nondeterministic expression to a value.

Closed issues: #862, #3631, #3991, #4031, #4206, #4207, #4226, #4231, #4248, #4263, #4265, #4279, #4286, #4289.

... (truncated)

Changelog

Sourced from checker-qual's changelog.

Version 3.11.1, April 1, 2021

User-visible changes:

New FAQ item "How should I annotate code that uses generics?" gives examples of annotations on type variables, together with their meaning.

-Ainfer=ajava uses ajava files (rather than jaif files or stub files) internally during whole-program inference.

Implementation details:

Closed issues:


Version 3.11.0, March 1, 2021

User-visible changes:

In a stub file for a class C, you may write a declaration for a method that is inherited by C but not defined by it. Previously, such stub declarations were ignored. For more information, see the manual's documentation of "fake overrides".

Nullness Checker error message key changes:

  • known.nonnull => nulltest.redundant
  • initialization.static.fields.uninitialized => initialization.static.field.uninitialized, and it is now issued on the field rather than on the class
  • new initialization.field.uninitialized is issued on the field instead of initialization.fields.uninitialized on the class, if there is no explicitly-written constructor.

Signature Checker supports two new type qualifiers:

  • @CanonicalNameAndBinaryName
  • @CanonicalNameOrPrimitiveType

Implementation details:

You can make a variable's default type depend on its name, or a method return type default depend on the method's name. To support this feature, @DefaultFor has new elements names and namesExceptions.

Changes to protected fields in OverrideChecker:

  • Removed overriderMeth, overriderTyp, overriddenMeth, overriddenTyp
  • Renamed methodReference => isMethodReference
  • Renamed overridingType => overriderType
  • Renamed overridingReturnType => overriderReturnType

Changes to JavaExpression parsing:

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Mar 2, 2021
@dependabot-preview
Copy link
Contributor Author

Superseded by #70.

@dependabot-preview dependabot-preview bot deleted the dependabot/maven/org.checkerframework-checker-qual-3.11.0 branch April 1, 2021 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants