public interface EntityClassFinder extends Order
| Modifier and Type | Interface and Description |
|---|---|
static class |
EntityClassFinder.EntityClassFinderInstance
实例
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<Class<?>> |
find(Class<?> mapperType,
Method mapperMethod)
查找当前方法对应的实体类
|
Optional<Class<?>> |
findEntityClass(Class<?> mapperType,
Method mapperMethod)
查找当前方法对应的实体类
|
boolean |
isEntityClass(Class<?> clazz)
指定的类型是否为定义的实体类类型
|
static Optional<Class<?>> find(Class<?> mapperType, Method mapperMethod)
mapperType - Mapper 接口,不能为空mapperMethod - Mapper 接口方法,可以为空Optional<Class<?>> findEntityClass(Class<?> mapperType, Method mapperMethod)
mapperType - Mapper 接口,不能为空mapperMethod - Mapper 接口方法,可以为空boolean isEntityClass(Class<?> clazz)
clazz - 类型Copyright © 2022. All rights reserved.