|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.codegen.merge.java.facade.ast.ASTNodeConverter
public class ASTNodeConverter
Nested Class Summary | |
---|---|
protected class |
ASTNodeConverter.Converter
Base class for all converters. |
protected class |
ASTNodeConverter.EnumToTypeConverter
Converter of enum to class. |
protected class |
ASTNodeConverter.TypeToEnumConverter
Converter of type to enum. |
Field Summary | |
---|---|
protected ASTFacadeHelper |
facadeHelper
|
Constructor Summary | |
---|---|
ASTNodeConverter(ASTFacadeHelper facadeHelper)
|
Method Summary | |
---|---|
JAbstractType |
convert(JAbstractType abstractType,
java.lang.Class<? extends JAbstractType> cls)
Converts the specified abstract type to an instance of the given class and returns the converted node. |
ASTFacadeHelper |
getFacadeHelper()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ASTFacadeHelper facadeHelper
Constructor Detail |
---|
public ASTNodeConverter(ASTFacadeHelper facadeHelper)
facadeHelper
- must be not null
Method Detail |
---|
public ASTFacadeHelper getFacadeHelper()
public JAbstractType convert(JAbstractType abstractType, java.lang.Class<? extends JAbstractType> cls)
NodeConverter
convert
in interface NodeConverter
abstractType
- type to convertcls
- class of the converted node
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |