Class DefaultCodeSuggest

java.lang.Object
com.iohao.net.framework.core.DefaultCodeSuggest
All Implemented Interfaces:
CodeSuggest

public class DefaultCodeSuggest extends Object implements CodeSuggest
Default CodeSuggest implementation that recommends replacing wrapper types (e.g. IntValue) with their primitive or collection equivalents in action method parameters and return types.
Since:
25.1
Author:
渔民小镇
date:
2025-10-13
  • Constructor Details

    • DefaultCodeSuggest

      public DefaultCodeSuggest()
  • Method Details

    • inspect

      public void inspect(SuggestInformation suggest)
      Description copied from interface: CodeSuggest
      Inspect the given suggestion context and emit any applicable recommendations.
      Specified by:
      inspect in interface CodeSuggest
      Parameters:
      suggest - the suggestion context containing the action command to inspect