Class NativeJavaScriptFile

java.lang.Object
com.google.j2cl.transpiler.backend.closure.NativeJavaScriptFile

public class NativeJavaScriptFile extends Object
NativeJavaScriptFile contains information about native javascript files that is used to output native code during the javascript generation stage.
  • Field Details

  • Constructor Details

    • NativeJavaScriptFile

      public NativeJavaScriptFile(String relativePath, String content)
  • Method Details

    • getRelativeFilePath

      public String getRelativeFilePath()
      Returns the path for the native file relative to the root.
    • getRelativePathWithoutExtension

      public String getRelativePathWithoutExtension()
    • getFullyQualifiedName

      public String getFullyQualifiedName()
      Returns the FQN if the filename appears to be of the form "..native.js".
    • getContent

      public String getContent()
    • toString

      public String toString()
      Overrides:
      toString in class Object