Lines Matching refs:Class
60 public ObjectStreamField(String name, Class<?> cl) {
67 this.type = new WeakReference<Class<?>>(cl);
85 public ObjectStreamField(String name, Class<?> cl, boolean unshared) {
92 this.type = (cl.getClassLoader() == null) ? cl : new WeakReference<Class<?>>(cl);
164 * @return A Class object representing the type of the field
167 /* package */ Class<?> getTypeInternal() {
169 return (Class<?>) ((WeakReference<?>) type).get();
171 return (Class<?>) type;
177 * @return a {@code Class} object representing the type of the field.
179 public Class<?> getType() {
180 Class<?> cl = getTypeInternal();
210 private char typeCodeOf(Class<?> type) {
246 Class<?> t = getTypeInternal();
261 Class<?> t = getTypeInternal();
266 Class<?> t = getTypeInternal();
311 Class<?> cl = Class.forName(className, false, loader);
312 type = (cl.getClassLoader() == null) ? cl : new WeakReference<Class<?>>(cl);