public abstract static class Operation.InfoAndRule extends java.lang.Object implements Operation.IInfo, Primitive.Factory<Operation>
Constructor and Description |
---|
Operation.InfoAndRule(java.lang.Class<?> opClass,
java.lang.String name,
boolean isRoot,
ArgumentDecls decls,
boolean isBranch,
boolean isConditionalBranch,
boolean canThrowException,
boolean load,
boolean store,
int blockSize) |
Operation.InfoAndRule(java.lang.Class<?> opClass,
java.lang.String name,
boolean isRoot,
ArgumentDecls decls,
boolean isBranch,
boolean isConditionalBranch,
boolean canThrowException,
boolean load,
boolean store,
int blockSize,
Operation.Shortcuts shortcuts) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,OperationBuilder> |
createBuilders() |
java.util.Map<java.lang.String,OperationBuilder> |
createBuildersForShortcut(java.lang.String contextName) |
java.util.Collection<MetaOperation> |
getMetaData()
Returns a collection of meta data objects describing the operation (or the group of
operations) the info object refers to.
|
MetaOperation |
getMetaDataItem() |
java.lang.String |
getName()
Returns the name of the operation or the name of the OR rule used for grouping operations.
|
boolean |
isRoot()
Checks whether the current operation is a root.
|
boolean |
isSupported(Operation op)
Checks if the current operation (or group of operations) implements (or contains) the
specified operation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create
public Operation.InfoAndRule(java.lang.Class<?> opClass, java.lang.String name, boolean isRoot, ArgumentDecls decls, boolean isBranch, boolean isConditionalBranch, boolean canThrowException, boolean load, boolean store, int blockSize, Operation.Shortcuts shortcuts)
public Operation.InfoAndRule(java.lang.Class<?> opClass, java.lang.String name, boolean isRoot, ArgumentDecls decls, boolean isBranch, boolean isConditionalBranch, boolean canThrowException, boolean load, boolean store, int blockSize)
public final java.lang.String getName()
Operation.IInfo
getName
in interface Operation.IInfo
public final boolean isRoot()
Operation.IInfo
isRoot
in interface Operation.IInfo
true
if it is a root operation or false
otherwise.public final boolean isSupported(Operation op)
Operation.IInfo
isSupported
in interface Operation.IInfo
op
- An operation object.public final java.util.Collection<MetaOperation> getMetaData()
Operation.IInfo
getMetaData
in interface Operation.IInfo
public final MetaOperation getMetaDataItem()
public final java.util.Map<java.lang.String,OperationBuilder> createBuilders()
createBuilders
in interface Operation.IInfo
public final java.util.Map<java.lang.String,OperationBuilder> createBuildersForShortcut(java.lang.String contextName)
createBuildersForShortcut
in interface Operation.IInfo