Package com.artemis.utils.reflect

Examples of com.artemis.utils.reflect.Field


    @SuppressWarnings("deprecation")
    private void injectClass(Object target, Class<?> clazz) throws ReflectionException {
      Field[] declaredFields = ClassReflection.getDeclaredFields(clazz);
      for (int i = 0, s = declaredFields.length; s > i; i++) {
        Field field = declaredFields[i];
        if (field.isAnnotationPresent(Mapper.class) || field.isAnnotationPresent(Wire.class)) {
          injectField(target, field, field.isAnnotationPresent(Wire.class));
        }
      }
    }
View Full Code Here

TOP

Related Classes of com.artemis.utils.reflect.Field

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.