类 EnumConstantElementValue

    • 字段详细资料

      • u2typeNameIndex

        public int u2typeNameIndex
      • u2constantNameIndex

        public int u2constantNameIndex
      • referencedClasses

        public Clazz[] referencedClasses
        An extra field pointing to the Clazz objects referenced in the type name string. This field is typically filled out by the ClassReferenceInitializer. References to primitive types are ignored.
      • referencedField

        public Field referencedField
        An extra field optionally pointing to the referenced enum Field object. This field is typically filled out by the ClassReferenceInitializer.
    • 构造器详细资料

      • EnumConstantElementValue

        public EnumConstantElementValue()
        Creates an uninitialized EnumConstantElementValue.
      • EnumConstantElementValue

        public EnumConstantElementValue​(int u2elementNameIndex,
                                        int u2typeNameIndex,
                                        int u2constantNameIndex)
        Creates an initialized EnumConstantElementValue.
    • 方法详细资料

      • getTypeName

        public java.lang.String getTypeName​(Clazz clazz)
        Returns the enumeration type name.
      • getConstantName

        public java.lang.String getConstantName​(Clazz clazz)
        Returns the constant name.
      • referencedClassesAccept

        public void referencedClassesAccept​(ClassVisitor classVisitor)
        Applies the given visitor to all referenced classes.
      • referencedFieldAccept

        public void referencedFieldAccept​(MemberVisitor memberVisitor)
        Applies the given visitor to the referenced field.
      • getTag

        public char getTag()
        从类复制的说明: ElementValue
        Returns the tag of this element value.
        指定者:
        getTag 在类中 ElementValue