Class JField

  • All Implemented Interfaces:
    JAnnotatedElement, JMember

    public final class JField
    extends AbstractJField
    A class which holds information about a field. Modeled closely after the Java Reflection API. This class is part of package which is used to create source code in memory.
    Version:
    $Revision: 8130 $ $Date: 2005-02-26 17:30:28 -0700 (Sat, 26 Feb 2005) $
    Author:
    Keith Visco
    • Constructor Detail

      • JField

        public JField​(JType type,
                      java.lang.String name)
        Creates a new JField.
        Parameters:
        type - JType of this new field.
        name - Name of this new field.