org.eidola.kernel
Class Capsule.Compilation
java.lang.Object
|
+--org.eidola.kernel.Container.Compilation
|
+--org.eidola.kernel.Element.Compilation
|
+--org.eidola.kernel.NamedElement.Compilation
|
+--org.eidola.kernel.Capsule.Compilation
- Direct Known Subclasses:
- Class.Compilation, Package.Compilation
- Enclosing class:
- Capsule
- public abstract class Capsule.Compilation
- extends NamedElement.Compilation
Method Summary |
protected void |
calculateDerived()
Calculates the contents of this capsule. |
protected void |
checkLazy()
Check the capsule structure. |
Capsule.Compilation
public Capsule.Compilation()
calculateDerived
protected void calculateDerived()
- Calculates the contents of this capsule.
- Overrides:
calculateDerived
in class Container.Compilation
checkLazy
protected void checkLazy()
- Check the capsule structure. A capsule must satisfy
the following conditions, in addition to the conditions required by
Element.Compilation.checkLazy()
:
- No element can be both a public and a private member.
- Public members' owners must generalize this capsule (this
handles both class inheritance and package membership properly --
see
Class.specializes()
and
Package.specializes()
).
- If we're inheriting a member, it must be a public member of its owner.
- Private members' owners must be this capsule.
- Overrides:
checkLazy
in class NamedElement.Compilation