com.github.datalking.common.meta.StandardClassMetadata Maven / Gradle / Ivy
package com.github.datalking.common.meta;
/**
* 类的元数据 默认实现类
*
* @author yaoo on 4/13/18
*/
public class StandardClassMetadata implements ClassMetadata {
private final Class> introspectedClass;
public StandardClassMetadata(Class> introspectedClass) {
this.introspectedClass = introspectedClass;
}
public final Class> getIntrospectedClass() {
return this.introspectedClass;
}
@Override
public String getClassName() {
return this.introspectedClass.getName();
}
@Override
public boolean isInterface() {
return this.introspectedClass.isInterface();
}
@Override
public boolean isAnnotation() {
return this.introspectedClass.isAnnotation();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy