@@ -0,0 +1,1583 @@
+/*%0A * Copyright 2020 Martin Winandy%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22); you may not use this file except in compliance with%0A * the License. You may obtain a copy of the License at%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on%0A * an %22AS IS%22 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the%0A * specific language governing permissions and limitations under the License.%0A */%0A%0Apackage org.tinylog.runtime;%0A%0A/**%0A * Representation for a defined stack trace element in the current stack trace.%0A */%0Apublic interface StackTraceLocation %7B%0A%0A%09/**%0A%09 * Adjusts the stack trace location for passing it to a method call.%0A%09 *%0A%09 * %3Cp%3E%0A%09 *     Whenever a stack trace location should be passed to another method, the result of this methods has to passed%0A%09 *     instead of the original stack location object. The reason is that every method call increases the stack trace%0A%09 *     by pushing an addition stack trace element.%0A%09 * %3C/p%3E%0A%09 *%0A%09 * @return Stack trace location that can be passed to another method%0A%09 */%0A%09StackTraceLocation push();%0A%0A%09/**%0A%09 * Retrieved the fully-qualified class name of the caller.%0A%09 *%0A%09 * @return The fully-qualified class name of the caller%0A%09 */%0A%09String getCallerClassName();%0A%0A%09/**%0A%09 * Retrieved the complete stack trace element of the caller.%0A%09 *%0A%09 * @return The complete stack trace element of the caller%0A%09 */%0A%09StackTraceElement getCallerStackTraceElement();%0A%0A%7D%0A

Add interface for stack trace locations