Package org.checkerframework.checker.calledmethods.qual
package org.checkerframework.checker.calledmethods.qual
-
ClassDescriptionIf an expression has type
@CalledMethods({"m1", "m2"})
, then methodsm1
andm2
have definitely been called on its value.The bottom type for the Called Methods type system.This annotation represents a predicate on@
CalledMethods
annotations.Indicates that the method, if it terminates successfully, always invokes the given methods on the given expressions.A wrapper annotation that makes theEnsuresCalledMethods
annotation repeatable.Indicates that the method, if it terminates with the given result, invokes the given methods on the given expressions.A wrapper annotation that makes theEnsuresCalledMethodsIf
annotation repeatable.Indicates that the method, if it terminates by throwing anException
, always invokes the given methods on the given expressions.A wrapper annotation that makes theEnsuresCalledMethodsOnException
annotation repeatable.Indicates that the method, if it terminates successfully, always invokes the given methods on all of the arguments passed in the varargs position.Indicates a method precondition: when the method is invoked, the specified expressions must have had the specified methods called on them.A wrapper annotation that makes theRequiresCalledMethods
annotation repeatable.