I'm working in RAD 7.5. I'm importing a package from one web project into another. I instantiate the class and try to use one of its method, but I get a build error that the method is undefined. The method is public. All other methods work except this one. The project from which I'm importing is built properly. I've tried deleting both projects, grabbing them from version control again, and rebuilding them. What on earth could possible be the problem or what else can I check in eclipse (RAD 7.5)?
Additional information:
The method being called is not static. It is public and being called from a not static, protected, method.
Code snippets
Class I'm importing:
package com.state;
public TelcoVariableTracker() {
super();
}
public boolean isMedicalFlag() {
return isMedicalFlag;
}
Class with the build error:
import com.state.TelcoVariableTracker;
protected method() {
TelcoVariableTracker phoneInfo = HttpSessionUtils.getTelcoVariableTracker(request);
if (phoneInfo.isMedicalFlag() { // Build error: The method isMedicalFlag() is undefined for the type TelcoVariableTracker
// Do things
}
}