org.apache.felix.ipojo.parser
Class MethodMetadata

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

public class MethodMetadata
extends Object

A Method Metadata represents a method from the implementation class. This class allows getting information about a method : name, arguments, return type...

Author:
Felix Project Team

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

Method Detail

getMethodName

public String getMethodName()

getMethodArguments

public String[] getMethodArguments()

getMethodReturn

public String getMethodReturn()

getMethodIdentifier

public String getMethodIdentifier()
Gets the method unique identifier. For internal usage only. A method identifier is a unique string that can be a java field that identify the method.

Returns:
the method identifier.

computeMethodId

public static String computeMethodId(Method method)
Computes the method id for the given Method object.

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


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.