system/src/sc/lang/java/Annotation.java
public static Annotation create(String typeName, String valName, Object valValue) {
      Annotation annot = create(typeName);

      AnnotationValue av = new AnnotationValue();
      av.identifier = valName;
      av.elementValue = AbstractLiteral.createFromValue(valValue, true);

      annot.addAnnotationValues(av);

      return annot;
   }
/** Create an annotation with one complex value  */
Create an annotation with one complex value
Create an annotation with one complex value
public static Annotation create(String typeName, String valName, Object valValue) {
      Annotation annot = create(typeName);
      AnnotationValue av = new AnnotationValue();
      av.identifier = valName;
      av.elementValue = AbstractLiteral.createFromValue(valValue, true);
      annot.addAnnotationValues(av);
      return annot;
   }
public static Annotation create ( String typeName , String valName , Object valValue ) { Annotation annot = create ( typeName ) ; AnnotationValue av = new AnnotationValue ( ) ; av . identifier = valName ; av . elementValue = AbstractLiteral . createFromValue ( valValue , true ) ; annot . addAnnotationValues ( av ) ; return annot ; }
Create an annotation with one complex value
Create an annotation with one complex value