Interface DeclarationSourcePosition

    • Method Detail

      • getModifierSourceStart

        int getModifierSourceStart()
        returns the first char of the first modifier
      • getModifierSourceEnd

        int getModifierSourceEnd()
        returns the last char of the last modifier
      • getDefaultValueEnd

        int getDefaultValueEnd()
        returns the end of the default value int i = 0, j =1 ➡ returns the comma
      • addDefaultValueEnd

        DeclarationSourcePosition addDefaultValueEnd​(int endDefaultValueDeclaration)
        returns a new position object enriched a default value declaration (immutability pattern)