public SelectionOnQualifiedTypeReference(char[][] previousIdentifiers, char[] selectionIdentifier, long[] positions) { super( CharOperation.arrayConcat(previousIdentifiers, selectionIdentifier), positions); } @Override
public SelectionOnQualifiedNameReference(char[][] previousIdentifiers, char[] selectionIdentifier, long[] positions) { super( CharOperation.arrayConcat(previousIdentifiers, selectionIdentifier), positions, (int) (positions[0] >>> 32), (int) positions[positions.length - 1]); } public StringBuffer printExpression(int indent, StringBuffer output) {
public SelectionOnQualifiedTypeReference(char[][] previousIdentifiers, char[] selectionIdentifier, long[] positions) { super( CharOperation.arrayConcat(previousIdentifiers, selectionIdentifier), positions); } public void aboutToResolve(Scope scope) {
public SelectionOnQualifiedTypeReference(char[][] previousIdentifiers, char[] selectionIdentifier, long[] positions) { super( CharOperation.arrayConcat(previousIdentifiers, selectionIdentifier), positions); } public void aboutToResolve(Scope scope) {
public SelectionOnParameterizedQualifiedTypeReference(char[][] previousIdentifiers, char[] selectionIdentifier, TypeReference[][] typeArguments, TypeReference[] assistTypeArguments, long[] positions) { super( CharOperation.arrayConcat(previousIdentifiers, selectionIdentifier), typeArguments, 0, positions); int length = this.typeArguments.length; System.arraycopy(this.typeArguments, 0, this.typeArguments = new TypeReference[length + 1][], 0, length); this.typeArguments[length] = assistTypeArguments; }
public SelectionOnParameterizedQualifiedTypeReference(char[][] previousIdentifiers, char[] selectionIdentifier, TypeReference[][] typeArguments, TypeReference[] assistTypeArguments, long[] positions) { super( CharOperation.arrayConcat(previousIdentifiers, selectionIdentifier), typeArguments, 0, positions); int length = this.typeArguments.length; System.arraycopy(this.typeArguments, 0, this.typeArguments = new TypeReference[length + 1][], 0, length); this.typeArguments[length] = assistTypeArguments; }
public SelectionOnParameterizedQualifiedTypeReference(char[][] previousIdentifiers, char[] selectionIdentifier, TypeReference[][] typeArguments, TypeReference[] assistTypeArguments, long[] positions) { super( CharOperation.arrayConcat(previousIdentifiers, selectionIdentifier), typeArguments, 0, positions); int length = this.typeArguments.length; System.arraycopy(this.typeArguments, 0, this.typeArguments = new TypeReference[length + 1][], 0, length); this.typeArguments[length] = assistTypeArguments; }
public SelectionOnParameterizedQualifiedTypeReference(char[][] previousIdentifiers, char[] selectionIdentifier, TypeReference[][] typeArguments, TypeReference[] assistTypeArguments, long[] positions) { super( CharOperation.arrayConcat(previousIdentifiers, selectionIdentifier), typeArguments, 0, positions); int length = this.typeArguments.length; System.arraycopy(this.typeArguments, 0, this.typeArguments = new TypeReference[length + 1][], 0, length); this.typeArguments[length] = assistTypeArguments; }
/** * @see org.eclipse.jdt.internal.compiler.env.INameEnvironment#findType(char[], char[][]) */ @Override public NameEnvironmentAnswer findType(char[] typeName, char[][] packageName) { return findType(CharOperation.arrayConcat(packageName, typeName)); }
/** * @see INameEnvironment#findType(char[], char[][]) */ public NameEnvironmentAnswer findType(char[] typeName, char[][] packageName) { NameEnvironmentAnswer result = this.env.findType(typeName, packageName); if (result != null) { return result; } return findType(CharOperation.arrayConcat(packageName, typeName)); } /**
/** * @see INameEnvironment#findType(char[], char[][]) */ public NameEnvironmentAnswer findType(char[] typeName, char[][] packageName) { NameEnvironmentAnswer result = this.env.findType(typeName, packageName); if (result != null) { return result; } return findType(CharOperation.arrayConcat(packageName, typeName)); } /**
private PackageBinding findPackage(char[] name) { if (!this.environment.isPackage(this.compoundName, name)) return null; char[][] subPkgCompoundName = CharOperation.arrayConcat(this.compoundName, name); PackageBinding subPackageBinding = new PackageBinding(subPkgCompoundName, this, this.environment); addPackage(subPackageBinding); return subPackageBinding; } /* Answer the subpackage named name; ask the oracle for the package if its not in the cache.
private PackageBinding findPackage(char[] name) { if (!this.environment.isPackage(this.compoundName, name)) return null; char[][] subPkgCompoundName = CharOperation.arrayConcat(this.compoundName, name); PackageBinding subPackageBinding = new PackageBinding(subPkgCompoundName, this, this.environment); addPackage(subPackageBinding); return subPackageBinding; } /* Answer the subpackage named name; ask the oracle for the package if its not in the cache.
private PackageBinding findPackage(char[] name) { if (!this.environment.isPackage(this.compoundName, name)) return null; char[][] subPkgCompoundName = CharOperation.arrayConcat(this.compoundName, name); PackageBinding subPackageBinding = new PackageBinding(subPkgCompoundName, this, this.environment); addPackage(subPackageBinding); return subPackageBinding; } /* Answer the subpackage named name; ask the oracle for the package if its not in the cache.
private PackageBinding findPackage(char[] name) { if (!this.environment.isPackage(this.compoundName, name)) return null; char[][] subPkgCompoundName = CharOperation.arrayConcat(this.compoundName, name); PackageBinding subPackageBinding = new PackageBinding(subPkgCompoundName, this, this.environment); addPackage(subPackageBinding); return subPackageBinding; } /* Answer the subpackage named name; ask the oracle for the package if its not in the cache.
private PackageBinding findPackage(char[] name) { if (!this.environment.isPackage(this.compoundName, name)) return null; char[][] subPkgCompoundName = CharOperation.arrayConcat(this.compoundName, name); PackageBinding subPackageBinding = new PackageBinding(subPkgCompoundName, this, this.environment); addPackage(subPackageBinding); return subPackageBinding; } /* Answer the subpackage named name; ask the oracle for the package if its not in the cache.
private PackageBinding findPackage(char[] name) { if (!this.environment.isPackage(this.compoundName, name)) return null; char[][] subPkgCompoundName = CharOperation.arrayConcat(this.compoundName, name); PackageBinding subPackageBinding = new PackageBinding(subPkgCompoundName, this, this.environment); addPackage(subPackageBinding); return subPackageBinding; } /* Answer the subpackage named name; ask the oracle for the package if its not in the cache.
@Override protected AnnotationBinding[] getAnnotationBindings() { PackageBinding packageBinding = (PackageBinding) this._binding; char[][] compoundName = CharOperation.arrayConcat(packageBinding.compoundName, TypeConstants.PACKAGE_INFO_NAME); ReferenceBinding type = this._env.getLookupEnvironment().getType(compoundName); AnnotationBinding[] annotations = null; if (type != null && type.isValidBinding()) { annotations = type.getAnnotations(); } return annotations; }
@Override protected AnnotationBinding[] getAnnotationBindings() { PackageBinding packageBinding = (PackageBinding) this._binding; char[][] compoundName = CharOperation.arrayConcat(packageBinding.compoundName, TypeConstants.PACKAGE_INFO_NAME); ReferenceBinding type = this._env.getLookupEnvironment().getType(compoundName); AnnotationBinding[] annotations = null; if (type != null && type.isValidBinding()) { annotations = type.getAnnotations(); } return annotations; }
@Override protected AnnotationBinding[] getAnnotationBindings() { PackageBinding packageBinding = (PackageBinding) this._binding; char[][] compoundName = CharOperation.arrayConcat(packageBinding.compoundName, TypeConstants.PACKAGE_INFO_NAME); ReferenceBinding type = this._env.getLookupEnvironment().getType(compoundName); AnnotationBinding[] annotations = null; if (type != null && type.isValidBinding()) { annotations = type.getAnnotations(); } return annotations; }