title: reflect-metadata and querying the object for decorators
body: <p>I have a decorator that simply does nothing:</p>
  
  <pre><code>export function myDecorator(target: any, key: string) {
     var t = Reflect.getMetadata("design:type", target, key);
  }
  </code></pre>
  
  <p>I use this decorator with a property of a class:</p>
  
  <pre><code>export class SomeClass {
  
      @globalVariable
      someProperty: string;
  
      @globalVariable
      fakeProperty: number;
  }
  </code></pre>
  
  <p>Now, what I want to do is, get all the properties of the class decorated with the @globalVariable decorator.</p>
  
  <p>I tried using "reflect-metadata" with:</p>
  
  <pre><code>Reflect.getMetadata('globalVariable', this);
  </code></pre>
  
  <p>but all I get is "undefined". Is this possible with reflect-metadata or am I getting this totally wrong?</p>