org.apache.felix.ipojo.parser
Class MethodMetadata

java.lang.Object
  extended by org.apache.felix.ipojo.parser.MethodMetadata

public class MethodMetadata
extends java.lang.Object

A Method Metadata represent a method from the implementation class. This class allow to get information about a method : name, arguments, return type...

Author:
Felix Project Team

Method Summary
static java.lang.String computeMethodId(java.lang.reflect.Method method)
          Compute the method id for the given method.
 java.lang.String[] getMethodArguments()
           
 java.lang.String getMethodIdentifier()
          Get the method unique identifier.
 java.lang.String getMethodName()
           
 java.lang.String getMethodReturn()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMethodName

public java.lang.String getMethodName()

getMethodArguments

public java.lang.String[] getMethodArguments()

getMethodReturn

public java.lang.String getMethodReturn()

getMethodIdentifier

public java.lang.String getMethodIdentifier()
Get the method unique identifier. For internal usage only.

Returns:
the method identifier.

computeMethodId

public static java.lang.String computeMethodId(java.lang.reflect.Method method)
Compute the method id for the given method.

Parameters:
method - : Method object.
Returns:
the method id.