try {
getter = MethodHandles.publicLookup().unreflect(identifier.getMethod(getterName)).asType(OBJECT_METHOD);
} catch (IllegalAccessException | NoSuchMethodException | SecurityException e) {
- throw new IllegalStateException(String.format("Cannot find method %s in class %s", getterName, identifier), e);
+ throw new IllegalStateException(
+ String.format("Cannot find method %s in class %s", getterName, identifier), e);
}
this.identifier = identifier;
codec = leaf.getValueCodec();
* - input object
* @return serialized invoked object
*/
+ @SuppressWarnings("checkstyle:illegalCatch")
public Object getAndSerialize(final Object obj) {
final Object value;
try {