JBoss Reflection 2.2.1.SP1

org.jboss.reflect.spi
Interface MutableConstructorInfo

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

public interface MutableConstructorInfo
extends ConstructorInfo

A MutableConstructorInfo.

Version:
$Revision: 1.1 $
Author:
Stale W. Pedersen

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
 void setBody(Body body)
          The source text of the method body
 void setExceptions(ClassInfo[] exceptions)
          A list of the exception types
 void setExceptions(String[] exceptions)
          A list of the exception types
 void setModifier(ModifierInfo mi)
          Set modifier If not set it will default to public (non-static)
 void setParameters(ClassInfo[] parameters)
          A list of the parameter types
 void setParameters(String[] parameters)
          A list of the parameter types
 
Methods inherited from interface org.jboss.reflect.spi.ConstructorInfo
getExceptionTypes, getParameters, getParameterTypes, newInstance
 
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

setModifier

void setModifier(ModifierInfo mi)
Set modifier If not set it will default to public (non-static)

Parameters:
mi -

setBody

void setBody(Body body)
The source text of the method body

Parameters:
body -

setParameters

void setParameters(String[] parameters)
A list of the parameter types

Parameters:
parameters -

setParameters

void setParameters(ClassInfo[] parameters)
A list of the parameter types

Parameters:
parameters -

setExceptions

void setExceptions(String[] exceptions)
A list of the exception types

Parameters:
exceptions -

setExceptions

void setExceptions(ClassInfo[] exceptions)
A list of the exception types

Parameters:
exceptions -

JBoss Reflection 2.2.1.SP1

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