Class BytecodeAnnotations
- java.lang.Object
-
- org.eolang.jeo.representation.bytecode.BytecodeAnnotations
-
public final class BytecodeAnnotations extends Object
Bytecode annotations.- Since:
- 0.6
-
-
Constructor Summary
Constructors Constructor Description BytecodeAnnotations(List<BytecodeAnnotation> all)
Constructor.BytecodeAnnotations(Stream<BytecodeAnnotation> all)
Constructor.BytecodeAnnotations(BytecodeAnnotation... all)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<BytecodeAnnotation>
annotations()
All annotations.DirectivesAnnotations
directives()
Directives with the name "annotations".DirectivesAnnotations
directives(String name)
Directives with the given name.
-
-
-
Constructor Detail
-
BytecodeAnnotations
public BytecodeAnnotations(BytecodeAnnotation... all)
Constructor.- Parameters:
all
- All annotations.
-
BytecodeAnnotations
public BytecodeAnnotations(Stream<BytecodeAnnotation> all)
Constructor.- Parameters:
all
- All annotations.
-
BytecodeAnnotations
public BytecodeAnnotations(List<BytecodeAnnotation> all)
Constructor.- Parameters:
all
- All annotations.
-
-
Method Detail
-
annotations
public List<BytecodeAnnotation> annotations()
All annotations.- Returns:
- Annotations.
-
directives
public DirectivesAnnotations directives(String name)
Directives with the given name.- Parameters:
name
- Name of the directives.- Returns:
- Directives.
-
directives
public DirectivesAnnotations directives()
Directives with the name "annotations".- Returns:
- Directives.
-
-