Top Description Methods
jdk.internal

public @Interface ValueBased

extends Annotation
Annotations
@Retention:RUNTIME
@Target:TYPE
Imports
java.lang.annotation.Retention, .RetentionPolicy, .Target

Indicates the API declaration in question is associated with a Value Based class. References to value-based classes should produce warnings about behavior that is inconsistent with value based semantics. Note this internal annotation is handled specially by the javac compiler. To work properly with --release older-release, it requires special handling in make/langtools/src/classes/build/tools/symbolgenerator/CreateSymbols.java and src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java.
Since
16

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString