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

framework.src.org.checkerframework.qualframework.poly.QualifierParameterAnnotationConverter 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.qualframework.poly;

import java.util.*;

import javax.lang.model.element.AnnotationMirror;
import javax.lang.model.element.Element;

import org.checkerframework.qualframework.base.AnnotationConverter;
import org.checkerframework.qualframework.util.ExtendedTypeMirror;

/** An {@link AnnotationConverter} that can also find the names of all declared
 * parameters on a class or method.
 */
public interface QualifierParameterAnnotationConverter extends AnnotationConverter> {
    /** Get the names of all parameters declared on a class, interface, enum,
     * or method declaration {@link Element}.
     *
     * @param elt the element to inspect for parameters
     * @param declAnnotations the declaration annotations on elt
     * @param type the ExtendedTypeMirror for the element, after stub file annotations have been applied
     * @return the list of declared parameters
     */
    Set getDeclaredParameters(Element elt, Set declAnnotations, ExtendedTypeMirror type);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy