Lines Matching refs:strClass
28 String strClass = type.getName();
31 if ("String".equals(strClass) || "java.lang.String".equals(strClass))
33 else if ("java.net.URL".equals(strClass)) {
41 else if ("short".equals(strClass) || "java.lang.Short".equals(strClass))
43 else if ("byte".equals(strClass) || "java.lang.Byte".equals(strClass))
45 else if ("int".equals(strClass) || "java.lang.Integer".equals(strClass))
48 else if ("long".equals(strClass) || "java.lang.Long".equals(strClass))
50 else if ("float".equals(strClass) || "java.lang.Float".equals(strClass))
52 else if ("double".equals(strClass) || "java.lang.Double".equals(strClass))
54 else if ("char".equals(strClass) || "java.lang.Character".equals(strClass))
56 else if ("boolean".equals(strClass) || "java.lang.Boolean".equals(strClass))
68 * @return Class Object specified by strClass
71 public static Class getClassFromString(String strClass) {
75 if ("short".equals(strClass))
77 else if ("byte".equals(strClass))
79 else if ("int".equals(strClass))
81 else if ("long".equals(strClass))
83 else if ("float".equals(strClass))
85 else if ("double".equals(strClass))
87 else if ("char".equals(strClass))
89 else if ("boolean".equals(strClass))
93 javaClass = Class.forName(strClass);