Lines Matching refs:FieldType
221 template<typename FieldType>
222 FieldType getStaticFieldValue (JNIEnv* env, jclass cls, jfieldID fieldId);
268 template<typename FieldType>
269 FieldType getStaticField (JNIEnv* env, const char* className, const char* fieldName)
272 const jfieldID fieldId = env->GetStaticFieldID(cls, fieldName, getJNITypeStr<FieldType>());
277 return getStaticFieldValue<FieldType>(env, cls, fieldId);
282 template<typename FieldType>
283 FieldType getFieldValue (JNIEnv* env, jobject obj, jfieldID fieldId);
299 template<typename FieldType>
300 FieldType getField (JNIEnv* env, jobject obj, const char* fieldName)
303 const jfieldID fieldId = env->GetFieldID(cls, fieldName, getJNITypeStr<FieldType>());
308 return getFieldValue<FieldType>(env, obj, fieldId);