c.s.tools.ide.analysis.modernize/test/unit/src/ide/analysis/modernize/RequestImpl.java
author Ilia Gromov <ilia@netbeans.org>
Wed, 07 Jun 2017 20:23:29 +0300
branchrelease82
changeset 18423 b9d9af239a0c
parent 18403 ide.analysis.modernize/test/unit/src/ide/analysis/modernize/RequestImpl.java@67d78b11d2e0
permissions -rw-r--r--
Fixing #270763 - Move clang-tidy integration to nb contrib
* * *
Fixing #270763 - Move clang-tidy integration to nb contrib - move wrapper
* * *
Fixing #270763 - Move clang-tidy integration to nb contrib - sign nbm
* * *
Fixing #270763 - Move clang-tidy integration to nb contrib - move tests
* * *
Fixing #270763 - Move clang-tidy integration to nb contrib - data for a new test
* * *
Fixed #270839 - [clang-tidy] Group checks in Editor hints
(transplanted from 35b6125ef00c470655dac6673075f5c12ec74593)
     1 /*
     2  * To change this license header, choose License Headers in Project Properties.
     3  * To change this template file, choose Tools | Templates
     4  * and open the template in the editor.
     5  */
     6 package ide.analysis.modernize;
     7 
     8 import javax.swing.text.Document;
     9 import org.netbeans.modules.cnd.api.model.CsmFile;
    10 import org.netbeans.modules.cnd.api.model.syntaxerr.CsmErrorProvider;
    11 
    12 /**
    13  *
    14  * @author Ilia Gromov
    15  */
    16 class RequestImpl implements CsmErrorProvider.Request {
    17     
    18     private final CsmFile csmFile;
    19 
    20     public RequestImpl(CsmFile csmFile) {
    21         this.csmFile = csmFile;
    22     }
    23 
    24     @Override
    25     public CsmFile getFile() {
    26         return csmFile;
    27     }
    28 
    29     @Override
    30     public boolean isCancelled() {
    31         throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    32     }
    33 
    34     @Override
    35     public Document getDocument() {
    36         throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    37     }
    38 
    39     @Override
    40     public CsmErrorProvider.EditorEvent getEvent() {
    41         throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    42     }
    43     
    44 }