title: Are there decorators in java or c# like python functools decorators i.e. @wraps
body: <p>Decorators are a significant part of Python. In simple words: they are functions which modify the functionality of another function. They help to make our code shorter. </p>
  
  <p>For example:</p>
  
  <pre><code>def greet(name):
     def get_message():
         return "Hello "
  
  result = get_message()+name
  return result
  
  print greet("John")
  
  # Outputs: Hello John
  </code></pre>
  
  <p>We can do the work more shorter and easy in the code above with python function decorators:</p>
  
  <pre><code> @greet
   def get_message():
       return "Hello"
  </code></pre>
  
  <p>I think decorators are very useful. Is there something like that in java or c#. I know @override etc. but I couldn't find python-like decorators.</p>