| Constructor and Description |
|---|
ClassSignature(Clazz clazz) |
ClassSignature(java.lang.String className) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
calculateFqn() |
protected java.lang.String |
calculatePrettyFqn() |
static void |
clearCache()
Remove all currently cached
ClassSignature objects from the cache,
allowing them to be removed by the garbage collector. |
static ClassSignature |
computeIfAbsent(Clazz clazz)
Get the singleton
ClassSignature object for this specific Clazz. |
boolean |
isIncomplete()
Check if this signature is missing information.
|
compareTo, computeIfAbsent, equals, getClassName, getExternalPackageName, getFqn, getPackageName, getPrettyFqn, getReferencedClass, hashCode, of, setCacheEnabled, toStringpublic ClassSignature(java.lang.String className)
public ClassSignature(Clazz clazz)
public boolean isIncomplete()
SignatureisIncomplete in class Signatureprotected java.lang.String calculateFqn()
calculateFqn in class Signatureprotected java.lang.String calculatePrettyFqn()
calculatePrettyFqn in class Signaturepublic static void clearCache()
ClassSignature objects from the cache,
allowing them to be removed by the garbage collector.public static ClassSignature computeIfAbsent(Clazz clazz)
ClassSignature object for this specific Clazz.
If it is not yet available in the cache, it will be newly instantiated.clazz - The class containing the target fieldClassSignature object