Created
July 2, 2019 04:23
-
-
Save chibenwa/577fcc7879d1108eea673833864c10f4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@JsonIgnore | |
@Override | |
public <T> List<T> resolve(ResultReferencesPath path, Class<T> clazz) { | |
Preconditions.checkArgument(path.getPath().equals("/messageIds"), "only messageIds is supported"); | |
ResultReferenceTypeMismatchException.assertValidTypes(MessageId.class, clazz); | |
return (List<T>) getMessageIds(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment