Lines Matching refs:superClass
234 CtClass generateSubClass(Class<?> superClass, CtClass newInterface, SdkVersion sdkVersion)
236 if (classExists(FileUtils.getSubclassNameFor(superClass, sdkVersion))) {
238 return getClassPool().get(FileUtils.getSubclassNameFor(superClass, sdkVersion));
244 CtClass newClass = generateSkeletalClass(superClass, newInterface, sdkVersion);
252 addMethods(superClass, newClass);
255 addConstructors(newClass, superClass);
260 private void addConstructors(CtClass clazz, Class<?> superClass) throws ClassNotFoundException {
261 CtClass superCtClass = getCtClassForClass(superClass);
346 void addMethods(Class<?> superClass, CtClass newClass) {
347 Method[] methods = getAllMethods(superClass);
376 Class<?> superClass = clazz.getSuperclass();
377 if (superClass != null) {
378 methodMap.putAll(getAllMethodsMap(superClass));
452 CtClass generateSkeletalClass(Class<?> superClass, CtClass newInterface, SdkVersion sdkVersion)
455 CtClass superCtClass = getCtClassForClass(superClass);
456 String subclassName = FileUtils.getSubclassNameFor(superClass, sdkVersion);