JBoss MetaData Repository 2.2.0.SP1

org.jboss.metadata.spi.signature
Class MethodParametersSignature

java.lang.Object
  extended by org.jboss.metadata.spi.signature.Signature
      extended by org.jboss.metadata.spi.signature.ParametersSignature
          extended by org.jboss.metadata.spi.signature.MethodParametersSignature
Direct Known Subclasses:
JavassistMethodParametersSignature

public class MethodParametersSignature
extends ParametersSignature

Method parameters Signature.

Version:
$Revision: 1.1 $
Author:
Adrian Brock, Ales Justin

Field Summary
 
Fields inherited from class org.jboss.metadata.spi.signature.Signature
NO_NAME, NO_PARAMETER_TYPES, NO_PARAMETERS
 
Constructor Summary
MethodParametersSignature(org.jboss.reflect.spi.MethodInfo method, int param)
          Create a new Signature.
MethodParametersSignature(Method method, int param)
          Create a new Signature.
MethodParametersSignature(String name, int param, Class<?>... parameters)
          Create a new Signature.
MethodParametersSignature(String name, String[] parameters, int param)
          Create a new Signature.
 
Method Summary
 Method getMethod()
          Get the method.
 
Methods inherited from class org.jboss.metadata.spi.signature.ParametersSignature
checkParam, getParam, internalToString
 
Methods inherited from class org.jboss.metadata.spi.signature.Signature
convertParameters, convertParameterTypes, equals, getName, getParameters, getParametersTypes, getParameterTypes, getPrimativeArrayType, getSignature, getSignature, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodParametersSignature

public MethodParametersSignature(String name,
                                 String[] parameters,
                                 int param)
Create a new Signature.

Parameters:
name - the name
param - the parameter number
parameters - the parameters

MethodParametersSignature

public MethodParametersSignature(String name,
                                 int param,
                                 Class<?>... parameters)
Create a new Signature.

Parameters:
name - the name
param - the parameter number
parameters - the parameters

MethodParametersSignature

public MethodParametersSignature(Method method,
                                 int param)
Create a new Signature.

Parameters:
method - the method
param - the parameter number

MethodParametersSignature

public MethodParametersSignature(org.jboss.reflect.spi.MethodInfo method,
                                 int param)
Create a new Signature.

Parameters:
method - the method info
param - the parameter number
Method Detail

getMethod

public Method getMethod()
Get the method.

Returns:
the method could be null if not created using a method

JBoss MetaData Repository 2.2.0.SP1

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.