Skip to main content
4 events
when toggle format what by license comment
Nov 9, 2019 at 20:39 comment added kurunve That just means that myMethod is referenced somewhere as static. as soon all references are removed - method could be saved as non-static
Nov 9, 2019 at 1:50 comment added Carlos Naranjo Removing static from the method fires this error: Compile failure on line 12, column 21: Non static method cannot be referenced from a static context: void OpportunitiesHelper.myMethod(). I'm not getting the same error than him. Weird..
Nov 9, 2019 at 1:42 comment added Adrian Larson It is perfectly valid to reference static variables from an instance method.
Nov 9, 2019 at 1:40 history answered Carlos Naranjo CC BY-SA 4.0