001 /** 002 * Property of Hammurapi Group 003 */ 004 package com.hammurapi.review; 005 006 import java.lang.annotation.ElementType; 007 import java.lang.annotation.Retention; 008 import java.lang.annotation.RetentionPolicy; 009 import java.lang.annotation.Target; 010 011 /** 012 * This annotation indicates that review of a model element of given type and its 013 * sub-elements can be performed in a separate thread. Therefore, this annotation 014 * defines the level in the model to perform review data parallelism. Setting it 015 * too high in the model hierarchy will lead to low thread utilization, setting it 016 * too low will lead to creation of too many small review tasks. 017 * 018 * E.g. for the Java model this level would be type and/or source unit. 019 * 020 * @author Pavel 021 * 022 */ 023 @Target(ElementType.TYPE) 024 @Retention(RetentionPolicy.RUNTIME) 025 public @interface Fork { 026 027 }