NIHVIVO-3087 Add parens to method display name in dump of argumentless method
This commit is contained in:
parent
74c0edabda
commit
4229e04a02
4 changed files with 43 additions and 38 deletions
|
@ -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();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue