Fixing copyNow reflection.
Adding synchronization to setters/getters

Change-Id: I32327473fdcde9d22642b60c8f711f6237200fd3
diff --git a/slang_rs_reflection.h b/slang_rs_reflection.h
index 29e9f18..4e75208 100644
--- a/slang_rs_reflection.h
+++ b/slang_rs_reflection.h
@@ -97,7 +97,8 @@
     typedef enum {
       AM_Public,
       AM_Protected,
-      AM_Private
+      AM_Private,
+      AM_PublicSynchronized
     } AccessModifier;
 
     bool mUseStdout;
@@ -257,6 +258,7 @@
   void genTypeItemClass(Context &C, const RSExportRecordType *ERT);
   void genTypeClassConstructor(Context &C, const RSExportRecordType *ERT);
   void genTypeClassCopyToArray(Context &C, const RSExportRecordType *ERT);
+  void genTypeClassCopyToArrayLocal(Context &C, const RSExportRecordType *ERT);
   void genTypeClassItemSetter(Context &C, const RSExportRecordType *ERT);
   void genTypeClassItemGetter(Context &C, const RSExportRecordType *ERT);
   void genTypeClassComponentSetter(Context &C, const RSExportRecordType *ERT);