/* skip this+serviceChanged */
private String get_location ()
    {
        final StackTraceElement[] stackTrace = new Throwable ().getStackTrace ();
        for (int i = 2 /* skip this+serviceChanged */; i < stackTrace.length; i++)
        {
            StackTraceElement ste = stackTrace [i];
            String class_name = ste.getClassName ();
            if (!class_name.startsWith ("org.apache.felix.framework.")      // Skip framework (todo: add more fws)
                    && !class_name.equals (this.getClass ().getName ()))    // Skip ourselves
            {
                return (ste.toString ());
            }
        }
        return ("StackTraceElement:Unknown");
    }
{
final StackTraceElement[] stackTrace = new Throwable ().getStackTrace ();
for (int i = 2 /* skip this+serviceChanged */; i < stackTrace.length; i++)
{
StackTraceElement ste = stackTrace [i];
private String get_location ()
{
final StackTraceElement[] stackTrace = new Throwable ().getStackTrace ();
for (int i = 2 /* skip this+serviceChanged */; i < stackTrace.length; i++)
{
StackTraceElement ste = stackTrace [i];
String class_name = ste.getClassName ();
if (!class_name.startsWith ("org.apache.felix.framework.") // Skip framework (todo: add more fws)
&& !class_name.equals (this.getClass ().getName ())) // Skip ourselves
{
return (ste.toString ());
}
}
return ("StackTraceElement:Unknown");
private String get_location ()
{
final StackTraceElement[] stackTrace = new Throwable ().getStackTrace ();
for (int i = 2 /* skip this+serviceChanged */; i < stackTrace.length; i++)
{
StackTraceElement ste = stackTrace [i];
String class_name = ste.getClassName ();
if (!class_name.startsWith ("org.apache.felix.framework.") // Skip framework (todo: add more fws)
&& !class_name.equals (this.getClass ().getName ())) // Skip ourselves
{
return (ste.toString ());
}
}
return ("StackTraceElement:Unknown");
}