Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2000, 2008 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at Contributors: IBM Corporation - initial API and implementation /
package org.eclipse.jdt.internal.core;
import  org.eclipse.core.resources.IContainer;
import  org.eclipse.core.resources.IResource;
Element info for PackageFragments.
A array with all the non-java resources contained by this PackageFragment
	protected Object[] nonJavaResources;

Create and initialize a new instance of the receiver
	this. = null;
	return this..length != 0;
Returns an array of non-java resources contained in the receiver.
Object[] getNonJavaResources(IResource underlyingResourcePackageFragmentRoot rootHandle) {
	if (this. == null) {
		try {
catch (JavaModelException e) {
			// root doesn't exist: consider package has no nonJavaResources
	return this.;
Set the nonJavaResources to res value
void setNonJavaResources(Object[] resources) {
	this. = resources;
New to GrepCode? Check out our FAQ X