Class ClassNameUtils
java.lang.Object
com.weirddev.testme.intellij.utils.ClassNameUtils
Date: 15/11/2016
- Author:
- Yaron Yamin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
arrayDimensions
(String canonicalName) static String
extractClassName
(@NotNull String fqName) static @NotNull String
extractContainerType
(String className) static final String
extractGenerics
(String canonicalName) static String
extractPackageName
(String className) static String
extractTargetPropertyName
(String name, boolean isSetter, boolean isGetter) static boolean
static boolean
static String
removeFromCamelCaseName
(String name, String prefix) static String
stripArrayVarargsDesignator
(String typeName) static final String
stripGenerics
(String canonicalName)
-
Constructor Details
-
ClassNameUtils
public ClassNameUtils()
-
-
Method Details
-
isArray
-
arrayDimensions
-
extractClassName
-
extractPackageName
-
stripArrayVarargsDesignator
-
extractContainerType
-
extractTargetPropertyName
-
removeFromCamelCaseName
-
isVarargs
-
stripGenerics
-
extractGenerics
-