# Class StackTraceElement

java.lang.Object
java.lang.StackTraceElement

public class StackTraceElement extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `StackTraceElement(String declaringClass, String methodName, String fileName, int lineNumber)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getClassName()`
  `String`
  `getFileName()`
  `int`
  `getLineNumber()`
  `String`
  `getMethodName()`
  `boolean`
  `isNativeMethod()`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### StackTraceElement

    public StackTraceElement(String declaringClass, String methodName, String fileName, int lineNumber)

- ## Method Details

  - ### getClassName

    public String getClassName()

  - ### getMethodName

    public String getMethodName()

  - ### getFileName

    public String getFileName()

  - ### getLineNumber

    public int getLineNumber()

  - ### isNativeMethod

    public boolean isNativeMethod()