Example usage for org.eclipse.jdt.internal.compiler.lookup SourceTypeBinding getSyntheticField

List of usage examples for org.eclipse.jdt.internal.compiler.lookup SourceTypeBinding getSyntheticField

Introduction

In this page you can find the example usage for org.eclipse.jdt.internal.compiler.lookup SourceTypeBinding getSyntheticField.

Prototype

public FieldBinding getSyntheticField(ReferenceBinding targetEnclosingType, boolean onlyExactMatch) 

Source Link

Usage

From source file:org.eclipse.objectteams.otdt.internal.core.compiler.statemachine.transformer.RoleMigrationImplementor.java

License:Open Source License

private static FieldBinding enclosingInstanceField(SourceTypeBinding roleBinding) {
    return roleBinding.getSyntheticField(roleBinding.enclosingType(), true);
}