Package proguard.classfile
Class ClassSignature
java.lang.Object
proguard.classfile.Signature
proguard.classfile.ClassSignature
- All Implemented Interfaces:
Comparable<Signature>
Represents the signature of a class without any member information.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected Stringstatic voidRemove all currently cachedClassSignatureobjects from the cache, allowing them to be removed by the garbage collector.static ClassSignaturecomputeIfAbsent(Clazz clazz) Get the singletonClassSignatureobject for this specificClazz.booleanCheck if this signature is missing information.Methods inherited from class proguard.classfile.Signature
compareTo, computeIfAbsent, equals, getClassName, getExternalPackageName, getFqn, getPackageName, getPrettyFqn, getReferencedClass, hashCode, of, setCacheEnabled, toString
-
Constructor Details
-
ClassSignature
-
ClassSignature
-
-
Method Details
-
isIncomplete
public boolean isIncomplete()Description copied from class:SignatureCheck if this signature is missing information.- Specified by:
isIncompletein classSignature
-
calculateFqn
- Specified by:
calculateFqnin classSignature
-
calculatePrettyFqn
- Specified by:
calculatePrettyFqnin classSignature
-
clearCache
public static void clearCache()Remove all currently cachedClassSignatureobjects from the cache, allowing them to be removed by the garbage collector. -
computeIfAbsent
Get the singletonClassSignatureobject for this specificClazz. If it is not yet available in the cache, it will be newly instantiated.- Parameters:
clazz- The class containing the target field- Returns:
- The cached or newly generated
ClassSignatureobject
-