aptana/studio3 — comment on commit 5d79dad8ac665b8dd584abb9e8eb537eef7a21c3
File: plugins/com.aptana.editor.common/src/com/aptana/editor/common/validator/LegacyValidationBuildParticipant.java line 224
By sgtcoolguy:

This class is never intended to be instantiated and interacted with by any clients/callers. The context is specific to each file, so it can't be passed into the constructor, plus the constructor needs to be a public 0-arg one since this is a build participant.
The only reason this addParseErrors method is public is because of the legacy IValidationManager interface we need to implement for validators to call back to. Basically the entry point is buildFile, which instantiates the validators, who then call back to addParseErrors, so fContext should always be non-null here. I can add a simple null check and return just in case, though.

On a larger note, I think the validation stuff should be deprecated entirely so that this will eventually go away. The build participant extension is a more generic means of being able to detect/manage tasks, erros and warnings.