Annotation Interface Unsafe


@Retention(RUNTIME) @Target(METHOD) public @interface Unsafe
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: