I create some simple groovy classes, for example.
class Person {
int age
String name
}
which are used in a Java method that relies on reflection to pull out the properties of an object, for example. age and name. The problem is that metaClass is also displayed as a property. Updating the Java method to ignore this property is not an option. I tried to set the metaClass property to null, but that did not work.
source
share