Hi Adam, > I feel that it would be nicer, and perhaps more performant to directly > bind the values from the PermissionRequired annotation rather than the > annotation itself.
Yep, it would perform massively faster as the reflection is gone. > So my question is -- Should the above annotation value bindings be > possible for int values? The values themselves are final and static, > so should be able to be optimised by the compiler I guess. Yes, it should be possible for ints, however that isn't supported right now. A combination of things you want to do aren't supported right now: - you are using ints (support is only in place for enums and string values) - you are using multiple values of the same type (support is only in place for one value type at the moment). There is no real technical challenge in doing these, they just haven't been done yet due to time constraints. In the last line of the bug report you mentioned I said I'd add other values as use cases came up. Seems we have a use case for ints now :) Want to raise an enh request? https://bugs.eclipse.org/bugs/enter_bug.cgi?product=AspectJ cheers Andy _______________________________________________ aspectj-users mailing list aspectj-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/aspectj-users