Support @Metered annotation on type element