-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Milestone
Description
Consider this.
this.getContentPane().setLayout(gridBagLayout);
suppose the user has setLayout
selected, how do we know which class the method belongs to? we need to look at return type of this.getContentPane()
. so looks like we'd need to walk classtree.
another tricky case is:
object
.method()
we would need to look at the previous line. so keep that in mind.
Yet another tricky case is a constructor. That's a special one since you'd be looking for <init>
instead.
there are several types of identifiers:
- local variables
- field names from code or from declaration
- method names from code or from declaration
- class names from code or from declaration
so keep these in mind.
Metadata
Metadata
Assignees
Labels
No labels