JVM の注釈を使用する場合、デフォルト値を持たないすべての要素について値を指定する必要があります。次の例には、値を必要とする属性が 2 つ含まれています。
$set ilusing"java.lang.annotation" attribute-id MyAttr. * studentAge and studentStream have defaut values. * studentName and studentAddress must be given explicit values * when the annotation is used. 01 studentAge binary-long value 18. 01 studentName string. 01 studentAddress string. 01 studentStream string value "GCSE". end attribute. class-id UseAttr attribute MyAttr. method-id main static. display "Pass" end method. end class.