Code example for Method

Methods: getGenericReturnTypegetModifiersgetNamegetReturnType

0
     * Constructor. 
     * @param method The method 
     */ 
    public Member(Method method)
    { 
        this.name = ClassUtils.getFieldNameForJavaBeanGetter(method.getName());
        this.type = method.getReturnType();
        this.modifiers = method.getModifiers();
        this.genericType = method.getGenericReturnType();
        this.property = true;
    } 
 
    /** 
     * Field name or Method name (without get/set/is prefix) 
     * @return Name of the field or property. 
     */ 
    public String getName()
    { 
        return name;
    } 
Connect your IDE to all the code out there  Get Codota for Java