Thursday, April 21, 2016

Useful Stuff Points

Do you want to add the TODO when you generate the methods/classes? Then you could use code templates for that. Like // TODO Auto-generated method stub is added when you generate a method you could put any other comment on top of a method. Window -> Preferences -> Java -> Code Style -> Code Templates
Or do you want to add the TODO to all methods/classes which currently do exist? Thats a bit harder, you could write a plugin which does that for you: Eclipse JDT
If that TODO should always be created when you have modified a class or method you could also write an eclipse plugin which monitors the CompilationUnit in the editor. See recordModifications() here
http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.jdt.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fjdt%2Fcore%2Fdom%2FCompilationUnit.html&anchor=recordModifications%28%29

recordModifications

public void recordModifications()
Enables the recording of changes to this compilation unit and its descendants. The compilation unit must have been created by ASTParserand still be in its original state. Once recording is on, arbitrary changes to the subtree rooted at this compilation unit are recorded internally. Once the modification has been completed, call rewrite to get an object representing the corresponding edits to the original source code string.
Throws:
IllegalArgumentException - if this compilation unit is marked as unmodifiable, or if this compilation unit has already been tampered with, or recording has already been enabled
Since:
3.0

System Requirements for IBM ODM 8.5.1

http://www-969.ibm.com/software/reports/compatibility/clarity-reports/report/html/softwareReqsForProduct?deliverableId=1346253507478&osPlatform=Linux

https://developer.ibm.com/answers/questions/265577/changing-jdk-to-18-instead-of-shipped-jdk-17-with.html

https://www.ibm.com/developerworks/community/forums/html/topic?id=cb9a807a-2fb5-4d87-bbf0-2537e1f781fb

https://www.ibm.com/developerworks/community/forums/html/topic?id=1acc7a5e-2537-4a06-83ca-5da87674c8ef

https://www.ibm.com/developerworks/community/forums/html/topic?id=5de3137b-1368-4f79-8ecb-94a6386fa8a8

https://www.ibm.com/developerworks/community/forums/html/topic?id=0eea0370-2a66-4b9b-aba6-7e212b8efdd9

https://developer.ibm.com/answers/users/257099/ajay-kandula/

https://developer.ibm.com/answers/questions/257351/execution-object-model-xom-logic-changes-no-update.html