public void checkDefaultSkillAnnotation(SarlCapacity capacity) { final String annotationId = DefaultSkill.class.getName(); final XAnnotation annotation = IterableExtensions.findFirst(capacity.getAnnotations(), it -> { return Strings.equal(annotationId, it.getAnnotationType().getIdentifier()); });
translateAnnotationsTo(source.getAnnotations(), inferredJvmType);