Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public abstract without sharing MyUnsharingClass {
- // Some methods...
- }
- public SomeClass extends MyUnsharingClass {
- // Some methods...
- }
- public virtual inherited sharing MyInheritingClass {
- public void doSomething() {
- // Some code...
- }
- }
- public virtual without sharing AnotherClass extends MyInheritingClass {
- // This class might be empty for all I care right now.
- }
- public virtual inherited sharing MyInheritingClass2 {
- public virtual void doSomething() {
- // Some code...
- }
- }
- public virtual without sharing AnotherClass extends MyInheritingClass2 {
- public override void doSomething() {
- super.doSomething();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement