Represents a Java source file in memory to compile
Constructor and description |
---|
MemJavaFileObject
(org.codehaus.groovy.ast.ClassNode classNode, String src) Construct a MemJavaFileObject instance with given groovy class node and stub source code |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
equals(Object o) |
|
CharSequence |
getCharContent(boolean ignoreEncodingErrors) |
|
int |
hashCode() |
|
String |
toString() |
Methods inherited from class | Name |
---|---|
class SimpleJavaFileObject |
getCharContent, openWriter, isNameCompatible, getNestingKind, getAccessLevel, openOutputStream, getKind, openReader, toUri, getLastModified, toString, getName, delete, openInputStream, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Construct a MemJavaFileObject instance with given groovy class node and stub source code
classNode
- the groovy class nodesrc
- the stub source codeCopyright © 2003-2019 The Apache Software Foundation. All rights reserved.