<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2016-11-15 21:58 GMT+01:00 Tobias Pape <span dir="ltr"><<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":1dn" class="a3s aXjCH m15869c95c82e5629">Here's my 2ct:<br>
<br>
1. Pragmas aren't actually pragmas. They do not instruct the compiler to do things (_except_ for primitive: and apicall:, but these are now outliers).<br>
They rather add metadata to a (compiled) method.<br>
2. The 'thing' (ie, class) should probably be named<br>
MethodAnnotation<br>
3. We can have the cake and eat it to:<br>
<br>
Rename Pragma -> MethodAnnotation.<br>
Make Pragma a new subclass of MethodAnnotation.<br>
Make MethodAnnotation implement<br>
#methodSelector<br>
#annotationSelector (or #selector, if it must be)<br>
Make Pragma implement<br>
#selector<br>
#keywords</div></blockquote></div><br>I remember long discussion about Pragma vs Annotation name where Igor won completely :)). Conclusion was that Pragma is a right name.</div></div>