Question rule in the indentation decision tree. Determines if the
current line contains the given character. Does not check
for the character inside comments or quotes.
Does not work if character being searched for is a '/' or a '*' version: $Id: QuestionLineContains.java 4255 2007-08-28 19:17:37Z mgricken $
Constructs a new rule which determines if the line
contains the given character.
Parameters: findChar - Character to search for Parameters: yesRule - Rule to use if this rule holds Parameters: noRule - Rule to use if this rule does not hold
Determines if the given character exists on the current line.
Does not search in quotes or comments.
Does not work if character being searched for is a '/' or a '*' Parameters: doc - AbstractDJDocument containing the line to be indented. true if this node's rule holds.
Methods inherited from edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion