/** Add the @Generated annotation to the given target. * The annotation will not have any generated SARL code associated to it. * * @param target the target of the annotation. * @param context the generation context. */ protected final void appendGeneratedAnnotation(JvmAnnotationTarget target, GenerationContext context) { appendGeneratedAnnotation(target, context, null); }
context.getGeneratorConfig2().isGeneratePureAnnotation()); if (op != null) { appendGeneratedAnnotation(op, context); target.getMembers().add(op); context.getGeneratorConfig2().isGeneratePureAnnotation()); if (op != null) { appendGeneratedAnnotation(op, context); target.getMembers().add(op);
appendGeneratedAnnotation(field, context, rawCode);
}); if (op != null) { appendGeneratedAnnotation(op, context); if (context.getGeneratorConfig2().isGeneratePureAnnotation()) { addAnnotationSafe(op, Pure.class);
final long serial = context.getSerial(); this.typeBuilder.setInitializer(field, toStringConcatenation(serial + "L")); //$NON-NLS-1$ appendGeneratedAnnotation(field, context); this.readAndWriteTracking.markInitialized(field, null);
it.append("}"); //$NON-NLS-1$ }); appendGeneratedAnnotation(operation, context);
constructor2, DefaultValueUse.class, constructorSignatures.getFormalParameterTypes().toString()); appendGeneratedAnnotation(constructor2, context);
operation2, DefaultValueUse.class, actionSignatures.getFormalParameterTypes().toString()); appendGeneratedAnnotation(operation2, context);
appendGeneratedAnnotation(newCons, getContext(target));
field.getAnnotations().add(annotationClassRef(ImportedCapacityFeature.class, Collections.singletonList(capacityType))); appendGeneratedAnnotation(field, getContext(container)); }); appendGeneratedAnnotation(operation, context); if (context.getGeneratorConfig2().isGeneratePureAnnotation()) { addAnnotationSafe(operation, Pure.class);
appendGeneratedAnnotation(operation, context); addAnnotationSafe(operation, PerceptGuardEvaluator.class);
appendGeneratedAnnotation(guardOperation, context); if (context.getGeneratorConfig2().isGeneratePureAnnotation()) { addAnnotationSafe(guardOperation, Pure.class);