Skip to content

generate toString() in mooseEntities #22

Open
@NicolasAnquetil

Description

@NicolasAnquetil

it really helps in Eclipse debugger as clicking on the entity would give its name.
For example for method I manually created:

@Override
public String toString() {
  return ((parentType != null) ? ((NamedEntity)parentType).getName() + "." : "") + name;
}

So the debugger can tell me PrintStream.println instead of org.moosetechnology.model.famixjava.famixjavaentities.Class@15f77a8b

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions