Skip to content

Extracting fully qualified names from tokens #57

@rcx

Description

@rcx

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions