org.jboss.reflect.spi
Interface ConstructorInfo

All Superinterfaces:
AnnotatedInfo, Cloneable, org.jboss.util.JBossInterface, MemberInfo, ModifierInfo
All Known Implementing Classes:
ConstructorInfoImpl, JavassistConstructorInfo, ReflectConstructorInfoImpl

public interface ConstructorInfo
extends AnnotatedInfo, MemberInfo

Constructor info

Author:
Bill Burke, Adrian Brock

Field Summary
 
Fields inherited from interface org.jboss.reflect.spi.ModifierInfo
ABSTRACT, CONSTANT, FINAL, PACKAGE, PACKAGE_ABSTRACT, PACKAGE_CONSTANT, PACKAGE_STATIC, PRIVATE, PRIVATE_CONSTANT, PRIVATE_STATIC, PROTECTED, PROTECTED_ABSTRACT, PROTECTED_CONSTANT, PROTECTED_STATIC, PUBLIC, PUBLIC_ABSTRACT, PUBLIC_CONSTANT, PUBLIC_STATIC, STATIC
 
Method Summary
 ClassInfo[] getExceptionTypes()
          Get the exception types
 ParameterInfo[] getParameters()
          Get the parameters
 TypeInfo[] getParameterTypes()
          Get the parameter types
 Object newInstance(Object[] args)
          Create a new instance
 
Methods inherited from interface org.jboss.reflect.spi.AnnotatedInfo
getAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresent
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString, toShortString
 
Methods inherited from interface org.jboss.reflect.spi.MemberInfo
getDeclaringClass
 
Methods inherited from interface org.jboss.reflect.spi.ModifierInfo
getModifiers, isPublic, isStatic, isVolatile
 

Method Detail

getParameterTypes

TypeInfo[] getParameterTypes()
Get the parameter types

Returns:
the parameters types

getParameters

ParameterInfo[] getParameters()
Get the parameters

Returns:
the parameters

getExceptionTypes

ClassInfo[] getExceptionTypes()
Get the exception types

Returns:
the exception types

newInstance

Object newInstance(Object[] args)
                   throws Throwable
Create a new instance

Parameters:
args - the arguments
Returns:
the instance
Throws:
Throwable - for any error


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