/** * Returns an array of non-java resources contained in the receiver. */ Object[] getNonJavaResources(IResource underlyingResource, PackageFragmentRoot rootHandle) { if (this.nonJavaResources == null) { try { this.nonJavaResources = PackageFragmentRootInfo.computeFolderNonJavaResources( rootHandle, (IContainer)underlyingResource, rootHandle.fullInclusionPatternChars(), rootHandle.fullExclusionPatternChars()); } catch (JavaModelException e) { // root doesn't exist: consider package has no nonJavaResources this.nonJavaResources = NO_NON_JAVA_RESOURCES; } } return this.nonJavaResources; } /**
/** * Returns an array of non-java resources contained in the receiver. */ Object[] getNonJavaResources(IResource underlyingResource, PackageFragmentRoot rootHandle) { if (this.nonJavaResources == null) { try { this.nonJavaResources = PackageFragmentRootInfo.computeFolderNonJavaResources( rootHandle, (IContainer)underlyingResource, rootHandle.fullInclusionPatternChars(), rootHandle.fullExclusionPatternChars()); } catch (JavaModelException e) { // root doesn't exist: consider package has no nonJavaResources this.nonJavaResources = NO_NON_JAVA_RESOURCES; } } return this.nonJavaResources; } /**
/** * Returns an array of non-java resources contained in the receiver. */ Object[] getNonJavaResources(IResource underlyingResource, PackageFragmentRoot rootHandle) { Object[] resources = this.nonJavaResources; if (resources == null) { try { resources = PackageFragmentRootInfo.computeFolderNonJavaResources( rootHandle, (IContainer)underlyingResource, rootHandle.fullInclusionPatternChars(), rootHandle.fullExclusionPatternChars()); } catch (JavaModelException e) { // root doesn't exist: consider package has no nonJavaResources resources = NO_NON_JAVA_RESOURCES; } this.nonJavaResources = resources; } return resources; } }
/** * Returns an array of non-java resources contained in the receiver. */ Object[] getNonJavaResources(IResource underlyingResource, PackageFragmentRoot rootHandle) { if (this.nonJavaResources == null) { try { this.nonJavaResources = PackageFragmentRootInfo.computeFolderNonJavaResources( rootHandle, (IContainer)underlyingResource, rootHandle.fullInclusionPatternChars(), rootHandle.fullExclusionPatternChars()); } catch (JavaModelException e) { // root doesn't exist: consider package has no nonJavaResources this.nonJavaResources = NO_NON_JAVA_RESOURCES; } } return this.nonJavaResources; } /**
/** * Returns an array of non-java resources contained in the receiver. */ Object[] getNonJavaResources(IResource underlyingResource, PackageFragmentRoot rootHandle) { if (this.nonJavaResources == null) { try { this.nonJavaResources = PackageFragmentRootInfo.computeFolderNonJavaResources( rootHandle, (IContainer)underlyingResource, rootHandle.fullInclusionPatternChars(), rootHandle.fullExclusionPatternChars()); } catch (JavaModelException e) { // root doesn't exist: consider package has no nonJavaResources this.nonJavaResources = NO_NON_JAVA_RESOURCES; } } return this.nonJavaResources; } /**
/** * Returns an array of non-java resources contained in the receiver. */ Object[] getNonJavaResources(IResource underlyingResource, PackageFragmentRoot rootHandle) { Object[] resources = this.nonJavaResources; if (resources == null) { try { resources = PackageFragmentRootInfo.computeFolderNonJavaResources( rootHandle, (IContainer)underlyingResource, rootHandle.fullInclusionPatternChars(), rootHandle.fullExclusionPatternChars()); } catch (JavaModelException e) { // root doesn't exist: consider package has no nonJavaResources resources = NO_NON_JAVA_RESOURCES; } this.nonJavaResources = resources; } return resources; } }
/** * Compute the non-package resources of this package fragment root. */ private Object[] computeNonJavaResources(IResource underlyingResource, PackageFragmentRoot handle) { Object[] resources = NO_NON_JAVA_RESOURCES; try { // the underlying resource may be a folder or a project (in the case that the project folder // is actually the package fragment root) if (underlyingResource.getType() == IResource.FOLDER || underlyingResource.getType() == IResource.PROJECT) { resources = computeFolderNonJavaResources( handle, (IContainer) underlyingResource, handle.fullInclusionPatternChars(), handle.fullExclusionPatternChars()); } } catch (JavaModelException e) { // ignore } return resources; } /**
/** * Compute the non-package resources of this package fragment root. */ private Object[] computeNonJavaResources(IResource underlyingResource, PackageFragmentRoot handle) { Object[] resources = NO_NON_JAVA_RESOURCES; try { // the underlying resource may be a folder or a project (in the case that the project folder // is actually the package fragment root) if (underlyingResource.getType() == IResource.FOLDER || underlyingResource.getType() == IResource.PROJECT) { resources = computeFolderNonJavaResources( handle, (IContainer) underlyingResource, handle.fullInclusionPatternChars(), handle.fullExclusionPatternChars()); } } catch (JavaModelException e) { // ignore } return resources; } /**
/** * Compute the non-package resources of this package fragment root. */ private Object[] computeNonJavaResources(IResource underlyingResource, PackageFragmentRoot handle) { Object[] resources = NO_NON_JAVA_RESOURCES; try { // the underlying resource may be a folder or a project (in the case that the project folder // is actually the package fragment root) if (underlyingResource.getType() == IResource.FOLDER || underlyingResource.getType() == IResource.PROJECT) { resources = computeFolderNonJavaResources( handle, (IContainer) underlyingResource, handle.fullInclusionPatternChars(), handle.fullExclusionPatternChars()); } } catch (JavaModelException e) { // ignore } return resources; } /**
/** * Compute the non-package resources of this package fragment root. */ private Object[] computeNonJavaResources(IResource underlyingResource, PackageFragmentRoot handle) { Object[] resources = NO_NON_JAVA_RESOURCES; try { // the underlying resource may be a folder or a project (in the case that the project folder // is actually the package fragment root) if (underlyingResource.getType() == IResource.FOLDER || underlyingResource.getType() == IResource.PROJECT) { resources = computeFolderNonJavaResources( handle, (IContainer) underlyingResource, handle.fullInclusionPatternChars(), handle.fullExclusionPatternChars()); } } catch (JavaModelException e) { // ignore } return resources; } /**
/** * Compute the non-package resources of this package fragment root. */ private Object[] computeNonJavaResources(IResource underlyingResource, PackageFragmentRoot handle) { Object[] resources = NO_NON_JAVA_RESOURCES; try { // the underlying resource may be a folder or a project (in the case that the project folder // is actually the package fragment root) if (underlyingResource.getType() == IResource.FOLDER || underlyingResource.getType() == IResource.PROJECT) { resources = computeFolderNonJavaResources( handle, (IContainer) underlyingResource, handle.fullInclusionPatternChars(), handle.fullExclusionPatternChars()); } } catch (JavaModelException e) { // ignore } return resources; } /**
/** * Compute the non-package resources of this package fragment root. */ private Object[] computeNonJavaResources(IResource underlyingResource, PackageFragmentRoot handle) { Object[] resources = NO_NON_JAVA_RESOURCES; try { // the underlying resource may be a folder or a project (in the case that the project folder // is actually the package fragment root) if (underlyingResource.getType() == IResource.FOLDER || underlyingResource.getType() == IResource.PROJECT) { resources = computeFolderNonJavaResources( handle, (IContainer) underlyingResource, handle.fullInclusionPatternChars(), handle.fullExclusionPatternChars()); } } catch (JavaModelException e) { // ignore } return resources; } /**