类 FieldSignature

java.lang.Object
proguard.classfile.Signature
proguard.classfile.FieldSignature
所有已实现的接口:
Comparable<Signature>

public class FieldSignature extends Signature
Represents a field signature consisting of class and member name.
  • 字段详细资料

    • memberName

      public final String memberName
    • descriptor

      public final String descriptor
  • 构造器详细资料

    • FieldSignature

      public FieldSignature(String clazzName, String memberName, String descriptor)
    • FieldSignature

      public FieldSignature(Clazz clazz, Field field)
  • 方法详细资料

    • isIncomplete

      public boolean isIncomplete()
      从类复制的说明: Signature
      Check if this signature is missing information.
      指定者:
      isIncomplete 在类中 Signature
    • calculateFqn

      protected String calculateFqn()
      指定者:
      calculateFqn 在类中 Signature
    • calculatePrettyFqn

      protected String calculatePrettyFqn()
      指定者:
      calculatePrettyFqn 在类中 Signature
    • computeIfAbsent

      public static FieldSignature computeIfAbsent(Clazz clazz, Field field)
      Get the singleton 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 field
      field - The field whose signature is to be generated
      返回:
      The cached or newly generated FieldSignature object
    • clearCache

      public static void clearCache()
      Remove all currently cached FieldSignature objects from the cache, allowing them to be removed by the garbage collector.
    • equals

      public boolean equals(Object o)
      覆盖:
      equals 在类中 Signature