Package io.sundr.model
Interface Nameable
- All Superinterfaces:
Node
-
Field Summary
FieldsFields inherited from interface io.sundr.model.Node
AT, CB, CC, CLP, COLN, COMA, CP, DOT, DQ, EMPTY, EQ, EXTENDS, GT, IMPLEMENTS, INDENT, JAVA_LANG, JAVA_LANG_ENUM, JAVA_LANG_OBJECT, JAVA_LANG_STRING, LT, NEWLINE, NEWLINE_PATTERN, OB, OC, OP, Q, SEMICOLN, SEMICOLN_SUFFIX_PATTERN, SPACE, STAR, THROWS, VARARG -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Predicate<T>static StringgetClassName(String fullyQualifiedName) Get the fully qualified name of the type.default StringgetName()Get the name.static StringgetOuterTypeName(String fullyQualifiedName) default StringGet the package namestatic StringgetPackageName(String fullyQualifiedName) static <T> Predicate<T>
-
Field Details
-
PACKAGE_SEPARATOR_REGEX
- See Also:
-
IS_UPPER_CASE
-
IN_PACKAGE
-
OUT_OF_PACKAGE
-
-
Method Details
-
getFullyQualifiedName
String getFullyQualifiedName()Get the fully qualified name of the type. The expected format is package.outerClass.inerClass- Returns:
- the fully qualified name
-
getName
Get the name.- Returns:
- the name
-
getPackageName
Get the package name- Returns:
- the package name.
-
getOuterTypeName
-
getClassName
-
getPackageName
-
until
-
after
-