Class ClassNameUtils

java.lang.Object
com.weirddev.testme.intellij.utils.ClassNameUtils

public class ClassNameUtils extends Object
Date: 15/11/2016
Author:
Yaron Yamin
  • Constructor Details

    • ClassNameUtils

      public ClassNameUtils()
  • Method Details

    • isArray

      public static boolean isArray(String canonicalName)
    • arrayDimensions

      public static int arrayDimensions(String canonicalName)
    • extractClassName

      public static String extractClassName(@NotNull @NotNull String fqName)
    • extractPackageName

      public static String extractPackageName(String className)
    • stripArrayVarargsDesignator

      public static String stripArrayVarargsDesignator(String typeName)
    • extractContainerType

      @NotNull public static @NotNull String extractContainerType(String className)
    • extractTargetPropertyName

      public static String extractTargetPropertyName(String name, boolean isSetter, boolean isGetter)
    • removeFromCamelCaseName

      public static String removeFromCamelCaseName(String name, String prefix)
    • isVarargs

      public static boolean isVarargs(String canonicalText)
    • stripGenerics

      public static final String stripGenerics(String canonicalName)
    • extractGenerics

      public static final String extractGenerics(String canonicalName)