Class AddAnnotationPrecondition

java.lang.Object
com.iizigo.link.java.AddAnnotationPrecondition
All Implemented Interfaces:
ILinkOperation

public class AddAnnotationPrecondition extends Object implements ILinkOperation
Adds an annotation to a Java element (type or method) as a precondition to an operation.
Author:
Christopher Mindus
  • Constructor Details

    • AddAnnotationPrecondition

      public AddAnnotationPrecondition(IJavaElement element, String fqnAnnotation, String param, String ref, boolean allowMultiple)
      Constructor.
      Parameters:
      element - The Java element: method or type.
      fqnAnnotation - The annotation fully qualified name.
      param - The parameter in the annotation for the reference (relative reference for methods).
      ref - The reference.
      allowMultiple - Flag to allow multiple annotations.
  • Method Details