Package com.google.j2objc.annotations
Annotation Type ObjectiveCNativeProtocol
@Target(TYPE)
@Retention(CLASS)
@Repeatable(ObjectiveCNativeProtocols.class)
public @interface ObjectiveCNativeProtocol
Annotation applicable to classes and interfaces that adds a Objective-C protocol and optional
associated header to the declaration. This allows Java classes to conform to Objective-C native
protocols.
-
Optional Element Summary
Optional Elements
-
Element Details
-
name
-
header
String headerThe header to include for the protocol definition. Leave blank for protocols declared by system headers.- Default:
""
-