Interface IJvmDeclaredTypeAcceptor

  • All Known Implementing Classes:
    JvmModelAssociator.JvmDeclaredTypeAcceptor

    public interface IJvmDeclaredTypeAcceptor
    The acceptor is part of the IJvmModelInferrer API. It's passed into infer(..) to accept created JvmDeclaredType. They will be added to the EObject's Resource of the EObject.
    Since:
    2.7
    Noimplement:
    This interface is not intended to be implemented by clients.
    • Method Detail

      • accept

        <T extends org.eclipse.xtext.common.types.JvmDeclaredType> IJvmDeclaredTypeAcceptor.IPostIndexingInitializing<T> accept​(T type)
        Accepts a JvmDeclaredType with no container, to be added to the contents list of a Resource.
        Returns:
        don't reference. the return type is deprecated
      • accept

        <T extends org.eclipse.xtext.common.types.JvmDeclaredType> void accept​(T type,
                                                                               org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super T> lateInitialization)
        Accepts a JvmDeclaredType with no container, to be added to the contents list of a Resource. The second parameter is a lazy initializer that is never executed during preIndexingPhase.
        Parameters:
        type - the type to
        lateInitialization - the initializer
        See Also:
        IJvmModelInferrer.infer(EObject, IJvmDeclaredTypeAcceptor, boolean)