{"action":"closed","issue":{"url":"https://api.github.com/repos/LorenzoBettini/packtpub-xtext-book-examples/issues/5","labels_url":"https://api.github.com/repos/LorenzoBettini/packtpub-xtext-book-examples/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/LorenzoBettini/packtpub-xtext-book-examples/issues/5/comments","events_url":"https://api.github.com/repos/LorenzoBettini/packtpub-xtext-book-examples/issues/5/events","html_url":"https://github.com/LorenzoBettini/packtpub-xtext-book-examples/issues/5","id":69657009,"number":5,"title":"how to find extension methods","user":{"login":"autohandle","id":6686041,"avatar_url":"https://avatars.githubusercontent.com/u/6686041?v=3","gravatar_id":"","url":"https://api.github.com/users/autohandle","html_url":"https://github.com/autohandle","followers_url":"https://api.github.com/users/autohandle/followers","following_url":"https://api.github.com/users/autohandle/following{/other_user}","gists_url":"https://api.github.com/users/autohandle/gists{/gist_id}","starred_url":"https://api.github.com/users/autohandle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autohandle/subscriptions","organizations_url":"https://api.github.com/users/autohandle/orgs","repos_url":"https://api.github.com/users/autohandle/repos","events_url":"https://api.github.com/users/autohandle/events{/privacy}","received_events_url":"https://api.github.com/users/autohandle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-20T19:00:13Z","updated_at":"2015-04-21T17:09:54Z","closed_at":"2015-04-21T17:09:54Z","body":"so - i am in chapter 6 and i am reading about labels, page 105, i get to the code that reads:\r\n   a.type.representation\r\ni foolishly decide to stretch my (admittedly weak) xtend muscles - i can see that \"a\" is an Attribute from the method arguments, and if i look at Attribute, i can see the method getType which returns an AttributeType. then i look at AttributeType for getRepresentation method, which i can't find, but AttributeType extends EObject - so i search on up the tree, but i still can't find any method getRepresentation - then, my \"aha, extension method\" light turns on, so now i want to look for an extension method representation. i went to the \"File Search\" workspace dialog, but i can't find representation (ok, i can find the word, because it is used in the header description for all the Entity classes).\r\n\r\nsoldiering on, i continue my reading and i discover that TypeRepresentation in an injected extension with a method representation - so, i use both \"Open Type\" and \"File Search\" to look for TypeRepresentation, but neither search method locates it.\r\n\r\nwould you mind tutoring me a bit on how it find extensions and extension methods?"}}