/** * @return true, if clazz is an implementation of interface inter */ public static boolean implementationOf(String clazz, JavaClass inter) { return implementationOf(lookupClass(clazz), inter); } }
/** * @return true, if clazz is an implementation of interface inter * @throws ClassNotFoundException if inter or any superclasses * or superinterfaces of clazz can't be found */ public static boolean implementationOf( final JavaClass clazz, final String inter ) throws ClassNotFoundException { return implementationOf(clazz, lookupClass(inter)); }
/** * @return true, if clazz is an implementation of interface inter * @throws ClassNotFoundException if clazz or any superclasses or * superinterfaces of clazz can't be found */ public static boolean implementationOf( final String clazz, final JavaClass inter ) throws ClassNotFoundException { return implementationOf(lookupClass(clazz), inter); } }
/** * @return true, if clazz is an implementation of interface inter */ public static boolean implementationOf(JavaClass clazz, String inter) { return implementationOf(clazz, lookupClass(inter)); }
/** * @return true, if clazz is an implementation of interface inter */ public static boolean implementationOf(String clazz, String inter) { return implementationOf(lookupClass(clazz), lookupClass(inter)); }
/** * @return true, if clazz is an implementation of interface inter * @throws ClassNotFoundException if clazz, inter, or any superclasses * or superinterfaces of clazz can't be found */ public static boolean implementationOf( final String clazz, final String inter ) throws ClassNotFoundException { return implementationOf(lookupClass(clazz), lookupClass(inter)); }
if (Repository.implementationOf(((ObjectType) this).getClassName(), ((ObjectType) T).getClassName())) return true; if (Repository.implementationOf(((ObjectType) this).getClassName(), ((ObjectType) T).getClassName())) return true;
if (Repository.implementationOf(((ObjectType) this).getClassName(), ((ObjectType) T).getClassName())) { return true; return true; if (Repository.implementationOf(((ObjectType) this).getClassName(), ((ObjectType) T).getClassName())) { return true;