Package com.stuffwithstuff.magpie

Examples of com.stuffwithstuff.magpie.Def


 
  @SuppressWarnings({ "unchecked", "rawtypes" })
  public static void register(Class javaClass, Scope scope) {

    for (Class innerClass : javaClass.getDeclaredClasses()) {
      Def signature = (Def) innerClass.getAnnotation(Def.class);
      if (signature != null) {
        registerMethod(scope, innerClass, signature.value());
      }
    }
  }
View Full Code Here

TOP

Related Classes of com.stuffwithstuff.magpie.Def

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.