Class FieldData


  • public class FieldData
    extends java.lang.Object
    Container class for method data.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String descriptor
      The field's type descriptor.
      java.lang.String name
      The name of the method.
      java.lang.String nameMapped
      The name mapped.
      ClassData parentClass
      The internal name of the parent class.
    • Constructor Summary

      Constructors 
      Constructor Description
      FieldData​(ClassData parentClass, java.lang.String name, java.lang.String nameMapped)
      Constructs a new FieldData with unspecified descriptor.
      FieldData​(ClassData parentClass, java.lang.String name, java.lang.String nameMapped, java.lang.String descriptor)
      Constructs a new FieldData with descriptor.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • parentClass

        public final ClassData parentClass
        The internal name of the parent class.
      • name

        public final java.lang.String name
        The name of the method.
      • nameMapped

        public final java.lang.String nameMapped
        The name mapped.
      • descriptor

        public final java.lang.String descriptor
        The field's type descriptor. Some formats may not specify it; if this was created in one such format, this is going to be null.
    • Constructor Detail

      • FieldData

        public FieldData​(ClassData parentClass,
                         java.lang.String name,
                         java.lang.String nameMapped)
        Constructs a new FieldData with unspecified descriptor.
        Parameters:
        parentClass - the ClassData representation of the parent class
        name - the field name
        nameMapped - the mapped field name
      • FieldData

        public FieldData​(ClassData parentClass,
                         java.lang.String name,
                         java.lang.String nameMapped,
                         java.lang.String descriptor)
        Constructs a new FieldData with descriptor.
        Parameters:
        parentClass - the ClassData representation of the parent class
        name - the field name
        nameMapped - the mapped field name
        descriptor - the field's type descriptor