- java.lang.Object
-
- org.scijava.ops.engine.matcher.impl.DefaultOpMethodInfo
-
- All Implemented Interfaces:
Comparable<OpInfo>,OpInfo
public class DefaultOpMethodInfo extends Object implements OpInfo
- Author:
- Marcel Wiedenmann
-
-
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 anOpMethod, we define the implementation as the concatenation of: The fully qualified name of the class containing the method The method name The method parameters The version of the class containing the method, 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
-
id
public String id()
For anOpMethod, we define the implementation as the concatenation of:- The fully qualified name of the class containing the method
- The method name
- The method parameters
- The version of the class containing the method, with a preceding
@
For example, for a method
baz(Double in1, String in2)in classcom.example.foo.Bar, you might havecom.example.foo.Bar.baz(Double in1,String in2)@1.0.0
-
getAnnotationBearer
public AnnotatedElement getAnnotationBearer()
- Specified by:
getAnnotationBearerin interfaceOpInfo
-
-