Is following possible:
1) Somewhere I define something like:
private static enum MODE
{
    ANDROID,
    HOLO_EVERYWHERE
}
public static final MODE = MODE.ANDROID;
2) use this definitions and make some CUSTOM code, like following (or similar, or just somehow else, this code is just an example to demonstrate what I want... something like #ifdef in C...):
if (MODE == MODE.ANDROID)
    include android.app.Activity as ACTIVITY;
else
    include com.WazaBe.HoloEverywhere.sherlock.SActivity as ACTIIVTIY;
public ExtendedActivity extends ACTIVITY
{
    public ExtendedActivity()
    {
        if (MODE == MODE.ANDROID)
            this.callFunction1();
        else
            this.callFunction2();
    }
}
EDIT
My goal is following:
I don't want to wrap the two classes because I want my library to work without the other library (like the HoloEverywhere library) installed... I don't want a user of my library either change my code or include the HoloLibrary...
I want him to be able to set up which base class to use and that's it...
 
     
    