Skip to content

ignore synthetic method when try to find ThriftEnumValue method#141

Open
Branhub wants to merge 1 commit into
airlift:masterfrom
Branhub:fix/enum-value-not-ignore-bridge
Open

ignore synthetic method when try to find ThriftEnumValue method#141
Branhub wants to merge 1 commit into
airlift:masterfrom
Branhub:fix/enum-value-not-ignore-bridge

Conversation

@Branhub
Copy link
Copy Markdown

@Branhub Branhub commented Apr 16, 2026

if an enum implements a generic interface ,and the interface has a method that return the generic type,and that method is annotated with @ThriftEnumValue,then an exception will be thrown.That is because the bridge method is also annotated with @ThriftEnumValue but the bridge method's return type is Object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant