if (Flags.isPrivate(flags) || isDefault || Flags.isEnum(flags) || Flags.isSynthetic(flags)) {
if ((isPrivate && !fStubPrivate) || isDefault || Flags.isEnum(flags) || Flags.isSynthetic(flags)) {
	private void appendMembers(final IType type, final IProgressMonitor monitor) throws JavaModelException {		try {			monitor.beginTask(RefactoringCoreMessages.StubCreationOperation_creating_type_stubs, 1);			final IJavaElement[] children= type.getChildren();			for (int index= 0; index < children.length; index++) {				final IMember child= (IMember) children[index];				final int flags= child.getFlags();				final boolean isDefault= !Flags.isPublic(flags) && !Flags.isProtected(flags) && !Flags.isPrivate(flags);				if (child instanceof IType) {					if (Flags.isPrivate(flags) || isDefault) {						// skip					} else						appendTypeDeclaration((IType) child, new SubProgressMonitor(monitor, 1));				} else if (child instanceof IField) {					if (Flags.isPrivate(flags) || isDefault || Flags.isEnum(flags) || Flags.isSynthetic(flags)) {						// skip					} else						appendFieldDeclaration((IField) child);				} else if (child instanceof IMethod) {					final IMethod method= (IMethod) child;					final String name= method.getElementName();					if (method.getDeclaringType().isEnum()) {						final int count= method.getNumberOfParameters();						if (count == 0 && "values".equals(name)) //$NON-NLS-1$							continue;						if (count == 1 && "valueOf".equals(name) && "Ljava.lang.String;".equals(method.getParameterTypes()[0])) //$NON-NLS-1$ //$NON-NLS-2$							continue;						if (method.isConstructor())							continue;					}					boolean skip= Flags.isPrivate(flags) || isDefault || name.equals("<clinit>"); //$NON-NLS-1$					if (method.isConstructor())						skip= false;					skip= skip || Flags.isSynthetic(flags) || Flags.isBridge(flags);					if (!skip)						appendMethodDeclaration(method);				}			}		} finally {			monitor.done();		}	}