类 FieldSignature
- java.lang.Object
-
- proguard.classfile.Signature
-
- proguard.classfile.FieldSignature
-
-
字段概要
字段 修饰符和类型 字段 说明 java.lang.Stringdescriptorjava.lang.StringmemberName
-
构造器概要
构造器 构造器 说明 FieldSignature(java.lang.String clazzName, java.lang.String memberName, java.lang.String descriptor)FieldSignature(Clazz clazz, Field field)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 protected java.lang.StringcalculateFqn()protected java.lang.StringcalculatePrettyFqn()static voidclearCache()Remove all currently cachedFieldSignatureobjects from the cache, allowing them to be removed by the garbage collector.static FieldSignaturecomputeIfAbsent(Clazz clazz, Field field)Get the singletonFieldSignatureobject for this specificField.booleanequals(java.lang.Object o)booleanisIncomplete()Check if this signature is missing information.-
从类继承的方法 proguard.classfile.Signature
compareTo, computeIfAbsent, getClassName, getExternalPackageName, getFqn, getPackageName, getPrettyFqn, getReferencedClass, hashCode, of, setCacheEnabled, toString
-
-
-
-
方法详细资料
-
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
-
computeIfAbsent
public static FieldSignature computeIfAbsent(Clazz clazz, Field field)
Get the singletonFieldSignatureobject for this specificField. 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 generated- 返回:
- The cached or newly generated
FieldSignatureobject
-
clearCache
public static void clearCache()
Remove all currently cachedFieldSignatureobjects from the cache, allowing them to be removed by the garbage collector.
-
-