# Static Method

**URL:** <https://verificationacademy.com/forums/t/static-method/30147>\
**Category:** UVM\
**Tags:** UVM, static-method\
**Created:** [November 19, 2014, 6:43pm UTC](https://verificationacademy.com/forums/t/static-method/30147 "2014-11-19T18:43:03Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![CRVAddict](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/c/ed8c4c/32.png) [@CRVAddict](https://verificationacademy.com/forums/u/CRVAddict)\
**Post date:** [March 11, 2020, 3:33am UTC](https://verificationacademy.com/forums/t/static-method/30147/7 "2020-03-11T03:33:10Z")

</div>

_In reply to [dave\_59](https://verificationacademy.com/forums/t/static-method/30147/6):_

Hi Rich,

I got a follow-up question to this, I have a static function inside class extended from uvm\_sequence(so parent is uvm\_object not uvm\_component).

Inside the static function if i call 'uvm\_error i am getting a compile error

**[b]\*[b]Illegal to access non-static method ‘uvm\_report\_enabled’ from a static method.**  
_[/b][/b]_\*\*\*

I am not able to understand why, please enlighten me.

---

_[View the full topic](https://verificationacademy.com/forums/t/static-method/30147)._
