public Class<T> targetType() { return Generics.classOf(targetType); }
protected Class<ID_TYPE> idType() { return Generics.classOf(idType); }
protected Class<ID_TYPE> idType() { return Generics.classOf(idType); }
protected Class<MODEL_TYPE> modelType() { return Generics.classOf(modelType); }
public Class<T> targetType() { return Generics.classOf(targetType); }
protected Class<MODEL_TYPE> modelType() { return Generics.classOf(modelType); }
private void exploreTypes() { List<Type> types = Generics.typeParamImplementations(getClass(), DaoBase.class); int sz = types.size(); if (sz < 1) { return; } if (sz > 2) { queryType = types.get(2); queryClass = Generics.classOf(queryType); } if (sz > 1) { modelType = types.get(1); modelClass = Generics.classOf(modelType); } idType = types.get(0); idClass = Generics.classOf(idType); }
private void exploreTypes() { List<Type> types = Generics.typeParamImplementations(getClass(), ClassMetaInfoManager.class); infoType = Generics.classOf(types.get(0)); } }
private void exploreStageClass() { try { List<Type> types = Generics.typeParamImplementations(getClass(), Processor.class); if (types.size() > 1) { Type stageType = types.get(1); stageClass = Generics.classOf(stageType); } } catch (RuntimeException e) { stageClass = null; } } }
private void exploreTypes() { List<Type> types = Generics.typeParamImplementations(getClass(), DaoBase.class); int sz = types.size(); if (sz < 1) { return; } if (sz > 2) { queryType = types.get(2); queryClass = Generics.classOf(queryType); } if (sz > 1) { modelType = types.get(1); modelClass = Generics.classOf(modelType); } idType = types.get(0); idClass = Generics.classOf(idType); }
private void exploreTypes() { List<Type> types = Generics.typeParamImplementations(getClass(), ClassMetaInfoManager.class); infoType = Generics.classOf(types.get(0)); } }
private void exploreStageClass() { try { List<Type> types = Generics.typeParamImplementations(getClass(), Processor.class); if (types.size() > 1) { Type stageType = types.get(1); stageClass = Generics.classOf(stageType); } } catch (RuntimeException e) { stageClass = null; } } }