|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IJvmModelInferrer
The model inferrer adapts a given source object with a JvmDeclaredType
that mimics the interface of the
source object and its children.
Implementors have to traverse the given source object in #inferJvmModel(EObject)
and decide which types to
create according to the state of the model.
IJvmModelAssociations
,
IJvmModelAssociator
Nested Class Summary | |
---|---|
static class |
IJvmModelInferrer.NullImpl
A null-implementation. |
Method Summary | |
---|---|
void |
infer(org.eclipse.emf.ecore.EObject e,
IAcceptor<JvmDeclaredType> acceptor,
boolean prelinkingPhase)
is called for the root element of a resource just once. |
Method Detail |
---|
void infer(org.eclipse.emf.ecore.EObject e, IAcceptor<JvmDeclaredType> acceptor, boolean prelinkingPhase)
e
- - the root element from the parse resultacceptor
- - an acceptor awaiting derived JvmDeclaredType
sprelinkingPhase
- - whether the call is done in a pre-linking phase. During this phase clients may not do linking which
relies on indexed information, because the index might not be fully computed yet.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |