┌─────────────┐ │MyInterface │ ┌───────┐ ├─────────────┤ │Builder│ │+ GetValue() │ ├───────┤ └─────────────┘ └───────┘ ┌──────────────────────┐ │Foo │ ├──────────────────────┤ │- field int │ │+ PublicField bool │ │- myPrivateFunction() │ │+ GetValue() │ │+ MyPublicFunction() │ └──────────────────────┘