|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.beans.FeatureDescriptor
java.beans.MethodDescriptor
public class MethodDescriptor
MethodDescriptor describes information about a JavaBeans method. It's a fairly straightforward class (at least something in this package is straightforward!).
Constructor Summary | |
---|---|
MethodDescriptor(Method m)
Create a new MethodDescriptor. |
|
MethodDescriptor(Method m,
ParameterDescriptor[] parameterDescriptors)
Create a new MethodDescriptor. |
Method Summary | |
---|---|
Method |
getMethod()
Get the method this MethodDescriptor represents. |
ParameterDescriptor[] |
getParameterDescriptors()
Get the parameter descriptors from this method. |
Methods inherited from class java.beans.FeatureDescriptor |
---|
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodDescriptor(Method m)
m
- the method it will represent.public MethodDescriptor(Method m, ParameterDescriptor[] parameterDescriptors)
m
- the method it will represent.parameterDescriptors
- descriptions of the parameters (especially names).Method Detail |
---|
public ParameterDescriptor[] getParameterDescriptors()
public Method getMethod()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |