Andy-
You are correct that the comments in the type_path_entry struct were
incorrect. I apologize for the error.
The corrected struct is:
struct type_path_entry {
u1 type_path_kind;
// 0: annotation is deeper in this array type
// 1: annotation is deeper in this nested type
// 2: annotation is on the bound of this wildcard type arg
// 3: annotation is on a type argument of this parameterized type
u1 type_argument_index;
// 0, if type_path_kind is 0, 1, or 2
// the 0-based index of the type arg in this parameterized type,
if type_path_kind is 3
}
Thanks for pointing this out!
The corrected version of the spec will appear on the web around May 1.
-Mike
> Subject: Seeking clarification on a bit of the spec?
> 'type_path_entry'
> From: Andrew Clement <
andrew....@gmail.com>
> To:
jsr308-...@googlegroups.com
> Date: Mon, 15 Apr 2013 17:18:58 -0700 (PDT)
> --
>
> ---
> You received this message because you are subscribed to the Google
> Groups "Type
> annotations (JSR 308) discussions" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email
> to
jsr308-discus...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.