Helper methods for Codec metaclass operations.
Type | Name and description |
---|---|
private static java.lang.String |
DECODE_PREFIX |
private static java.lang.Object[] |
EMPTY_ARGS |
private static java.lang.String |
ENCODE_AS_PREFIX |
Constructor and description |
---|
CodecMetaClassSupport
() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
addMetaMethod(java.util.List targetMetaClasses, java.lang.String methodName, Closure closure) |
|
void |
configureCodecMethods(CodecFactory codecFactory, boolean cacheLookup, java.util.List targetMetaClasses) Adds "encodeAs*" and "decode*" metamethods for given codecClass
|
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Adds "encodeAs*" and "decode*" metamethods for given codecClass
codecClass
- the codec class