com.apple.internal.jobjc.generator.ClassGenerator Java Examples
The following examples show how to use
com.apple.internal.jobjc.generator.ClassGenerator.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Framework.java From dragonwell8_jdk with GNU General Public License v2.0 | 6 votes |
public Framework(final String name, final File bsFile) { super(name, null); try { final File pathf = bsFile.getCanonicalFile().getParentFile().getParentFile().getParentFile(); path = pathf.getParentFile().getParentFile().getCanonicalPath(); } catch (IOException x) { throw new RuntimeException(x); } binaries = findBinaries(path, name); pkg = ClassGenerator.JOBJC_PACKAGE + "." + name.toLowerCase(); try { rootNode = (Node)XPATH.evaluate("signatures", new InputSource(bsFile.getAbsolutePath()), XPathConstants.NODE); } catch (final XPathExpressionException e) { throw new RuntimeException(e); } protocols = new ArrayList<Protocol>(); categories = new ArrayList<Category>(); }
Example #2
Source File: Framework.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
public Framework(final String name, final File bsFile) { super(name, null); try { final File pathf = bsFile.getCanonicalFile().getParentFile().getParentFile().getParentFile(); path = pathf.getParentFile().getParentFile().getCanonicalPath(); } catch (IOException x) { throw new RuntimeException(x); } binaries = findBinaries(path, name); pkg = ClassGenerator.JOBJC_PACKAGE + "." + name.toLowerCase(); try { rootNode = (Node)XPATH.evaluate("signatures", new InputSource(bsFile.getAbsolutePath()), XPathConstants.NODE); } catch (final XPathExpressionException e) { throw new RuntimeException(e); } protocols = new ArrayList<Protocol>(); categories = new ArrayList<Category>(); }
Example #3
Source File: Framework.java From hottub with GNU General Public License v2.0 | 6 votes |
public Framework(final String name, final File bsFile) { super(name, null); try { final File pathf = bsFile.getCanonicalFile().getParentFile().getParentFile().getParentFile(); path = pathf.getParentFile().getParentFile().getCanonicalPath(); } catch (IOException x) { throw new RuntimeException(x); } binaries = findBinaries(path, name); pkg = ClassGenerator.JOBJC_PACKAGE + "." + name.toLowerCase(); try { rootNode = (Node)XPATH.evaluate("signatures", new InputSource(bsFile.getAbsolutePath()), XPathConstants.NODE); } catch (final XPathExpressionException e) { throw new RuntimeException(e); } protocols = new ArrayList<Protocol>(); categories = new ArrayList<Category>(); }
Example #4
Source File: Framework.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
public Framework(final String name, final File bsFile) { super(name, null); try { final File pathf = bsFile.getCanonicalFile().getParentFile().getParentFile().getParentFile(); path = pathf.getParentFile().getParentFile().getCanonicalPath(); } catch (IOException x) { throw new RuntimeException(x); } binaries = findBinaries(path, name); pkg = ClassGenerator.JOBJC_PACKAGE + "." + name.toLowerCase(); try { rootNode = (Node)XPATH.evaluate("signatures", new InputSource(bsFile.getAbsolutePath()), XPathConstants.NODE); } catch (final XPathExpressionException e) { throw new RuntimeException(e); } protocols = new ArrayList<Protocol>(); categories = new ArrayList<Category>(); }
Example #5
Source File: Framework.java From jdk8u-jdk with GNU General Public License v2.0 | 6 votes |
public Framework(final String name, final File bsFile) { super(name, null); try { final File pathf = bsFile.getCanonicalFile().getParentFile().getParentFile().getParentFile(); path = pathf.getParentFile().getParentFile().getCanonicalPath(); } catch (IOException x) { throw new RuntimeException(x); } binaries = findBinaries(path, name); pkg = ClassGenerator.JOBJC_PACKAGE + "." + name.toLowerCase(); try { rootNode = (Node)XPATH.evaluate("signatures", new InputSource(bsFile.getAbsolutePath()), XPathConstants.NODE); } catch (final XPathExpressionException e) { throw new RuntimeException(e); } protocols = new ArrayList<Protocol>(); categories = new ArrayList<Category>(); }
Example #6
Source File: Framework.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
public Framework(final String name, final File bsFile) { super(name, null); try { final File pathf = bsFile.getCanonicalFile().getParentFile().getParentFile().getParentFile(); path = pathf.getParentFile().getParentFile().getCanonicalPath(); } catch (IOException x) { throw new RuntimeException(x); } binaries = findBinaries(path, name); pkg = ClassGenerator.JOBJC_PACKAGE + "." + name.toLowerCase(); try { rootNode = (Node)XPATH.evaluate("signatures", new InputSource(bsFile.getAbsolutePath()), XPathConstants.NODE); } catch (final XPathExpressionException e) { throw new RuntimeException(e); } protocols = new ArrayList<Protocol>(); categories = new ArrayList<Category>(); }
Example #7
Source File: Framework.java From jdk8u_jdk with GNU General Public License v2.0 | 6 votes |
public Framework(final String name, final File bsFile) { super(name, null); try { final File pathf = bsFile.getCanonicalFile().getParentFile().getParentFile().getParentFile(); path = pathf.getParentFile().getParentFile().getCanonicalPath(); } catch (IOException x) { throw new RuntimeException(x); } binaries = findBinaries(path, name); pkg = ClassGenerator.JOBJC_PACKAGE + "." + name.toLowerCase(); try { rootNode = (Node)XPATH.evaluate("signatures", new InputSource(bsFile.getAbsolutePath()), XPathConstants.NODE); } catch (final XPathExpressionException e) { throw new RuntimeException(e); } protocols = new ArrayList<Protocol>(); categories = new ArrayList<Category>(); }
Example #8
Source File: Framework.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
public Framework(final String name, final File bsFile) { super(name, null); try { final File pathf = bsFile.getCanonicalFile().getParentFile().getParentFile().getParentFile(); path = pathf.getParentFile().getParentFile().getCanonicalPath(); } catch (IOException x) { throw new RuntimeException(x); } binaries = findBinaries(path, name); pkg = ClassGenerator.JOBJC_PACKAGE + "." + name.toLowerCase(); try { rootNode = (Node)XPATH.evaluate("signatures", new InputSource(bsFile.getAbsolutePath()), XPathConstants.NODE); } catch (final XPathExpressionException e) { throw new RuntimeException(e); } protocols = new ArrayList<Protocol>(); categories = new ArrayList<Category>(); }
Example #9
Source File: Framework.java From jdk8u-jdk with GNU General Public License v2.0 | 6 votes |
public Framework(final String name, final File bsFile) { super(name, null); try { final File pathf = bsFile.getCanonicalFile().getParentFile().getParentFile().getParentFile(); path = pathf.getParentFile().getParentFile().getCanonicalPath(); } catch (IOException x) { throw new RuntimeException(x); } binaries = findBinaries(path, name); pkg = ClassGenerator.JOBJC_PACKAGE + "." + name.toLowerCase(); try { rootNode = (Node)XPATH.evaluate("signatures", new InputSource(bsFile.getAbsolutePath()), XPathConstants.NODE); } catch (final XPathExpressionException e) { throw new RuntimeException(e); } protocols = new ArrayList<Protocol>(); categories = new ArrayList<Category>(); }
Example #10
Source File: Framework.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
public Framework(final String name, final File bsFile) { super(name, null); try { final File pathf = bsFile.getCanonicalFile().getParentFile().getParentFile().getParentFile(); path = pathf.getParentFile().getParentFile().getCanonicalPath(); } catch (IOException x) { throw new RuntimeException(x); } binaries = findBinaries(path, name); pkg = ClassGenerator.JOBJC_PACKAGE + "." + name.toLowerCase(); try { rootNode = (Node)XPATH.evaluate("signatures", new InputSource(bsFile.getAbsolutePath()), XPathConstants.NODE); } catch (final XPathExpressionException e) { throw new RuntimeException(e); } protocols = new ArrayList<Protocol>(); categories = new ArrayList<Category>(); }
Example #11
Source File: Framework.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 6 votes |
public Framework(final String name, final File bsFile) { super(name, null); try { final File pathf = bsFile.getCanonicalFile().getParentFile().getParentFile().getParentFile(); path = pathf.getParentFile().getParentFile().getCanonicalPath(); } catch (IOException x) { throw new RuntimeException(x); } binaries = findBinaries(path, name); pkg = ClassGenerator.JOBJC_PACKAGE + "." + name.toLowerCase(); try { rootNode = (Node)XPATH.evaluate("signatures", new InputSource(bsFile.getAbsolutePath()), XPathConstants.NODE); } catch (final XPathExpressionException e) { throw new RuntimeException(e); } protocols = new ArrayList<Protocol>(); categories = new ArrayList<Category>(); }
Example #12
Source File: Framework.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
public Framework(final String name, final File bsFile) { super(name, null); try { final File pathf = bsFile.getCanonicalFile().getParentFile().getParentFile().getParentFile(); path = pathf.getParentFile().getParentFile().getCanonicalPath(); } catch (IOException x) { throw new RuntimeException(x); } binaries = findBinaries(path, name); pkg = ClassGenerator.JOBJC_PACKAGE + "." + name.toLowerCase(); try { rootNode = (Node)XPATH.evaluate("signatures", new InputSource(bsFile.getAbsolutePath()), XPathConstants.NODE); } catch (final XPathExpressionException e) { throw new RuntimeException(e); } protocols = new ArrayList<Protocol>(); categories = new ArrayList<Category>(); }
Example #13
Source File: RootJObjCClass.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 4 votes |
public RootJObjCClass(final List<Framework> frameworks) { super(ClassGenerator.JOBJC_PACKAGE, JOBJC_CLASSNAME, "java.lang.Object"); this.frameworks = frameworks; }
Example #14
Source File: JObjCClassClassFile.java From jdk8u-jdk with GNU General Public License v2.0 | 4 votes |
public JObjCClassClassFile(final Clazz clazz) { super(clazz, clazz.name + "Class", clazz.superClass != null ? clazz.superClass.getFullPath() + "Class" : ClassGenerator.JOBJC_PACKAGE + ".NSClass<" + clazz.name + ">"); }
Example #15
Source File: JObjCClassClassFile.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
public JObjCClassClassFile(final Clazz clazz) { super(clazz, clazz.name + "Class", clazz.superClass != null ? clazz.superClass.getFullPath() + "Class" : ClassGenerator.JOBJC_PACKAGE + ".NSClass<" + clazz.name + ">"); }
Example #16
Source File: MixedPrimitiveCoderClassFile.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 4 votes |
public MixedPrimitiveCoderClassFile(final Collection<MixedEncodingDescriptor> coderDescs) { super(ClassGenerator.JOBJC_PACKAGE, MULTI_CODER_CLASSNAME, "java.lang.Object"); this.coderDescs = coderDescs; }
Example #17
Source File: MixedPrimitiveCoderClassFile.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
public MixedPrimitiveCoderClassFile(final Collection<MixedEncodingDescriptor> coderDescs) { super(ClassGenerator.JOBJC_PACKAGE, MULTI_CODER_CLASSNAME, "java.lang.Object"); this.coderDescs = coderDescs; }
Example #18
Source File: RootJObjCClass.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
public RootJObjCClass(final List<Framework> frameworks) { super(ClassGenerator.JOBJC_PACKAGE, JOBJC_CLASSNAME, "java.lang.Object"); this.frameworks = frameworks; }
Example #19
Source File: JObjCClassClassFile.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 4 votes |
public JObjCClassClassFile(final Clazz clazz) { super(clazz, clazz.name + "Class", clazz.superClass != null ? clazz.superClass.getFullPath() + "Class" : ClassGenerator.JOBJC_PACKAGE + ".NSClass<" + clazz.name + ">"); }
Example #20
Source File: JObjCClassClassFile.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public JObjCClassClassFile(final Clazz clazz) { super(clazz, clazz.name + "Class", clazz.superClass != null ? clazz.superClass.getFullPath() + "Class" : ClassGenerator.JOBJC_PACKAGE + ".NSClass<" + clazz.name + ">"); }
Example #21
Source File: MixedPrimitiveCoderClassFile.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public MixedPrimitiveCoderClassFile(final Collection<MixedEncodingDescriptor> coderDescs) { super(ClassGenerator.JOBJC_PACKAGE, MULTI_CODER_CLASSNAME, "java.lang.Object"); this.coderDescs = coderDescs; }
Example #22
Source File: RootJObjCClass.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public RootJObjCClass(final List<Framework> frameworks) { super(ClassGenerator.JOBJC_PACKAGE, JOBJC_CLASSNAME, "java.lang.Object"); this.frameworks = frameworks; }
Example #23
Source File: RootJObjCClass.java From jdk8u-jdk with GNU General Public License v2.0 | 4 votes |
public RootJObjCClass(final List<Framework> frameworks) { super(ClassGenerator.JOBJC_PACKAGE, JOBJC_CLASSNAME, "java.lang.Object"); this.frameworks = frameworks; }
Example #24
Source File: JObjCClassClassFile.java From jdk8u_jdk with GNU General Public License v2.0 | 4 votes |
public JObjCClassClassFile(final Clazz clazz) { super(clazz, clazz.name + "Class", clazz.superClass != null ? clazz.superClass.getFullPath() + "Class" : ClassGenerator.JOBJC_PACKAGE + ".NSClass<" + clazz.name + ">"); }
Example #25
Source File: MixedPrimitiveCoderClassFile.java From jdk8u_jdk with GNU General Public License v2.0 | 4 votes |
public MixedPrimitiveCoderClassFile(final Collection<MixedEncodingDescriptor> coderDescs) { super(ClassGenerator.JOBJC_PACKAGE, MULTI_CODER_CLASSNAME, "java.lang.Object"); this.coderDescs = coderDescs; }
Example #26
Source File: MixedPrimitiveCoderClassFile.java From jdk8u-jdk with GNU General Public License v2.0 | 4 votes |
public MixedPrimitiveCoderClassFile(final Collection<MixedEncodingDescriptor> coderDescs) { super(ClassGenerator.JOBJC_PACKAGE, MULTI_CODER_CLASSNAME, "java.lang.Object"); this.coderDescs = coderDescs; }
Example #27
Source File: RootJObjCClass.java From jdk8u_jdk with GNU General Public License v2.0 | 4 votes |
public RootJObjCClass(final List<Framework> frameworks) { super(ClassGenerator.JOBJC_PACKAGE, JOBJC_CLASSNAME, "java.lang.Object"); this.frameworks = frameworks; }
Example #28
Source File: MixedPrimitiveCoderClassFile.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
public MixedPrimitiveCoderClassFile(final Collection<MixedEncodingDescriptor> coderDescs) { super(ClassGenerator.JOBJC_PACKAGE, MULTI_CODER_CLASSNAME, "java.lang.Object"); this.coderDescs = coderDescs; }
Example #29
Source File: JObjCClassClassFile.java From dragonwell8_jdk with GNU General Public License v2.0 | 4 votes |
public JObjCClassClassFile(final Clazz clazz) { super(clazz, clazz.name + "Class", clazz.superClass != null ? clazz.superClass.getFullPath() + "Class" : ClassGenerator.JOBJC_PACKAGE + ".NSClass<" + clazz.name + ">"); }
Example #30
Source File: MixedPrimitiveCoderClassFile.java From dragonwell8_jdk with GNU General Public License v2.0 | 4 votes |
public MixedPrimitiveCoderClassFile(final Collection<MixedEncodingDescriptor> coderDescs) { super(ClassGenerator.JOBJC_PACKAGE, MULTI_CODER_CLASSNAME, "java.lang.Object"); this.coderDescs = coderDescs; }