Searched refs:Factory (Results 1 - 25 of 55) sorted by relevance

123

/openjdk7/hotspot/test/compiler/6837094/
H A DTest.java30 * @run main/othervm -Xbatch -XX:CompileOnly=Test.collectIs,Test$Factory$1.getArray,Test$Factory$2.getArray Test
38 private interface Factory<M extends Interface> { interface in class:Test
39 Factory<Child0> Zero = new Factory<Child0>() {
43 Factory<Child1> One = new Factory<Child1>() {
58 Factory<I> factory, Set<Interface> s) {
71 collectIs(Factory.Zero, s);
72 collectIs(Factory
[all...]
/openjdk7/jdk/test/java/lang/Boolean/
H A DFactory.java30 public class Factory { class
/openjdk7/jdk/src/share/classes/sun/security/smartcardio/
H A DSunPCSC.java46 put("TerminalFactory.PC/SC", "sun.security.smartcardio.SunPCSC$Factory");
52 public static final class Factory extends TerminalFactorySpi { class in class:SunPCSC
53 public Factory(Object obj) throws PCSCException { method in class:SunPCSC.Factory
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DContext.java79 * context.put(phaseKey, new Context.Factory<Phase>() {
110 public static interface Factory<T> { interface in class:Context
118 * Key<T> -> T or Key<T> -> Factory<T> */
122 public <T> void put(Key<T> key, Factory<T> fac) {
133 if (data instanceof Factory<?>)
134 throw new AssertionError("T extends Context.Factory");
137 if (old != null && !(old instanceof Factory<?>) && old != data && data != null)
145 if (o instanceof Factory<?>) {
146 Factory<?> fac = (Factory<
[all...]
H A DJCDiagnostic.java51 public static class Factory { class in class:JCDiagnostic
53 protected static final Context.Key<JCDiagnostic.Factory> diagnosticFactoryKey =
54 new Context.Key<JCDiagnostic.Factory>();
56 /** Get the Factory instance for this context. */
57 public static Factory instance(Context context) {
58 Factory instance = context.get(diagnosticFactoryKey);
60 instance = new Factory(context);
69 protected Factory(Context context) { method in class:JCDiagnostic.Factory
79 public Factory(JavacMessages messages, String prefix) { method in class:JCDiagnostic.Factory
H A DAbstractLog.java48 AbstractLog(JCDiagnostic.Factory diags) {
251 /** Factory for diagnostics
253 protected JCDiagnostic.Factory diags;
/openjdk7/langtools/test/tools/javac/generics/inference/6365166/
H A DNewTest.java47 public <L extends List<? super A>,LF extends Factory<L>> L addOrCreate4(B b,L l,LF lf) {
55 public static class ListFactory<T> implements Factory<List<T>>{
60 public static interface Factory<T> { interface in class:NewTest
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/util/
H A DBark.java52 context.put(barkKey, new Context.Factory<Bark>() {
57 context.put(Log.logKey, new Context.Factory<Log>() {
77 * Factory for APT-specific diagnostics.
79 private JCDiagnostic.Factory aptDiags;
92 aptDiags = new JCDiagnostic.Factory(aptMessages, "apt");
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DJavadocTodo.java38 context.put(todoKey, new Context.Factory<Todo>() {
H A DJavadocClassReader.java48 context.put(classReaderKey, new Context.Factory<ClassReader>() {
H A DJavadocEnter.java51 context.put(enterKey, new Context.Factory<Enter>() {
H A DJavadocMemberEnter.java50 context.put(memberEnterKey, new Context.Factory<MemberEnter>() {
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/
H A DClassReader.java41 ClassReader(ClassFile classFile, InputStream in, Attribute.Factory attributeFactory) throws IOException {
108 private Attribute.Factory attributeFactory;
H A DClassFile.java46 return read(file, new Attribute.Factory());
49 public static ClassFile read(File file, Attribute.Factory attributeFactory)
65 return new ClassFile(in, new Attribute.Factory());
68 public static ClassFile read(InputStream in, Attribute.Factory attributeFactory)
73 ClassFile(InputStream in, Attribute.Factory attributeFactory) throws IOException, ConstantPoolException {
H A DAttribute.java66 public static class Factory { class in class:Attribute
67 public Factory() { method in class:Attribute.Factory
/openjdk7/jdk/test/java/rmi/transport/pinClientSocketFactory/
H A DPinClientSocketFactory.java64 public interface Factory extends Remote { interface in class:PinClientSocketFactory
72 private static class FactoryImpl implements Factory {
90 Factory factoryImpl = new FactoryImpl();
91 Factory factoryStub =
92 (Factory) UnicastRemoteObject.exportObject(factoryImpl, 0);
/openjdk7/jdk/test/java/util/ResourceBundle/Control/
H A DControlFactoryTest.java38 private static interface Factory { interface in class:ControlFactoryTest
47 testControlFactory(new Factory() {
55 testControlFactory(new Factory() {
67 private static void testControlFactory(Factory factory, Locale loc) {
98 private static void testGetControl(Factory factory,
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/
H A DCacheFSInfo.java47 * Register a Context.Factory to create a CacheFSInfo.
50 context.put(FSInfo.class, new Context.Factory<FSInfo>() {
/openjdk7/langtools/test/tools/javac/api/
H A DTestJavacTaskScanner.java70 new MyScanner.Factory(task.getContext(), this));
174 public static class Factory extends ScannerFactory { class in class:MyScanner
175 public Factory(Context context, TestJavacTaskScanner test) { method in class:MyScanner.Factory
/openjdk7/langtools/test/tools/javac/util/context/
H A DT7021650.java68 context.put(JavaFileManager.class, new Context.Factory<JavaFileManager>() {
127 context.put(Demo.class, new Context.Factory<Demo>() {
149 context.put(attrKey, new Context.Factory<Attr>() {
/openjdk7/langtools/test/tools/javac/diags/
H A DArgTypeCompilerFactory.java49 class ArgTypeCompilerFactory implements Example.Compiler.Factory {
244 context.put(compilerKey, new Context.Factory<JavaCompiler>() {
267 context.put(JavacMessages.messagesKey, new Context.Factory<JavacMessages>() {
/openjdk7/langtools/test/tools/javac/types/
H A DTypeHarness.java75 protected Factory fac;
84 fac = new Factory();
248 public class Factory { class in class:TypeHarness
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/
H A DXMLSerializerMessages_de.properties43 MethodNotSupported = Methode "{0}" wird von dieser Factory nicht unterst\u00FCtzt.
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/
H A DToken.java112 Factory = 47, // 2.4rtf only field in class:Token
278 Last24rtfKeyword = Factory;
/openjdk7/jdk/src/share/classes/java/lang/invoke/
H A DBoundMethodHandle.java372 this.constructor = Factory.makeCtors(clazz, types, null);
373 this.getters = Factory.makeGetters(clazz, types, null);
381 Factory.makeCtors(clazz, types, this.constructor);
382 Factory.makeGetters(clazz, types, this.getters);
423 Factory.generateConcreteBMHClass(types);
460 SpeciesData d = Factory.speciesDataFromConcreteBMHClass(cbmh);
495 static class Factory { class in class:BoundMethodHandle

Completed in 151 milliseconds

123