JBoss MetaData Repository 2.2.0.SP1

org.jboss.metadata.spi.signature
Class ParametersSignature

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

public abstract class ParametersSignature
extends Signature

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
protected ParametersSignature(int param, Class<?>... parameters)
          Create a new Signature.
protected ParametersSignature(int param, String... parameters)
          Create a new Signature.
protected ParametersSignature(int param, org.jboss.reflect.spi.TypeInfo... parameters)
          Create a new Signature.
protected ParametersSignature(String name, int param, Class<?>... parameters)
          Create a new Signature.
protected ParametersSignature(String name, int param, String... parameters)
          Create a new Signature.
protected ParametersSignature(String name, int param, org.jboss.reflect.spi.TypeInfo... parameters)
          Create a new Signature.
 
Method Summary
protected  void checkParam()
          Check the param number makes sense
 int getParam()
          Get the param.
protected  void internalToString(StringBuilder builder)
          Build the to String
 
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

ParametersSignature

protected ParametersSignature(int param,
                              String... parameters)
Create a new Signature.

Parameters:
param - the parameter number
parameters - the parameters

ParametersSignature

protected ParametersSignature(int param,
                              Class<?>... parameters)
Create a new Signature.

Parameters:
param - the parameter number
parameters - the parameters

ParametersSignature

protected ParametersSignature(int param,
                              org.jboss.reflect.spi.TypeInfo... parameters)
Create a new Signature.

Parameters:
param - the parameter number
parameters - the parameters

ParametersSignature

protected ParametersSignature(String name,
                              int param,
                              String... parameters)
Create a new Signature.

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

ParametersSignature

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

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

ParametersSignature

protected ParametersSignature(String name,
                              int param,
                              org.jboss.reflect.spi.TypeInfo... parameters)
Create a new Signature.

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

getParam

public int getParam()
Get the param.

Returns:
the param.

checkParam

protected void checkParam()
Check the param number makes sense


internalToString

protected void internalToString(StringBuilder builder)
Description copied from class: Signature
Build the to String

Overrides:
internalToString in class Signature
Parameters:
builder - the builder to use

JBoss MetaData Repository 2.2.0.SP1

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