Class FinalLocalVariableCheck.FinalVariableCandidate

  • Enclosing class:
    FinalLocalVariableCheck

    private static class FinalLocalVariableCheck.FinalVariableCandidate
    extends java.lang.Object
    Represents information about final local variable candidate.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean alreadyAssigned
      Whether the variable is already assigned.
      private boolean assigned
      Whether the variable is assigned.
      private DetailAST variableIdent
      Identifier token.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • variableIdent

        private final DetailAST variableIdent
        Identifier token.
      • assigned

        private boolean assigned
        Whether the variable is assigned.
      • alreadyAssigned

        private boolean alreadyAssigned
        Whether the variable is already assigned.
    • Constructor Detail

      • FinalVariableCandidate

        FinalVariableCandidate​(DetailAST variableIdent)
        Creates new instance.
        Parameters:
        variableIdent - variable identifier.