Browse Source

JavaNativeModule: Allow ZenMethod annotation to be used alongside the others

kindlich 4 years ago
parent
commit
5d07a9331d
No known key found for this signature in database

+ 0
- 1
JavaIntegration/src/main/java/org/openzen/zencode/java/JavaNativeModule.java View File

400
 				MethodMember member = asMethod(context, definition, method, methodAnnotation);
400
 				MethodMember member = asMethod(context, definition, method, methodAnnotation);
401
 				definition.addMember(member);
401
 				definition.addMember(member);
402
 				compiled.setMethodInfo(member, getMethod(javaClass, method, member.header.getReturnType()));
402
 				compiled.setMethodInfo(member, getMethod(javaClass, method, member.header.getReturnType()));
403
-				continue;
404
 			}
403
 			}
405
 
404
 
406
 			ZenCodeType.Getter getter = method.getAnnotation(ZenCodeType.Getter.class);
405
 			ZenCodeType.Getter getter = method.getAnnotation(ZenCodeType.Getter.class);

Loading…
Cancel
Save