@Documented @Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) public @interface NoOffset
Generator applies offsetof() to all member variables.
For each value returned Loader.putMemberOffset(String, String, int)
gets called, allowing to query efficiently those values from Java at a later
point by calling Loader.offsetof(Class, String). However, this is
only guaranteed to work on plain old data (POD) struct. To prevent
the C++ compiler from complaining in other cases, we can add this annotation
to the peer class declaration.GeneratorCopyright © 2025. All rights reserved.