Top Description Methods
org.newsclub.net.unix

public @Interface Unsafe

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

Declares some operation "unsafe", which is guarded via AFSocketCapability#CAPABILITY_UNSAFE.

Methods annotated with this type should also call AFSocket#ensureUnsafeSupported() to check availability at runtime.

Note

This annotation has nothing to do with sun.misc.Unsafe.

Author
Christian Kohlschütter
See Also
AFSocket#ensureUnsafeSupported()

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString