Package jadex.commons.beans
Class MethodDescriptor
- java.lang.Object
-
- jadex.commons.beans.FeatureDescriptor
-
- jadex.commons.beans.MethodDescriptor
-
public class MethodDescriptor extends FeatureDescriptor
Describes a bean's method.
-
-
Constructor Summary
Constructors Constructor Description MethodDescriptor(java.lang.reflect.Method method)
Method.
MethodDescriptor(java.lang.reflect.Method method, ParameterDescriptor[] parameterDescriptors)
Method and
ParameterDescriptor
s.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.Method
getMethod()
ParameterDescriptor[]
getParameterDescriptors()
-
Methods inherited from class jadex.commons.beans.FeatureDescriptor
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue
-
-
-
-
Constructor Detail
-
MethodDescriptor
public MethodDescriptor(java.lang.reflect.Method method, ParameterDescriptor[] parameterDescriptors)
Method and
ParameterDescriptor
s. TheFeatureDescriptor.getName()
is set as the name of themethod
passed.- Parameters:
method
- The Method to set.parameterDescriptors
- An array of parameter descriptors.
-
MethodDescriptor
public MethodDescriptor(java.lang.reflect.Method method)
Method. The
FeatureDescriptor.getName()
is set as the name of themethod
passed.- Parameters:
method
- The Method to set.
-
Method Detail
-
getMethod
public java.lang.reflect.Method getMethod()
- Returns:
- A
Method
instance.
-
getParameterDescriptors
public ParameterDescriptor[] getParameterDescriptors()
- Returns:
- An array of
ParameterDescriptor
instance ornull
.
-
-
-