| Adding a method to the Object Class [message #824470] |
Mon, 19 March 2012 14:01  |
Adeyemi Adeseye Messages: 2 Registered: March 2012 |
Junior Member |
|
|
I have a method that I want to add to the Object class as follows:
boolean Object.olderThan(Object value){
//System.out.println(val+"OLDER");
return val;
}
but I am getting the error message typeNotExposedtoWeaver runtime error. Can anyone provide a detailed tip on how to successfully add a method to the Object class ?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02122 seconds