|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtend.middleend.javaannotations.JavaAnnotationBackendFacade
public class JavaAnnotationBackendFacade
Method Summary | |
---|---|
static JavaAnnotationBackendFacade |
createFromClass(java.lang.String className,
BackendTypesystem ts)
|
static JavaAnnotationBackendFacade |
createFromClass(java.lang.String className,
BackendTypesystem ts,
java.lang.String adviceResource)
Creates a LanguageSpecificMiddleEnd for the JavaAnnotations middleend from a class |
MiddleEnd |
getMiddleEnd()
|
java.lang.Object |
invokeFunction(QualifiedName functionName,
java.util.List<?> params)
This method calls a function registered at the middleend |
static java.lang.Object |
invokeFunction(java.lang.String className,
BackendTypesystem ts,
QualifiedName functionName,
java.util.List<?> params)
This method calls a function defined in a class. |
static java.lang.Object |
invokeFunction(java.lang.String className,
BackendTypesystem ts,
java.lang.String adviceResource,
QualifiedName functionName,
java.util.List<?> params)
This method calls a function defined in a class applying advices in the given resource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.Object invokeFunction(java.lang.String className, BackendTypesystem ts, QualifiedName functionName, java.util.List<?> params)
className
- The full qualified class name of class containing the function
to be calledts
- The type system, i.e. metamodelsfunctionName
- The function to be calledparams
- The parameters of the function to be called
public static java.lang.Object invokeFunction(java.lang.String className, BackendTypesystem ts, java.lang.String adviceResource, QualifiedName functionName, java.util.List<?> params)
className
- The full qualified class name of class containing the function
to be calledts
- The type system, i.e. metamodelsadviceResource
- The resource containing the advices to be applied to the
function, i.e. either a fully qualified classname or a
resource namefunctionName
- The function to be calledparams
- The parameters of the function to be called
public java.lang.Object invokeFunction(QualifiedName functionName, java.util.List<?> params)
functionName
- The function to be calledparams
- The parameters of the function to be called
public static JavaAnnotationBackendFacade createFromClass(java.lang.String className, BackendTypesystem ts)
public static JavaAnnotationBackendFacade createFromClass(java.lang.String className, BackendTypesystem ts, java.lang.String adviceResource)
LanguageSpecificMiddleEnd
for the JavaAnnotations middleend from a class
className
- The fully qualified classnamets
- The typesystem in use, i.e. the metamodelsadviceResource
- The resource containing the advice (either a fully qualified classname or filename)
public MiddleEnd getMiddleEnd()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |