Package org.codehaus.groovy.tools
Class GroovyClass
java.lang.Object
org.codehaus.groovy.tools.GroovyClass
Holds the binary form of a compiled Groovy class.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EMPTY_ARRAY
Shared empty array instance.
-
-
Constructor Details
-
GroovyClass
Creates a compiled-class holder.- Parameters:
name- the binary class namebytes- the compiled class bytes
-
-
Method Details
-
getName
Returns the binary class name.- Returns:
- the class name
-
getBytes
public byte[] getBytes()Returns the compiled class bytes.- Returns:
- the class bytes
-