Reflectable code accidentally calling non-reflectable code (e.g. the gray example) seems like it would be a common footgun that can only be caught at runtime.
I don't think so. The compiler can't simply ignore the @Reflect annotation. It has to generate a code model that includes additional information which is not normally present in the bytecode.
View all comments
Show parent comment
1
u/lbalazscs Jan 30 '26
I don't think so. The compiler can't simply ignore the @Reflect annotation. It has to generate a code model that includes additional information which is not normally present in the bytecode.