APIdia Launch Partner
Top Description Methods
jdk.internal.javac

public @Interface Restricted

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

This annotation is used to mark restricted methods in the Java SE API (e.g. java.lang.foreign.MemorySegment#reinterpret(long)).

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString