类 DescriptorClassEnumeration


  • public class DescriptorClassEnumeration
    extends java.lang.Object
    A DescriptorClassEnumeration provides an enumeration of all classes mentioned in a given descriptor or signature.
    • 构造器概要

      构造器 
      构造器 说明
      DescriptorClassEnumeration​(java.lang.String descriptor)
      Creates a new DescriptorClassEnumeration for the given descriptor.
    • 方法概要

      所有方法 静态方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      int classCount()
      Returns the number of classes contained in the descriptor.
      boolean hasMoreClassNames()
      Returns whether the enumeration can provide more class names from the descriptor.
      boolean isInnerClassName()
      Returns whether the most recently returned class name was a recomposed inner class name from a signature.
      static void main​(java.lang.String[] args)
      A main method for testing the class name enumeration.
      java.lang.String nextClassName()
      Returns the next class name from the descriptor.
      java.lang.String nextFluff()
      Returns the next fluff (surrounding class names) from the descriptor.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • DescriptorClassEnumeration

        public DescriptorClassEnumeration​(java.lang.String descriptor)
        Creates a new DescriptorClassEnumeration for the given descriptor.
    • 方法详细资料

      • classCount

        public int classCount()
        Returns the number of classes contained in the descriptor. This is the number of class names that the enumeration will return.
      • hasMoreClassNames

        public boolean hasMoreClassNames()
        Returns whether the enumeration can provide more class names from the descriptor.
      • nextFluff

        public java.lang.String nextFluff()
        Returns the next fluff (surrounding class names) from the descriptor.
      • nextClassName

        public java.lang.String nextClassName()
        Returns the next class name from the descriptor.
      • isInnerClassName

        public boolean isInnerClassName()
        Returns whether the most recently returned class name was a recomposed inner class name from a signature.
      • main

        public static void main​(java.lang.String[] args)
        A main method for testing the class name enumeration.