public final class ContextHasElement
extends RuleFunction
Returns true if the given IDE Context contains an Element,
and the Element matches the expected type. The element-class
parameter is required, and the value is the fully qualified
class name indicating the expected Element type.