File size: 428 Bytes
233f6d4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Clazz.declarePackage("java.text");
c$=Clazz.decorateAsClass(function(){
this.value=null;
Clazz.instantialize(this,arguments);
},java.text,"Annotation");
Clazz.makeConstructor(c$,
function(attribute){
this.value=attribute;
},"~O");
Clazz.defineMethod(c$,"getValue",
function(){
return this.value;
});
Clazz.overrideMethod(c$,"toString",
function(){
return this.getClass().getName()+"[value="+this.value+']';
});