org.eclipse.xtext.xbase.jvmmodel
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
.
- Author:
- Sven Efftinge - initial API
Method Summary |
|
accept(T type)
Accepts a JvmDeclaredType with no container, to be added to the contents list of a Resource . |
accept
<T extends JvmDeclaredType> IJvmDeclaredTypeAcceptor.IPostIndexingInitializing<T> accept(T type)
- Accepts a
JvmDeclaredType
with no container, to be added to the contents list of a Resource
.
- Returns:
- a
IJvmDeclaredTypeAcceptor.IPostIndexingInitializing
to provide a post-indexing initialization of the given type.