patterntesting.runtime.util.reflect
Class ConstructorSignatureImpl

Package class diagram package ConstructorSignatureImpl
java.lang.Object
  extended by patterntesting.runtime.util.reflect.ConstructorSignatureImpl
All Implemented Interfaces:
CodeSignature, ConstructorSignature, MemberSignature, Signature

public class ConstructorSignatureImpl
extends Object
implements ConstructorSignature

The Class ConstructorSignatureImpl.

Since:
04.04.2009
Version:
$Revision: 1.4 $
Author:
oliver

Constructor Summary
ConstructorSignatureImpl(Constructor<?> ctor)
          Instantiates a new constructor signature impl.
 
Method Summary
 Constructor<?> getConstructor()
           
 Class<?> getDeclaringType()
          Gets the declaring type.
 String getDeclaringTypeName()
          Gets the declaring type name.
 Class<?>[] getExceptionTypes()
          Gets the exception types.
 int getModifiers()
          Gets the modifiers.
 String getName()
          Gets the name.
 String[] getParameterNames()
          Gets the parameter names.
 Class<?>[] getParameterTypes()
          Gets the parameter types.
 String toLongString()
          To long string.
 String toShortString()
          To short string.
 String toString()
          To string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstructorSignatureImpl

public ConstructorSignatureImpl(Constructor<?> ctor)
Instantiates a new constructor signature impl.

Parameters:
ctor - the ctor
Method Detail

getConstructor

public Constructor<?> getConstructor()
Specified by:
getConstructor in interface ConstructorSignature
See Also:
ConstructorSignature.getConstructor()

getExceptionTypes

public Class<?>[] getExceptionTypes()
Gets the exception types.

Specified by:
getExceptionTypes in interface CodeSignature
Returns:
the exception types
See Also:
CodeSignature.getExceptionTypes()

getParameterNames

@UnsupportedOperation
public String[] getParameterNames()
Gets the parameter names.

Specified by:
getParameterNames in interface CodeSignature
Returns:
the parameter names
See Also:
CodeSignature.getParameterNames()

getParameterTypes

public Class<?>[] getParameterTypes()
Gets the parameter types.

Specified by:
getParameterTypes in interface CodeSignature
Returns:
the parameter types
See Also:
CodeSignature.getParameterTypes()

getDeclaringType

public Class<?> getDeclaringType()
Gets the declaring type.

Specified by:
getDeclaringType in interface Signature
Returns:
the declaring type
See Also:
Signature.getDeclaringType()

getDeclaringTypeName

public String getDeclaringTypeName()
Gets the declaring type name.

Specified by:
getDeclaringTypeName in interface Signature
Returns:
the declaring type name
See Also:
Signature.getDeclaringTypeName()

getModifiers

public int getModifiers()
Gets the modifiers.

Specified by:
getModifiers in interface Signature
Returns:
the modifiers
See Also:
Signature.getModifiers()

getName

public String getName()
Gets the name.

Specified by:
getName in interface Signature
Returns:
the name
See Also:
Signature.getName()

toLongString

public String toLongString()
To long string.

Specified by:
toLongString in interface Signature
Returns:
the string
See Also:
Signature.toLongString()

toShortString

public String toShortString()
To short string.

Specified by:
toShortString in interface Signature
Returns:
the string
See Also:
Signature.toShortString()

toString

public String toString()
To string.

Specified by:
toString in interface Signature
Overrides:
toString in class Object
Returns:
the string
See Also:
Object.toString()


Copyright © 2002–2014 PatternTesting Team. All rights reserved.