类 FieldSignature

  • 所有已实现的接口:
    java.lang.Comparable<Signature>

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

      • memberName

        public final java.lang.String memberName
      • descriptor

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

      • FieldSignature

        public FieldSignature​(java.lang.String clazzName,
                              java.lang.String memberName,
                              java.lang.String descriptor)
      • FieldSignature

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

      • isIncomplete

        public boolean isIncomplete()
        从类复制的说明: Signature
        Check if this signature is missing information.
        指定者:
        isIncomplete 在类中 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​(java.lang.Object o)
        覆盖:
        equals 在类中 Signature