public PHPDocClassVariableEvaluator(IGoal goal) {
super(goal);
}
public IGoal[] init() {
PHPDocClassVariableGoal typedGoal = (PHPDocClassVariableGoal) goal;
TypeContext context = (TypeContext) typedGoal.getContext();
String variableName = typedGoal.getVariableName();
int offset = typedGoal.getOffset();
IModelAccessCache cache = context.getCache();
IType[] types = PHPTypeInferenceUtils.getModelElements(
context.getInstanceType(), context, offset, cache);
Map<PHPDocBlock, IField> docs = new HashMap<PHPDocBlock, IField>();