public static SCNSceneAttribute valueOf(NSString value) {
   for (SCNSceneAttribute v : values) {
     if (v.value().equals(value)) {
       return v;
     }
   }
   throw new IllegalArgumentException(
       "No constant with value "
           + value
           + " found in "
           + /*<name>*/ SCNSceneAttribute /*</name>*/.class.getName());
 }
 @MarshalsPointer
 public static long toNative(SCNSceneAttribute o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
 @MarshalsPointer
 public static SCNSceneAttribute toObject(
     Class<SCNSceneAttribute> cls, long handle, long flags) {
   NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags);
   if (o == null) {
     return null;
   }
   return SCNSceneAttribute.valueOf(o);
 }