Package org.eclipse.xtext.xbase.jvmmodel
Interface IJvmDeclaredTypeAcceptor
-
- All Known Implementing Classes:
JvmModelAssociator.JvmDeclaredTypeAcceptor
public interface IJvmDeclaredTypeAcceptorThe acceptor is part of theIJvmModelInferrerAPI. It's passed intoinfer(..)to accept createdJvmDeclaredType. They will be added to theEObject'sResourceof theEObject.- Since:
- 2.7
- Noimplement:
- This interface is not intended to be implemented by clients.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceIJvmDeclaredTypeAcceptor.IPostIndexingInitializing<T extends org.eclipse.xtext.common.types.JvmDeclaredType>Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends org.eclipse.xtext.common.types.JvmDeclaredType>
IJvmDeclaredTypeAcceptor.IPostIndexingInitializing<T>accept(T type)Accepts aJvmDeclaredTypewith no container, to be added to the contents list of aResource.<T extends org.eclipse.xtext.common.types.JvmDeclaredType>
voidaccept(T type, org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super T> lateInitialization)Accepts aJvmDeclaredTypewith no container, to be added to the contents list of aResource.
-
-
-
Method Detail
-
accept
<T extends org.eclipse.xtext.common.types.JvmDeclaredType> IJvmDeclaredTypeAcceptor.IPostIndexingInitializing<T> accept(T type)
Accepts aJvmDeclaredTypewith no container, to be added to the contents list of aResource.- 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 aJvmDeclaredTypewith no container, to be added to the contents list of aResource. The second parameter is a lazy initializer that is never executed during preIndexingPhase.- Parameters:
type- the type tolateInitialization- the initializer- See Also:
IJvmModelInferrer.infer(EObject, IJvmDeclaredTypeAcceptor, boolean)
-
-