Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-core-dev] Can IParent.getChildren() return null

I see that IParent.getChildren() is implemented in BinaryType, which returns ClassFileInfo.binaryChildren.
Now ClassFileInfo.binaryChildren seems to be initialized with a null.

Does that mean that everywhere getChildren() is used, there needs to be a null check?

Prashant

Back to the top