List of usage examples for org.eclipse.jdt.internal.core ClassFileWorkingCopy ClassFileWorkingCopy
public ClassFileWorkingCopy(AbstractClassFile classFile, WorkingCopyOwner owner)
From source file:org.codehaus.jdt.groovy.model.GroovyClassFileWorkingCopy.java
License:Open Source License
public IJavaElement getPrimaryElement(boolean checkOwner) { if (checkOwner && isPrimary()) return this; return new ClassFileWorkingCopy(this.classFile, DefaultWorkingCopyOwner.PRIMARY); }