protected static boolean isCacheableInjectionPoint(WeldInjectionPointAttributes<?, ?> attributes) { if (attributes.isDelegate()) { return false; } Class<?> rawType = Reflections.getRawType(attributes.getType()); return !InjectionPoint.class.isAssignableFrom(rawType) && !Instance.class.isAssignableFrom(rawType); }
protected static boolean isCacheableInjectionPoint(WeldInjectionPointAttributes<?, ?> attributes) { if (attributes.isDelegate()) { return false; } Class<?> rawType = Reflections.getRawType(attributes.getType()); return !InjectionPoint.class.isAssignableFrom(rawType) && !Instance.class.isAssignableFrom(rawType); }
protected static boolean isCacheableInjectionPoint(WeldInjectionPointAttributes<?, ?> attributes) { if (attributes.isDelegate()) { return false; } Class<?> rawType = Reflections.getRawType(attributes.getType()); return !InjectionPoint.class.isAssignableFrom(rawType) && !Instance.class.isAssignableFrom(rawType); }
protected static boolean isCacheableInjectionPoint(WeldInjectionPointAttributes<?, ?> attributes) { if (attributes.isDelegate()) { return false; } Class<?> rawType = Reflections.getRawType(attributes.getType()); return !InjectionPoint.class.isAssignableFrom(rawType) && !Instance.class.isAssignableFrom(rawType); }
protected static boolean isCacheableInjectionPoint(WeldInjectionPointAttributes<?, ?> attributes) { if (attributes.isDelegate()) { return false; } Class<?> rawType = Reflections.getRawType(attributes.getType()); return !InjectionPoint.class.isAssignableFrom(rawType) && !Instance.class.isAssignableFrom(rawType); }
protected static boolean isCacheableInjectionPoint(WeldInjectionPointAttributes<?, ?> attributes) { if (attributes.isDelegate()) { return false; } Class<?> rawType = Reflections.getRawType(attributes.getType()); return !InjectionPoint.class.isAssignableFrom(rawType) && !Instance.class.isAssignableFrom(rawType); }