Package: org.codehaus.groovy.tools.javac

## [Java] Class MemJavaFileObject

- org.codehaus.groovy.tools.javac.MemJavaFileObject

- Represents a Java source file in memory to compile

  Since:
    3.0.0

- - ### Constructor Summary

    Constructors
    Constructor and description
    `MemJavaFileObject (ClassNode classNode, String src)` Construct a MemJavaFileObject instance with given groovy class node and stub source code

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `boolean` | `equals(Object o)`
    `` | `CharSequence` | `getCharContent(boolean ignoreEncodingErrors)`
    `` | `int` | `hashCode()`
    `` | `String` | `toString()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class SimpleJavaFileObject` | `toString, getName, delete, toUri, openOutputStream, getLastModified, openInputStream, getKind, openReader, openWriter, getCharContent, getNestingKind, getAccessLevel, isNameCompatible, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

    - #### public MemJavaFileObject(ClassNode classNode, String src)

      Construct a MemJavaFileObject instance with given groovy class node and stub source code

      Parameters:
        `classNode` - the groovy class node
        `src` - the stub source code

  - ### Method Detail

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public boolean equals(Object o)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public CharSequence getCharContent(boolean ignoreEncodingErrors)

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public int hashCode()

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public String toString()