if(clazz != null) {
Document document = qpr.getSnapshot().getSource().getDocument(true);
Line line = NbEditorUtilities.getLine(document, startPosition, false);
MethodDescriptor methodAtLine = clazz.getMethodAtLine(line.getLineNumber() + 1, 0);
VariableParameterCommonDescriptor variable = methodAtLine.getVariable(subSequence.toString());
if(variable != null){
return true;
}else{
return false;
}