public interface ParameterNameDiscovererパラメーター名の検出は常に可能とは限りませんが、コンパイル時に出力された可能性のあるデバッグ情報の検索や、オプションで AspectJ アノテーション付きメソッドに付随する argname アノテーション値の検索など、さまざまな方法を試すことができます。
| 修飾子と型 | メソッドと説明 |
|---|---|
StringSE[] | getParameterNames(ConstructorSE<?> ctor) このコンストラクターのパラメーター名、または判別できない場合は null を返します。 |
StringSE[] | getParameterNames(MethodSE method) このメソッドのパラメーター名、または判別できない場合は null を返します。 |
@Nullable StringSE[] getParameterNames(MethodSE method)
null を返します。method - パラメーター名を検索するメソッド null @Nullable StringSE[] getParameterNames(ConstructorSE<?> ctor)
null を返します。ctor - パラメーター名を検索するコンストラクター null