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.
- Since:
- 0.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.DirectivesMethodProperties
(int access, String descriptor, String signature, String... exceptions) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiondescr()
Method descriptor.Iterator<org.xembly.Directive>
iterator()
void
maxs
(int stack, int locals) Set max stack and locals.void
paramAnnotation
(int index, DirectivesAnnotation annotation) Set parameter annotation.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 Details
-
DirectivesMethodProperties
public DirectivesMethodProperties()Constructor. -
DirectivesMethodProperties
public DirectivesMethodProperties(int access, String descriptor, String signature, String... exceptions) Constructor.- Parameters:
access
- Access modifiers.descriptor
- Method descriptor.signature
- Method signature.exceptions
- Method exceptions.
-
-
Method Details
-
paramAnnotation
Set parameter annotation.- Parameters:
index
- Parameter index.annotation
- Annotation.
-
maxs
public void maxs(int stack, int locals) Set max stack and locals.- Parameters:
stack
- Max stack size.locals
- Max locals size.
-
descr
Method descriptor.- Returns:
- Descriptor.
-
iterator
-