...
- does no longer extend ParameterTypes and does no longer implement Clonable
- no protected fields nativeParamTypes, parameterTypes and isVargsMethod
- the constructor MetaMethod() and MetaMethod(Class[]) are removed and partially replaced by DefaultMetaMethod(Class, String, int, MethodHandle) and DefaultMetaMethod(Class, String, MethodType), which uses the MethodType or the MethodHandle to define the parameter classes
coerceArgumentsToClasses(Object[]), correctArguments(Object[]), isValidExactMethod(Class[]), isValidExactMethod(Object[]), isValidMethod(Class[]), isValidMethod(Object[]), isVargsMethod(), isVargsMethod(Object[])
Status colour Red title no replacement - getNativeParameterTypes()replaced by getParameterClasses()
equal(CachedClass[], CachedClass[]), equal(CachedClass[], Class[]), checkParameters(Class[]), clone(), doMethodInvoke(Object, Object[]), getDescriptor()
Status colour Red title no replacement getDeclaringClass(), getModifiers(), getName(), getReturnType(), isAbstract(), isPrivate(), isProtected(), isPublic(), isStatic(), toString()
Status colour Green title unchanged - getMopName(), getSignature(), invoke(Object, Object[]), isCacheable(), isMethod(MetaMethod), isSame(MetaMethod), processDoMethodInvokeException(Exception, Object, Object[])
Status colour Red title no replacement
groovy.lang.MetaProperty is split into a public interface groovy.mop.MetaProperty and an internal default implementation groovy.mop.internal.DefaultMetaProperty.
Differences to groovy.mop.internal.DefaultMetaProperty:
the public static field PROPERTY_SET_PREFIX is removed
Status colour Red title no replacement - the protected fields name and type are now private and have to be requested through getName and getType
- getModifiers(), getName(), getType(), DefaultMetaProperty(String, Class)
Status colour Green title unchanged - getGetterName(String, Class), getSetterName(String)
Status colour Red title no replacement - getProperty(Object) replaced by getter(boolean)
- setProperty(Object, Object) replaced by setter(boolean)
Useful links
The work branch for this: https://github.com/groovy/groovy-core/tree/GROOVY_3_FEATURE
