Example usage for org.eclipse.jdt.core.dom EnumConstantDeclaration NAME_PROPERTY

List of usage examples for org.eclipse.jdt.core.dom EnumConstantDeclaration NAME_PROPERTY

Introduction

In this page you can find the example usage for org.eclipse.jdt.core.dom EnumConstantDeclaration NAME_PROPERTY.

Prototype

ChildPropertyDescriptor NAME_PROPERTY

To view the source code for org.eclipse.jdt.core.dom EnumConstantDeclaration NAME_PROPERTY.

Click Source Link

Document

The "name" structural property of this node type (child type: SimpleName ).

Usage

From source file:org.eclipse.emf.codegen.merge.java.facade.ast.ASTJEnumConstant.java

License:Open Source License

public void setName(String name) {
    this.name = name;
    setNodeProperty(getASTNode(), name, EnumConstantDeclaration.NAME_PROPERTY, ASTNode.SIMPLE_NAME);
}