类 ClassSignature
- java.lang.Object
-
- proguard.classfile.Signature
-
- proguard.classfile.ClassSignature
-
-
构造器概要
构造器 构造器 说明 ClassSignature(java.lang.String className)ClassSignature(Clazz clazz)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 protected java.lang.StringcalculateFqn()protected java.lang.StringcalculatePrettyFqn()static voidclearCache()Remove 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.booleanisIncomplete()Check if this signature is missing information.-
从类继承的方法 proguard.classfile.Signature
compareTo, computeIfAbsent, equals, getClassName, getExternalPackageName, getFqn, getPackageName, getPrettyFqn, getReferencedClass, hashCode, of, setCacheEnabled, toString
-
-
-
-
构造器详细资料
-
ClassSignature
public ClassSignature(java.lang.String className)
-
ClassSignature
public ClassSignature(Clazz clazz)
-
-
方法详细资料
-
isIncomplete
public boolean isIncomplete()
从类复制的说明:SignatureCheck if this signature is missing information.- 指定者:
isIncomplete在类中Signature
-
calculateFqn
protected java.lang.String calculateFqn()
- 指定者:
calculateFqn在类中Signature
-
calculatePrettyFqn
protected java.lang.String calculatePrettyFqn()
- 指定者:
calculatePrettyFqn在类中Signature
-
clearCache
public static void clearCache()
Remove all currently cachedClassSignatureobjects from the cache, allowing them to be removed by the garbage collector.
-
computeIfAbsent
public static ClassSignature computeIfAbsent(Clazz clazz)
Get the singletonClassSignatureobject for this specificClazz. If it is not yet available in the cache, it will be newly instantiated.- 参数:
clazz- The class containing the target field- 返回:
- The cached or newly generated
ClassSignatureobject
-
-