org.checkerframework.checker.signature.qual.FqBinaryName Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of checker-qual Show documentation
Show all versions of checker-qual Show documentation
checker-qual contains annotations (type qualifiers) that a programmer
writes to specify Java code for type-checking by the Checker Framework.
The newest version!
package org.checkerframework.checker.signature.qual;
import org.checkerframework.framework.qual.SubtypeOf;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* An extension of binary name format to represent primitives and arrays. It is just like
* fully-qualified name format, but uses "$" rather than "." to indicate a nested class.
*
* Examples include
*
*
* int
* int[][]
* java.lang.String
* java.lang.String[]
* pkg.Outer$Inner
* pkg.Outer$Inner[]
*
*
* This is not a format defined by the Java language or platform, but is a convenient format for
* users to unambiguously specify a type.
*
* @checker_framework.manual #signature-checker Signature Checker
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
@SubtypeOf(SignatureUnknown.class)
public @interface FqBinaryName {}