-
- All Superinterfaces:
Comparable<OpInfo>
public interface OpInfo extends Comparable<OpInfo>
Metadata about an Op implementation.- Author:
- Curtis Rueden, David Kolb, Gabriel Selzer
-
-
Field Summary
Fields Modifier and Type Field Description static StringIMPL_DECLARATIONIdentifier for an unaltered OpInfo in an Op signature
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default intcompareTo(OpInfo that)StructInstance<?>createOpInstance(List<?> dependencies)Creates an instance of the op's associatedStructmetadata.HintsdeclaredHints()The hints declared by the Opdefault Stringdescription()A description of the Op's behavior.AnnotatedElementgetAnnotationBearer()Stringid()A unique identifier for an Op.StringimplementationName()A fully qualified, unambiguous name for this specific op implementation.default List<Member<?>>inputs()The op's input parameters.default List<Type>inputTypes()The types of the op's input parameters.List<String>names()Name(s) of the op.TypeopType()Generic type of the op.default Member<?>output()The op's output parameter, if there is exactly one.default List<Member<?>>outputs()The op's output parameters.default TypeoutputType()The type of the op's output parameter, if there is exactly one.doublepriority()The op's priority.Structstruct()The associatedStructmetadata.Stringversion()The version of the Op.
-
-
-
Field Detail
-
IMPL_DECLARATION
static final String IMPL_DECLARATION
Identifier for an unaltered OpInfo in an Op signature- See Also:
- Constant Field Values
-
-
Method Detail
-
opType
Type opType()
Generic type of the op. This will be the parameterized type of the concrete class
-
declaredHints
Hints declaredHints()
The hints declared by the Op
-
output
default Member<?> output()
The op's output parameter, if there is exactly one.
-
outputType
default Type outputType()
The type of the op's output parameter, if there is exactly one.
-
priority
double priority()
The op's priority.
-
implementationName
String implementationName()
A fully qualified, unambiguous name for this specific op implementation.
-
createOpInstance
StructInstance<?> createOpInstance(List<?> dependencies)
Creates an instance of the op's associatedStructmetadata.
-
getAnnotationBearer
AnnotatedElement getAnnotationBearer()
-
compareTo
default int compareTo(OpInfo that)
- Specified by:
compareToin interfaceComparable<OpInfo>
-
version
String version()
The version of the Op.
-
id
String id()
A unique identifier for an Op.
-
description
default String description()
A description of the Op's behavior.
-
-