/** * get base the property type. * @return the base type. * @see #getComplexType() */ public Class<?> getType() { //this object may be const, so weak reference , // even if the Class very likely exist loaded all the time. if(mWeakClass == null || mWeakClass.get() == null){ mWeakClass = new WeakReference<Class<?>>(getType0()); } return mWeakClass.get(); }
/** * get base the property type. * @return the base type. * @see #getComplexType() */ public Class<?> getType() { //this object may be const, so weak reference , // even if the Class very likely exist loaded all the time. if(mWeakClass == null || mWeakClass.get() == null){ mWeakClass = new WeakReference<Class<?>>(getType0()); } return mWeakClass.get(); }