system/src/sc/lang/java/Annotation.java
public static Annotation createSingleValue(String typeName, Object valValue) {
      Annotation annot = create(typeName);
      annot.setProperty("elementValue", AbstractLiteral.createFromValue(valValue, true));

      return annot;
   }
/** Create an annotation with a single value  */
Create an annotation with a single value
Create an annotation with a single value
public static Annotation createSingleValue(String typeName, Object valValue) {
      Annotation annot = create(typeName);
      annot.setProperty("elementValue", AbstractLiteral.createFromValue(valValue, true));
      return annot;
   }
public static Annotation createSingleValue ( String typeName , Object valValue ) { Annotation annot = create ( typeName ) ; annot . setProperty ( "elementValue" , AbstractLiteral . createFromValue ( valValue , true ) ) ; return annot ; }
Create an annotation with a single value
Create an annotation with a single value