edu.rice.cs.drjava.model.definitions.indent
Class QuestionPrevLineStartsJavaDocWithText

java.lang.Object
  extended by edu.rice.cs.drjava.model.definitions.indent.IndentRuleWithTrace
      extended by edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion
          extended by edu.rice.cs.drjava.model.definitions.indent.QuestionPrevLineStartsJavaDocWithText
All Implemented Interfaces:
IndentRule

public class QuestionPrevLineStartsJavaDocWithText
extends IndentRuleQuestion

Question rule in the indentation decision tree. Determines if the line previous to the current position starts with the specified character.

Version:
$Id: QuestionPrevLineStartsWith.java 3490 2006-01-07 19:22:33Z dlsmith $

Field Summary
 
Fields inherited from class edu.rice.cs.drjava.model.definitions.indent.IndentRuleWithTrace
NO, TERMINUS_RULE, YES
 
Constructor Summary
QuestionPrevLineStartsJavaDocWithText(IndentRule yesRule, IndentRule noRule)
          Constructs a rule that looks for "/**" as first non-whitespace followed by some additional non-whitespace text
 
Method Summary
 
Methods inherited from class edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion
indentLine, testIndentLine
 
Methods inherited from class edu.rice.cs.drjava.model.definitions.indent.IndentRuleWithTrace
_addToIndentTrace, getRuleName, indentLine, printLastIndentTrace, setRuleTraceEnabled, testIndentLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuestionPrevLineStartsJavaDocWithText

public QuestionPrevLineStartsJavaDocWithText(IndentRule yesRule,
                                             IndentRule noRule)
Constructs a rule that looks for "/**" as first non-whitespace followed by some additional non-whitespace text

Parameters:
yesRule - Rule to use if this rule holds
noRule - Rule to use if this rule does not hold