Class ClassName
- java.lang.Object
-
- com.fasterxml.jackson.module.afterburner.util.ClassName
-
public class ClassName extends Object
Accessing various permutations of dotted/slashed representations gets tiresome after a while, so here's an abstraction for hiding complexities, and for performing lazy transformations as necessary.
-
-
Field Summary
Fields Modifier and Type Field Description protected long_checksumprotected String_dottedBaseprotected String_dottedNameprotected String_slashedBaseprotected String_slashedNamestatic StringTEMPLATE_SUFFIX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static longadler32(byte[] data)voidassignChecksum(byte[] data)static ClassNameconstructFor(Class<?> baseClass, String suffix)protected static StringdotsToSlashes(String className)StringgetDottedBase()StringgetDottedName()StringgetDottedTemplate()StringgetSlashedBase()StringgetSlashedName()StringgetSlashedTemplate()StringgetSourceFilename()StringtoString()
-
-
-
Method Detail
-
assignChecksum
public void assignChecksum(byte[] data)
-
getDottedTemplate
public String getDottedTemplate()
-
getSlashedTemplate
public String getSlashedTemplate()
-
getDottedName
public String getDottedName()
-
getSlashedName
public String getSlashedName()
-
getSourceFilename
public String getSourceFilename()
-
getDottedBase
public String getDottedBase()
-
getSlashedBase
public String getSlashedBase()
-
adler32
protected static long adler32(byte[] data)
-
-