org.eclipse.ocl.examples.autogen.java
Class AutoLocalContext

java.lang.Object
  extended by org.eclipse.ocl.examples.codegen.java.AbstractJavaContext
      extended by org.eclipse.ocl.examples.codegen.java.JavaLocalContext
          extended by org.eclipse.ocl.examples.autogen.java.AutoLocalContext
All Implemented Interfaces:
LocalContext

public class AutoLocalContext
extends JavaLocalContext

A AutoLocalContext maintains the Java-specific local context for generation of Auto code.


Field Summary
 
Fields inherited from class org.eclipse.ocl.examples.codegen.java.JavaLocalContext
cgScope, globalContext, nameManagerContext, parentContext
 
Fields inherited from class org.eclipse.ocl.examples.codegen.java.AbstractJavaContext
analyzer, codeGenerator
 
Constructor Summary
AutoLocalContext(AutoGlobalContext globalContext, CGElement cgScope)
           
 
Method Summary
 AutoGlobalContext getGlobalContext()
           
 CGValuedElement getIdResolverVariable(CGValuedElement cgValuedElement)
           
 
Methods inherited from class org.eclipse.ocl.examples.codegen.java.JavaLocalContext
createEvaluatorParameter, createEvaluatorVariable, createIdResolverVariable, createStandardLibraryVariable, createTypeIdParameter, getEvaluatorParameter, getNameManagerContext, getOuterContext, getOwned, getStandardLibraryVariable, getTypeIdParameter, getValueName, setNames, setNames, setNames2
 
Methods inherited from class org.eclipse.ocl.examples.codegen.java.AbstractJavaContext
getAnalyzer, getCodeGenerator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoLocalContext

public AutoLocalContext(@NonNull
                        AutoGlobalContext globalContext,
                        @NonNull
                        CGElement cgScope)
Method Detail

getGlobalContext

@NonNull
public AutoGlobalContext getGlobalContext()
Overrides:
getGlobalContext in class JavaLocalContext

getIdResolverVariable

@NonNull
public CGValuedElement getIdResolverVariable(@NonNull
                                                     CGValuedElement cgValuedElement)
Overrides:
getIdResolverVariable in class JavaLocalContext