Modifier and Type | Field and Description |
---|---|
java.lang.String |
descriptor |
java.lang.String |
memberName |
Constructor and Description |
---|
FieldSignature(Clazz clazz,
Field field) |
FieldSignature(java.lang.String clazzName,
java.lang.String memberName,
java.lang.String descriptor) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
calculateFqn() |
protected java.lang.String |
calculatePrettyFqn() |
static void |
clearCache()
Remove all currently cached
FieldSignature objects from the cache, allowing them to be
removed by the garbage collector. |
static FieldSignature |
computeIfAbsent(Clazz clazz,
Field field)
Get the singleton
FieldSignature object for this specific Field . |
boolean |
equals(java.lang.Object o) |
boolean |
isIncomplete()
Check if this signature is missing information.
|
compareTo, computeIfAbsent, getClassName, getExternalPackageName, getFqn, getPackageName, getPrettyFqn, getReferencedClass, hashCode, of, setCacheEnabled, toString
public final java.lang.String memberName
public final java.lang.String descriptor
public FieldSignature(java.lang.String clazzName, java.lang.String memberName, java.lang.String descriptor)
public boolean isIncomplete()
Signature
isIncomplete
in class Signature
protected java.lang.String calculateFqn()
calculateFqn
in class Signature
protected java.lang.String calculatePrettyFqn()
calculatePrettyFqn
in class Signature
public static FieldSignature computeIfAbsent(Clazz clazz, Field field)
FieldSignature
object for this specific Field
. If it is not
yet available in the cache, it will be newly instantiated.clazz
- The class containing the target fieldfield
- The field whose signature is to be generatedFieldSignature
objectpublic static void clearCache()
FieldSignature
objects from the cache, allowing them to be
removed by the garbage collector.