Package org.intellij.erlang.quickfixes

Examples of org.intellij.erlang.quickfixes.ErlangRemoveFunctionFix


    for (ErlangFunction function : file.getFunctions()) {
      if (isUnusedFunction(file, function)) {
        problemsHolder.registerProblem(function.getNameIdentifier(),
          "Unused function " + "'" + function.getName() + "/" + function.getArity() + "'",
          ProblemHighlightType.LIKE_UNUSED_SYMBOL,
          new ErlangRemoveFunctionFix(),
          new ErlangExportFunctionFix());
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.intellij.erlang.quickfixes.ErlangRemoveFunctionFix

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.