Top Description Methods
com.google.j2objc.annotations

public @Interface Property

extends Annotation
Annotations
@Documented
@Retention:SOURCE
@Target:FIELD
Imports
java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target

Adds property declarations to generated Objective-C for annotated fields. See Apple's @property documentation.

Notes:

Example:
class Foo {
  @Property("copy, nonatomic") protected String bar;
}
generates:
@property (copy, nonatomic) NSString *bar;
Author
Harry Cheung

Method Summary

Modifier and TypeMethod and Description
public String
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public String value()