Code example for Method

Methods: getReturnType

0
    public Class<?>[] getParameterTypes() {
        return method.getParameterTypes();
    } 
 
    public Class<?> getReturnType() {
        return method.getReturnType();
    } 
 
    public boolean isVarArgs() { 
        return method.isVarArgs();
    } 
     
    @Override 
    public int hashCode() { 
        return 1; 
    } 
     
    @Override 
    public boolean equals(Object obj) {
        return method.equals(obj);