public interface IJvmDeclaredTypeAcceptor
IJvmModelInferrer
API.
It's passed into infer(..)
to accept
created JvmDeclaredType
. They will be added
to the EObject
's Resource
of the EObject
.Modifier and Type | Interface and Description |
---|---|
static interface |
IJvmDeclaredTypeAcceptor.IPostIndexingInitializing<T extends JvmDeclaredType>
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T extends JvmDeclaredType> |
accept(T type)
Accepts a
JvmDeclaredType with no container, to be added to the contents list of a Resource . |
<T extends JvmDeclaredType> |
accept(T type,
Procedures.Procedure1<? super T> lateInitialization)
Accepts a
JvmDeclaredType with no container, to be added to the contents list of a Resource . |
<T extends JvmDeclaredType> IJvmDeclaredTypeAcceptor.IPostIndexingInitializing<T> accept(T type)
JvmDeclaredType
with no container, to be added to the contents list of a Resource
.<T extends JvmDeclaredType> void accept(T type, Procedures.Procedure1<? super T> lateInitialization)
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.type
- the type tolateInitialization
- the initializerIJvmModelInferrer.infer(EObject, IJvmDeclaredTypeAcceptor, boolean)