JBoss MetaData Repository 2.2.0.SP1

org.jboss.metadata.spi.signature
Class ConstructorParametersSignature

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.ConstructorParametersSignature
Direct Known Subclasses:
JavassistConstructorParametersSignature

public class ConstructorParametersSignature
extends ParametersSignature

Constructor parameters Signature.

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.metadata.spi.signature.Signature
NO_NAME, NO_PARAMETER_TYPES, NO_PARAMETERS
 
Constructor Summary
ConstructorParametersSignature(Constructor<?> constructor, int param)
          Create a new Signature.
ConstructorParametersSignature(org.jboss.reflect.spi.ConstructorInfo constructor, int param)
          Create a new Signature.
ConstructorParametersSignature(int param, Class<?>... parameters)
          Create a new Signature.
ConstructorParametersSignature(int param, String... parameters)
          Create a new Signature.
 
Method Summary
 Constructor<?> getConstructor()
          Get the constructor.
 
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

ConstructorParametersSignature

public ConstructorParametersSignature(int param,
                                      String... parameters)
Create a new Signature.

Parameters:
param - the parameter number
parameters - the parameters

ConstructorParametersSignature

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

Parameters:
param - the parameter number
parameters - the parameters

ConstructorParametersSignature

public ConstructorParametersSignature(Constructor<?> constructor,
                                      int param)
Create a new Signature.

Parameters:
constructor - the constructor
param - the parameter number

ConstructorParametersSignature

public ConstructorParametersSignature(org.jboss.reflect.spi.ConstructorInfo constructor,
                                      int param)
Create a new Signature.

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

getConstructor

public Constructor<?> getConstructor()
Get the constructor.

Returns:
the constructor (could be null if not created using a constructor .

JBoss MetaData Repository 2.2.0.SP1

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