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
_checksum
protected String
_dottedBase
protected String
_dottedName
protected String
_slashedBase
protected String
_slashedName
static String
TEMPLATE_SUFFIX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static long
adler32(byte[] data)
void
assignChecksum(byte[] data)
static ClassName
constructFor(Class<?> baseClass, String suffix)
protected static String
dotsToSlashes(String className)
String
getDottedBase()
String
getDottedName()
String
getDottedTemplate()
String
getSlashedBase()
String
getSlashedName()
String
getSlashedTemplate()
String
getSourceFilename()
String
toString()
-
-
-
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)
-
-