Class Refactoring

  • All Implemented Interfaces:
    RefactoringInterface, java.lang.Comparable<Refactoring>

    public class Refactoring
    extends java.lang.Object
    implements RefactoringInterface, java.lang.Comparable<Refactoring>
    A refactoring object contains the information needed by Output to print the refactoring suggestion and its associated metadata.
    • Field Detail

      • numberOfTokens

        public int numberOfTokens
      • absolutePath

        public java.lang.String absolutePath
      • lineNumber

        public int lineNumber
      • columnNumber

        public int columnNumber
      • tokenList

        public java.lang.String tokenList
      • opportunityValue

        public int opportunityValue
    • Constructor Detail

      • Refactoring

        public Refactoring​(java.util.List<? extends TokenInterface> candidate,
                           int opportunityValue)