Example usage for org.eclipse.jdt.core.dom MethodDeclaration EXTRA_DIMENSIONS_PROPERTY

List of usage examples for org.eclipse.jdt.core.dom MethodDeclaration EXTRA_DIMENSIONS_PROPERTY

Introduction

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

Prototype

SimplePropertyDescriptor EXTRA_DIMENSIONS_PROPERTY

To view the source code for org.eclipse.jdt.core.dom MethodDeclaration EXTRA_DIMENSIONS_PROPERTY.

Click Source Link

Document

The "extraDimensions" structural property of this node type (type: Integer ) (below JLS8 only).

Usage

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

License:Open Source License

@SuppressWarnings("deprecation")
public void setReturnType(String type) {
    this.returnType = type;
    setNodeProperty(getASTNode(), 0, MethodDeclaration.EXTRA_DIMENSIONS_PROPERTY);
    setTrackedNodeProperty(getASTNode(), type, MethodDeclaration.RETURN_TYPE2_PROPERTY, ASTNode.SIMPLE_TYPE);
}