Community
Participate
Working Groups
20031001 To render the labels (and in the future the image) in the type hierarchy we have to know if a class is anonymous. It would be good to have a new flag in 'getCachedFlags'.
Flags don't include an 'isAnonymous' flag (see Flags class). However, to know if a type is anonynous, you can check its name (getElemmentName()). If empty, it is an anonymous type. Ok to close?
I think the name test fails for anonymous types from class files
Right. But why would showing 'A$1' as a label be a problem?
That's of course possible, in fact that's what I do now. So far I haven't had any complaints about it.
So you can use the empty type name for a source type and use the regular name for a binary type. Can this be closed?
you can. I might reopen this if somebody complains about the name inconsistency: then I would need the feature.
Closing