Package jadex.bdiv3.model
Class ConstructorInfo
- java.lang.Object
- 
- jadex.bdiv3.model.ConstructorInfo
 
- 
 public class ConstructorInfo extends java.lang.ObjectDescribes a constructor.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.ClassLoaderclassloaderThe classloader with which this info was loaded.protected java.lang.StringclassnameThe clazz name.protected java.lang.reflect.Constructor<?>methodThe field (cached).protected java.lang.String[]parametertypesThe fully qualified parameter clazz names.
 - 
Constructor SummaryConstructors Constructor Description ConstructorInfo()Create a new ConstructorInfo.ConstructorInfo(java.lang.reflect.Constructor<?> m)Create a new ConstructorInfo.ConstructorInfo(java.lang.String[] parametertypes, java.lang.String classname)Create a new FieldInfo.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClassName()Get the classname.java.lang.reflect.Constructor<?>getConstructor(java.lang.ClassLoader cl)Get the constructor via classloader.java.lang.String[]getParameterTypes()Get the parametertypes.voidsetClassName(java.lang.String classname)Set the classname.voidsetParameterTypes(java.lang.String[] parametertypes)Set the parametertypes.
 
- 
- 
- 
Field Detail- 
parametertypesprotected java.lang.String[] parametertypes The fully qualified parameter clazz names.
 - 
classnameprotected java.lang.String classname The clazz name.
 - 
methodprotected java.lang.reflect.Constructor<?> method The field (cached).
 - 
classloaderprotected java.lang.ClassLoader classloader The classloader with which this info was loaded. Note 1: This must not be the same as method.getClass().getClassLoader() because the latter returns the loader responsible for the class which could be higher in the parent hierarchy. Note 2: The check current_cl==last_cl is not perfect because when invoked with a parent classloader it will reload the class (although not necessary)
 
- 
 - 
Constructor Detail- 
ConstructorInfopublic ConstructorInfo() Create a new ConstructorInfo.
 - 
ConstructorInfopublic ConstructorInfo(java.lang.reflect.Constructor<?> m) Create a new ConstructorInfo.
 - 
ConstructorInfopublic ConstructorInfo(java.lang.String[] parametertypes, java.lang.String classname)Create a new FieldInfo.
 
- 
 - 
Method Detail- 
getConstructorpublic java.lang.reflect.Constructor<?> getConstructor(java.lang.ClassLoader cl) Get the constructor via classloader.- Parameters:
- cl- The classloader.
- Returns:
- The constructor.
 
 - 
getParameterTypespublic java.lang.String[] getParameterTypes() Get the parametertypes.- Returns:
- The parametertypes.
 
 - 
setParameterTypespublic void setParameterTypes(java.lang.String[] parametertypes) Set the parametertypes.- Parameters:
- parametertypes- The parametertypes to set.
 
 - 
getClassNamepublic java.lang.String getClassName() Get the classname.- Returns:
- The classname.
 
 - 
setClassNamepublic void setClassName(java.lang.String classname) Set the classname.- Parameters:
- classname- The classname to set.
 
 
- 
 
-