org.eclipse.xtext.xbase.jvmmodel
Class AbstractModelInferrer

java.lang.Object
  extended by org.eclipse.xtext.xbase.jvmmodel.AbstractModelInferrer
All Implemented Interfaces:
IJvmModelInferrer
Direct Known Subclasses:
PureXbaseJvmModelInferrer

public abstract class AbstractModelInferrer
extends java.lang.Object
implements IJvmModelInferrer

A base dispatch class to be subclassed by Xtend.

Author:
Sven Efftinge - Initial contribution and API

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.xbase.jvmmodel.IJvmModelInferrer
IJvmModelInferrer.NullImpl
 
Constructor Summary
AbstractModelInferrer()
           
 
Method Summary
 void _infer(org.eclipse.emf.ecore.EObject e, IAcceptor<JvmDeclaredType> acceptor, boolean prelinkingPhase)
           
 void infer(org.eclipse.emf.ecore.EObject e, IAcceptor<JvmDeclaredType> acceptor, boolean prelinkingPhase)
          is called for the root element of a resource just once.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractModelInferrer

public AbstractModelInferrer()
Method Detail

infer

public void infer(org.eclipse.emf.ecore.EObject e,
                  IAcceptor<JvmDeclaredType> acceptor,
                  boolean prelinkingPhase)
Description copied from interface: IJvmModelInferrer
is called for the root element of a resource just once.

Specified by:
infer in interface IJvmModelInferrer
Parameters:
e - - the root element from the parse result
acceptor - - an acceptor awaiting derived JvmDeclaredTypes
prelinkingPhase - - 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.

_infer

public void _infer(org.eclipse.emf.ecore.EObject e,
                   IAcceptor<JvmDeclaredType> acceptor,
                   boolean prelinkingPhase)