public class GroovyVersion extends Object implements groovy.lang.GroovyObject
| Constructor and Description |
|---|
GroovyVersion() |
| Modifier and Type | Method and Description |
|---|---|
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
static String |
getVersion() |
Object |
invokeMethod(String method,
Object arguments) |
static boolean |
isGroovy1_6() |
static boolean |
isGroovy1_7() |
static boolean |
isGroovy1_8_OrGreater() |
static boolean |
isGroovy1_8() |
static boolean |
isGroovy2_x() |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectpublic static String getVersion()
public static boolean isGroovy1_8()
public static boolean isGroovy2_x()
public static boolean isGroovy1_8_OrGreater()
public static boolean isGroovy1_7()
public static boolean isGroovy1_6()
Copyright © 2021. All rights reserved.