Package org.lwjgl.util.generator

Examples of org.lwjgl.util.generator.CachedReference.annotationType()


        CachedReference cached_reference_annotation = param.getAnnotation(CachedReference.class);
        if (cached_reference_annotation != null && cached_reference_annotation.name().length() == 0) {
          Class nio_type = Utils.getNIOBufferType(param.getType());
          if (nio_type == null)
            throw new RuntimeException(param + " in method " + method + " in " + interface_decl + " is annotated with "
                + cached_reference_annotation.annotationType().getSimpleName() + " but the parameter is not a NIO buffer");
          writer.print("\t" + nio_type.getName() + " " + Utils.getReferenceName(interface_decl, method, param));
          writer.println(";");
        }
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.