- java.lang.Object
-
- org.scijava.ops.engine.matcher.impl.DefaultOpFieldInfo
-
- All Implemented Interfaces:
Comparable<OpInfo>,OpInfo
public class DefaultOpFieldInfo extends Object implements OpInfo
Metadata about an Op implementation defined as a field.- Author:
- Curtis Rueden
-
-
Field Summary
-
Fields inherited from interface org.scijava.ops.api.OpInfo
IMPL_DECLARATION
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StructInstance<?>createOpInstance(List<?> dependencies)HintsdeclaredHints()Stringdescription()booleanequals(Object o)AnnotatedElementgetAnnotationBearer()inthashCode()Stringid()For anOpField, we define the implementation as the concatenation of: The fully qualified name of the class containing the field The method field The version of the class containing the field, with a preceding@StringimplementationName()List<String>names()TypeopType()doublepriority()Structstruct()StringtoString()Stringversion()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.scijava.ops.api.OpInfo
compareTo, inputs, inputTypes, output, outputs, outputType
-
-
-
-
Method Detail
-
description
public String description()
- Specified by:
descriptionin interfaceOpInfo
-
declaredHints
public Hints declaredHints()
- Specified by:
declaredHintsin interfaceOpInfo
-
implementationName
public String implementationName()
- Specified by:
implementationNamein interfaceOpInfo
-
createOpInstance
public StructInstance<?> createOpInstance(List<?> dependencies)
- Specified by:
createOpInstancein interfaceOpInfo
-
getAnnotationBearer
public AnnotatedElement getAnnotationBearer()
- Specified by:
getAnnotationBearerin interfaceOpInfo
-
id
public String id()
For anOpField, we define the implementation as the concatenation of:- The fully qualified name of the class containing the field
- The method field
- The version of the class containing the field, with a preceding
@
For example, for a field
bazin classcom.example.foo.Bar, you might havecom.example.foo.Bar.baz@1.0.0
-
-