History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-18050
Type: Bug Bug
Status: Open Open
Assignee: Alexey Kudravtsev
Reporter: andrew belom
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

'access static method via': class is not accessible

Created: 08 May 08 11:28   Updated: Tuesday 16:50
Component/s: Editor. Intention Actions

Build: 7,757


 Description  « Hide
here is my class hierarchy:

public class QuoteRecord extends DataRecordImpl

(non-public) class DataRecordImpl {
public static String getTickerSymbol(RecordCursor cur) {}
}

and a method:
void copyValues(QuoteRecord rec) { this.symbol = rec.getTickerSymbol(cur); }

since the method is static, i am offered a reference - but a reference to DataRecordImpl is invalid in this context, should be referenced by QuoteRecord

same story with 'add static reference' action: it adds an invalid static reference since DataRecordImpl is not public



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.