All Downloads are FREE. Search and download functionalities are using the official Maven repository.

framework.src.org.checkerframework.common.util.report.qual.ReportCall Maven / Gradle / Ivy

Go to download

The Checker Framework enhances Java’s type system to make it more powerful and useful. This lets software developers detect and prevent errors in their Java programs. The Checker Framework includes compiler plug-ins ("checkers") that find bugs or verify their absence. It also permits you to write your own compiler plug-ins.

There is a newer version: 3.42.0
Show newest version
package org.checkerframework.common.util.report.qual;

import java.lang.annotation.*;

/**
 * Report all calls of a method that has this annotation, including
 * calls of methods that override this method. Note that calls through
 * a supertype, where the method is not annotated, cannot be reported.
 * 

* * For example, assume three classes A, B, and C, that each implement/override * a method m and A <: B <: C. * Assume that B.m is annotated as ReportCall. * Calls of A.m and B.m will then be reported, but calls of C.m will not * be reported, even though the C reference might point to a B object. * Therefore, add the ReportCall annotation high enough in the subtype hierarchy. */ @Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface ReportCall {}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy