Lines Matching refs:Primitive
6 use crate::{errors::*, objects::JObject, signature::Primitive, sys::*};
74 pub fn primitive_type(&self) -> Option<Primitive> { in primitive_type() argument
77 JValue::Void => Primitive::Void, in primitive_type()
78 JValue::Byte(_) => Primitive::Byte, in primitive_type()
79 JValue::Char(_) => Primitive::Char, in primitive_type()
80 JValue::Short(_) => Primitive::Short, in primitive_type()
81 JValue::Int(_) => Primitive::Int, in primitive_type()
82 JValue::Long(_) => Primitive::Long, in primitive_type()
83 JValue::Bool(_) => Primitive::Boolean, in primitive_type()
84 JValue::Float(_) => Primitive::Float, in primitive_type()
85 JValue::Double(_) => Primitive::Double, in primitive_type()