private boolean isGetter(ProgramElementDoc ped) {
        final String pedName = ped.name();
        return pedName.startsWith("get") || pedName.startsWith("is");
    }
private boolean isGetter ( ProgramElementDoc ped ) { final String pedName = ped . name ( ) ; return pedName . startsWith ( "get" ) || pedName . startsWith ( "is" ) ; }
Test whether the method is a getter.
@param ped property method documentation. Needs to be either property
method, property getter, or property setter.
@return true if the given documentation belongs to a getter.