Interface IXtendJvmAssociations

  • All Superinterfaces:
    org.eclipse.xtext.xbase.jvmmodel.IJvmModelAssociations
    All Known Implementing Classes:
    IXtendJvmAssociations.Impl

    public interface IXtendJvmAssociations
    extends org.eclipse.xtext.xbase.jvmmodel.IJvmModelAssociations
    • Method Detail

      • getInferredType

        org.eclipse.xtext.common.types.JvmDeclaredType getInferredType​(XtendTypeDeclaration xtendClass)
      • getInferredType

        org.eclipse.xtext.common.types.JvmGenericType getInferredType​(AnonymousClass anonymousClass)
      • getInferredType

        org.eclipse.xtext.common.types.JvmGenericType getInferredType​(XtendClass xtendClass)
      • getInferredType

        org.eclipse.xtext.common.types.JvmGenericType getInferredType​(XtendInterface xtendInterfaceClass)
      • getInferredAnnotationType

        org.eclipse.xtext.common.types.JvmAnnotationType getInferredAnnotationType​(XtendAnnotationType xtendAnnotation)
      • getInferredEnumerationType

        org.eclipse.xtext.common.types.JvmEnumerationType getInferredEnumerationType​(XtendEnum xtendInterfaceClass)
      • getInferredConstructor

        org.eclipse.xtext.common.types.JvmConstructor getInferredConstructor​(XtendClass xtendClass)
      • getInferredConstructor

        org.eclipse.xtext.common.types.JvmConstructor getInferredConstructor​(XtendConstructor xtendConstructor)
      • getDirectlyInferredOperation

        org.eclipse.xtext.common.types.JvmOperation getDirectlyInferredOperation​(XtendFunction xtendFunction)
        Returns the directly inferred operation for the given function. If possible, this method returns an operation with exactly the same name as the xtendFunction, otherwise the first associated JVM operation. null is returned if there is no associated operation.

        If the function is a dispatch function, the dispatch case is returned and not the dispatcher.

        If the function is a create function, the public visible function is returned and not the synthetic initializer function.

        See Also:
        getDispatchOperation(XtendFunction)
      • getDispatchOperation

        org.eclipse.xtext.common.types.JvmOperation getDispatchOperation​(XtendFunction dispatchFunction)
      • getJvmField

        org.eclipse.xtext.common.types.JvmField getJvmField​(XtendField field)
      • getJvmField

        org.eclipse.xtext.common.types.JvmField getJvmField​(XtendEnumLiteral field)
      • getJvmParameter

        org.eclipse.xtext.common.types.JvmFormalParameter getJvmParameter​(XtendParameter parameter)
      • getXtendClass

        XtendClass getXtendClass​(org.eclipse.xtext.common.types.JvmGenericType jvmType)
      • getXtendInterface

        XtendInterface getXtendInterface​(org.eclipse.xtext.common.types.JvmGenericType jvmType)
      • getXtendFunction

        XtendFunction getXtendFunction​(org.eclipse.xtext.common.types.JvmOperation jvmOperation)
      • getXtendConstructor

        XtendConstructor getXtendConstructor​(org.eclipse.xtext.common.types.JvmConstructor jvmConstructor)
      • getXtendField

        XtendField getXtendField​(org.eclipse.xtext.common.types.JvmField jvmField)
      • getAnonymousClass

        AnonymousClass getAnonymousClass​(org.eclipse.xtext.common.types.JvmDeclaredType type)