Class DirectivesField

  • All Implemented Interfaces:
    Iterable<org.xembly.Directive>

    public final class DirectivesField
    extends Object
    implements Iterable<org.xembly.Directive>
    Field directives. Any java field will be transformed into the following EO object.

    [access descriptor signature value] > field

    The name of the "field" object is a name of the field in Java class. For example, the following Java field

    private final int bar = 1;

    will be transformed into the following EO object:

    field 18 "I" "" "01" > bar

    Since:
    0.1
    • Constructor Detail

      • DirectivesField

        public DirectivesField()
        Constructor.
      • DirectivesField

        public DirectivesField​(DirectivesAnnotation... annotations)
        Constructor.
        Parameters:
        annotations - Annotations.
      • DirectivesField

        public DirectivesField​(int access,
                               String name,
                               String descriptor,
                               String signature,
                               Object value)
        Constructor.
        Parameters:
        access - Access
        name - Name
        descriptor - Descriptor
        signature - Signature
        value - Initial value
        Suppressed Checkstyle violations:
        ParameterNumberCheck (5 lines)
      • DirectivesField

        public DirectivesField​(int access,
                               String name,
                               String descriptor,
                               String signature,
                               Object value,
                               DirectivesAnnotations annotations)
        Constructor.
        Parameters:
        access - Access modifiers
        name - Name
        descriptor - Descriptor
        signature - Signature
        value - Initial value
        annotations - Annotations
        Suppressed Checkstyle violations:
        ParameterNumberCheck (5 lines)
    • Method Detail

      • iterator

        public Iterator<org.xembly.Directive> iterator()
        Specified by:
        iterator in interface Iterable<org.xembly.Directive>