|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtend.middleend.xpand.internal.XpandConverterUtil
public class XpandConverterUtil
Constructor Summary | |
---|---|
XpandConverterUtil()
|
Method Summary | |
---|---|
static XpandDefinition |
findDefinition(XpandExecutionContext ctx,
java.lang.String name,
Type target,
Type[] paramTypes)
Find a XpandDefinition based on it's name and parameter types |
static XpandDefinition |
guessDefinition(XpandExecutionContext ctx,
java.lang.String name,
Type target,
Type[] paramTypes)
Try to find a XpandDefinition based on it's name and the number of parameters |
static java.lang.String |
lastSegment(java.lang.String fqn)
Get the last segment of the FQN |
static java.lang.String |
withoutLastSegment(java.lang.String fqn)
Get the namespace of the FQN dropping the last segment of the FQN |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XpandConverterUtil()
Method Detail |
---|
public static XpandDefinition findDefinition(XpandExecutionContext ctx, java.lang.String name, Type target, Type[] paramTypes)
ctx
- name
- target
- paramTypes
-
public static XpandDefinition guessDefinition(XpandExecutionContext ctx, java.lang.String name, Type target, Type[] paramTypes)
ctx
- name
- target
- paramTypes
-
public static java.lang.String withoutLastSegment(java.lang.String fqn)
fqn
-
public static java.lang.String lastSegment(java.lang.String fqn)
fqn
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |