public class STCustomModelAdaptor
extends org.stringtemplate.v4.misc.ObjectModelAdaptor
Type.isExactType(java.lang.String)
, with argument consisting og xxx with underscores replaced by dot.
Type.ofType_xxx -> Type.isOfType(java.lang.String)
, with argument consisting og xxx with underscores replaced by dot.
Type.instanceMethod_xxx -> Type.hasInstanceMethod(java.lang.String)
,with argument consisting of the overload name format of xxx (i.e. underscores replaced by dot + paranthesis).
Type.staticMethod_xxx -> Type.hasStaticMethod(java.lang.String)
, with argument consisting of the overload name format of xxx (i.e. underscores replaced by dot + paranthesis).
Type.instanceMember_xxx -> Type.hasInstanceMember(java.lang.String)
, where xxx is used as argument.
Type.staticMember_xxx -> Type.hasStaticMember(java.lang.String)
, where xxx is used as argument.Modifier and Type | Field and Description |
---|---|
static String |
magicExactTypeMethodPrefix |
static String |
magicHasInstanceMemberMethodPrefix |
static String |
magicHasInstanceMethodMethodPrefix |
static String |
magicHasStaticMemberMethodPrefix |
static String |
magicHasStaticMethodMethodPrefix |
static String |
magicImplementsMethodPrefix |
Constructor and Description |
---|
STCustomModelAdaptor() |
Modifier and Type | Method and Description |
---|---|
Object |
getProperty(org.stringtemplate.v4.Interpreter interp,
org.stringtemplate.v4.ST self,
Object o,
Object property,
String propertyName) |
public static final String magicExactTypeMethodPrefix
public static final String magicImplementsMethodPrefix
public static final String magicHasInstanceMethodMethodPrefix
public static final String magicHasStaticMethodMethodPrefix
public static final String magicHasInstanceMemberMethodPrefix
public static final String magicHasStaticMemberMethodPrefix
public Object getProperty(org.stringtemplate.v4.Interpreter interp, org.stringtemplate.v4.ST self, Object o, Object property, String propertyName)
getProperty
in interface org.stringtemplate.v4.ModelAdaptor
getProperty
in class org.stringtemplate.v4.misc.ObjectModelAdaptor
Version 2.0.0 generated on 2014-11-22 at 09:45 - (C) 41concepts Aps. Refer to project homepage valjogen.41concepts.com for more information.