Searched refs:asSubclass (Results 1 - 23 of 23) sorted by relevance

/openjdk7/jdk/test/java/lang/Class/asSubclass/
H A DBasicUnit.java49 factory(Class.forName("MyInt").asSubclass(Int.class)).main();
/openjdk7/jdk/test/java/io/Serializable/subclassGC/
H A DSubclassGC.java57 loader).asSubclass(ObjectOutputStream.class);
/openjdk7/langtools/src/share/classes/javax/tools/
H A DToolProvider.java147 return c.asSubclass(clazz).newInstance();
165 return c.asSubclass(clazz);
/openjdk7/jdk/src/share/classes/java/rmi/activation/
H A DActivationID.java272 .asSubclass(RemoteRef.class);
H A DActivationGroup.java310 cl = cl0.asSubclass(ActivationGroup.class);
/openjdk7/langtools/test/tools/javac/processing/environment/round/
H A DTestElementsAnnotatedWith.java143 getElementsAnnotatedWith(Class.forName(name).asSubclass(Annotation.class));
/openjdk7/jdk/test/sun/rmi/rmic/minimizeWrapperInstances/
H A DTest.java39 Class.forName(PImpl.class.getName() + "_Stub").asSubclass(P.class);
/openjdk7/jdk/src/share/classes/java/rmi/server/
H A DRMIClassLoader.java683 .asSubclass(RMIClassLoaderSpi.class);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/jxc/apt/
H A DInlineAnnotationReaderImpl.java104 getClass().getClassLoader().loadClass(fullName).asSubclass(Annotation.class);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/
H A DClassFactory.java202 return impl.asSubclass(fieldType);
/openjdk7/jdk/src/share/classes/sun/rmi/server/
H A DActivationGroupImpl.java231 .asSubclass(Remote.class);
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/declaration/
H A DAnnotationProxyMaker.java238 runtimeType.asSubclass(Annotation.class);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/model/
H A DAnnotationProxyMaker.java238 returnClass.asSubclass(Annotation.class);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DBaseFileManager.java110 Class.forName(classLoaderClass).asSubclass(ClassLoader.class);
/openjdk7/jdk/src/share/classes/sun/rmi/log/
H A DReliableLog.java348 loader.loadClass(logClassName).asSubclass(LogFile.class);
/openjdk7/jdk/src/share/classes/java/lang/invoke/
H A DBoundMethodHandle.java459 final Class<? extends BoundMethodHandle> cbmh = c.asSubclass(BoundMethodHandle.class);
711 //UNSAFE.defineAnonymousClass(BoundMethodHandle.class, classFile, null).asSubclass(BoundMethodHandle.class);
712 UNSAFE.defineClass(className, classFile, 0, classFile.length).asSubclass(BoundMethodHandle.class);
/openjdk7/jdk/src/share/classes/sun/rmi/rmic/
H A DMain.java427 environmentClass = envClass.asSubclass(BatchEnvironment.class);
/openjdk7/jdk/src/share/classes/sun/invoke/util/
H A DValueConversions.java882 return Arrays.copyOf(a, length, arrayType.asSubclass(Object[].class));
890 res = Arrays.copyOf(NO_ARGS_ARRAY, length, arrayType.asSubclass(Object[].class));
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/io/
H A DValueHandlerImpl.java915 Class<? extends T> streamClass = clazz.asSubclass(type);
/openjdk7/jdk/src/share/classes/java/lang/
H A DClassLoader.java1237 Reflection.getCallerClass().asSubclass(ClassLoader.class);
H A DClass.java3112 public <U> Class<? extends U> asSubclass(Class<U> clazz) { method in class:Class
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DProxyClient.java207 serverStubClass = Class.forName(rmiServerImplStubClassName).asSubclass(Remote.class);
/openjdk7/jdk/test/java/lang/invoke/
H A DMethodHandlesTest.java2908 return Arrays.copyOf(a, a.length, arrayType.asSubclass(Object[].class));

Completed in 783 milliseconds