Class DirectivesField
- java.lang.Object
-
- org.eolang.jeo.representation.directives.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.
The name of the "field" object is a name of the field in Java class. For example, the following Java field[access descriptor signature value] > field
will be transformed into the following EO object:private final int bar = 1;field 18 "I" "" "01" > bar- Since:
- 0.1
-
-
Constructor Summary
Constructors Constructor Description DirectivesField()Constructor.DirectivesField(int access, String name, String descriptor, String signature, Object value)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectivesFieldannotation(DirectivesAnnotation annotation)Add annotation.Iterator<org.xembly.Directive>iterator()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
annotation
public DirectivesField annotation(DirectivesAnnotation annotation)
Add annotation.- Parameters:
annotation- Annotation- Returns:
- This object
-
-