Class JavaSourceFromString

java.lang.Object
javax.tools.SimpleJavaFileObject
net.openhft.compiler.JavaSourceFromString
All Implemented Interfaces:
FileObject, JavaFileObject

class JavaSourceFromString extends SimpleJavaFileObject
  • Field Details

    • code

      private final String code
      The source code of this "file".
  • Constructor Details

    • JavaSourceFromString

      JavaSourceFromString(@NotNull @NotNull String name, String code)
      Constructs a new JavaSourceFromString.
      Parameters:
      name - the name of the compilation unit represented by this file object
      code - the source code for the compilation unit represented by this file object
  • Method Details