Book a Demo

Author Topic: Java local classes  (Read 2393 times)

BusDriver

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • You're either on the bus, or ....
    • View Profile
Java local classes
« on: June 03, 2006, 09:59:23 pm »
Are they supported? The following code when reversed only shows method testee - class local is nonexistent. :'(

public class Test {
public void testee(){
class local{

}
}
}

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Java local classes
« Reply #1 on: June 04, 2006, 03:16:02 pm »
EA doesn't reverse engineer anything from inside method bodies, so I think you're out of luck.

SF_lt

  • EA User
  • **
  • Posts: 216
  • Karma: +1/-0
  • The Truth Is Out There
    • View Profile
Re: Java local classes
« Reply #2 on: June 05, 2006, 12:18:43 am »
there could not strict UML way:
put dependencies from owning class (owning method) to local variable class with the <<localVariable>> stereotype

method parameters could be identified by dependencies with <<methodArgument>>, <<constructorArgument>> stereotypies

These are only my thoughts - and could be the subject of discussion
registertm everything to SparX