LocalCorrectionsSubProcessor.addAccessToStaticProposals(problemPos, proposals);
LocalCorrectionsSubProcessor.addInstanceAccessToStaticProposals(problemPos, proposals);
	public static void collectCorrections(ProblemPosition problemPos, ArrayList proposals) {		try {			int id= problemPos.getId();			switch (id) {				case IProblem.UnterminatedString:					String quoteLabel= CorrectionMessages.getString("JavaCorrectionProcessor.addquote.description"); //$NON-NLS-1$					int pos= InsertCorrectionProposal.moveBack(problemPos.getOffset() + problemPos.getLength(), problemPos.getOffset(), "\n\r", problemPos.getCompilationUnit()); //$NON-NLS-1$					proposals.add(new InsertCorrectionProposal(quoteLabel, problemPos.getCompilationUnit(), pos, "\"", 0)); //$NON-NLS-1$ 					break;				case IProblem.UnusedImport:				case IProblem.DuplicateImport:				case IProblem.CannotImportPackage:				case IProblem.ConflictingImport:					ReorgCorrectionsSubProcessor.removeImportStatementProposals(problemPos, proposals);					break;				case IProblem.UndefinedMethod:					UnresolvedElementsSubProcessor.getMethodProposals(problemPos, false, proposals);					break;				case IProblem.UndefinedConstructor:					UnresolvedElementsSubProcessor.getConstructorProposals(problemPos, proposals);					break;									case IProblem.ParameterMismatch:					UnresolvedElementsSubProcessor.getMethodProposals(problemPos, true, proposals);					break;				case IProblem.MethodButWithConstructorName:						ReturnTypeSubProcessor.addMethodWithConstrNameProposals(problemPos, proposals);					break;				case IProblem.UndefinedField:				case IProblem.UndefinedName:					UnresolvedElementsSubProcessor.getVariableProposals(problemPos, proposals);					break;									case IProblem.PublicClassMustMatchFileName:					ReorgCorrectionsSubProcessor.getWrongTypeNameProposals(problemPos, proposals);					break;				case IProblem.PackageIsNotExpectedPackage:					ReorgCorrectionsSubProcessor.getWrongPackageDeclNameProposals(problemPos, proposals);					break;				case IProblem.UndefinedType:				case IProblem.FieldTypeNotFound:				case IProblem.ArgumentTypeNotFound:				case IProblem.ReturnTypeNotFound:				case IProblem.SuperclassNotFound:				case IProblem.ExceptionTypeNotFound:				case IProblem.InterfaceNotFound: 					UnresolvedElementsSubProcessor.getTypeProposals(problemPos, proposals);					break;					case IProblem.TypeMismatch:					LocalCorrectionsSubProcessor.addCastProposals(problemPos, proposals);					break;				case IProblem.UnhandledException:					LocalCorrectionsSubProcessor.addUncaughtExceptionProposals(problemPos, proposals);					break;				case IProblem.VoidMethodReturnsValue:					ReturnTypeSubProcessor.addVoidMethodReturnsProposals(problemPos, proposals);					break;				case IProblem.MissingReturnType:					ReturnTypeSubProcessor.addMissingReturnTypeProposals(problemPos, proposals);					break;				case IProblem.ShouldReturnValue:					ReturnTypeSubProcessor.addMissingReturnStatementProposals(problemPos, proposals);					break;				case IProblem.NonExternalizedStringLiteral:					LocalCorrectionsSubProcessor.addNLSProposals(problemPos, proposals);					break;				case IProblem.NonStaticAccessToStaticField:				case IProblem.NonStaticAccessToStaticMethod:					LocalCorrectionsSubProcessor.addAccessToStaticProposals(problemPos, proposals);					break;				case IProblem.StaticMethodRequested:				case IProblem.NonStaticFieldFromStaticInvocation:				case IProblem.InstanceMethodDuringConstructorInvocation:				case IProblem.InstanceFieldDuringConstructorInvocation:					LocalCorrectionsSubProcessor.addNonAccessibleMemberProposal(problemPos, proposals, false); 					break;								case IProblem.NotVisibleMethod:				case IProblem.NotVisibleConstructor:				case IProblem.NotVisibleType:				case IProblem.SuperclassNotVisible:				case IProblem.InterfaceNotVisible:				case IProblem.FieldTypeNotVisible:				case IProblem.ArgumentTypeNotVisible:				case IProblem.ReturnTypeNotVisible:				case IProblem.ExceptionTypeNotVisible:				case IProblem.NotVisibleField:				case IProblem.ImportNotVisible:					LocalCorrectionsSubProcessor.addNonAccessibleMemberProposal(problemPos, proposals, true); 					break;				default:			}		} catch (CoreException e) {			JavaPlugin.log(e);		}	}