Codota Logo
ForeignAccess$DelegatingFactory26
Code IndexAdd Codota to your IDE (free)

How to use
ForeignAccess$DelegatingFactory26
in
com.oracle.truffle.api.interop

Best Java code snippets using com.oracle.truffle.api.interop.ForeignAccess$DelegatingFactory26 (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: org.graalvm.truffle/truffle-api

/**
 * Creates new instance of {@link ForeignAccess} that delegates to provided factory.
 *
 * @param baseClass the super class of all {@link TruffleObject}s handled by this factory (if
 *            <code>null</code> then the second interface must also implement {@link Factory})
 * @param factory the factory that handles access requests to {@link Message}s known as of
 *            version 0.26
 * @return new instance wrapping <code>factory</code>
 * @since 0.26
 * @deprecated Use {@link StandardFactory} and
 *             {@link #create(java.lang.Class, com.oracle.truffle.api.interop.ForeignAccess.StandardFactory)}
 */
@Deprecated
public static ForeignAccess create(final Class<? extends TruffleObject> baseClass, final Factory26 factory) {
  if (baseClass == null) {
    Factory f = (Factory) factory;
    assert f != null;
  }
  return new ForeignAccess(new DelegatingFactory26(baseClass, factory));
}
origin: com.oracle.truffle/truffle-api

@Override
public CallTarget accessMessage(Message msg) {
  return accessMessage(factory, msg);
}
origin: org.graalvm.truffle/truffle-api

@Override
public CallTarget accessMessage(Message msg) {
  return accessMessage(factory, msg);
}
origin: com.oracle.truffle/truffle-api

/**
 * Creates new instance of {@link ForeignAccess} that delegates to provided factory.
 *
 * @param baseClass the super class of all {@link TruffleObject}s handled by this factory (if
 *            <code>null</code> then the second interface must also implement {@link Factory})
 * @param factory the factory that handles access requests to {@link Message}s known as of
 *            version 0.26
 * @return new instance wrapping <code>factory</code>
 * @since 0.26
 * @deprecated Use {@link StandardFactory} and
 *             {@link #create(java.lang.Class, com.oracle.truffle.api.interop.ForeignAccess.StandardFactory)}
 */
@Deprecated
public static ForeignAccess create(final Class<? extends TruffleObject> baseClass, final Factory26 factory) {
  if (baseClass == null) {
    Factory f = (Factory) factory;
    assert f != null;
  }
  return new ForeignAccess(new DelegatingFactory26(baseClass, factory));
}
origin: com.oracle.truffle/truffle-api

/**
 * Creates new instance of {@link ForeignAccess} that delegates to provided factory.
 *
 * @param factory the factory that handles access requests to {@link Message}s known as of
 *            version 0.26
 * @param languageCheck a {@link RootNode} that performs the language check on receiver objects,
 *            can be <code>null</code>, but then the factory must also implement {@link Factory}
 *            interface
 * @return new instance wrapping <code>factory</code>
 * @since 0.26
 * @deprecated Use {@link StandardFactory} and
 *             {@link #create(com.oracle.truffle.api.interop.ForeignAccess.StandardFactory, com.oracle.truffle.api.nodes.RootNode)
 *             its associated factory} method
 */
@Deprecated
public static ForeignAccess create(final Factory26 factory, final RootNode languageCheck) {
  if (languageCheck == null) {
    Factory f = (Factory) factory;
    assert f != null;
  }
  return new ForeignAccess(languageCheck, new DelegatingFactory26(null, factory));
}
origin: org.graalvm.truffle/truffle-api

/**
 * Creates new instance of {@link ForeignAccess} that delegates to provided factory.
 *
 * @param factory the factory that handles access requests to {@link Message}s known as of
 *            version 0.26
 * @param languageCheck a {@link RootNode} that performs the language check on receiver objects,
 *            can be <code>null</code>, but then the factory must also implement {@link Factory}
 *            interface
 * @return new instance wrapping <code>factory</code>
 * @since 0.26
 * @deprecated Use {@link StandardFactory} and
 *             {@link #create(com.oracle.truffle.api.interop.ForeignAccess.StandardFactory, com.oracle.truffle.api.nodes.RootNode)
 *             its associated factory} method
 */
@Deprecated
public static ForeignAccess create(final Factory26 factory, final RootNode languageCheck) {
  if (languageCheck == null) {
    Factory f = (Factory) factory;
    assert f != null;
  }
  return new ForeignAccess(
          languageCheck == null ? null : new RootNodeSupplier(languageCheck),
          new DelegatingFactory26(null, factory));
}
com.oracle.truffle.api.interopForeignAccess$DelegatingFactory26

Most used methods

  • <init>
  • accessMessage

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setRequestProperty (URLConnection)
  • getApplicationContext (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • ImageIO (javax.imageio)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now