Im developing Android Application and somehow I should call "super" without super keyword inside method. Can I call super with instance of class? For example:
@Override 
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState); 
}
How can I call super.onCreate(savedInstanceState) without using super keyword?
UPDATE 1 I tried this but this is not working too.
@Override   
public void onCreate(Bundle savedInstanceState) { 
    try {
        getClass().getSuperclass().getMethod("onCreate",Bundle.class).invoke(this,savedInstanceState);
    } 
    catch (IllegalAccessException e) {
        e.printStackTrace();
    } 
    catch (InvocationTargetException e) {
        e.printStackTrace();
    } 
    catch (NoSuchMethodException e) {
        e.printStackTrace();
    }
}
Note: Please understand what I'm talking about. Don't say 'call super()'.
 
                        
Not calling
supermethods is generally a very bad idea, especially when it comes to the activity lifecycle. In fact, an activity will crash without fail if thesupermethod of an activity lifestyle event is not called.By using
@Overrideon a method, you are amending its functionality to do tasks you require, i.e. declare views. However, the parent class may need to do other important things that are of no concern to app-level developers i.e. set states or flags. If a method was designed to be completely implemented by an app-level developer without any parent code executed, it would be declaredabstractor part of aninterfaceinstead.Further reading: