org.checkerframework.checker.interning.qual
public @Interface EqualsMethod
extends Annotation
- Annotations
- @Documented
- @Target:METHOD
- @Retention:RUNTIME
- @InheritedAnnotation
- Imports
- java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target, org.checkerframework.framework.qual.InheritedAnnotation
Method declaration annotation that indicates a method has a specification like equals().
The Interning Checker permits use of this == arg within the body. Can also be applied to
a static two-argument method, in which case arg1 == arg2 is permitted within the body.