Frequently Asked Questions
My IVariableBinding represents a field, but its getDeclaringClass() method returns null. Is this a PPA bug?
In some cases, no. If your IVariableBinding represents a reference to the 'length' field of an array, then this is expected behavior. Eclipse JDT Core sets the declaring class to 'null' for references to the 'length' field of any array.