Class DirectivesMethodProperties
- java.lang.Object
-
- org.eolang.jeo.representation.directives.DirectivesMethodProperties
-
- All Implemented Interfaces:
Iterable<org.xembly.Directive>
public final class DirectivesMethodProperties extends Object implements Iterable<org.xembly.Directive>
Method properties as Xembly directives. All the directives are sorted according to JVM method specification:method_info { u2 access_flags; {@link DirectivesMethodProperties} u2 name_index; {@link DirectivesMethodProperties} u2 descriptor_index; {@link DirectivesMethodProperties} u2 attributes_count; {@link DirectivesMethod} attribute_info attributes[attributes_count]; {@link DirectivesMethod} }- Since:
- 0.1
-
-
Constructor Summary
Constructors Constructor Description DirectivesMethodProperties()Constructor.DirectivesMethodProperties(int access, String name, String descriptor, String signature, String... exceptions)Constructor.DirectivesMethodProperties(int access, String name, String descriptor, String signature, String[] exceptions, DirectivesMaxs max, DirectivesMethodParams params)Constructor.DirectivesMethodProperties(int access, String name, String descriptor, String signature, String[] exceptions, DirectivesMaxs max, DirectivesMethodParams params, Format format)Constructor.DirectivesMethodProperties(String name)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
-
DirectivesMethodProperties
public DirectivesMethodProperties()
Constructor.
-
DirectivesMethodProperties
public DirectivesMethodProperties(String name)
Constructor.- Parameters:
name- Method name.
-
DirectivesMethodProperties
public DirectivesMethodProperties(int access, String name, String descriptor, String signature, String... exceptions)Constructor.- Parameters:
access- Access modifiers.name- Method name.descriptor- Method descriptor.signature- Method signature.exceptions- Method exceptions.- Suppressed Checkstyle violations:
- ParameterNumberCheck (5 lines)
-
DirectivesMethodProperties
public DirectivesMethodProperties(int access, String name, String descriptor, String signature, String[] exceptions, DirectivesMaxs max, DirectivesMethodParams params)Constructor.- Parameters:
access- Access modifiers.name- Method name.descriptor- Method descriptor.signature- Method signature.exceptions- Method exceptions.max- Max stack and locals.params- Method parameters.- Suppressed Checkstyle violations:
- ParameterNumberCheck (5 lines)
-
DirectivesMethodProperties
public DirectivesMethodProperties(int access, String name, String descriptor, String signature, String[] exceptions, DirectivesMaxs max, DirectivesMethodParams params, Format format)Constructor.- Parameters:
access- Access modifiers.name- Method name.descriptor- Method descriptor.signature- Method signature.exceptions- Method exceptions.max- Max stack and locals.params- Method parameters.format- Format of the directives.- Suppressed Checkstyle violations:
- ParameterNumberCheck (5 lines)
-
-