类 MethodName

java.lang.Object
cn.taketoday.aot.generate.MethodName

final class MethodName extends Object
A camel-case method name that can be built from distinct parts.
从以下版本开始:
4.0
作者:
Phillip Webb
  • 字段详细资料

    • PREFIXES

      private static final String[] PREFIXES
    • NONE

      public static final MethodName NONE
      An empty method name.
    • value

      private final String value
  • 构造器详细资料

    • MethodName

      private MethodName(String value)
  • 方法详细资料

    • of

      static MethodName of(String... parts)
      Create a new method name from the specific parts. The returned name will be in camel-case and will only contain valid characters from the parts.
      参数:
      parts - the parts the form the name
      返回:
      a method name instance
    • and

      Create a new method name by concatenating the specified name to this name.
      参数:
      name - the name to concatenate
      返回:
      a new method name instance
    • and

      MethodName and(String... parts)
      Create a new method name by concatenating the specified parts to this name.
      参数:
      parts - the parts to concatenate
      返回:
      a new method name instance
    • getPrefix

      private String getPrefix(String name)
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • equals

      public boolean equals(@Nullable Object obj)
      覆盖:
      equals 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object
    • join

      private static String join(String[] parts)
    • clean

      private static String clean(@Nullable String part)