NIHVIVO-3087 Add parens to method display name in dump of argumentless method

This commit is contained in:
ryounes 2011-08-05 14:35:50 +00:00
parent 74c0edabda
commit 4229e04a02
4 changed files with 43 additions and 38 deletions

View file

@ -1,25 +0,0 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
package freemarker.ext.beans;
import java.lang.reflect.Member;
/**
* Class to extract information about the wrapper used to wrap an object in
* the template model.
*/
public class WrapperExtractor {
public static BeansWrapper getWrapper(BeanModel model) {
return model.wrapper;
}
public static int getWrapperExposureLevel(BeanModel model) {
return model.wrapper.getExposureLevel();
}
public static Member getMember(SimpleMethodModel model) {
return model.getMember();
}
}