Modifier and Type | Method and Description |
---|---|
protected void |
CS2ASCG2JavaVisitor.doClassFields(CGClass cgClass) |
protected void |
CS2ASCG2JavaVisitor.doConstructor(CGClass cgClass) |
Modifier and Type | Method and Description |
---|---|
protected CGClass |
AutoCodeGenerator.getExternalClass(Class aClass) |
protected CGClass |
AutoCodeGenerator.getExternalClass(java.lang.Class<?> javaClass,
CGClass... javaGenerics) |
protected CGClass |
AutoCodeGenerator.getExternalClass(java.lang.String packageName,
java.lang.String className,
boolean isInterface) |
Modifier and Type | Method and Description |
---|---|
protected void |
AutoCG2JavaVisitor.doClassMethods(CGClass cgClass) |
protected void |
AutoCG2JavaVisitor.doClassStatics(CGClass cgClass) |
protected abstract void |
AutoCG2JavaVisitor.doConstructor(CGClass cgClass) |
protected void |
AutoCG2JavaVisitor.doVisiting(CGClass cgClass) |
protected CGClass |
AutoCodeGenerator.getExternalClass(java.lang.Class<?> javaClass,
CGClass... javaGenerics) |
protected boolean |
AutoCG2JavaVisitor.isDerivedVisitor(CGClass cgClass) |
Modifier and Type | Method and Description |
---|---|
protected void |
LookupCodeGenerator.convertOperations(CGClass cgClass,
java.util.Collection<Operation> asOperations)
Convert the asOperations to cgOperations of cgClass.
|
protected void |
LookupCodeGenerator.convertProperties(CGClass cgClass,
java.util.List<Property> asProperties)
Convert the asProperties to cgProperties of cgClass.
|
protected void |
LookupCodeGenerator.convertSuperTypes(CGClass cgClass)
Convert the construction context to supertypes/interfaces of cgClass.
|
protected void |
LookupCG2JavaVisitor.doConstructor(CGClass cgClass) |
protected void |
LookupCG2JavaVisitor.doEnvForChild(CGClass cgClass)
protected @Nullable Environment envForChild(@NonNull Element element, @Nullable Element child) {
this.child = child;
return element.accept(this);
}
|
protected void |
LookupCG2JavaVisitor.doParentEnv(CGClass cgClass)
protected @Nullable Environment parentEnv(@NonNull EObject element) {
EObject parent = element.eContainer();
if (parent instanceof Visitable) {
this.child = element;
return (Environment)((Visitable)parent).accept(this);
}
else {
return null;
}
}
|
Modifier and Type | Method and Description |
---|---|
CGClass |
AS2CGVisitor.visitClass(Class element) |
Modifier and Type | Method and Description |
---|---|
protected CGValuedElement |
AS2CGVisitor.nativeOperationCall(OperationCallExp element,
CGClass currentClass,
CGValuedElement cgSource,
Operation finalOperation) |
protected void |
AS2CGVisitor.popCurrentClass(CGClass cgClass)
Pop the CGClass from the stack ensuring that it's at the top
of the stack
|
protected void |
AS2CGVisitor.pushCurrentClass(CGClass cgClass) |
java.lang.String |
CG2StringVisitor.visitCGClass(CGClass cgClass) |
Modifier and Type | Method and Description |
---|---|
CGClass |
CGModelFactory.createCGClass()
Returns a new object of class 'CG Class'.
|
CGClass |
CGOperation.getContainingClass()
Returns the value of the 'Containing Class' container reference.
|
CGClass |
CGProperty.getContainingClass()
Returns the value of the 'Containing Class' container reference.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<CGClass> |
CGPackage.getClasses()
Returns the value of the 'Classes' containment reference list.
|
java.util.List<CGClass> |
CGClass.getSuperTypes()
Returns the value of the 'Super Types' reference list.
|
java.util.List<CGClass> |
CGClass.getTemplateParameters()
Returns the value of the 'Template Parameters' reference list.
|
Modifier and Type | Method and Description |
---|---|
void |
CGOperation.setContainingClass(CGClass value)
Sets the value of the '
Containing Class ' container reference. |
void |
CGProperty.setContainingClass(CGClass value)
Sets the value of the '
Containing Class ' container reference. |
Modifier and Type | Class and Description |
---|---|
class |
CGClassImpl
An implementation of the model object 'CG Class'.
|
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.emf.common.util.EList<CGClass> |
CGPackageImpl.classes
The cached value of the '
Classes ' containment reference list. |
protected org.eclipse.emf.common.util.EList<CGClass> |
CGClassImpl.superTypes
The cached value of the '
Super Types ' reference list. |
protected org.eclipse.emf.common.util.EList<CGClass> |
CGClassImpl.templateParameters
The cached value of the '
Template Parameters ' reference list. |
Modifier and Type | Method and Description |
---|---|
CGClass |
CGModelFactoryImpl.createCGClass() |
CGClass |
CGOperationImpl.getContainingClass() |
CGClass |
CGPropertyImpl.getContainingClass() |
Modifier and Type | Method and Description |
---|---|
java.util.List<CGClass> |
CGPackageImpl.getClasses() |
java.util.List<CGClass> |
CGClassImpl.getSuperTypes() |
java.util.List<CGClass> |
CGClassImpl.getTemplateParameters() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.notify.NotificationChain |
CGOperationImpl.basicSetContainingClass(CGClass newContainingClass,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
CGPropertyImpl.basicSetContainingClass(CGClass newContainingClass,
org.eclipse.emf.common.notify.NotificationChain msgs) |
void |
CGOperationImpl.setContainingClass(CGClass newContainingClass) |
void |
CGPropertyImpl.setContainingClass(CGClass newContainingClass) |
Modifier and Type | Method and Description |
---|---|
T |
CGModelSwitch.caseCGClass(CGClass object)
Returns the result of interpreting the object as an instance of 'CG Class'.
|
R |
AbstractExtendingCGModelVisitor.visitCGClass(CGClass object) |
R |
AbstractNonNullExtendingCGModelVisitor.visitCGClass(CGClass object) |
R |
AbstractNullCGModelVisitor.visitCGClass(CGClass object) |
R |
CGModelVisitor.visitCGClass(CGClass object) |
Modifier and Type | Method and Description |
---|---|
void |
JavaStream.appendClassReference(CGClass cgClass) |
protected void |
CG2JavaVisitor.doClassFields(CGClass cgClass) |
protected void |
CG2JavaVisitor.doClassMethods(CGClass cgClass) |
protected void |
CG2JavaVisitor.doClassStatics(CGClass cgClass) |
java.lang.Boolean |
CG2JavaVisitor.visitCGClass(CGClass cgClass) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
OCLinEcoreCG2JavaVisitor.visitCGClass(CGClass cgClass) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
JUnitCG2JavaClassVisitor.visitCGClass(CGClass cgClass) |
Modifier and Type | Method and Description |
---|---|
static CGClass |
CGUtil.getContainingClass(CGElement cgExpression) |