类 ClassSignature

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

    public class ClassSignature
    extends Signature
    Represents the signature of a class without any member information.
    • 构造器详细资料

      • ClassSignature

        public ClassSignature​(java.lang.String className)
      • ClassSignature

        public ClassSignature​(Clazz clazz)
    • 方法详细资料

      • isIncomplete

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

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

        public static ClassSignature computeIfAbsent​(Clazz clazz)
        Get the singleton ClassSignature object for this specific Clazz. 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 ClassSignature object