int function ( int arg0 , Class arg1 , String arg2 ) { synchronized ( LuaStateFactory . getExistingState ( arg0 ) ) { int loc0 ; loc0 = checkField ( arg0 , arg1 , arg2 ) ; if ( loc0 != 0 ) { return 1 ; } loc0 = checkMethod ( arg0 , arg1 , arg2 ) ; if ( loc0 != 0 ) { return 2 ; } return 0 ; } }
java function to be called when a java class metamethod __ index is called . this function returns 1 if there is a field with searchname and 2 if there is a method if the searchname concode_field_sep PlaceHolder placeHolder concode_field_sep int javaLoadLib concode_elem_sep Object getObjInstance concode_elem_sep int javaNewInstance concode_elem_sep int createProxyObject concode_elem_sep int objectIndex concode_elem_sep int checkField concode_elem_sep int javaNew concode_elem_sep Object compareTypes concode_elem_sep int checkMethod