public class CodeUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static File |
projectRoot
The constant projectRoot.
|
| Constructor and Description |
|---|
CodeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static File |
findFile(Class<?> clazz)
Find file file.
|
static File |
findFile(StackTraceElement callingFrame)
Find file file.
|
static File |
findFile(String path)
Find file file.
|
static String |
getGitBase() |
static CharSequence |
getIndent(CharSequence txt)
Gets indent.
|
static String |
getInnerText(StackTraceElement callingFrame)
Gets heapCopy text.
|
static String |
getJavadoc(Class<?> clazz)
Gets javadoc.
|
@Nullable public static File findFile(@Nullable Class<?> clazz)
clazz - the clazz@Nonnull public static File findFile(@Nonnull StackTraceElement callingFrame)
callingFrame - the calling frame@Nonnull public static File findFile(@Nonnull String path)
path - the path@Nonnull public static CharSequence getIndent(@Nonnull CharSequence txt)
txt - the txtpublic static String getInnerText(@Nonnull StackTraceElement callingFrame)
callingFrame - the calling framepublic static String getJavadoc(@Nullable Class<?> clazz)
clazz - the clazzCopyright © 2018 SimiaCryptus Software. All rights reserved.