本文整理了Java中serp.bytecode.BCClass.isInstanceOf()
方法的一些代码示例,展示了BCClass.isInstanceOf()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。BCClass.isInstanceOf()
方法的具体详情如下:
包路径:serp.bytecode.BCClass
类名称:BCClass
方法名:isInstanceOf
[英]Return true if this class or any of its superclasses implement/extend the given interface/class. This method does not recurse into interfaces-of-interfaces.
[中]如果此类或其任何超类实现/扩展给定接口/类,则返回true。此方法不会递归到接口的接口中。
代码示例来源:origin: org.apache.openjpa/openjpa-all
/**
* Return true if this class or any of its superclasses implement/extend
* the given interface/class.
* This method does not recurse into interfaces-of-interfaces.
*/
public boolean isInstanceOf(Class type) {
if (type == null)
return false;
return isInstanceOf(type.getName());
}
代码示例来源:origin: net.sourceforge.serp/serp
/**
* Return true if this class or any of its superclasses implement/extend
* the given interface/class.
* This method does not recurse into interfaces-of-interfaces.
*/
public boolean isInstanceOf(Class type) {
if (type == null)
return false;
return isInstanceOf(type.getName());
}
代码示例来源:origin: org.apache.openjpa/openjpa-all
/**
* Return true if this class or any of its superclasses implement/extend
* the given interface/class.
* This method does not recurse into interfaces-of-interfaces.
*/
public boolean isInstanceOf(BCClass type) {
if (type == null)
return false;
return isInstanceOf(type.getName());
}
代码示例来源:origin: net.sourceforge.serp/serp
/**
* Return true if this class or any of its superclasses implement/extend
* the given interface/class.
* This method does not recurse into interfaces-of-interfaces.
*/
public boolean isInstanceOf(BCClass type) {
if (type == null)
return false;
return isInstanceOf(type.getName());
}
代码示例来源:origin: org.apache.openjpa/openjpa-kernel
if (pc.isInstanceOf(PersistenceCapable.class) &&
!PersistenceCapable.class.isAssignableFrom(superclass))
throw new InternalException(
代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa
if (pc.isInstanceOf(PersistenceCapable.class) &&
!PersistenceCapable.class.isAssignableFrom(superclass))
throw new InternalException(
代码示例来源:origin: org.apache.openjpa/openjpa-all
if (pc.isInstanceOf(PersistenceCapable.class) &&
!PersistenceCapable.class.isAssignableFrom(superclass))
throw new InternalException(
代码示例来源:origin: org.apache.openejb.patch/openjpa-kernel
if (pc.isInstanceOf(PersistenceCapable.class) &&
!PersistenceCapable.class.isAssignableFrom(superclass))
throw new InternalException(
代码示例来源:origin: org.apache.openejb.patch/openjpa
if (pc.isInstanceOf(PersistenceCapable.class) &&
!PersistenceCapable.class.isAssignableFrom(superclass))
throw new InternalException(
内容来源于网络,如有侵权,请联系作者删除!