Home | History | Annotate | Download | only in metamodel
      1 package com.github.javaparser.metamodel;
      2 
      3 import java.lang.annotation.Retention;
      4 import java.lang.annotation.Target;
      5 
      6 import static java.lang.annotation.ElementType.FIELD;
      7 import static java.lang.annotation.ElementType.METHOD;
      8 import static java.lang.annotation.RetentionPolicy.RUNTIME;
      9 
     10 /**
     11  * Indicate that leaving this property empty does not lead to a correct AST.
     12  * Empty means either empty string or empty collection.
     13  * (Used during generation of the meta model.)
     14  */
     15 @Retention(RUNTIME)
     16 @Target({FIELD, METHOD})
     17 public @interface NonEmptyProperty {
     18 }
     19