Class DefaultContractsFromMethod

java.lang.Object
org.checkerframework.framework.util.DefaultContractsFromMethod
All Implemented Interfaces:
ContractsFromMethod

public class DefaultContractsFromMethod extends Object implements ContractsFromMethod
A utility class to retrieve pre- and postconditions from a method.
See Also:
  • Field Details

    • qualifierArgumentValueElement

      protected final ExecutableElement qualifierArgumentValueElement
      The QualifierArgument.value field/element.
    • atypeFactory

      protected final GenericAnnotatedTypeFactory<?,?,?,?> atypeFactory
      The factory that this ContractsFromMethod is associated with.
  • Constructor Details

    • DefaultContractsFromMethod

      public DefaultContractsFromMethod(GenericAnnotatedTypeFactory<?,?,?,?> atypeFactory)
      Creates a ContractsFromMethod for the given factory.
      Parameters:
      atypeFactory - the type factory associated with the newly-created ContractsFromMethod
  • Method Details