122123124125126127128129130131132
Handler handler; if (classDoc.isInterface()) { handler = new InterfaceHandler(generator); } else if (classDoc.isEnum()) { handler = new EnumHandler(generator); } else { handler = new ClassHandler(generator); } return handler;
124125126127128129130131132133134
127128129130131132133134135136137