package org.simantics.objmap.structural.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.simantics.objmap.graph.annotations.HasCollectionAdder; import org.simantics.objmap.graph.annotations.HasCollectionRemover; import org.simantics.objmap.graph.annotations.meta.IsCollectionRule; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) @IsCollectionRule @HasCollectionAdder(StructuralRelatedElementsAdd.class) @HasCollectionRemover(StructuralRelatedElementsRem.class) public @interface StructuralRelatedElementsGet { String value(); boolean composition() default false; }