| 
				
			 | 
			
			
				
				@@ -385,6 +385,17 @@ public class JavaNativeModule { 
			 | 
		
		
	
		
			
			| 
				385
			 | 
			
				385
			 | 
			
			
				
				 		for (Method method : cls.getDeclaredMethods()) { 
			 | 
		
		
	
		
			
			| 
				386
			 | 
			
				386
			 | 
			
			
				
				 			ZenCodeType.Method methodAnnotation = method.getAnnotation(ZenCodeType.Method.class); 
			 | 
		
		
	
		
			
			| 
				387
			 | 
			
				387
			 | 
			
			
				
				 			if (methodAnnotation != null) { 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				388
			 | 
			
			
				
				+ 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				389
			 | 
			
			
				
				+				//Simple check if the method was overwritten 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				390
			 | 
			
			
				
				+				try { 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				391
			 | 
			
			
				
				+					if(!cls.getDeclaredMethod(method.getName(), method.getParameterTypes()).equals(method)) { 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				392
			 | 
			
			
				
				+						continue; 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				393
			 | 
			
			
				
				+					} 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				394
			 | 
			
			
				
				+				} catch (NoSuchMethodException e) { 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				395
			 | 
			
			
				
				+					e.printStackTrace(); 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				396
			 | 
			
			
				
				+					continue; 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				397
			 | 
			
			
				
				+				} 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				398
			 | 
			
			
				
				+ 
			 | 
		
		
	
		
			
			| 
				388
			 | 
			
				399
			 | 
			
			
				
				 				MethodMember member = asMethod(context, definition, method, methodAnnotation); 
			 | 
		
		
	
		
			
			| 
				389
			 | 
			
				400
			 | 
			
			
				
				 				definition.addMember(member); 
			 | 
		
		
	
		
			
			| 
				390
			 | 
			
				401
			 | 
			
			
				
				 				compiled.setMethodInfo(member, getMethod(javaClass, method, member.header.getReturnType())); 
			 |