public abstract class ReflectiveFragment extends AbstractFragment
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<Operation,Operation> |
apparentOperation2actualOperation |
protected java.util.Map<Operation,LibraryFeature> |
operationMap |
protected java.util.Map<Property,LibraryFeature> |
propertyMap |
baseInheritance, derivedInheritance
Constructor and Description |
---|
ReflectiveFragment(CompleteInheritance derivedInheritance,
CompleteInheritance baseInheritance) |
Modifier and Type | Method and Description |
---|---|
LibraryFeature |
getImplementation(Operation apparentOperation)
Return the implementation of the actualOperation within this fragment that has the same signature as apparentOperation.
|
java.lang.Iterable<? extends Operation> |
getLocalOperations()
Return the operations within this fragment in operation index order.
|
java.lang.Iterable<? extends Property> |
getLocalProperties()
Return the properties within this fragment in property index order.
|
getActualOperation, getBaseFragment, getBaseInheritance, getDerivedInheritance, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLocalOperation
protected java.util.Map<Operation,LibraryFeature> operationMap
protected java.util.Map<Operation,Operation> apparentOperation2actualOperation
protected java.util.Map<Property,LibraryFeature> propertyMap
public ReflectiveFragment(@NonNull CompleteInheritance derivedInheritance, @NonNull CompleteInheritance baseInheritance)
@NonNull public LibraryFeature getImplementation(@NonNull Operation apparentOperation)
InheritanceFragment
@NonNull public java.lang.Iterable<? extends Operation> getLocalOperations()
InheritanceFragment
@NonNull public java.lang.Iterable<? extends Property> getLocalProperties()
InheritanceFragment