Class DirectivesAnnotation
- java.lang.Object
-
- org.eolang.jeo.representation.directives.DirectivesAnnotation
-
- All Implemented Interfaces:
Iterable<org.xembly.Directive>
public final class DirectivesAnnotation extends Object implements Iterable<org.xembly.Directive>
Directives Annotation. All the directives are sorted according to the JVM Spec:annotation { u2 type_index; {@link DirectivesAnnotation#descriptor} u2 num_element_value_pairs; {@link DirectivesAnnotation#properties.size()} { u2 element_name_index; element_value value; } element_value_pairs[num_element_value_pairs]; {@link DirectivesAnnotation#properties} }- Since:
- 0.1
-
-
Constructor Summary
Constructors Constructor Description DirectivesAnnotation(int index, Format format, String descriptor, boolean visible, Iterable<org.xembly.Directive>... props)Constructor.DirectivesAnnotation(int index, Format format, String descriptor, boolean visible, List<Iterable<org.xembly.Directive>> properties)Constructor.DirectivesAnnotation(String descriptor, boolean visible)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Constructor Detail
-
DirectivesAnnotation
public DirectivesAnnotation(String descriptor, boolean visible)
Constructor.- Parameters:
descriptor- Descriptor.visible- Visible.
-
DirectivesAnnotation
@SafeVarargs public DirectivesAnnotation(int index, Format format, String descriptor, boolean visible, Iterable<org.xembly.Directive>... props)
Constructor.- Parameters:
index- Index.format- Format.descriptor- Descriptor.visible- Visible.props- Properties.- Suppressed Checkstyle violations:
- ParameterNumberCheck (5 lines)
-
DirectivesAnnotation
public DirectivesAnnotation(int index, Format format, String descriptor, boolean visible, List<Iterable<org.xembly.Directive>> properties)Constructor.- Parameters:
index- Index.format- Format.descriptor- Descriptor.visible- Visible.properties- Properties.- Suppressed Checkstyle violations:
- ParameterNumberCheck (5 lines)
-
-