Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkchong2006-08-11 19:44:22 +0000
committerkchong2006-08-11 19:44:22 +0000
commit2faa602c38ec1f581f18ae5a4c6e68536e6b953d (patch)
tree849cac71283fb4e93a38f4c5559c878d3abdde03 /tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample730.wsdl
parent468603d1a8890a92ab09979f6d6d5d6a6e807f6b (diff)
downloadwebtools.webservices-200608111950.tar.gz
webtools.webservices-200608111950.tar.xz
webtools.webservices-200608111950.zip
This commit was manufactured by cvs2svn to create tag 'v200608111950'.v200608111950
Diffstat (limited to 'tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample730.wsdl')
-rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample730.wsdl36
1 files changed, 0 insertions, 36 deletions
diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample730.wsdl b/tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample730.wsdl
deleted file mode 100644
index c5797fcbc..000000000
--- a/tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample730.wsdl
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<wsdl:definitions name="sample" targetNamespace="http://www.example.org/sample730" xmlns:tns="http://www.example.org/sample730" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
-<wsdl:types>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.example.org/sample730">
-<xsd:element name="NewOperationResponse" type="xsd:string"/><xsd:element name="NewOperationRequest" type="xsd:string"/></xsd:schema>
-</wsdl:types>
-<wsdl:message name="NewOperationResponse">
-<wsdl:part name="NewOperationResponse" element="tns:NewOperationResponse"/>
-</wsdl:message>
-<wsdl:message name="NewOperationRequest">
-<wsdl:part name="NewOperationRequest" element="tns:NewOperationRequest"/>
-</wsdl:message>
-<wsdl:portType name="sample">
-<wsdl:operation name="NewOperation">
-<wsdl:input message="tns:NewOperationRequest"/>
-<wsdl:output message="tns:NewOperationResponse"/>
-</wsdl:operation>
-</wsdl:portType>
-<wsdl:binding name="sampleSOAP" type="tns:sample">
-<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-<wsdl:operation name="NewOperation">
-<soap:operation soapAction="http://www.example.org/sample/NewOperation"/>
-<wsdl:input>
-<soap:body use="literal" parts=" NewOperationRequest"/>
-</wsdl:input>
-<wsdl:output>
-<soap:body use="literal" parts=" NewOperationResponse"/>
-</wsdl:output>
-</wsdl:operation>
-</wsdl:binding>
-<wsdl:service name="sample">
-<wsdl:port name="sampleSOAP" binding="tns:sampleSOAP">
-<soap:address location="http://www.example.org/"/>
-</wsdl:port>
-</wsdl:service>
-</wsdl:definitions> \ No newline at end of file

Back to the top

d>
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/CompletionFlags.java55
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/CompletionProposal.java1984
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/CompletionRequestor.java296
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/CorrectionEngine.java470
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ElementChangedEvent.java105
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/Flags.java395
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IAccessRule.java110
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IBuffer.java261
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IBufferChangedListener.java35
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IBufferFactory.java39
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IClassFile.java121
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ICodeAssist.java127
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ICompletionRequestor.java384
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ICorrectionRequestor.java162
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IElementChangedListener.java34
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IField.java80
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IFunction.java229
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IFunctionContainer.java102
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IImportContainer.java38
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IImportDeclaration.java51
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IIncludePathAttribute.java93
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IIncludePathEntry.java413
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IInitializer.java26
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJarEntryResource.java77
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptElement.java398
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptElementDelta.java375
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptModel.java260
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptModelMarker.java111
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptModelStatus.java78
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptModelStatusConstants.java319
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptProject.java979
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptUnit.java797
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.java183
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.java186
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ILocalVariable.java59
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ILookupScope.java45
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IMember.java166
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IOpenable.java193
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IPackageDeclaration.java35
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IPackageFragment.java202
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IPackageFragmentRoot.java432
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IParent.java45
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IProblemRequestor.java58
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IRegion.java72
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ISourceManipulation.java118
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ISourceRange.java43
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ISourceReference.java61
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IType.java892
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeHierarchy.java309
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeHierarchyChangedListener.java34
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeParameter.java75
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeRoot.java103
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IWorkingCopy.java381
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JSDScopeUtil.java86
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JavaScriptConventions.java734
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JavaScriptCore.java4244
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JavaScriptModelException.java176
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.java335
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JsGlobalScopeVariableInitializer.java56
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/LibrarySuperType.java196
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/Messages.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/NamingConventions.java949
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/Signature.java2747
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ToolFactory.java247
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/UnimplementedException.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/WorkingCopyOwner.java192
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ASTVisitor.java700
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IAND_AND_Expression.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IASTNode.java153
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IAbstractFunctionDeclaration.java75
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IAbstractVariableDeclaration.java54
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IAllocationExpression.java33
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IAnnotation.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IAnnotationFunctionDeclaration.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IArgument.java33
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IArrayAllocationExpression.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IArrayInitializer.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IArrayQualifiedTypeReference.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IArrayReference.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IArrayTypeReference.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IAssertStatement.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IAssignment.java39
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IBinaryExpression.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IBlock.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IBranchStatement.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IBreakStatement.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ICaseStatement.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ICastExpression.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ICharLiteral.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ICombinedBinaryExpression.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ICompoundAssignment.java29
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IConditionalExpression.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IConstructorDeclaration.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IContinueStatement.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IDoStatement.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IDoubleLiteral.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IEmptyExpression.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IEmptyStatement.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IEqualExpression.java29
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IExplicitConstructorCall.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IExpression.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IExtendedStringLiteral.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IFalseLiteral.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IFieldDeclaration.java26
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IFieldReference.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IFloatLiteral.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IForInStatement.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IForStatement.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IForeachStatement.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IFunctionCall.java33
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IFunctionDeclaration.java30
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IFunctionExpression.java33
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IIfStatement.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IImportReference.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IInitializer.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IInstanceOfExpression.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IIntLiteral.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IIntLiteralMinValue.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IJsDoc.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IJsDocAllocationExpression.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IJsDocArgumentExpression.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IJsDocArrayQualifiedTypeReference.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IJsDocArraySingleTypeReference.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IJsDocFieldReference.java23
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IJsDocImplicitTypeReference.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IJsDocMessageSend.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IJsDocQualifiedTypeReference.java25
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IJsDocReturnStatement.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IJsDocSingleNameReference.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IJsDocSingleTypeReference.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ILabeledStatement.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IListExpression.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ILiteral.java29
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ILocalDeclaration.java32
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ILongLiteral.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ILongLiteralMinValue.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IMagicLiteral.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IMarkerAnnotation.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IMemberValuePair.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/INameReference.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/INormalAnnotation.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/INullLiteral.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/INumberLiteral.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IOR_OR_Expression.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IObjectLiteral.java33
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IObjectLiteralField.java30
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IOperatorExpression.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IParameterizedQualifiedTypeReference.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IParameterizedSingleTypeReference.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IPostfixExpression.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IPrefixExpression.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IProgramElement.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IQualifiedAllocationExpression.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IQualifiedNameReference.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IQualifiedSuperReference.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IQualifiedThisReference.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IQualifiedTypeReference.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IReference.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IRegExLiteral.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IReturnStatement.java30
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IScriptFileDeclaration.java44
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ISingleMemberAnnotation.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ISingleNameReference.java29
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ISingleTypeReference.java26
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IStatement.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IStringLiteral.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IStringLiteralConcatenation.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ISubRoutineStatement.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ISuperReference.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ISwitchStatement.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IThisReference.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IThrowStatement.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ITrueLiteral.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ITryStatement.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ITypeDeclaration.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ITypeParameter.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/ITypeReference.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IUnaryExpression.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IUndefinedLiteral.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IWhileStatement.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IWildcard.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ast/IWithStatement.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/compiler/BuildContext.java145
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/compiler/CategorizedProblem.java159
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/compiler/CharOperation.java3394
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/compiler/IProblem.java993
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/compiler/IScanner.java154
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/compiler/ITerminalSymbols.java166
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/compiler/InvalidInputException.java43
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/compiler/ReconcileContext.java198
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/compiler/ValidationParticipant.java131
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/compiler/libraries/LibraryLocation.java49
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/compiler/libraries/SystemLibraryLocation.java179
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/AST.java2541
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ASTConverter.java5030
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ASTMatcher.java2214
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ASTNode.java2681
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ASTParser.java1161
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ASTRecoveryPropagator.java383
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ASTRequestor.java122
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ASTSyntaxErrorPropagator.java134
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ASTVisitor.java2353
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/AbstractTypeDeclaration.java242
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/AnonymousClassDeclaration.java191
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ArrayAccess.java270
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ArrayCreation.java315
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ArrayInitializer.java161
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ArrayType.java247
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/AssertStatement.java263
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/Assignment.java439
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/BindingComparator.java316
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/BindingResolver.java826
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/Block.java169
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/BlockComment.java130
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/BodyDeclaration.java255
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/BooleanLiteral.java178
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/BreakStatement.java188
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/CastExpression.java265
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/CatchClause.java266
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/CharacterLiteral.java389
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ChildListPropertyDescriptor.java100
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ChildPropertyDescriptor.java116
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ClassInstanceCreation.java607
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/Comment.java132
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ConditionalExpression.java332
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ConstructorInvocation.java247
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ContinueStatement.java188
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/DefaultASTVisitor.java552
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/DefaultBindingResolver.java1697
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/DefaultCommentMapper.java650
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/DoStatement.java276
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/DocCommentParser.java744
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/EmptyExpression.java91
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/EmptyStatement.java119
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/EnhancedForStatement.java331
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/Expression.java143
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ExpressionStatement.java207
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/FieldAccess.java316
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/FieldDeclaration.java372
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ForInStatement.java331
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ForStatement.java363
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/FunctionBinding.java483
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.java915
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/FunctionExpression.java206
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/FunctionInvocation.java403
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/FunctionRef.java320
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/FunctionRefParameter.java360
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/IBinding.java286
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/IDocElement.java25
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/IExtendedModifier.java46
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/IFunctionBinding.java313
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/IMemberValuePairBinding.java65
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/IPackageBinding.java75
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ITypeBinding.java929
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/IVariableBinding.java168
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/IfStatement.java351
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ImportDeclaration.java411
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/InferredType.java97
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/InfixExpression.java545
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/Initializer.java315
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/InstanceofExpression.java265
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/InternalASTRewrite.java236
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/JSdoc.java322
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/JavaScriptUnit.java1056
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/JavaScriptUnitBinding.java813
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/JavaScriptUnitResolver.java931
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/LabeledStatement.java278
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/LineComment.java129
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ListExpression.java157
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/MemberRef.java275
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/Message.java137
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/Modifier.java706
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/NaiveASTFlattener.java1520
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/Name.java121
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/NodeEventHandler.java193
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/NodeSearcher.java107
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/NullLiteral.java120
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/NumberLiteral.java225
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ObjectLiteral.java151
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ObjectLiteralField.java261
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/PackageBinding.java169
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/PackageDeclaration.java352
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ParameterizedType.java253
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ParenthesizedExpression.java202
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/PostfixExpression.java332
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/PrefixExpression.java350
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/PrimitiveType.java316
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ProgramElement.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/QualifiedName.java284
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/QualifiedType.java288
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/RecoveredTypeBinding.java647
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/RecoveredVariableBinding.java133
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/RegularExpressionLiteral.java213
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ReturnStatement.java189
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/SimpleName.java294
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/SimplePropertyDescriptor.java86
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/SimpleType.java201
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/SingleVariableDeclaration.java641
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/Statement.java213
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/StringLiteral.java347
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/StructuralPropertyDescriptor.java145
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/SuperConstructorInvocation.java322
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/SuperFieldAccess.java282
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/SuperMethodInvocation.java401
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/SwitchCase.java224
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/SwitchStatement.java252
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/TagElement.java403
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/TextElement.java201
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ThisExpression.java191
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/ThrowStatement.java203
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/TryStatement.java301
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/Type.java180
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/TypeBinding.java1341
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/TypeDeclaration.java829
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/TypeDeclarationStatement.java361
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/TypeLiteral.java203
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/TypeParameter.java262
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/UndefinedLiteral.java120
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/VariableBinding.java329
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/VariableDeclaration.java200
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/VariableDeclarationExpression.java438
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/VariableDeclarationFragment.java337
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/VariableDeclarationStatement.java491
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/WhileStatement.java278
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/WildcardType.java283
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/WithStatement.java278
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/rewrite/ASTRewrite.java653
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/rewrite/ITrackedNodePosition.java46
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/rewrite/ImportRewrite.java1163
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/rewrite/ListRewrite.java417
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/dom/rewrite/TargetSourceRangeComputer.java137
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/eval/ICodeSnippetRequestor.java177
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/eval/IEvaluationContext.java444
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/eval/IGlobalVariable.java52
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/formatter/CodeFormatter.java108
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/formatter/CodeFormatterApplication.java400
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/formatter/DefaultCodeFormatterConstants.java3674
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/formatter/IndentManipulation.java429
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/formatter/messages.properties41
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/infer/DefaultInferrenceProvider.java65
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/infer/IInferenceFile.java38
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/infer/ImportRewriteSupport.java56
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/infer/InferEngine.java1713
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/infer/InferOptions.java131
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/infer/InferredAttribute.java54
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/infer/InferredMember.java34
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/infer/InferredMethod.java76
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/infer/InferredType.java422
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/infer/InferrenceManager.java189
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/infer/InferrenceProvider.java60
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/infer/InferrenceSupportExtension.java25
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/infer/RefactoringSupport.java46
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/infer/ResolutionConfiguration.java46
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/messages.properties1
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/FieldDeclarationMatch.java43
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/FieldReferenceMatch.java74
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/IJavaScriptSearchConstants.java210
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/IJavaScriptSearchScope.java96
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/LocalVariableDeclarationMatch.java44
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/LocalVariableReferenceMatch.java73
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/MethodDeclarationMatch.java44
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/MethodReferenceMatch.java131
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/PackageDeclarationMatch.java44
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/PackageReferenceMatch.java46
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/SearchDocument.java143
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/SearchEngine.java631
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/SearchMatch.java380
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/SearchParticipant.java235
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/SearchPattern.java1980
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/SearchRequestor.java99
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/TypeDeclarationMatch.java45
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/TypeNameMatch.java160
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/TypeNameMatchRequestor.java52
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/TypeNameRequestor.java59
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/TypeParameterDeclarationMatch.java43
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/TypeParameterReferenceMatch.java46
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/search/TypeReferenceMatch.java99
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/util/IModifierConstants.java67
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/util/JavaScriptUnitSorter.java346
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/CompletionEngine.java9664
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/CompletionRequestorWrapper.java339
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/IExtendedCompletionRequestor.java25
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/ISearchRequestor.java82
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/ISelectionRequestor.java265
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/InternalCompletionContext.java67
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/InternalCompletionProposal.java205
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/MissingTypesGuesser.java608
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/RelevanceConstants.java46
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/SelectionEngine.java1601
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/ThrownExceptionFinder.java145
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/UnresolvedReferenceNameFinder.java552
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionJavadoc.java307
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionJavadocParser.java928
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionNodeDetector.java342
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionNodeFound.java44
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnAnnotationMemberValuePair.java55
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnAnnotationOfType.java34
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnArgumentName.java58
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnBrankStatementLabel.java52
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnClassLiteralAccess.java63
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnExplicitConstructorCall.java84
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnFieldName.java43
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnFieldType.java56
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnImportReference.java51
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnJavadoc.java37
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnJavadocAllocationExpression.java103
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnJavadocFieldReference.java142
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnJavadocMessageSend.java102
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnJavadocParamNameReference.java61
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnJavadocQualifiedTypeReference.java98
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnJavadocSingleTypeReference.java95
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnJavadocTag.java167
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnJavadocTypeParamReference.java60
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnKeyword.java18
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnKeyword1.java47
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnKeyword2.java37
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnKeyword3.java43
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnLocalName.java51
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnMarkerAnnotationName.java37
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnMemberAccess.java101
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnMemberValueName.java39
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnMessageSend.java83
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnMessageSendName.java70
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnMethodName.java53
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnMethodReturnType.java33
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnMethodTypeParameter.java44
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnPackageReference.java51
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnParameterizedQualifiedTypeReference.java133
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnQualifiedAllocationExpression.java76
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnQualifiedNameReference.java89
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnQualifiedType.java69
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnQualifiedTypeReference.java104
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnSingleNameReference.java77
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnSingleTypeName.java47
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnSingleTypeReference.java112
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionOnStringLiteral.java62
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionParser.java4449
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/CompletionScanner.java787
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/complete/InvalidCursorLocation.java32
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/impl/AssistOptions.java237
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/impl/AssistParser.java1772
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/impl/Engine.java372
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/impl/Keywords.java65
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionJavadoc.java142
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionJavadocParser.java192
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionNodeFound.java31
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnArgumentName.java50
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnExplicitConstructorCall.java74
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnFieldReference.java64
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnFieldType.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnImportReference.java48
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnLocalName.java46
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnMessageSend.java113
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnNameOfMemberValuePair.java40
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnPackageReference.java47
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnParameterizedQualifiedTypeReference.java76
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnParameterizedSingleTypeReference.java48
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnQualifiedAllocationExpression.java84
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnQualifiedNameReference.java87
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnQualifiedSuperReference.java59
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnQualifiedType.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnQualifiedTypeReference.java64
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnSingleNameReference.java113
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnSingleType.java20
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnSingleTypeReference.java63
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnSuperReference.java58
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionParser.java1338
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionScanner.java67
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ASTVisitor.java1054
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/AbstractAnnotationProcessorManager.java95
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/CompilationResult.java465
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/Compiler.java745
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ConfigurableOption.java220
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/DefaultErrorHandlingPolicies.java75
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/DelegateASTVisitor.java1051
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/DocumentElementParser.java1421
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ICompilerRequestor.java22
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/IDebugRequestor.java42
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/IDocumentElementRequestor.java412
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/IErrorHandlingPolicy.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/IProblemFactory.java42
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ISourceElementRequestor.java164
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/SourceElementParser.java2105
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/SourceElementRequestorAdapter.java190
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/SourceJavadocParser.java142
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/AND_AND_Expression.java86
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ASTNode.java751
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/AbstractMethodDeclaration.java490
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/AbstractVariableDeclaration.java194
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/AllocationExpression.java356
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/Annotation.java422
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/AnnotationMethodDeclaration.java165
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/Argument.java193
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ArrayAllocationExpression.java147
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ArrayInitializer.java183
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ArrayQualifiedTypeReference.java107
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ArrayReference.java110
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ArrayTypeReference.java98
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/AssertStatement.java183
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/Assignment.java255
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/BinaryExpression.java429
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/Block.java120
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/BranchStatement.java39
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/BreakStatement.java101
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/CaseStatement.java145
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/CastExpression.java500
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/CharLiteral.java44
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ClassLiteralAccess.java109
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/Clinit.java145
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/CombinedBinaryExpression.java251
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/CompilationUnitDeclaration.java707
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/CompoundAssignment.java183
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ConditionalExpression.java338
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ConstructorDeclaration.java343
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ContinueStatement.java105
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/DoStatement.java154
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/DoubleLiteral.java105
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/EmptyExpression.java42
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/EmptyStatement.java64
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/EqualExpression.java258
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ExplicitConstructorCall.java376
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/Expression.java936
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ExtendedStringLiteral.java85
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/FalseLiteral.java45
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/FieldDeclaration.java278
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/FieldReference.java603
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/FloatLiteral.java106
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ForInStatement.java213
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ForStatement.java314
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ForeachStatement.java326
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/FunctionExpression.java81
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/IfStatement.java214
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ImportReference.java113
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/Initializer.java116
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/InstanceOfExpression.java101
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/IntLiteral.java153
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/IntLiteralMinValue.java35
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/Javadoc.java929
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/JavadocAllocationExpression.java211
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/JavadocArgumentExpression.java112
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/JavadocArrayQualifiedTypeReference.java55
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/JavadocArraySingleTypeReference.java53
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/JavadocFieldReference.java162
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/JavadocImplicitTypeReference.java119
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/JavadocMessageSend.java251
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/JavadocQualifiedTypeReference.java96
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/JavadocReturnStatement.java79
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/JavadocSingleNameReference.java98
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/JavadocSingleTypeReference.java112
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/LabeledStatement.java122
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ListExpression.java102
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/Literal.java65
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/LocalDeclaration.java352
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/LongLiteral.java151
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/LongLiteralMinValue.java34
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/MagicLiteral.java36
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/MarkerAnnotation.java47
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/MemberValuePair.java235
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/MessageSend.java545
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/MethodDeclaration.java301
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/NameReference.java92
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/NormalAnnotation.java79
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/NullLiteral.java59
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/NumberLiteral.java43
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/OR_OR_Expression.java89
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ObjectLiteral.java104
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ObjectLiteralField.java90
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/OperatorExpression.java1845
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/OperatorIds.java50
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ParameterizedQualifiedTypeReference.java351
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ParameterizedSingleTypeReference.java259
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/PostfixExpression.java55
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/PrefixExpression.java62
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ProgramElement.java35
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/QualifiedAllocationExpression.java397
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/QualifiedNameReference.java770
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/QualifiedSuperReference.java80
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/QualifiedThisReference.java122
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/QualifiedTypeReference.java150
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/Reference.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/RegExLiteral.java94
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ReturnStatement.java211
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/SingleMemberAnnotation.java69
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/SingleNameReference.java578
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/SingleTypeReference.java99
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/Statement.java81
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/StringLiteral.java116
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/StringLiteralConcatenation.java85
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/SubRoutineStatement.java37
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/SuperReference.java75
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/SwitchStatement.java268
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ThisReference.java110
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/ThrowStatement.java62
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/TrueLiteral.java45
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/TryStatement.java462
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/TypeDeclaration.java1312
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/TypeParameter.java118
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/TypeReference.java215
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/UnaryExpression.java188
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/UndefinedLiteral.java59
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/WhileStatement.java189
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/Wildcard.java138
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/WithStatement.java95
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/batch/ClasspathFile.java158
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/batch/ClasspathLocation.java68
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/batch/ClasspathMetadataFile.java127
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/batch/CompilationUnit.java106
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/batch/FileFinder.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/batch/FileSystem.java384
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/batch/Main.java3958
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/batch/messages.properties291
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/classfmt/ClassFileConstants.java115
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/AccessRestriction.java50
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/AccessRule.java71
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/AccessRuleSet.java118
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/ClassSignature.java38
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/EnumConstantSignature.java48
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/IBinaryAnnotation.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/IBinaryElementValuePair.java31
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/IBinaryField.java54
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/IBinaryMethod.java84
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/IBinaryNestedType.java38
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/IBinaryType.java128
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/ICompilationUnit.java49
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/IDependent.java44
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/IGenericField.java23
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/IGenericMethod.java29
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/IGenericType.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/INameEnvironment.java74
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/ISourceField.java47
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/ISourceImport.java32
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/ISourceMethod.java63
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/ISourceType.java92
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/env/NameEnvironmentAnswer.java138
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/flow/ConditionalFlowInfo.java217
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/flow/ExceptionHandlingFlowContext.java230
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/flow/FinallyFlowContext.java317
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/flow/FlowContext.java600
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/flow/FlowInfo.java389
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/flow/InitializationFlowContext.java98
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/flow/InsideSubRoutineFlowContext.java58
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/flow/LabelFlowContext.java51
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/flow/LoopingFlowContext.java461
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/flow/NullInfoRegistry.java377
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/flow/SwitchFlowContext.java47
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/flow/UnconditionalFlowInfo.java1712
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/impl/BooleanConstant.java43
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/impl/ByteConstant.java53
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/impl/CharConstant.java56
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/impl/CompilerOptions.java1423
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/impl/Constant.java1613
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/impl/DoubleConstant.java67
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/impl/FloatConstant.java64
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/impl/ITypeRequestor.java46
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/impl/IntConstant.java99
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/impl/LongConstant.java58
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/impl/ReferenceContext.java26
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/impl/ShortConstant.java53
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/impl/StringConstant.java46
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/AnnotationBinding.java173
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/AnnotationHolder.java85
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/ArrayBinding.java297
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/BaseTypeBinding.java217
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/BinaryTypeBinding.java1040
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/Binding.java110
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/BlockScope.java900
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/CaptureBinding.java210
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/ClassScope.java1280
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/CombinedSourceTypeBinding.java182
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/CompilationUnitBinding.java632
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/CompilationUnitScope.java1266
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/ElementValuePair.java109
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/ExtraCompilerModifiers.java40
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/FieldBinding.java365
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/FunctionTypeBinding.java166
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/ImportBinding.java48
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/ImportConflictBinding.java29
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/IndirectMethodBinding.java22
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/InferenceContext.java144
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/InnerEmulationDependency.java22
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/InvocationSite.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/LibraryAPIsBinding.java93
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/LibraryAPIsScope.java139
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/LocalFunctionBinding.java26
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/LocalTypeBinding.java234
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/LocalVariableBinding.java249
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/LookupEnvironment.java1442
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/MemberTypeBinding.java58
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/Messages.java32
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/MetatdataTypeBinding.java1069
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/MethodBinding.java894
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/MethodScope.java488
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/MethodVerifier.java745
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/MethodVerifier15.java710
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/MissingBinaryTypeBinding.java59
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/MultipleTypeBinding.java179
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/NestedTypeBinding.java217
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/PackageBinding.java285
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/ParameterizedFieldBinding.java62
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/ParameterizedGenericMethodBinding.java473
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/ParameterizedMethodBinding.java247
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/ParameterizedTypeBinding.java1083
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/ProblemBinding.java55
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/ProblemFieldBinding.java36
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/ProblemMethodBinding.java44
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/ProblemPackageBinding.java32
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/ProblemReasons.java30
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/ProblemReferenceBinding.java50
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/RawTypeBinding.java174
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/ReferenceBinding.java1216
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/Scope.java4232
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/SignatureWrapper.java68
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/SourceTypeBinding.java2038
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/Substitution.java33
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/SyntheticArgumentBinding.java59
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/SyntheticFieldBinding.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/SyntheticMethodBinding.java417
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/TagBits.java120
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/TypeBinding.java1013
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/TypeConstants.java161
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/TypeIds.java166
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/TypeVariableBinding.java426
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/UnresolvedAnnotationBinding.java56
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/UnresolvedReferenceBinding.java76
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/UpdatedMethodBinding.java25
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/VariableBinding.java60
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/WildcardBinding.java627
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/WithScope.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/messages.properties63
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/AbstractCommentParser.java1655
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/JavadocParser.java1160
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/JavadocTagConstants.java288
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/NLSTag.java30
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/Parser.java10361
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/ParserBasicInformation.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/RecoveredBlock.java409
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/RecoveredElement.java328
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/RecoveredField.java212
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/RecoveredImport.java62
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/RecoveredInitializer.java234
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/RecoveredLocalVariable.java114
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/RecoveredMethod.java527
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/RecoveredStatement.java103
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/RecoveredType.java572
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/RecoveredUnit.java325
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/RecoveryScanner.java241
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/RecoveryScannerData.java73
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/Scanner.java4456
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/ScannerHelper.java355
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/SourceTypeConverter.java1180
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/TerminalTokens.java159
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/UpdateParserFiles.java30
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/diagnose/DiagnoseParser.java2530
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/diagnose/LexStream.java291
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/diagnose/RangeUtil.java179
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser1.rscbin14450 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser10.rscbin110 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser11.rscbin110 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser12.rscbin110 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser13.rscbin110 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser14.rscbin524 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser15.rscbin490 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser16.rscbin1196 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser17.rscbin436 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser18.rscbin7519 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser19.rsc1
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser2.rscbin13578 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser20.rscbin8678 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser21.rscbin3488 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser22.rscbin400 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser23.rscbin62 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser24.rscbin400 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser25.rscbin439 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser3.rscbin1196 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser4.rscbin1214 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser5.rscbin1196 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser6.rscbin362 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser7.rscbin244 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser8.rscbin400 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/parser9.rscbin14842 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/part1.rscbin8192 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/part14.rscbin8192 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/part2.rscbin8192 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/readableNames.properties197
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/start1.rscbin8192 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/start2.rscbin8192 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/problem/AbortCompilation.java88
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/problem/AbortCompilationUnit.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/problem/AbortMethod.java29
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/problem/AbortType.java29
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/problem/DefaultProblem.java295
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/problem/DefaultProblemFactory.java206
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/problem/ProblemHandler.java167
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/problem/ProblemReporter.java7103
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/problem/ProblemSeverities.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/problem/ShouldNotImplement.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/problem/messages.properties591
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/CompoundNameVector.java71
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/FloatUtil.java421
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/GenericXMLWriter.java131
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/HashtableOfBinding.java105
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/HashtableOfInt.java98
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/HashtableOfIntValues.java156
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/HashtableOfLong.java101
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/HashtableOfObject.java162
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/HashtableOfObjectToInt.java155
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/HashtableOfObjectToIntArray.java155
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/HashtableOfPackage.java105
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/HashtableOfType.java105
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/Messages.java245
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/ObjectCache.java158
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/ObjectVector.java135
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/SimpleLookupTable.java167
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/SimpleNameVector.java96
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/SimpleSet.java141
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/SimpleSetOfCharArray.java143
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/SuffixConstants.java37
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/util/Util.java524
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ASTHolderCUInfo.java23
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/BasicCompilationUnit.java162
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/BatchOperation.java64
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/BecomeWorkingCopyOperation.java75
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/BinaryField.java130
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/BinaryMember.java132
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/BinaryMethod.java647
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/BinaryType.java1048
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/BinaryTypeConverter.java255
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/Buffer.java475
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/BufferCache.java76
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/BufferFactoryWrapper.java55
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/BufferManager.java146
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/CancelableNameEnvironment.java67
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/CancelableProblemFactory.java33
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ChangeClasspathOperation.java86
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ClassFile.java915
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ClassFileInfo.java225
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ClassFileWorkingCopy.java78
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ClasspathAccessRule.java56
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ClasspathAttribute.java48
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ClasspathChange.java501
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ClasspathEntry.java1767
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ClasspathValidation.java87
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/CommitWorkingCopyOperation.java221
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/CompilationUnit.java1417
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/CompilationUnitElementInfo.java78
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/CompilationUnitProblemFinder.java331
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/CompilationUnitStructureRequestor.java571
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/CopyElementsOperation.java264
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/CopyPackageFragmentRootOperation.java274
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/CopyResourceElementsOperation.java724
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/CreateCompilationUnitOperation.java176
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/CreateElementInCUOperation.java330
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/CreateFieldOperation.java177
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/CreateImportOperation.java176
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/CreateMethodOperation.java135
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/CreatePackageDeclarationOperation.java131
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/CreatePackageFragmentOperation.java157
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/CreateTypeHierarchyOperation.java125
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/CreateTypeMemberOperation.java223
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/CreateTypeOperation.java115
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/DefaultWorkingCopyOwner.java38
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/DeleteElementsOperation.java195
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/DeletePackageFragmentRootOperation.java173
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/DeleteResourceElementsOperation.java142
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/DeltaProcessingState.java539
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/DeltaProcessor.java2572
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/DiscardWorkingCopyOperation.java71
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/DocumentAdapter.java39
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/DocumentContextFragment.java187
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/DocumentContextFragmentRoot.java635
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ElementCache.java97
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ExternalJavaProject.java62
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/IJavaElementRequestor.java38
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/INamingRequestor.java18
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/IPathRequestor.java15
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/IVirtualParent.java26
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ImportContainer.java120
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ImportDeclaration.java113
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ImportDeclarationElementInfo.java22
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/Initializer.java119
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/InitializerElementInfo.java18
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/InternalNamingConventions.java423
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaCorePreferenceInitializer.java122
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaCorePreferenceModifyListener.java73
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaElement.java890
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaElementDelta.java732
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaElementDeltaBuilder.java454
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaElementInfo.java80
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaElementRequestor.java226
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaModel.java385
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaModelCache.java236
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaModelInfo.java63
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaModelManager.java4464
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaModelOperation.java899
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaModelStatus.java481
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaProject.java3167
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaProjectElementInfo.java364
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavadocConstants.java34
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/LRUCacheEnumerator.java69
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/LibraryFragmentRoot.java286
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/LibraryFragmentRootInfo.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/LibraryPackageFragment.java271
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/LibraryPackageFragmentInfo.java23
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/LocalVariable.java195
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/LookupScopeElementInfo.java219
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/Member.java403
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/MemberElementInfo.java77
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/MetadataFile.java393
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ModelUpdater.java248
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/MoveElementsOperation.java46
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/MovePackageFragmentRootOperation.java283
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/MoveResourceElementsOperation.java45
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/MultiOperation.java318
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/NameLookup.java2302
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/NamedMember.java264
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/NullBuffer.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/Openable.java484
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/OpenableElementInfo.java37
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/OverflowingLRUCache.java417
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/PackageDeclaration.java70
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/PackageFragment.java544
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/PackageFragmentInfo.java63
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/PackageFragmentRoot.java918
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/PackageFragmentRootInfo.java181
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ProjectReferenceChange.java103
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ReconcileWorkingCopyOperation.java283
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/Region.java150
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/RenameElementsOperation.java83
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/RenameResourceElementsOperation.java68
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ResolvedBinaryField.java60
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ResolvedBinaryMethod.java58
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ResolvedBinaryType.java66
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ResolvedSourceField.java60
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ResolvedSourceMethod.java59
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ResolvedSourceType.java66
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SearchableEnvironment.java778
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SearchableEnvironmentRequestor.java120
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SelectionRequestor.java1109
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SetClasspathOperation.java87
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SetContainerOperation.java210
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SetVariablesOperation.java193
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SimpleDelta.java124
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SingleTypeRequestor.java83
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SortElementsOperation.java342
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SourceAnnotationMethodInfo.java30
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SourceConstructorInfo.java37
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SourceField.java177
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SourceFieldElementInfo.java60
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SourceMapper.java1389
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SourceMethod.java304
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SourceMethodElementInfo.java86
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SourceMethodInfo.java40
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SourceRange.java62
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SourceRefElement.java293
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SourceRefElementInfo.java45
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SourceType.java888
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/SourceTypeElementInfo.java333
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/TypeParameter.java109
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/TypeParameterElementInfo.java31
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/TypeVector.java113
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/UserLibrary.java210
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/UserLibraryJsGlobalScopeContainer.java87
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/UserLibraryJsGlobalScopeContainerInitializer.java88
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/UserLibraryManager.java276
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/VerboseElementCache.java51
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/XMLWriter.java25
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/AbortIncrementalBuildException.java26
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/AbstractImageBuilder.java724
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/AdditionalTypeCollection.java22
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/BatchImageBuilder.java227
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/BuildNotifier.java278
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/ClasspathDirectory.java127
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/ClasspathLibrary.java138
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/ClasspathLocation.java56
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/ClasspathMultiDirectory.java61
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/ICompilationUnitLocator.java25
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/ImageBuilderInternalException.java52
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/IncrementalImageBuilder.java809
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/JavaBuilder.java778
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/MissingSourceFileException.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/NameEnvironment.java486
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/NameSet.java66
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/ProblemFactory.java32
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/QualifiedNameSet.java69
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/ReferenceCollection.java244
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/SourceFile.java132
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/State.java728
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/StringSet.java81
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/ValidationParticipantResult.java48
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/builder/WorkQueue.java55
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java3317
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/dom/rewrite/ASTRewriteFlattener.java1357
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/dom/rewrite/ASTRewriteFormatter.java550
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/dom/rewrite/ImportRewriteAnalyzer.java1062
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/dom/rewrite/LineCommentEndOffsets.java85
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/dom/rewrite/LineInformation.java59
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/dom/rewrite/ListRewriteEvent.java211
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/dom/rewrite/NodeInfoStore.java162
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/dom/rewrite/NodeRewriteEvent.java114
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/dom/rewrite/RewriteEvent.java79
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/dom/rewrite/RewriteEventStore.java849
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/dom/rewrite/SourceModifier.java48
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/dom/rewrite/TokenScanner.java238
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/dom/rewrite/TrackedNodePosition.java59
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/hierarchy/ChangeCollector.java450
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/hierarchy/HierarchyBinaryType.java248
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/hierarchy/HierarchyBuilder.java284
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/hierarchy/HierarchyResolver.java980
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/hierarchy/HierarchyType.java63
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/hierarchy/IndexBasedHierarchyBuilder.java536
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/hierarchy/RegionBasedHierarchyBuilder.java223
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/hierarchy/RegionBasedTypeHierarchy.java176
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/hierarchy/TypeHierarchy.java1576
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/index/DiskIndex.java1263
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/index/EntryResult.java79
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/index/Index.java206
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/index/MemoryIndex.java130
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/interpret/BooleanValue.java30
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/interpret/Contants.java17
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/interpret/FunctionValue.java66
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/interpret/InterpretException.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/interpret/InterpretedScript.java33
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/interpret/Interpreter.java99
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/interpret/InterpreterContext.java100
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/interpret/InterpreterEngine.java736
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/interpret/InterpreterResult.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/interpret/NativeFunction.java20
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/interpret/NativeObject.java15
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/interpret/NumberValue.java36
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/interpret/ObjectValue.java51
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/interpret/StringValue.java35
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/interpret/Value.java87
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/interpret/ValueReference.java18
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/interpret/builtin/BuiltInHelper.java22
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/interpret/builtin/BuiltInObject.java66
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/interpret/builtin/BuiltInString.java61
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/AbstractSearchScope.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/BasicSearchEngine.java1648
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/HierarchyScope.java365
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/IRestrictedAccessBindingRequestor.java34
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/IRestrictedAccessTypeRequestor.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/IndexQueryRequestor.java25
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/IndexSelector.java217
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/JavaSearchDocument.java97
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/JavaSearchParticipant.java125
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/JavaSearchScope.java693
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/JavaSearchTypeNameMatch.java101
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/JavaWorkspaceScope.java145
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/PathCollector.java47
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/PatternSearchJob.java130
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/SubTypeSearchJob.java39
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/TypeNameMatchRequestorWrapper.java221
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/TypeNameRequestorWrapper.java47
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/indexing/AbstractIndexer.java175
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/indexing/AddFolderToIndex.java113
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/indexing/AddLibraryFileToIndex.java221
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/indexing/AddLibraryFolderToIndex.java130
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/indexing/IIndexConstants.java63
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/indexing/IndexAllProject.java264
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/indexing/IndexBinaryFolder.java159
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/indexing/IndexManager.java819
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/indexing/IndexRequest.java42
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/indexing/IndexingParser.java64
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/indexing/InternalSearchDocument.java48
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/indexing/ReadWriteMonitor.java111
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/indexing/RemoveFolderFromIndex.java78
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/indexing/RemoveFromIndex.java45
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/indexing/SaveIndex.java55
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/indexing/SourceIndexer.java116
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/indexing/SourceIndexerRequestor.java370
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/AndPattern.java86
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/ClassFileMatchLocator.java291
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/ClasspathSourceDirectory.java114
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/ConstructorLocator.java407
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/ConstructorPattern.java321
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/DeclarationOfAccessedFieldsPattern.java30
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/DeclarationOfReferencedMethodsPattern.java30
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/DeclarationOfReferencedTypesPattern.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/FieldLocator.java496
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/FieldPattern.java147
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/ImportMatchLocatorParser.java37
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/InternalSearchPattern.java124
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/JavaSearchNameEnvironment.java207
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/JavaSearchPattern.java351
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/LocalVariableLocator.java113
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/LocalVariablePattern.java115
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/MatchLocator.java2917
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/MatchLocatorParser.java473
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/MatchingNodeSet.java211
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/MethodLocator.java802
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/MethodPattern.java394
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/MultiTypeDeclarationPattern.java209
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/OrLocator.java313
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/OrPattern.java109
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/PackageDeclarationLocator.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/PackageDeclarationPattern.java37
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/PackageReferenceLocator.java363
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/PackageReferencePattern.java78
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/PatternLocator.java1021
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/PossibleMatch.java160
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/PossibleMatchSet.java78
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/QualifiedTypeDeclarationPattern.java141
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/SecondaryTypeDeclarationPattern.java47
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/SuperTypeNamesCollector.java313
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/SuperTypeReferenceLocator.java115
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/SuperTypeReferencePattern.java291
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/TypeDeclarationLocator.java159
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/TypeDeclarationPattern.java367
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/TypeParameterLocator.java145
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/TypeParameterPattern.java117
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/TypeReferenceLocator.java807
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/TypeReferencePattern.java134
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/VariableLocator.java81
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/matching/VariablePattern.java73
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/processing/IJob.java43
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/search/processing/JobManager.java469
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/ASTNodeFinder.java215
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/BindingKeyParser.java862
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/BindingKeyResolver.java511
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/CharArrayBuffer.java193
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/CodeSnippetParsingUtil.java204
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/CommentRecorderParser.java282
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/CommentRecorderScanner.java44
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/DOMFinder.java124
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/HandleFactory.java373
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/HashSetOfArray.java149
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/HashtableOfArrayToObject.java187
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/ICacheEnumeration.java39
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/ILRUCacheable.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/KeyKind.java105
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/KeyToSignature.java333
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/LRUCache.java525
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/MementoTokenizer.java115
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/Messages.java266
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/PublicScanner.java4234
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/RecordedParsingInformation.java39
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/ReferenceInfoAdapter.java60
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/ResourceCompilationUnit.java43
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/SimpleDocument.java371
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/SimpleWordSet.java68
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/ToStringSorter.java75
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/Util.java3048
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/WeakHashSet.java217
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/WeakHashSetOfCharArray.java220
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/util/messages.properties243
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/AbortFormatting.java31
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/BinaryExpressionFragmentBuilder.java514
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/CascadingMethodInvocationFragmentBuilder.java57
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/CodeFormatterVisitor.java5725
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/DefaultCodeFormatter.java423
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/DefaultCodeFormatterOptions.java2507
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/Location.java58
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/OptimizedReplaceEdit.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/Scribe.java1822
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/align/Alignment.java417
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/align/AlignmentException.java55
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/comment/CommentFormatterUtil.java119
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/comment/CommentLine.java315
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/comment/CommentRange.java262
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/comment/CommentRegion.java573
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/comment/HTMLEntity2JavaReader.java112
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/comment/IBorderAttributes.java26
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/comment/ICommentAttributes.java65
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/comment/IHtmlTagDelimiters.java29
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/comment/IJavaDocTagConstants.java111
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/comment/Java2HTMLEntityReader.java56
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/comment/JavaDocLine.java52
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/comment/JavaDocRegion.java363
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/comment/MultiCommentLine.java409
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/comment/MultiCommentRegion.java245
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/comment/SingleCommentLine.java115
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/comment/SubstitutionTextReader.java181
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/formatter/options.properties75
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/Alias.java18
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/Ancestor.java15
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/Author.java25
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/ClassData.java128
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/DepreciatedOrAvailable.java9
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/DocumentedElement.java19
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/Enum.java8
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/Event.java32
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/Exception.java32
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/IOAAMetaDataConstants.java154
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/LibraryAPIs.java78
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/MetadataReader.java880
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/MetadataSourceElementNotifier.java158
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/Method.java40
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/Mix.java29
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/Mixin.java29
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/Namespace.java29
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/Option.java17
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/Parameter.java32
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/Property.java54
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/ReturnsData.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/oaametadata/VersionableElement.java18
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/AbstractVMInstall.java472
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/AbstractVMInstallType.java177
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/ExecutionArguments.java83
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/IJavaLaunchConfigurationConstants.java495
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/IRuntimeClasspathEntry.java332
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/IRuntimeClasspathEntry2.java82
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/IRuntimeClasspathEntryResolver.java101
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/IRuntimeClasspathEntryResolver2.java36
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/IRuntimeClasspathProvider.java87
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/IVMInstall.java162
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/IVMInstall2.java69
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/IVMInstall3.java44
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/IVMInstallChangedListener.java98
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/IVMInstallType.java131
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/IVMRunner.java45
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/JREContainer.java195
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/JREContainerInitializer.java300
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/JavaRuntime.java2595
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/LaunchingMessages.java61
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/LaunchingMessages.properties41
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/LibraryLocation.java164
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/ListenerList.java142
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/PropertyChangeEvent.java107
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/StandardVM.java68
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/StandardVMType.java633
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/VMRunnerConfiguration.java269
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/launching/VMStandin.java146
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/libraries/BasicBrowserLibraryJsGlobalScopeContainerInitializer.java144
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/libraries/BasicLibraryContainer.java20
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/libraries/Messages.java34
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/libraries/messages.properties15
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/.classpath7
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/.project28
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/.settings/org.eclipse.core.runtime.prefs3
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/.settings/org.eclipse.jdt.core.prefs80
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/.settings/org.eclipse.jdt.ui.prefs4
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/.settings/org.eclipse.ltk.core.refactoring.prefs3
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/.settings/org.eclipse.pde.prefs16
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/META-INF/MANIFEST.MF22
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/about.html28
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/build.properties17
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/plugin.properties13
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/plugin.xml24
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/manipulation/JavaScriptManipulation.java27
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/IJavaScriptElementMapper.java44
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/IJavaScriptRefactorings.java412
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/RenameTypeArguments.java86
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/ChangeMethodSignatureDescriptor.java42
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/ConvertAnonymousDescriptor.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/ConvertLocalVariableDescriptor.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/ConvertMemberTypeDescriptor.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/CopyDescriptor.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/DeleteDescriptor.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/EncapsulateFieldDescriptor.java40
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/ExtractConstantDescriptor.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/ExtractInterfaceDescriptor.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/ExtractLocalDescriptor.java40
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/ExtractMethodDescriptor.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/ExtractSuperclassDescriptor.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/GeneralizeTypeDescriptor.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/InferTypeArgumentsDescriptor.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/InlineConstantDescriptor.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/InlineLocalVariableDescriptor.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/InlineMethodDescriptor.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/IntroduceFactoryDescriptor.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/IntroduceIndirectionDescriptor.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/IntroduceParameterDescriptor.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/JavaScriptRefactoringContribution.java43
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/JavaScriptRefactoringDescriptor.java464
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveDescriptor.java348
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveMethodDescriptor.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveStaticMembersDescriptor.java142
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/PullUpDescriptor.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/PushDownDescriptor.java41
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/RenameJavaScriptElementDescriptor.java568
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/RenameLocalVariableDescriptor.java132
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/RenameResourceDescriptor.java122
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/core/refactoring/descriptors/UseSupertypeDescriptor.java124
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/internal/core/manipulation/IStatusConstants.java23
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/internal/core/manipulation/JavaElementPropertyTester.java167
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/internal/core/manipulation/JavaManipulationMessages.java28
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/internal/core/manipulation/JavaManipulationMessages.properties11
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/internal/core/manipulation/JavaManipulationPlugin.java86
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/internal/core/refactoring/descriptors/DescriptorMessages.java80
-rw-r--r--bundles/org.eclipse.wst.jsdt.manipulation/src/org/eclipse/wst/jsdt/internal/core/refactoring/descriptors/DescriptorMessages.properties37
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/.classpath7
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/.project28
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/.settings/org.eclipse.core.runtime.prefs3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/.settings/org.eclipse.jdt.core.prefs80
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/.settings/org.eclipse.jdt.ui.prefs4
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/.settings/org.eclipse.ltk.core.refactoring.prefs3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/.settings/org.eclipse.pde.prefs16
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/DOM_Generator_FireFox.html405
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/DOM_Generator_FireFox_V1_NoJSDoc.html344
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/FireFox2.0.0.3.js_NOJSDOC10552
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/META-INF/MANIFEST.MF15
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/about.html28
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/build.properties19
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/libraries/FireFox2.0.0.3.js8838
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/plugin.properties14
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/plugin.xml29
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/src/org/eclipse/wst/jsdt/core/compiler/libraries/FireFoxLibInitializer.java94
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/src/org/eclipse/wst/jsdt/core/compiler/libraries/FireFoxSmall.gifbin760 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/src/org/eclipse/wst/jsdt/core/compiler/libraries/FireFoxUiInitializer.java44
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/src/org/eclipse/wst/jsdt/internal/ui/wizards/FirefoxMessages.java21
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/src/org/eclipse/wst/jsdt/internal/ui/wizards/FirefoxMessages.properties14
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.firefox/src/org/eclipse/wst/jsdt/internal/ui/wizards/buildpaths/FireFoxLibraryWizardPage.java74
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/.classpath7
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/.project28
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/.settings/org.eclipse.core.runtime.prefs3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/.settings/org.eclipse.jdt.core.prefs96
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/.settings/org.eclipse.jdt.ui.prefs51
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/.settings/org.eclipse.ltk.core.refactoring.prefs3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/.settings/org.eclipse.pde.prefs16
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/META-INF/MANIFEST.MF13
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/about.html28
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/build.properties19
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_@page.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_a.js159
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_abbr.js96
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_abstract.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_acronym.js96
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_address.js131
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_all.js2
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_altkey.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_altleft.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_anchors.js3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_applet.js137
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_applets.js3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_area.js131
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_areas.js5
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_attribute.js21
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_attributes.js8
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_b.js130
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_banner.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_base.js55
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_basefont.js57
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_bdo.js125
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_behaviorurns.js2
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_bgsound.js47
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_big.js130
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_blockformats.js4
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_blockquote.js132
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_body.js152
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_bookmarks.js4
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_boundelements.js3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_br.js53
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_button.js141
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_cancelbubble.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_caption.js130
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_cells.js3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_center.js130
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_childnodes.js3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_children.js3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_cite.js130
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_clientinformation.js18
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_clientx.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_clienty.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_clipboarddata.js4
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_code.js114
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_col.js78
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_colgroup.js74
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_comment.js58
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_contentoverflow.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_controlrange.js9
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_ctrlkey.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_ctrlleft.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_custom.js122
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_datafld.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_datatransfer.js6
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_dd.js135
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_defaults.js12
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_del.js84
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_dfn.js129
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_dialog.js5
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_dir.js131
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_div.js145
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_dl.js129
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_document.js128
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_dt.js134
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_elements.js3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_em.js130
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_embed.js122
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_embeds.js3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_event.js47
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_external.js12
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_fieldset.js137
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_filters.js2
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_font.js123
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_fonts.js4
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_form.js145
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_forms.js3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_frame.js97
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_frames.js3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_frameset.js83
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_fromelement.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_head.js58
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_history.js2
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_hn.js132
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_hr.js117
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_html.js72
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_i.js130
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_iframe.js105
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_images.js3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_img.js159
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_implementation.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_import.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_imports.js3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_input.js13
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_ins.js84
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_isindex.js62
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_kbd.js128
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_keycode.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_label.js139
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_legend.js129
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_li.js136
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_link.js60
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_links.js3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_listing.js131
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_location.js10
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_map.js103
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_marquee.js154
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_menu.js131
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_meta.js28
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_moreinfo.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_namespace.js7
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_namespaces.js5
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_navigator.js18
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_nextid.js80
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_nextpage.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_nobr.js91
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_noframes.js20
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_noscript.js20
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_object.js134
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_offsetx.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_offsety.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_ol.js137
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onabort.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onactivate.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onafterprint.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onafterupdate.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onbeforeactivate.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onbeforecopy.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onbeforecut.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onbeforedeactivate.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onbeforeeditfocus.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onbeforepaste.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onbeforeprint.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onbeforeunload.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onbeforeupdate.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onblur.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onbounce.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_oncellchange.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onchange.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onclick.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_oncontentsave.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_oncontextmenu.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_oncontrolselect.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_oncopy.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_oncut.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_ondataavailable.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_ondatasetchanged.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_ondatasetcomplete.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_ondblclick.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_ondeactivate.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_ondrag.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_ondragend.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_ondragenter.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_ondragleave.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_ondragover.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_ondragstart.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_ondrop.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onerror.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onerrorupdate.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onfilterchange.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onfinish.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onfocus.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onfocusin.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onfocusout.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onhelp.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onkeydown.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onkeypress.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onkeyup.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onlayoutcomplete.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onload.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onlosecapture.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onmousedown.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onmouseenter.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onmouseleave.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onmousemove.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onmouseout.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onmouseover.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onmouseup.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onmousewheel.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onmove.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onmoveend.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onmovestart.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onpaste.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onpropertychange.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onreadystatechange.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onreset.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onresize.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onresizeend.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onresizestart.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onrowenter.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onrowexit.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onrowsdelete.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onrowsinserted.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onscroll.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onselect.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onselectionchange.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onselectstart.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onstart.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onstop.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onsubmit.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_ontimeerror.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_onunload.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_optgroup.js3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_option.js84
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_options.js5
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_p.js135
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_page.js3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_pages.js5
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_param.js6
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_plaintext.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_plugins.js3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_popup.js4
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_pre.js133
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_propertyname.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_q.js94
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_qualifier.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_reason.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_recordset.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_repeat.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_returnvalue.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_rows.js3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_rt.js85
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_ruby.js85
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_rule.js4
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_rules.js4
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_s.js130
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_samp.js130
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_savetype.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_screen.js14
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_screenx.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_screeny.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_script.js72
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_scripts.js3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_select.js146
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_selection.js9
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_shiftkey.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_shiftleft.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_small.js130
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_span.js140
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_srcelement.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_srcfilter.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_srcurn.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_strike.js130
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_strong.js130
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_style.js9
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_stylesheet.js23
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_stylesheets.js4
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_sub.js130
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_sup.js130
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_table.js164
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_tbodies.js3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_tbody.js137
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_td.js152
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_textarea.js152
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_textnode.js9
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_textrange.js24
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_textrectangle.js5
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_tfoot.js130
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_th.js144
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_thead.js130
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_timeall.js5
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_timechildren.js5
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_title.js54
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_toelement.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_tr.js148
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_tt.js130
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_type.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_u.js130
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_ul.js136
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_userprofile.js3
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_var.js128
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_wbr.js22
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_wheeldelta.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_window.js63
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_x.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_xml.js31
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_xmlhttprequest.js10
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_xmp.js128
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/IE_y.js1
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/libraries/JScriptObjects.js1825
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/plugin.properties14
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/plugin.xml26
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/core/compiler/libraries/InternetExplorerLibInitializer.java111
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/core/compiler/libraries/InternetExplorerUILibInitializer.java47
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/core/compiler/libraries/Thumbs.dbbin13824 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/core/compiler/libraries/ie_logo2.JPGbin1533 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/core/compiler/libraries/ie_logo2.gifbin961 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/core/compiler/libraries/ie_small.gifbin1015 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/internal/ui/wizards/IEMessages.java20
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/internal/ui/wizards/IEMessages.properties14
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/internal/ui/wizards/buildpaths/InternetExplorerLibraryWizardPage.java74
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/jsdoc/ElementInfo.java243
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/jsdoc/GenerateJsDoc.java121
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/jsdoc/IJsDocSource.java25
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/jsdoc/MappingException.java24
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/jsdoc/Util.java173
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/jsdoc/XSLTMap.java112
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/jsdoc/XmlBasedSource.java70
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/jsdoc/msdn/IeFromMsdn.java102
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/jsdoc/msdn/MsdnElement.java703
-rw-r--r--bundles/org.eclipse.wst.jsdt.support.ie/webCache/.cvsignore1
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/.project22
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/META-INF/MANIFEST.MF8
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/about.html28
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/advanced/atf.html24
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/advanced/customlib.html24
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/advanced/global.html30
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/advanced/global/add.html92
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/advanced/global/img/add/1.jpgbin35929 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/advanced/global/img/add/2.jpgbin42854 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/advanced/global/img/add/3.jpgbin21521 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/advanced/global/img/add/4.jpgbin17731 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/advanced/global/img/add/5.jpgbin40299 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/advanced/global/img/add/r3.jpgbin52282 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/advanced/global/img/s1.jpgbin42041 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/advanced/global/remove.html71
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/advanced/global/source.html38
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/advanced/index.html26
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/apiPackages.txt30
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/book.css1
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/build.properties20
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/buildExtDocs.properties39
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/buildExtDocs.xml58
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/contributing/framework.html25
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/contributing/index.html28
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/contributing/library.html43
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/development/archOverview.html28
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/development/extension-points/index.html46
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/development/index.html27
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/development/limitations.html40
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/features/index.html82
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/framework/index.html28
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/allclasses-frame.html1084
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/allclasses-noframe.html1084
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/constant-values.html18218
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/deprecated-list.html1277
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/help-doc.html219
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-1.html1715
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-10.html698
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-11.html229
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-12.html363
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-13.html755
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-14.html1048
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-15.html396
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-16.html907
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-17.html195
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-18.html937
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-19.html1964
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-2.html442
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-20.html1234
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-21.html463
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-22.html895
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-23.html323
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-24.html147
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-25.html153
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-26.html150
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-3.html1956
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-4.html544
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-5.html1746
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-6.html2683
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-7.html3654
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-8.html316
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index-files/index-9.html2249
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/index.html39
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/BindingKey.html596
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/BufferChangedEvent.html385
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/CompletionContext.html614
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/CompletionFlags.html290
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/CompletionProposal.html2424
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/CompletionRequestor.html589
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/CorrectionEngine.html454
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ElementChangedEvent.html394
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/Flags.html1085
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IAccessRule.html405
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IBuffer.html747
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IBufferChangedListener.html220
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IBufferFactory.html223
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IClassFile.html495
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ICodeAssist.html367
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ICompletionRequestor.html762
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ICorrectionRequestor.html408
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IElementChangedListener.html219
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IField.html440
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IFunction.html778
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IFunctionContainer.html372
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IImportContainer.html283
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IImportDeclaration.html332
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IIncludePathAttribute.html346
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IIncludePathEntry.html851
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IInitializer.html262
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IJarEntryResource.html320
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IJavaScriptElement.html1231
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IJavaScriptElementDelta.html1081
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IJavaScriptModel.html695
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IJavaScriptModelMarker.html431
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IJavaScriptModelStatus.html294
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IJavaScriptModelStatusConstants.html1174
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IJavaScriptProject.html1860
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IJavaScriptUnit.html1767
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html505
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html549
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ILocalVariable.html331
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ILookupScope.html282
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IMember.html642
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IOpenable.html531
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IPackageDeclaration.html272
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IPackageFragment.html733
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IPackageFragmentRoot.html1120
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IParent.html255
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IProblemRequestor.html287
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IRegion.html304
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ISourceManipulation.html367
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ISourceRange.html247
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ISourceReference.html284
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IType.html2127
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ITypeHierarchy.html871
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ITypeHierarchyChangedListener.html222
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ITypeParameter.html353
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ITypeRoot.html419
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/IWorkingCopy.html786
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/JSDScopeUtil.html319
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/JavaScriptConventions.html795
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/JavaScriptCore.html6763
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/JavaScriptModelException.html415
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html1097
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/JsGlobalScopeVariableInitializer.html278
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/LibrarySuperType.html564
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/Messages.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/NamingConventions.html964
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/Signature.html2882
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ToolFactory.html539
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/UnimplementedException.html252
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/WorkingCopyOwner.html457
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ASTVisitor.html3961
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IAND_AND_Expression.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IASTNode.html2401
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IAbstractFunctionDeclaration.html424
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IAbstractVariableDeclaration.html374
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IAllocationExpression.html220
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IAnnotation.html178
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IAnnotationFunctionDeclaration.html224
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IArgument.html324
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IArrayAllocationExpression.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IArrayInitializer.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IArrayQualifiedTypeReference.html218
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IArrayReference.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IArrayTypeReference.html218
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IAssertStatement.html215
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IAssignment.html278
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IBinaryExpression.html219
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IBlock.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IBranchStatement.html219
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IBreakStatement.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ICaseStatement.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ICastExpression.html215
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ICharLiteral.html225
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ICombinedBinaryExpression.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ICompoundAssignment.html228
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IConditionalExpression.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IConstructorDeclaration.html225
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IContinueStatement.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IDoStatement.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IDoubleLiteral.html224
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IEmptyExpression.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IEmptyStatement.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IEqualExpression.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IExplicitConstructorCall.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IExpression.html219
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IExtendedStringLiteral.html225
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IFalseLiteral.html225
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IFieldDeclaration.html227
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IFieldReference.html219
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IFloatLiteral.html224
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IForInStatement.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IForStatement.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IForeachStatement.html215
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IFunctionCall.html316
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IFunctionDeclaration.html229
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IFunctionExpression.html270
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IIfStatement.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IImportReference.html215
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IInitializer.html224
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IInstanceOfExpression.html215
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IIntLiteral.html227
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IIntLiteralMinValue.html221
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IJsDoc.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IJsDocAllocationExpression.html194
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IJsDocArgumentExpression.html212
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IJsDocArrayQualifiedTypeReference.html212
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IJsDocArraySingleTypeReference.html212
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IJsDocFieldReference.html212
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IJsDocImplicitTypeReference.html212
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IJsDocMessageSend.html221
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IJsDocQualifiedTypeReference.html212
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IJsDocReturnStatement.html221
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IJsDocSingleNameReference.html221
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IJsDocSingleTypeReference.html212
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ILabeledStatement.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IListExpression.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ILiteral.html250
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ILocalDeclaration.html290
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ILongLiteral.html224
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ILongLiteralMinValue.html221
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IMagicLiteral.html224
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IMarkerAnnotation.html175
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IMemberValuePair.html212
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/INameReference.html219
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/INormalAnnotation.html175
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/INullLiteral.html225
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/INumberLiteral.html228
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IOR_OR_Expression.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IObjectLiteral.html252
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IObjectLiteralField.html291
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IOperatorExpression.html219
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IParameterizedQualifiedTypeReference.html212
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IParameterizedSingleTypeReference.html212
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IPostfixExpression.html225
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IPrefixExpression.html225
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IProgramElement.html219
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IQualifiedAllocationExpression.html194
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IQualifiedNameReference.html212
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IQualifiedSuperReference.html212
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IQualifiedThisReference.html215
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IQualifiedTypeReference.html215
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IReference.html219
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IRegExLiteral.html225
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IReturnStatement.html250
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IScriptFileDeclaration.html325
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ISingleMemberAnnotation.html178
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ISingleNameReference.html250
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ISingleTypeReference.html218
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IStatement.html219
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IStringLiteral.html228
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IStringLiteralConcatenation.html225
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ISubRoutineStatement.html218
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ISuperReference.html215
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ISwitchStatement.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IThisReference.html219
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IThrowStatement.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ITrueLiteral.html225
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ITryStatement.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ITypeDeclaration.html215
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ITypeParameter.html224
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/ITypeReference.html218
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IUnaryExpression.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IUndefinedLiteral.html225
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IWhileStatement.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IWildcard.html175
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/IWithStatement.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ASTVisitor.html205
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IAND_AND_Expression.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IASTNode.html1164
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IAbstractFunctionDeclaration.html238
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IAbstractVariableDeclaration.html213
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IAllocationExpression.html239
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IAnnotation.html211
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IAnnotationFunctionDeclaration.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IArgument.html208
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IArrayAllocationExpression.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IArrayInitializer.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IArrayQualifiedTypeReference.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IArrayReference.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IArrayTypeReference.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IAssertStatement.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IAssignment.html253
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IBinaryExpression.html226
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IBlock.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IBranchStatement.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IBreakStatement.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ICaseStatement.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ICastExpression.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ICharLiteral.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ICombinedBinaryExpression.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ICompoundAssignment.html208
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IConditionalExpression.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IConstructorDeclaration.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IContinueStatement.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IDoStatement.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IDoubleLiteral.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IEmptyExpression.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IEmptyStatement.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IEqualExpression.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IExplicitConstructorCall.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IExpression.html816
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IExtendedStringLiteral.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IFalseLiteral.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IFieldDeclaration.html201
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IFieldReference.html201
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IFloatLiteral.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IForInStatement.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IForStatement.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IForeachStatement.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IFunctionCall.html230
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IFunctionDeclaration.html289
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IFunctionExpression.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IIfStatement.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IImportReference.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IInitializer.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IInstanceOfExpression.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IIntLiteral.html201
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IIntLiteralMinValue.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IJsDoc.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IJsDocAllocationExpression.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IJsDocArgumentExpression.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IJsDocArrayQualifiedTypeReference.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IJsDocArraySingleTypeReference.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IJsDocFieldReference.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IJsDocImplicitTypeReference.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IJsDocMessageSend.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IJsDocQualifiedTypeReference.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IJsDocReturnStatement.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IJsDocSingleNameReference.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IJsDocSingleTypeReference.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ILabeledStatement.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IListExpression.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ILiteral.html311
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ILocalDeclaration.html231
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ILongLiteral.html201
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ILongLiteralMinValue.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IMagicLiteral.html200
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IMarkerAnnotation.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IMemberValuePair.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/INameReference.html194
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/INormalAnnotation.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/INullLiteral.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/INumberLiteral.html230
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IOR_OR_Expression.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IObjectLiteral.html221
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IObjectLiteralField.html229
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IOperatorExpression.html237
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IParameterizedQualifiedTypeReference.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IParameterizedSingleTypeReference.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IPostfixExpression.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IPrefixExpression.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IProgramElement.html1043
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IQualifiedAllocationExpression.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IQualifiedNameReference.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IQualifiedSuperReference.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IQualifiedThisReference.html201
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IQualifiedTypeReference.html228
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IReference.html264
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IRegExLiteral.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IReturnStatement.html230
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IScriptFileDeclaration.html213
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ISingleMemberAnnotation.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ISingleNameReference.html201
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ISingleTypeReference.html228
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IStatement.html1011
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IStringLiteral.html208
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IStringLiteralConcatenation.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ISubRoutineStatement.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ISuperReference.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ISwitchStatement.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IThisReference.html219
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IThrowStatement.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ITrueLiteral.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ITryStatement.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ITypeDeclaration.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ITypeParameter.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/ITypeReference.html267
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IUnaryExpression.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IUndefinedLiteral.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IWhileStatement.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IWildcard.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/class-use/IWithStatement.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/package-frame.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/package-summary.html686
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/package-tree.html232
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/ast/package-use.html1000
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/BindingKey.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/BufferChangedEvent.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/CompletionContext.html224
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/CompletionFlags.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/CompletionProposal.html265
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/CompletionRequestor.html293
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/CorrectionEngine.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/ElementChangedEvent.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/Flags.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IAccessRule.html246
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IBuffer.html255
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IBufferChangedListener.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IBufferFactory.html204
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IClassFile.html261
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/ICodeAssist.html194
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/ICompletionRequestor.html189
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/ICorrectionRequestor.html191
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IElementChangedListener.html193
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IField.html288
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IFunction.html408
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IFunctionContainer.html207
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IImportContainer.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IImportDeclaration.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IIncludePathAttribute.html316
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IIncludePathEntry.html962
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IInitializer.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IJarEntryResource.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IJavaScriptElement.html1896
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IJavaScriptElementDelta.html252
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IJavaScriptModel.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IJavaScriptModelMarker.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IJavaScriptModelStatus.html200
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IJavaScriptModelStatusConstants.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IJavaScriptProject.html1338
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IJavaScriptUnit.html1068
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IJsGlobalScopeContainer.html335
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IJsGlobalScopeContainerInitializer.html243
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/ILocalVariable.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/ILookupScope.html323
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IMember.html325
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IOpenable.html268
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IPackageDeclaration.html196
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IPackageFragment.html367
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IPackageFragmentRoot.html416
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IParent.html282
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IProblemRequestor.html252
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IRegion.html252
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/ISourceManipulation.html239
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/ISourceRange.html244
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/ISourceReference.html281
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IType.html954
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/ITypeHierarchy.html348
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/ITypeHierarchyChangedListener.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/ITypeParameter.html231
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/ITypeRoot.html255
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/IWorkingCopy.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/JSDScopeUtil.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/JavaScriptConventions.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/JavaScriptCore.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/JavaScriptModelException.html2515
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/JsGlobalScopeContainerInitializer.html278
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/JsGlobalScopeVariableInitializer.html178
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/LibrarySuperType.html243
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/Messages.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/NamingConventions.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/Signature.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/ToolFactory.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/UnimplementedException.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/class-use/WorkingCopyOwner.html646
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/BuildContext.html415
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/CategorizedProblem.html791
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/CharOperation.html3555
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/IProblem.html10187
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/IScanner.html502
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/ITerminalSymbols.html2482
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/InvalidInputException.html269
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/ReconcileContext.html481
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/ValidationParticipant.html476
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/class-use/BuildContext.html186
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/class-use/CategorizedProblem.html203
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/class-use/CharOperation.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/class-use/IProblem.html323
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/class-use/IScanner.html202
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/class-use/ITerminalSymbols.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/class-use/InvalidInputException.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/class-use/ReconcileContext.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/class-use/ValidationParticipant.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/libraries/FireFoxLibInitializer.html481
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/libraries/FireFoxUiInitializer.html259
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/libraries/InternetExplorerLibInitializer.html507
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/libraries/InternetExplorerUILibInitializer.html259
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/libraries/LibraryLocation.html294
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/libraries/SystemLibraryLocation.html471
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/libraries/class-use/FireFoxLibInitializer.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/libraries/class-use/FireFoxUiInitializer.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/libraries/class-use/InternetExplorerLibInitializer.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/libraries/class-use/InternetExplorerUILibInitializer.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/libraries/class-use/LibraryLocation.html267
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/libraries/class-use/SystemLibraryLocation.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/libraries/package-frame.html51
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/libraries/package-summary.html186
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/libraries/package-tree.html162
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/libraries/package-use.html207
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/package-frame.html66
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/package-summary.html214
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/package-tree.html162
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/compiler/package-use.html296
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/AST.html3283
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ASTMatcher.html2908
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ASTNode.html3093
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ASTParser.html1060
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ASTRequestor.html317
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ASTVisitor.html4617
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/AbstractTypeDeclaration.html486
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/AnonymousClassDeclaration.html351
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ArrayAccess.html423
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ArrayCreation.html490
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ArrayInitializer.html326
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ArrayType.html415
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/AssertStatement.html430
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/Assignment.Operator.html531
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/Assignment.html505
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/Block.html331
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/BlockComment.html282
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/BodyDeclaration.html422
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/BooleanLiteral.html351
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/BreakStatement.html356
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/CastExpression.html424
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/CatchClause.html413
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/CharacterLiteral.html416
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ChildListPropertyDescriptor.html280
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ChildPropertyDescriptor.html304
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ClassInstanceCreation.html804
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/Comment.html386
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ConditionalExpression.html493
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ConstructorInvocation.html412
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ContinueStatement.html356
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/DoStatement.html432
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/EmptyExpression.html267
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/EmptyStatement.html275
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/EnhancedForStatement.html496
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/Expression.html396
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ExpressionStatement.html357
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/FieldAccess.html480
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/FieldDeclaration.html479
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ForInStatement.html510
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ForStatement.html551
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html1077
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/FunctionExpression.html352
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/FunctionInvocation.html585
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/FunctionRef.html513
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/FunctionRefParameter.html507
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/IBinding.html694
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/IExtendedModifier.html249
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html827
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/IMemberValuePairBinding.html337
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/IPackageBinding.html312
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ITypeBinding.html1971
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/IVariableBinding.html564
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/IfStatement.html522
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ImportDeclaration.html601
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/InferredType.html302
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/InfixExpression.Operator.html732
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/InfixExpression.html584
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/Initializer.html413
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/InstanceofExpression.html422
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/JSdoc.html429
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/JavaScriptUnit.html1110
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/LabeledStatement.html431
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/LineComment.html280
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ListExpression.html319
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/MemberRef.html463
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/Message.html377
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/Modifier.ModifierKeyword.html547
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/Modifier.html1258
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/Name.html371
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/NullLiteral.html269
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/NumberLiteral.html345
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ObjectLiteral.html313
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ObjectLiteralField.html415
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/PackageDeclaration.html481
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ParameterizedType.html403
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ParenthesizedExpression.html353
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/PostfixExpression.Operator.html321
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/PostfixExpression.html435
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/PrefixExpression.Operator.html405
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/PrefixExpression.html435
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/PrimitiveType.Code.html240
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/PrimitiveType.html630
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ProgramElement.html226
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/QualifiedName.html437
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/QualifiedType.html441
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/RegularExpressionLiteral.html351
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ReturnStatement.html358
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/SimpleName.html411
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/SimplePropertyDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/SimpleType.html352
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/SingleVariableDeclaration.html817
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/Statement.html390
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/StringLiteral.html432
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/StructuralPropertyDescriptor.html370
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/SuperConstructorInvocation.html491
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/SuperFieldAccess.html464
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/SuperMethodInvocation.html583
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/SwitchCase.html389
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/SwitchStatement.html406
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/TagElement.html873
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/TextElement.html353
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ThisExpression.html359
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/ThrowStatement.html354
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/TryStatement.html473
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/Type.html489
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/TypeDeclaration.html937
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/TypeDeclarationStatement.html493
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/TypeLiteral.html354
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/TypeParameter.html419
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/UndefinedLiteral.html269
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/VariableDeclaration.html518
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/VariableDeclarationExpression.html554
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/VariableDeclarationFragment.html522
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/VariableDeclarationStatement.html638
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/WhileStatement.html432
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/WildcardType.html471
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/WithStatement.html432
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/AST.html309
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ASTMatcher.html178
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ASTNode.html1436
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ASTParser.html177
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ASTRequestor.html179
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ASTVisitor.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/AbstractTypeDeclaration.html219
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/AnonymousClassDeclaration.html228
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ArrayAccess.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ArrayCreation.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ArrayInitializer.html227
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ArrayType.html236
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/AssertStatement.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/Assignment.Operator.html305
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/Assignment.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/Block.html292
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/BlockComment.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/BodyDeclaration.html208
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/BooleanLiteral.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/BreakStatement.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/CastExpression.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/CatchClause.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/CharacterLiteral.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ChildListPropertyDescriptor.html593
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ChildPropertyDescriptor.html1100
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ClassInstanceCreation.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/Comment.html192
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ConditionalExpression.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ConstructorInvocation.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ContinueStatement.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/DoStatement.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/EmptyExpression.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/EmptyStatement.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/EnhancedForStatement.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/Expression.html1089
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ExpressionStatement.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/FieldAccess.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/FieldDeclaration.html219
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ForInStatement.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ForStatement.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/FunctionDeclaration.html290
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/FunctionExpression.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/FunctionInvocation.html218
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/FunctionRef.html217
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/FunctionRefParameter.html217
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/IBinding.html343
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/IExtendedModifier.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/IFunctionBinding.html324
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/IMemberValuePairBinding.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/IPackageBinding.html185
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ITypeBinding.html547
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/IVariableBinding.html221
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/IfStatement.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ImportDeclaration.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/InferredType.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/InfixExpression.Operator.html385
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/InfixExpression.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/Initializer.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/InstanceofExpression.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/JSdoc.html265
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/JavaScriptUnit.html523
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/LabeledStatement.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/LineComment.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ListExpression.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/MemberRef.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/Message.html177
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/Modifier.ModifierKeyword.html315
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/Modifier.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/Name.html425
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/NullLiteral.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/NumberLiteral.html217
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ObjectLiteral.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ObjectLiteralField.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/PackageDeclaration.html228
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ParameterizedType.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ParenthesizedExpression.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/PostfixExpression.Operator.html225
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/PostfixExpression.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/PrefixExpression.Operator.html257
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/PrefixExpression.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/PrimitiveType.Code.html298
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/PrimitiveType.html218
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ProgramElement.html410
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/QualifiedName.html211
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/QualifiedType.html211
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/RegularExpressionLiteral.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ReturnStatement.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/SimpleName.html529
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/SimplePropertyDescriptor.html449
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/SimpleType.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/SingleVariableDeclaration.html241
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/Statement.html529
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/StringLiteral.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/StructuralPropertyDescriptor.html291
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/SuperConstructorInvocation.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/SuperFieldAccess.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/SuperMethodInvocation.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/SwitchCase.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/SwitchStatement.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/TagElement.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/TextElement.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ThisExpression.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/ThrowStatement.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/TryStatement.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/Type.html628
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/TypeDeclaration.html248
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/TypeDeclarationStatement.html219
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/TypeLiteral.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/TypeParameter.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/UndefinedLiteral.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/VariableDeclaration.html185
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/VariableDeclarationExpression.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/VariableDeclarationFragment.html237
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/VariableDeclarationStatement.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/WhileStatement.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/WildcardType.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/class-use/WithStatement.html209
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/package-frame.html273
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/package-summary.html646
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/package-tree.html179
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/package-use.html1079
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/rewrite/ASTRewrite.html782
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/rewrite/ITrackedNodePosition.html245
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/rewrite/ImportRewrite.ImportRewriteContext.html413
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/rewrite/ImportRewrite.html1174
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/rewrite/ListRewrite.html693
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/rewrite/TargetSourceRangeComputer.SourceRange.html292
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/rewrite/TargetSourceRangeComputer.html318
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/rewrite/class-use/ASTRewrite.html185
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/rewrite/class-use/ITrackedNodePosition.html177
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/rewrite/class-use/ImportRewrite.ImportRewriteContext.html247
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/rewrite/class-use/ImportRewrite.html227
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/rewrite/class-use/ListRewrite.html178
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/rewrite/class-use/TargetSourceRangeComputer.SourceRange.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/rewrite/class-use/TargetSourceRangeComputer.html192
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/rewrite/package-frame.html53
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/rewrite/package-summary.html190
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/rewrite/package-tree.html154
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/dom/rewrite/package-use.html223
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/eval/ICodeSnippetRequestor.html542
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/eval/IEvaluationContext.html887
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/eval/IGlobalVariable.html272
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/eval/class-use/ICodeSnippetRequestor.html212
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/eval/class-use/IEvaluationContext.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/eval/class-use/IGlobalVariable.html212
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/eval/package-frame.html36
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/eval/package-summary.html163
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/eval/package-tree.html147
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/eval/package-use.html192
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/formatter/CodeFormatter.html493
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/formatter/CodeFormatterApplication.html284
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/formatter/DefaultCodeFormatterConstants.html9300
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/formatter/IndentManipulation.html530
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/formatter/class-use/CodeFormatter.html185
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/formatter/class-use/CodeFormatterApplication.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/formatter/class-use/DefaultCodeFormatterConstants.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/formatter/class-use/IndentManipulation.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/formatter/package-frame.html38
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/formatter/package-summary.html166
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/formatter/package-tree.html149
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/formatter/package-use.html166
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/DefaultInferrenceProvider.html412
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/IInferenceFile.html241
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/ImportRewriteSupport.html325
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/InferEngine.html857
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/InferOptions.html593
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/InferredAttribute.html427
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/InferredMember.html401
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/InferredMethod.html408
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/InferredType.html1038
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/InferrenceManager.html351
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/InferrenceProvider.html375
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/InferrenceSupportExtension.html264
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/RefactoringSupport.html281
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/ResolutionConfiguration.html287
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/class-use/DefaultInferrenceProvider.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/class-use/IInferenceFile.html192
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/class-use/ImportRewriteSupport.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/class-use/InferEngine.html200
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/class-use/InferOptions.html190
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/class-use/InferredAttribute.html254
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/class-use/InferredMember.html187
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/class-use/InferredMethod.html232
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/class-use/InferredType.html382
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/class-use/InferrenceManager.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/class-use/InferrenceProvider.html224
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/class-use/InferrenceSupportExtension.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/class-use/RefactoringSupport.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/class-use/ResolutionConfiguration.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/package-frame.html67
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/package-summary.html240
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/package-tree.html162
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/infer/package-use.html289
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/manipulation/JavaScriptManipulation.html268
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/manipulation/class-use/JavaScriptManipulation.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/manipulation/package-frame.html32
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/manipulation/package-summary.html154
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/manipulation/package-tree.html149
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/manipulation/package-use.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/package-frame.html186
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/package-summary.html484
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/package-tree.html260
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/package-use.html1400
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/IJavaScriptElementMapper.html226
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/IJavaScriptRefactorings.html1173
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/RenameTypeArguments.html324
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/class-use/IJavaScriptElementMapper.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/class-use/IJavaScriptRefactorings.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/class-use/RenameTypeArguments.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/ChangeMethodSignatureDescriptor.html272
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/ConvertAnonymousDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/ConvertLocalVariableDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/ConvertMemberTypeDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/CopyDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/DeleteDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/EncapsulateFieldDescriptor.html270
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/ExtractConstantDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/ExtractInterfaceDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/ExtractLocalDescriptor.html270
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/ExtractMethodDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/ExtractSuperclassDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/GeneralizeTypeDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/InferTypeArgumentsDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/InlineConstantDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/InlineLocalVariableDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/InlineMethodDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/IntroduceFactoryDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/IntroduceIndirectionDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/IntroduceParameterDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/JavaScriptRefactoringContribution.html265
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/JavaScriptRefactoringDescriptor.html488
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveDescriptor.html532
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveMethodDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveStaticMembersDescriptor.html404
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/PullUpDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/PushDownDescriptor.html271
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/RenameJavaScriptElementDescriptor.html799
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/RenameLocalVariableDescriptor.html404
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/RenameResourceDescriptor.html392
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/UseSupertypeDescriptor.html391
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/ChangeMethodSignatureDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/ConvertAnonymousDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/ConvertLocalVariableDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/ConvertMemberTypeDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/CopyDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/DeleteDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/EncapsulateFieldDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/ExtractConstantDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/ExtractInterfaceDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/ExtractLocalDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/ExtractMethodDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/ExtractSuperclassDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/GeneralizeTypeDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/InferTypeArgumentsDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/InlineConstantDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/InlineLocalVariableDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/InlineMethodDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/IntroduceFactoryDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/IntroduceIndirectionDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/IntroduceParameterDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/JavaScriptRefactoringContribution.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/JavaScriptRefactoringDescriptor.html400
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/MoveDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/MoveMethodDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/MoveStaticMembersDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/PullUpDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/PushDownDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/RenameJavaScriptElementDescriptor.html177
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/RenameLocalVariableDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/RenameResourceDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/class-use/UseSupertypeDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/package-frame.html92
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/package-summary.html274
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/package-tree.html155
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/descriptors/package-use.html185
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/package-frame.html45
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/package-summary.html174
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/package-tree.html156
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/refactoring/package-use.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/FieldDeclarationMatch.html276
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/FieldReferenceMatch.html338
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/IJavaScriptSearchConstants.html760
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/IJavaScriptSearchScope.html428
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/LocalVariableDeclarationMatch.html276
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/LocalVariableReferenceMatch.html338
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/MethodDeclarationMatch.html276
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/MethodReferenceMatch.html438
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/PackageDeclarationMatch.html276
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/PackageReferenceMatch.html279
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/SearchDocument.html452
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/SearchEngine.html1035
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/SearchMatch.html877
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/SearchParticipant.html522
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/SearchPattern.html1245
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/SearchRequestor.html382
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/TypeDeclarationMatch.html277
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/TypeNameMatch.html457
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/TypeNameMatchRequestor.html283
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/TypeNameRequestor.html292
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/TypeParameterDeclarationMatch.html276
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/TypeParameterReferenceMatch.html279
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/TypeReferenceMatch.html384
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/FieldDeclarationMatch.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/FieldReferenceMatch.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/IJavaScriptSearchConstants.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/IJavaScriptSearchScope.html542
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/LocalVariableDeclarationMatch.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/LocalVariableReferenceMatch.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/MethodDeclarationMatch.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/MethodReferenceMatch.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/PackageDeclarationMatch.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/PackageReferenceMatch.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/SearchDocument.html347
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/SearchEngine.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/SearchMatch.html280
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/SearchParticipant.html489
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/SearchPattern.html348
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/SearchRequestor.html290
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/TypeDeclarationMatch.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/TypeNameMatch.html194
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/TypeNameMatchRequestor.html198
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/TypeNameRequestor.html198
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/TypeParameterDeclarationMatch.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/TypeParameterReferenceMatch.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/class-use/TypeReferenceMatch.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/package-frame.html85
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/package-summary.html259
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/package-tree.html160
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/package-use.html325
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/util/IModifierConstants.html528
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/util/JavaScriptUnitSorter.html541
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/util/class-use/IModifierConstants.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/util/class-use/JavaScriptUnitSorter.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/util/package-frame.html43
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/util/package-summary.html168
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/util/package-tree.html154
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/util/package-use.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/internal/core/index/DiskIndex.html242
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/internal/core/index/EntryResult.html330
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/internal/core/index/Index.html559
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/internal/core/index/MemoryIndex.html224
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/internal/core/index/class-use/DiskIndex.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/internal/core/index/class-use/EntryResult.html178
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/internal/core/index/class-use/Index.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/internal/core/index/class-use/MemoryIndex.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/internal/core/index/package-frame.html38
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/internal/core/index/package-summary.html166
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/internal/core/index/package-tree.html149
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/internal/core/index/package-use.html172
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/libraries/BasicBrowserLibraryContainerUIExtension.html266
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/libraries/BasicBrowserLibraryJsGlobalScopeContainerInitializer.html715
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/libraries/BasicLibraryContainer.html228
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/libraries/Messages.html297
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/libraries/class-use/BasicBrowserLibraryContainerUIExtension.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/libraries/class-use/BasicBrowserLibraryJsGlobalScopeContainerInitializer.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/libraries/class-use/BasicLibraryContainer.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/libraries/class-use/Messages.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/libraries/package-frame.html38
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/libraries/package-summary.html169
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/libraries/package-tree.html156
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/libraries/package-use.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/CodeGeneration.html943
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/CodeStyleConfiguration.html260
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/IContextMenuConstants.html550
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/IDocumentationReader.html253
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/IJavaScriptElementSearchConstants.html403
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/IPackagesViewPart.html278
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/ISharedImages.html1206
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/ITypeHierarchyViewPart.html647
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/IWorkingCopyManager.html317
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/IWorkingCopyManagerExtension.html244
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/IWorkingCopyProvider.html227
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/JSdocContentAccess.html311
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/JavaElementSorter.html311
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/JavaScriptElementComparator.html289
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/JavaScriptElementImageDescriptor.html659
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html687
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/JavaScriptElementLabels.html1640
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/JavaScriptLibrariesAction.html301
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/JavaScriptSourceFoldersAction.html269
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/JavaScriptSuperTypeAction.html269
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/JavaScriptUI.html1430
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/Messages.html223
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/OverrideIndicatorLabelDecorator.html429
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/PreferenceConstants.html7835
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/ProblemsLabelDecorator.ProblemsLabelChangedEvent.html276
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/ProblemsLabelDecorator.html425
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/ProjectLibraryRoot.WorkBenchAdapter.html309
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/ProjectLibraryRoot.html323
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/StandardJavaScriptElementContentProvider.html527
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/CodeGeneration.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/CodeStyleConfiguration.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/IContextMenuConstants.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/IDocumentationReader.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/IJavaScriptElementSearchConstants.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/IPackagesViewPart.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/ISharedImages.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/ITypeHierarchyViewPart.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/IWorkingCopyManager.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/IWorkingCopyManagerExtension.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/IWorkingCopyProvider.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/JSdocContentAccess.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/JavaElementSorter.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/JavaScriptElementComparator.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/JavaScriptElementImageDescriptor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/JavaScriptElementLabelProvider.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/JavaScriptElementLabels.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/JavaScriptLibrariesAction.html186
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/JavaScriptSourceFoldersAction.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/JavaScriptSuperTypeAction.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/JavaScriptUI.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/Messages.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/OverrideIndicatorLabelDecorator.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/PreferenceConstants.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/ProblemsLabelDecorator.ProblemsLabelChangedEvent.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/ProblemsLabelDecorator.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/ProjectLibraryRoot.WorkBenchAdapter.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/ProjectLibraryRoot.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/class-use/StandardJavaScriptElementContentProvider.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/package-frame.html97
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/package-summary.html292
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/package-tree.html167
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/package-use.html188
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/project/JsNature.html422
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/project/class-use/JsNature.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/project/package-frame.html32
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/project/package-summary.html156
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/project/package-tree.html149
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/project/package-use.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/refactoring/IRefactoringProcessorIds.html607
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html780
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/refactoring/class-use/IRefactoringProcessorIds.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/refactoring/class-use/RenameSupport.html266
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/refactoring/package-frame.html43
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/refactoring/package-summary.html168
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/refactoring/package-tree.html154
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/refactoring/package-use.html166
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/search/ElementQuerySpecification.html287
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/search/IMatchPresentation.html266
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/search/IQueryParticipant.html285
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/search/ISearchRequestor.html220
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/search/PatternQuerySpecification.html332
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/search/QuerySpecification.html288
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/search/class-use/ElementQuerySpecification.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/search/class-use/IMatchPresentation.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/search/class-use/IQueryParticipant.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/search/class-use/ISearchRequestor.html178
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/search/class-use/PatternQuerySpecification.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/search/class-use/QuerySpecification.html213
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/search/package-frame.html51
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/search/package-summary.html190
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/search/package-tree.html156
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/search/package-use.html180
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/IColorManager.html234
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/IColorManagerExtension.html242
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/IJavaScriptColorConstants.html660
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/IJavaScriptPartitions.html313
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html741
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/JavaScriptTextTools.html450
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/class-use/IColorManager.html225
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/class-use/IColorManagerExtension.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/class-use/IJavaScriptColorConstants.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/class-use/IJavaScriptPartitions.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/class-use/JavaScriptSourceViewerConfiguration.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/class-use/JavaScriptTextTools.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/folding/DefaultJavaFoldingStructureProvider.html445
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/folding/IJavaFoldingPreferenceBlock.html315
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/folding/IJavaFoldingStructureProvider.html287
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/folding/IJavaFoldingStructureProviderExtension.html287
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/folding/class-use/DefaultJavaFoldingStructureProvider.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/folding/class-use/IJavaFoldingPreferenceBlock.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/folding/class-use/IJavaFoldingStructureProvider.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/folding/class-use/IJavaFoldingStructureProviderExtension.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/folding/package-frame.html47
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/folding/package-summary.html191
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/folding/package-tree.html155
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/folding/package-use.html185
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/AbstractProposalSorter.html317
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/CompletionProposalCollector.html607
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/CompletionProposalComparator.html308
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/CompletionProposalLabelProvider.html321
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/ContentAssistInvocationContext.html445
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/IInvocationContext.html328
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/IJavaCompletionProposal.html223
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/IJavaCompletionProposalComputer.html320
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/IJavadocCompletionProcessor.html325
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/IProblemLocation.html375
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/IQuickAssistProcessor.html249
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/IQuickFixProcessor.html255
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/JavaContentAssistInvocationContext.html465
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/class-use/AbstractProposalSorter.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/class-use/CompletionProposalCollector.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/class-use/CompletionProposalComparator.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/class-use/CompletionProposalLabelProvider.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/class-use/ContentAssistInvocationContext.html210
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/class-use/IInvocationContext.html194
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/class-use/IJavaCompletionProposal.html214
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/class-use/IJavaCompletionProposalComputer.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/class-use/IJavadocCompletionProcessor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/class-use/IProblemLocation.html186
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/class-use/IQuickAssistProcessor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/class-use/IQuickFixProcessor.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/class-use/JavaContentAssistInvocationContext.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/hover/IJavaEditorTextHover.html220
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/hover/class-use/IJavaEditorTextHover.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/hover/package-frame.html32
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/hover/package-summary.html155
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/hover/package-tree.html147
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/hover/package-use.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/package-frame.html65
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/package-summary.html216
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/package-tree.html160
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/java/package-use.html196
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/package-frame.html51
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/package-summary.html187
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/package-tree.html156
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/text/package-use.html187
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/BaseLibraryWizardPage.html425
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/BuildPathDialogAccess.html637
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/ClasspathAttributeConfiguration.ClasspathAttributeAccess.html303
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/ClasspathAttributeConfiguration.html422
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/IJsGlobalScopeContainerPage.html288
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/IJsGlobalScopeContainerPageExtension.html229
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/IJsGlobalScopeContainerPageExtension2.html228
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/JavaCapabilityConfigurationPage.html494
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/NewClassWizardPage.html466
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/NewContainerWizardPage.html361
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/NewElementWizardPage.html273
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/NewInterfaceWizardPage.html370
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/NewJavaProjectWizardPage.html511
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/NewPackageWizardPage.html467
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/NewTypeWizardPage.ImportsManager.html286
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/NewTypeWizardPage.html1105
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/class-use/BaseLibraryWizardPage.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/class-use/BuildPathDialogAccess.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/class-use/ClasspathAttributeConfiguration.ClasspathAttributeAccess.html225
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/class-use/ClasspathAttributeConfiguration.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/class-use/IJsGlobalScopeContainerPage.html177
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/class-use/IJsGlobalScopeContainerPageExtension.html177
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/class-use/IJsGlobalScopeContainerPageExtension2.html177
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/class-use/JavaCapabilityConfigurationPage.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/class-use/NewClassWizardPage.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/class-use/NewContainerWizardPage.html201
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/class-use/NewElementWizardPage.html234
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/class-use/NewInterfaceWizardPage.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/class-use/NewJavaProjectWizardPage.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/class-use/NewPackageWizardPage.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/class-use/NewTypeWizardPage.ImportsManager.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/class-use/NewTypeWizardPage.html184
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/package-frame.html71
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/package-summary.html234
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/package-tree.html163
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/ui/wizards/package-use.html208
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/CompilationUnitHelper.html263
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/DocumentChangeListenerToTextEdit.html298
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/HTML40Namespace.ElementName.html2346
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/HTML40Namespace.EntityName.html4722
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/HTML40Namespace.html4700
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html630
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/IJsTranslator.html420
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/JsDataTypes.html383
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/JsNameManglerUtil.html287
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html855
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/JsTranslationAdapter.html385
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/JsTranslationAdapterFactory.html295
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/JsTranslator.html586
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/Messages.html223
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/NodeHelper.html491
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/Util.html277
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/WebRootFinder.html294
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/class-use/CompilationUnitHelper.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/class-use/DocumentChangeListenerToTextEdit.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/class-use/HTML40Namespace.ElementName.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/class-use/HTML40Namespace.EntityName.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/class-use/HTML40Namespace.html177
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/class-use/IJsTranslation.html280
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/class-use/IJsTranslator.html193
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/class-use/JsDataTypes.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/class-use/JsNameManglerUtil.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/class-use/JsTranslation.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/class-use/JsTranslationAdapter.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/class-use/JsTranslationAdapterFactory.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/class-use/JsTranslator.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/class-use/Messages.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/class-use/NodeHelper.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/class-use/Util.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/class-use/WebRootFinder.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/package-frame.html73
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/package-summary.html243
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/package-tree.html162
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/package-use.html228
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/IndexWorkspaceJob.html233
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/JSDTSearchDocumentDelegate.html487
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/JsIndexManager.html363
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/JsPathIndexer.html262
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/JsSearchDocument.html453
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/JsSearchParticipant.html438
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/JsSearchScope.html475
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/JsSearchSupport.html520
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/NullSearchDocument.html356
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/class-use/IndexWorkspaceJob.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/class-use/JSDTSearchDocumentDelegate.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/class-use/JsIndexManager.html176
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/class-use/JsPathIndexer.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/class-use/JsSearchDocument.html174
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/class-use/JsSearchParticipant.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/class-use/JsSearchScope.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/class-use/JsSearchSupport.html177
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/class-use/NullSearchDocument.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/package-frame.html48
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/package-summary.html195
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/package-tree.html160
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/javascript/search/package-use.html181
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/text/IJsPartitions.html208
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/text/class-use/IJsPartitions.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/text/package-frame.html32
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/text/package-summary.html155
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/text/package-tree.html147
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/core/text/package-use.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/Messages.html223
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/SetupProjectsWizzard.html298
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/StructuredTextViewerConfigurationJSDT.externalTypeExtension.html368
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/StructuredTextViewerConfigurationJSDT.html450
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/WebProjectJsGlobalScopeUIInitializer.html266
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/class-use/Messages.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/class-use/SetupProjectsWizzard.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/class-use/StructuredTextViewerConfigurationJSDT.externalTypeExtension.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/class-use/StructuredTextViewerConfigurationJSDT.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/class-use/WebProjectJsGlobalScopeUIInitializer.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/package-frame.html40
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/package-summary.html174
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/package-tree.html152
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/package-use.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/views/contentoutline/IJavaWebNode.html251
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/views/contentoutline/JFaceNodeAdapterFactoryForJSDT.html273
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/views/contentoutline/JFaceNodeAdapterForJs.html352
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/views/contentoutline/JsJfaceNode.html683
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/views/contentoutline/Messages.html223
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/views/contentoutline/class-use/IJavaWebNode.html177
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/views/contentoutline/class-use/JFaceNodeAdapterFactoryForJSDT.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/views/contentoutline/class-use/JFaceNodeAdapterForJs.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/views/contentoutline/class-use/JsJfaceNode.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/views/contentoutline/class-use/Messages.html140
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/views/contentoutline/package-frame.html49
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/views/contentoutline/package-summary.html185
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/views/contentoutline/package-tree.html161
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/web/ui/views/contentoutline/package-use.html167
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/overview-frame.html100
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/overview-summary.html269
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/overview-tree.html1330
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/package-list30
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/resources/inherit.gifbin57 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/serialized-form.html268
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/html/api_reference/stylesheet.css29
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/index.html29
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/javadocBuild.xml190
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/javadocToc.xsl21
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/javadoctoc.xml35
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/jsdtdocs.css117
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/legal/index.html40
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/lib/ant-contrib-0.6.jarbin119512 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/lib/parseAPIPackages.jarbin7628 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/packages.xml1
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/plugin.properties3
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/plugin.xml25
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/plugins.xml8
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/schema.css66
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/srcFolders.txt8
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/started/htmlProject.html77
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/started/img/html/2.jpgbin32910 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/started/img/html/3.jpgbin42238 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/started/img/newhtml/2.jpgbin31425 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/started/img/newhtml/3.jpgbin27402 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/started/img/newjs/1.jpgbin40141 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/started/img/newjs/2.jpgbin32456 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/started/img/newjs/3.jpgbin29896 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/started/img/pure/1.jpgbin16835 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/started/img/pure/2.jpgbin33118 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/started/img/pure/3.jpgbin37721 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/started/img/pure/4.jpgbin30768 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.jsdt.doc/started/index.html27
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/started/newhtmlFile.html73
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/started/newjsFile.html73
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/started/overview.html31
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/started/standalone.html27
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/started/standaloneProject.html83
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/toc.xml74
-rw-r--r--docs/org.eclipse.wst.jsdt.doc/tocreference.xml14
-rw-r--r--features/org.eclipse.wst.jsdt.feature/.project17
-rw-r--r--features/org.eclipse.wst.jsdt.feature/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--features/org.eclipse.wst.jsdt.feature/.settings/org.eclipse.core.runtime.prefs3
-rw-r--r--features/org.eclipse.wst.jsdt.feature/.settings/org.eclipse.jdt.core.prefs80
-rw-r--r--features/org.eclipse.wst.jsdt.feature/.settings/org.eclipse.jdt.ui.prefs4
-rw-r--r--features/org.eclipse.wst.jsdt.feature/.settings/org.eclipse.ltk.core.refactoring.prefs3
-rw-r--r--features/org.eclipse.wst.jsdt.feature/.settings/org.eclipse.pde.prefs16
-rw-r--r--features/org.eclipse.wst.jsdt.feature/build.properties3
-rw-r--r--features/org.eclipse.wst.jsdt.feature/feature.properties144
-rw-r--r--features/org.eclipse.wst.jsdt.feature/feature.xml62
-rw-r--r--features/org.eclipse.wst.jsdt.feature/license.html93
-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplateBundle/about.html27
-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplateBundle/about.ini31
-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplateBundle/about.mappings6
-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplateBundle/about.properties26
-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplateBundle/build.properties3
-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplateBundle/plugin.properties12
-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplateBundle/wtp_prod32.gifbin1752 -> 0 bytes-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplateBundle/wtp_prod32.pngbin2672 -> 0 bytes-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplateFeature/build.properties18
-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplateFeature/eclipse_update_120.jpgbin21695 -> 0 bytes-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplateFeature/epl-v10.html328
-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplateFeature/feature.properties133
-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplateFeature/license.html82
-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplatePlugin/about.html27
-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplatePlugin/about.ini31
-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplatePlugin/about.mappings6
-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplatePlugin/about.properties26
-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplatePlugin/build.properties3
-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplatePlugin/plugin.properties12
-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplatePlugin/wtp_prod32.gifbin1752 -> 0 bytes-rw-r--r--features/org.eclipse.wst.jsdt.feature/sourceTemplatePlugin/wtp_prod32.pngbin2672 -> 0 bytes-rw-r--r--features/org.eclipse.wst.jsdt_sdk.feature/.project17
-rw-r--r--features/org.eclipse.wst.jsdt_sdk.feature/build.properties6
-rw-r--r--features/org.eclipse.wst.jsdt_sdk.feature/feature.properties144
-rw-r--r--features/org.eclipse.wst.jsdt_sdk.feature/feature.xml28
-rw-r--r--features/org.eclipse.wst.jsdt_sdk.feature/license.html93
2958 files changed, 0 insertions, 906917 deletions
diff --git a/bundles/org.eclipse.wst.jsdt.core/.classpath b/bundles/org.eclipse.wst.jsdt.core/.classpath
deleted file mode 100644
index ce739334..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.wst.jsdt.core/.project b/bundles/org.eclipse.wst.jsdt.core/.project
deleted file mode 100644
index ae8ce463..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.jsdt.core</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.core.resources.prefs b/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 1cf13c68..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Wed Nov 07 11:22:55 CST 2007
-eclipse.preferences.version=1
-encoding/<project>=ISO-8859-1
diff --git a/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.core.runtime.prefs b/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.core.runtime.prefs
deleted file mode 100644
index 7ec57502..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.core.runtime.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Apr 17 01:48:39 EDT 2006
-eclipse.preferences.version=1
-line.separator=\r\n
diff --git a/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 6e072159..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,96 +0,0 @@
-#Wed Oct 24 19:49:45 EDT 2007
-eclipse.preferences.version=1
-org.eclipse.jdt.core.builder.cleanOutputFolder=clean
-org.eclipse.jdt.core.builder.duplicateResourceTask=warning
-org.eclipse.jdt.core.builder.invalidClasspath=ignore
-org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.launch
-org.eclipse.jdt.core.circularClasspath=error
-org.eclipse.jdt.core.classpath.exclusionPatterns=enabled
-org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled
-org.eclipse.jdt.core.codeComplete.argumentPrefixes=
-org.eclipse.jdt.core.codeComplete.argumentSuffixes=
-org.eclipse.jdt.core.codeComplete.fieldPrefixes=
-org.eclipse.jdt.core.codeComplete.fieldSuffixes=
-org.eclipse.jdt.core.codeComplete.localPrefixes=
-org.eclipse.jdt.core.codeComplete.localSuffixes=
-org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
-org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.doc.comment.support=enabled
-org.eclipse.jdt.core.compiler.maxProblemPerUnit=100
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=ignore
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
-org.eclipse.jdt.core.compiler.problem.emptyStatement=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fallthroughCase=warning
-org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=ignore
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=error
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=error
-org.eclipse.jdt.core.compiler.problem.invalidJavadoc=ignore
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=enabled
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=private
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=error
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore
-org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=enabled
-org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public
-org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=enabled
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=private
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=error
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=error
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.nullReference=ignore
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=error
-org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
-org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
-org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=enabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=error
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=ignore
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=error
-org.eclipse.jdt.core.compiler.problem.unusedLabel=error
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
-org.eclipse.jdt.core.incompatibleJDKLevel=ignore
-org.eclipse.jdt.core.incompleteClasspath=error
diff --git a/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.jdt.ui.prefs b/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index c91d09d8..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,51 +0,0 @@
-#Wed Oct 24 19:41:31 EDT 2007
-cleanup.add_default_serial_version_id=true
-cleanup.add_generated_serial_version_id=false
-cleanup.add_missing_annotations=false
-cleanup.add_missing_deprecated_annotations=true
-cleanup.add_missing_nls_tags=false
-cleanup.add_missing_override_annotations=true
-cleanup.add_serial_version_id=true
-cleanup.always_use_blocks=true
-cleanup.always_use_parentheses_in_expressions=true
-cleanup.always_use_this_for_non_static_field_access=false
-cleanup.always_use_this_for_non_static_method_access=false
-cleanup.convert_to_enhanced_for_loop=false
-cleanup.format_source_code=false
-cleanup.make_local_variable_final=true
-cleanup.make_parameters_final=false
-cleanup.make_private_fields_final=true
-cleanup.make_variable_declarations_final=false
-cleanup.never_use_blocks=false
-cleanup.never_use_parentheses_in_expressions=false
-cleanup.organize_imports=true
-cleanup.qualify_static_field_accesses_with_declaring_class=false
-cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
-cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
-cleanup.qualify_static_member_accesses_with_declaring_class=true
-cleanup.qualify_static_method_accesses_with_declaring_class=false
-cleanup.remove_private_constructors=true
-cleanup.remove_unnecessary_casts=true
-cleanup.remove_unnecessary_nls_tags=true
-cleanup.remove_unused_imports=true
-cleanup.remove_unused_local_variables=false
-cleanup.remove_unused_private_fields=true
-cleanup.remove_unused_private_members=true
-cleanup.remove_unused_private_methods=true
-cleanup.remove_unused_private_types=true
-cleanup.use_blocks=true
-cleanup.use_blocks_only_for_return_and_throw=false
-cleanup.use_parentheses_in_expressions=true
-cleanup.use_this_for_non_static_field_access=false
-cleanup.use_this_for_non_static_field_access_only_if_necessary=true
-cleanup.use_this_for_non_static_method_access=false
-cleanup.use_this_for_non_static_method_access_only_if_necessary=true
-cleanup_profile=_SSE Team Styles
-cleanup_settings_version=2
-eclipse.preferences.version=1
-internal.default.compliance=default
-org.eclipse.jdt.ui.exception.name=e
-org.eclipse.jdt.ui.gettersetter.use.is=true
-org.eclipse.jdt.ui.keywordthis=false
-org.eclipse.jdt.ui.overrideannotation=false
-org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8"?><templates/>
diff --git a/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.ltk.core.refactoring.prefs b/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.ltk.core.refactoring.prefs
deleted file mode 100644
index c59368c5..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.ltk.core.refactoring.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Tue Apr 04 03:36:32 EDT 2006
-eclipse.preferences.version=1
-org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
diff --git a/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index fc522bba..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,16 +0,0 @@
-#Mon Apr 17 02:01:33 EDT 2006
-compilers.incompatible-environment=0
-compilers.p.build=0
-compilers.p.deprecated=1
-compilers.p.illegal-att-value=0
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=0
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=0
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.p.unused-element-or-attribute=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/bundles/org.eclipse.wst.jsdt.core/META-INF/MANIFEST.MF b/bundles/org.eclipse.wst.jsdt.core/META-INF/MANIFEST.MF
deleted file mode 100644
index 680655b4..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,63 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %pluginName
-Bundle-Vendor: %providerName
-Export-Package: org.eclipse.wst.jsdt.core,
- org.eclipse.wst.jsdt.core.ast,
- org.eclipse.wst.jsdt.core.compiler,
- org.eclipse.wst.jsdt.core.compiler.libraries,
- org.eclipse.wst.jsdt.core.dom,
- org.eclipse.wst.jsdt.core.dom.rewrite,
- org.eclipse.wst.jsdt.core.eval,
- org.eclipse.wst.jsdt.core.formatter,
- org.eclipse.wst.jsdt.core.infer,
- org.eclipse.wst.jsdt.core.search,
- org.eclipse.wst.jsdt.core.util,
- org.eclipse.wst.jsdt.internal.codeassist;x-internal:=true,
- org.eclipse.wst.jsdt.internal.codeassist.complete;x-internal:=true,
- org.eclipse.wst.jsdt.internal.codeassist.impl;x-internal:=true,
- org.eclipse.wst.jsdt.internal.codeassist.select;x-internal:=true,
- org.eclipse.wst.jsdt.internal.compiler;x-friends:="org.eclipse.jdt.compiler.tool",
- org.eclipse.wst.jsdt.internal.compiler.ast;x-friends:="org.eclipse.wst.jsdt.compiler.tool",
- org.eclipse.wst.jsdt.internal.compiler.batch;x-friends:="org.eclipse.wst.jsdt.compiler.tool",
- org.eclipse.wst.jsdt.internal.compiler.classfmt;x-friends:="org.eclipse.wst.jsdt.compiler.tool",
- org.eclipse.wst.jsdt.internal.compiler.env;x-friends:="org.eclipse.wst.jsdt.compiler.tool",
- org.eclipse.wst.jsdt.internal.compiler.flow;x-friends:="org.eclipse.wst.jsdt.compiler.tool",
- org.eclipse.wst.jsdt.internal.compiler.impl;x-friends:="org.eclipse.wst.jsdt.compiler.tool",
- org.eclipse.wst.jsdt.internal.compiler.lookup;x-friends:="org.eclipse.wst.jsdt.compiler.tool",
- org.eclipse.wst.jsdt.internal.compiler.parser;x-friends:="org.eclipse.wst.jsdt.compiler.tool",
- org.eclipse.wst.jsdt.internal.compiler.parser.diagnose;x-friends:="org.eclipse.wst.jsdt.compiler.tool",
- org.eclipse.wst.jsdt.internal.compiler.problem;x-friends:="org.eclipse.wst.jsdt.compiler.tool",
- org.eclipse.wst.jsdt.internal.compiler.util;x-friends:="org.eclipse.wst.jsdt.compiler.tool",
- org.eclipse.wst.jsdt.internal.core;x-friends:="org.eclipse.wst.jsdt.ui",
- org.eclipse.wst.jsdt.internal.core.builder;x-internal:=true,
- org.eclipse.wst.jsdt.internal.core.dom.rewrite;x-internal:=true,
- org.eclipse.wst.jsdt.internal.core.hierarchy;x-internal:=true,
- org.eclipse.wst.jsdt.internal.core.index,
- org.eclipse.wst.jsdt.internal.core.interpret,
- org.eclipse.wst.jsdt.internal.core.search;x-internal:=true,
- org.eclipse.wst.jsdt.internal.core.search.indexing;x-internal:=true,
- org.eclipse.wst.jsdt.internal.core.search.matching;x-internal:=true,
- org.eclipse.wst.jsdt.internal.core.search.processing;x-internal:=true,
- org.eclipse.wst.jsdt.internal.core.util;x-friends:="org.eclipse.wst.jsdt.ui",
- org.eclipse.wst.jsdt.internal.formatter;x-internal:=true,
- org.eclipse.wst.jsdt.internal.formatter.align;x-internal:=true,
- org.eclipse.wst.jsdt.internal.formatter.comment;x-internal:=true,
- org.eclipse.wst.jsdt.internal.oaametadata,
- org.eclipse.wst.jsdt.launching
-Import-Package: com.ibm.icu.text; version="3.8"
-Bundle-Version: 1.0.200.qualifier
-Bundle-Activator: org.eclipse.wst.jsdt.core.JavaScriptCore
-Require-Bundle: org.eclipse.core.resources;bundle-version="[3.4.0,4.0.0)",
- org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
- org.eclipse.core.filesystem;bundle-version="[1.2.0,2.0.0)",
- org.eclipse.text;bundle-version="[3.4.0,4.0.0)",
- org.eclipse.team.core;bundle-version="[3.3.100,4.0.0)";resolution:=optional,
- org.eclipse.debug.core;bundle-version="[3.4.0,4.0.0)"
-Eclipse-LazyStart: true
-Bundle-SymbolicName: org.eclipse.wst.jsdt.core; singleton:=true
-Bundle-RequiredExecutionEnvironment: J2SE-1.4
-Main-Class: org.eclipse.wst.jsdt.internal.compiler.batch.Main
-Bundle-Localization: plugin
-Bundle-ActivationPolicy: lazy
-
diff --git a/bundles/org.eclipse.wst.jsdt.core/about.html b/bundles/org.eclipse.wst.jsdt.core/about.html
deleted file mode 100644
index 46023304..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/about.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-<title>About</title>
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>June 2, 2006</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p>
-
-</body>
-</html> \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.jsdt.core/build.properties b/bundles/org.eclipse.wst.jsdt.core/build.properties
deleted file mode 100644
index 7fc848b9..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/build.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-###############################################################################
-# Copyright (c) 2005, 2007 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
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- libraries/,\
- plugin.properties,\
- plugin.xml,\
- about.html
-src.includes = libraries/
diff --git a/bundles/org.eclipse.wst.jsdt.core/grammer/js.g b/bundles/org.eclipse.wst.jsdt.core/grammer/js.g
deleted file mode 100644
index 2bea52c1..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/grammer/js.g
+++ /dev/null
@@ -1,2839 +0,0 @@
---main options
-%options ACTION, AN=JavaAction.java, GP=java,
-%options FILE-PREFIX=java, ESCAPE=$, PREFIX=TokenName, OUTPUT-SIZE=125 ,
-%options NOGOTO-DEFAULT, SINGLE-PRODUCTIONS, LALR=1 , TABLE,
-
---error recovering options.....
-%options ERROR_MAPS
-
---grammar understanding options
-%options first follow
-%options TRACE=FULL ,
-%options VERBOSE
-
-%options DEFERRED
-%options NAMES=MAX
-%options SCOPES
-
---Usefull macros helping reading/writing semantic actions
-$Define
-$putCase
-/. case $rule_number : if (DEBUG) { System.out.println("$rule_text"); } //$NON-NLS-1$
- ./
-
-$break
-/.
- break;
-./
-
-
-$readableName
-/.1#$rule_number#./
-$compliance
-/.2#$rule_number#./
-$recovery
-/.2#$rule_number# recovery./
-$recovery_template
-/.3#$rule_number#./
-$no_statements_recovery
-/.4#$rule_number# 1./
-$empty_statement
-/.5#$rule_number# 1./
--- here it starts really ------------------------------------------
-$Terminals
-
- Identifier
-
- abstract boolean break byte case catch char class
- continue const default delete debugger do double else enum export extends false final finally float
- for function goto if in infinity implements import instanceof int
- interface long native new null package private
- protected public return short static strictfp super switch
- synchronized this throw throws transient true try typeof undefined var void
- volatile with while
-
- IntegerLiteral
- LongLiteral
- FloatingPointLiteral
- DoubleLiteral
- CharacterLiteral
- StringLiteral
- RegExLiteral
-
- PLUS_PLUS
- MINUS_MINUS
- EQUAL_EQUAL
- EQUAL_EQUAL_EQUAL
- NOT_EQUAL_EQUAL
- LESS_EQUAL
- GREATER_EQUAL
- NOT_EQUAL
- LEFT_SHIFT
- RIGHT_SHIFT
- UNSIGNED_RIGHT_SHIFT
- PLUS_EQUAL
- MINUS_EQUAL
- MULTIPLY_EQUAL
- DIVIDE_EQUAL
- AND_EQUAL
- OR_EQUAL
- XOR_EQUAL
- REMAINDER_EQUAL
- LEFT_SHIFT_EQUAL
- RIGHT_SHIFT_EQUAL
- UNSIGNED_RIGHT_SHIFT_EQUAL
- OR_OR
- AND_AND
- PLUS
- MINUS
- NOT
- REMAINDER
- XOR
- AND
- MULTIPLY
- OR
- TWIDDLE
- DIVIDE
- GREATER
- LESS
- LPAREN
- RPAREN
- LBRACE
- RBRACE
- LBRACKET
- RBRACKET
- SEMICOLON
- QUESTION
- COLON
- COMMA
- DOT
- EQUAL
- AT
-
--- BodyMarker
-
-$Alias
-
- '++' ::= PLUS_PLUS
- '--' ::= MINUS_MINUS
- '==' ::= EQUAL_EQUAL
- '===' ::= EQUAL_EQUAL_EQUAL
- '<=' ::= LESS_EQUAL
- '>=' ::= GREATER_EQUAL
- '!=' ::= NOT_EQUAL
- '!==' ::= NOT_EQUAL_EQUAL
- '<<' ::= LEFT_SHIFT
- '>>' ::= RIGHT_SHIFT
- '>>>' ::= UNSIGNED_RIGHT_SHIFT
- '+=' ::= PLUS_EQUAL
- '-=' ::= MINUS_EQUAL
- '*=' ::= MULTIPLY_EQUAL
- '/=' ::= DIVIDE_EQUAL
- '&=' ::= AND_EQUAL
- '|=' ::= OR_EQUAL
- '^=' ::= XOR_EQUAL
- '%=' ::= REMAINDER_EQUAL
- '<<=' ::= LEFT_SHIFT_EQUAL
- '>>=' ::= RIGHT_SHIFT_EQUAL
- '>>>=' ::= UNSIGNED_RIGHT_SHIFT_EQUAL
- '||' ::= OR_OR
- '&&' ::= AND_AND
- '+' ::= PLUS
- '-' ::= MINUS
- '!' ::= NOT
- '%' ::= REMAINDER
- '^' ::= XOR
- '&' ::= AND
- '*' ::= MULTIPLY
- '|' ::= OR
- '~' ::= TWIDDLE
- '/' ::= DIVIDE
- '>' ::= GREATER
- '<' ::= LESS
- '(' ::= LPAREN
- ')' ::= RPAREN
- '{' ::= LBRACE
- '}' ::= RBRACE
- '[' ::= LBRACKET
- ']' ::= RBRACKET
- ';' ::= SEMICOLON
- '?' ::= QUESTION
- ':' ::= COLON
- ',' ::= COMMA
- '.' ::= DOT
- '=' ::= EQUAL
- '@' ::= AT
-
-$Start
- Goal
-
-$Rules
-
-/.// This method is part of an automatic generation : do NOT edit-modify
-protected void consumeRule(int act) {
- switch ( act ) {
-./
-
-
-
-Goal ::= '++' CompilationUnit
-Goal ::= '--' MethodBody
--- Initializer
--- Goal ::= '>>' StaticInitializer
--- Goal ::= '>>' Initializer
--- error recovery
--- Modifiersopt is used to properly consume a header and exit the rule reduction at the end of the parse() method
-Goal ::= '>>>' Header1 Modifiersopt
--- Goal ::= '!' Header2 Modifiersopt
-Goal ::= '*' BlockStatements
-Goal ::= '*' CatchHeader
--- JDOM
-Goal ::= '&&' LocalVariableDeclaration
--- Goal ::= '||' ImportDeclaration
--- Goal ::= '?' PackageDeclaration
--- Goal ::= '+' TypeDeclaration
--- Goal ::= '/' GenericMethodDeclaration
--- Goal ::= '&' ClassBodyDeclarations
--- code snippet
-Goal ::= '%' Expression
--- Goal ::= '%' ArrayInitializer
--- completion parser
-Goal ::= '~' BlockStatementsopt
-Goal ::= '+' ProgramElement
--- source type converter
--- Goal ::= '||' MemberValue
--- syntax diagnosis
--- Goal ::= '?' AnnotationTypeMemberDeclaration
-/:$readableName Goal:/
-
-Literal -> IntegerLiteral
-Literal -> LongLiteral
-Literal -> FloatingPointLiteral
-Literal -> DoubleLiteral
-Literal -> CharacterLiteral
-Literal -> StringLiteral
-Literal -> RegExLiteral
-Literal -> null
-Literal -> undefined
-Literal -> BooleanLiteral
-/:$readableName Literal:/
-BooleanLiteral -> true
-BooleanLiteral -> false
-/:$readableName BooleanLiteral:/
-
--- Type ::= PrimitiveType
--- /.$putCase consumePrimitiveType(); $break ./
--- Type -> ReferenceType
--- /:$readableName Type:/
-
--- PrimitiveType -> NumericType
--- /:$readableName PrimitiveType:/
--- NumericType -> IntegralType
--- NumericType -> FloatingPointType
--- /:$readableName NumericType:/
-
--- PrimitiveType -> 'boolean'
--- PrimitiveType -> 'void'
--- IntegralType -> 'byte'
--- IntegralType -> 'short'
--- IntegralType -> 'int'
--- IntegralType -> 'long'
--- IntegralType -> 'char'
--- /:$readableName IntegralType:/
--- FloatingPointType -> 'float'
--- FloatingPointType -> 'double'
--- /:$readableName FloatingPointType:/
-
--- ReferenceType ::= ClassOrInterfaceType
--- /.$putCase consumeReferenceType(); $break ./
--- ReferenceType -> ArrayType
--- /:$readableName ReferenceType:/
-
----------------------------------------------------------------
--- 1.5 feature
----------------------------------------------------------------
--- ClassOrInterfaceType -> ClassOrInterface
--- ClassOrInterfaceType -> GenericType
--- /:$readableName Type:/
-
--- ClassOrInterface ::= Name
--- /.$putCase consumeClassOrInterfaceName(); $break ./
--- ClassOrInterface ::= GenericType '.' Name
--- /.$putCase consumeClassOrInterface(); $break ./
--- /:$readableName Type:/
-
--- GenericType ::= ClassOrInterface TypeArguments
--- /.$putCase consumeGenericType(); $break ./
--- /:$readableName GenericType:/
-
---
--- These rules have been rewritten to avoid some conflicts introduced
--- by adding the 1.1 features
---
--- ArrayType ::= PrimitiveType '[' ']'
--- ArrayType ::= Name '[' ']'
--- ArrayType ::= ArrayType '[' ']'
---
-
--- ArrayTypeWithTypeArgumentsName ::= GenericType '.' Name
--- /.$putCase consumeArrayTypeWithTypeArgumentsName(); $break ./
--- /:$readableName ArrayTypeWithTypeArgumentsName:/
-
--- ArrayType ::= PrimitiveType Dims
--- /.$putCase consumePrimitiveArrayType(); $break ./
--- ArrayType ::= Name Dims
--- /.$putCase consumeNameArrayType(); $break ./
--- ArrayType ::= ArrayTypeWithTypeArgumentsName Dims
--- /.$putCase consumeGenericTypeNameArrayType(); $break ./
--- ArrayType ::= GenericType Dims
--- /.$putCase consumeGenericTypeArrayType(); $break ./
--- /:$readableName ArrayType:/
-
--- ClassType -> ClassOrInterfaceType
--- /:$readableName ClassType:/
-
---------------------------------------------------------------
---------------------------------------------------------------
-
-Name -> SimpleName
-Name -> QualifiedName
-/:$readableName Name:/
-
-SimpleName -> 'Identifier'
-/:$readableName SimpleName:/
-
-QualifiedName ::= Name '.' SimpleName
-/.$putCase consumeQualifiedName(); $break ./
-/:$readableName QualifiedName:/
-
-CompilationUnit ::= EnterCompilationUnit InternalCompilationUnit
-/.$putCase consumeCompilationUnit(); $break ./
-/:$readableName CompilationUnit:/
-
-InternalCompilationUnit ::= ProgramElements
-/.$putCase consumeInternalCompilationUnitWithTypes(); $break ./
-InternalCompilationUnit ::= $empty
-/.$putCase consumeEmptyInternalCompilationUnit(); $break ./
-/:$readableName CompilationUnit:/
-
--- ReduceImports ::= $empty
--- /.$putCase consumeReduceImports(); $break ./
--- /:$readableName ReduceImports:/
-
-EnterCompilationUnit ::= $empty
-/.$putCase consumeEnterCompilationUnit(); $break ./
-/:$readableName EnterCompilationUnit:/
-
--- Header -> ImportDeclaration
--- Header -> PackageDeclaration
--- Header -> ClassHeader
--- Header -> InterfaceHeader
--- Header -> EnumHeader
--- Header -> AnnotationTypeDeclarationHeader
--- Header -> StaticInitializer
-Header -> RecoveryMethodHeader
-Header -> LocalVariableDeclaration
--- Header -> AllocationHeader
--- Header -> ArrayCreationHeader
-/:$readableName Header:/
-
-Header1 -> Header
--- Header1 -> ConstructorHeader
-/:$readableName Header1:/
-
--- Header2 -> Header
--- Header2 -> EnumConstantHeader
--- /:$readableName Header2:/
-
-CatchHeader ::= 'catch' '(' FormalParameter ')' '{'
-/.$putCase consumeCatchHeader(); $break ./
-/:$readableName CatchHeader:/
-
--- ImportDeclarations -> ImportDeclaration
--- ImportDeclarations ::= ImportDeclarations ImportDeclaration
--- /.$putCase consumeImportDeclarations(); $break ./
--- /:$readableName ImportDeclarations:/
-
--- TypeDeclarations -> TypeDeclaration
--- TypeDeclarations ::= TypeDeclarations TypeDeclaration
--- /.$putCase consumeTypeDeclarations(); $break ./
--- /:$readableName TypeDeclarations:/
-
--- PackageDeclaration ::= PackageDeclarationName ';'
--- /.$putCase consumePackageDeclaration(); $break ./
--- /:$readableName PackageDeclaration:/
-
--- PackageDeclarationName ::= Modifiers 'package' PushRealModifiers Name
--- /.$putCase consumePackageDeclarationNameWithModifiers(); $break ./
--- /:$readableName PackageDeclarationName:/
--- /:$compliance 1.5:/
-
--- PackageDeclarationName ::= PackageComment 'package' Name
--- /.$putCase consumePackageDeclarationName(); $break ./
--- /:$readableName PackageDeclarationName:/
-
--- PackageComment ::= $empty
--- /.$putCase consumePackageComment(); $break ./
--- /:$readableName PackageComment:/
-
--- ImportDeclaration -> SingleTypeImportDeclaration
--- ImportDeclaration -> TypeImportOnDemandDeclaration
------------------------------------------------
--- 1.5 feature
------------------------------------------------
--- ImportDeclaration -> SingleStaticImportDeclaration
--- ImportDeclaration -> StaticImportOnDemandDeclaration
--- /:$readableName ImportDeclaration:/
-
--- SingleTypeImportDeclaration ::= SingleTypeImportDeclarationName ';'
--- /.$putCase consumeImportDeclaration(); $break ./
--- /:$readableName SingleTypeImportDeclaration:/
-
--- SingleTypeImportDeclarationName ::= 'import' Name
--- /.$putCase consumeSingleTypeImportDeclarationName(); $break ./
--- /:$readableName SingleTypeImportDeclarationName:/
-
--- TypeImportOnDemandDeclaration ::= TypeImportOnDemandDeclarationName ';'
--- /.$putCase consumeImportDeclaration(); $break ./
--- /:$readableName TypeImportOnDemandDeclaration:/
-
--- TypeImportOnDemandDeclarationName ::= 'import' Name '.' '*'
--- /.$putCase consumeTypeImportOnDemandDeclarationName(); $break ./
--- /:$readableName TypeImportOnDemandDeclarationName:/
-
--- TypeDeclaration -> ClassDeclaration
--- TypeDeclaration -> InterfaceDeclaration
--- -- this declaration in part of a list od declaration and we will
--- -- use and optimized list length calculation process
--- -- thus we decrement the number while it will be incremend.....
--- TypeDeclaration ::= ';'
--- /. $putCase consumeEmptyTypeDeclaration(); $break ./
------------------------------------------------
--- 1.5 feature
------------------------------------------------
--- TypeDeclaration -> EnumDeclaration
--- -- TypeDeclaration -> AnnotationTypeDeclaration
--- /:$readableName TypeDeclaration:/
-
---18.7 Only in the LALR(1) Grammar
-
-Modifiers -> Modifier
-Modifiers ::= Modifiers Modifier
-/.$putCase consumeModifiers2(); $break ./
-/:$readableName Modifiers:/
-
-Modifier -> 'public'
-Modifier -> 'protected'
-Modifier -> 'private'
-Modifier -> 'static'
-Modifier -> 'abstract'
-Modifier -> 'final'
-Modifier -> 'native'
--- Modifier -> 'synchronized'
-Modifier -> 'transient'
-Modifier -> 'volatile'
-Modifier -> 'strictfp'
--- Modifier ::= Annotation
-/.$putCase consumeAnnotationAsModifier(); $break ./
-/:$readableName Modifier:/
-
---18.8 Productions from 8: Class Declarations
---ClassModifier ::=
--- 'abstract'
--- | 'final'
--- | 'public'
---18.8.1 Productions from 8.1: Class Declarations
-
--- ClassDeclaration ::= ClassHeader ClassBody
--- /.$putCase consumeClassDeclaration(); $break ./
--- /:$readableName ClassDeclaration:/
-
--- ClassHeader ::= ClassHeaderName ClassHeaderExtendsopt ClassHeaderImplementsopt
--- /.$putCase consumeClassHeader(); $break ./
--- /:$readableName ClassHeader:/
-
------------------------------------------------
--- 1.5 features : generics
------------------------------------------------
--- ClassHeaderName ::= ClassHeaderName1 TypeParameters
--- /.$putCase consumeTypeHeaderNameWithTypeParameters(); $break ./
---
--- ClassHeaderName -> ClassHeaderName1
--- /:$readableName ClassHeaderName:/
---
--- ClassHeaderName1 ::= Modifiersopt 'class' 'Identifier'
--- /.$putCase consumeClassHeaderName1(); $break ./
--- /:$readableName ClassHeaderName:/
---
--- ClassHeaderExtends ::= 'extends' ClassType
--- /.$putCase consumeClassHeaderExtends(); $break ./
--- /:$readableName ClassHeaderExtends:/
-
--- ClassHeaderImplements ::= 'implements' InterfaceTypeList
--- /.$putCase consumeClassHeaderImplements(); $break ./
--- /:$readableName ClassHeaderImplements:/
-
--- InterfaceTypeList -> InterfaceType
--- InterfaceTypeList ::= InterfaceTypeList ',' InterfaceType
--- /.$putCase consumeInterfaceTypeList(); $break ./
--- /:$readableName InterfaceTypeList:/
-
--- InterfaceType ::= ClassOrInterfaceType
--- /.$putCase consumeInterfaceType(); $break ./
--- /:$readableName InterfaceType:/
-
--- ClassBody ::= '{' ClassBodyDeclarationsopt '}'
--- /:$readableName ClassBody:/
--- /:$no_statements_recovery:/
-
--- ClassBodyDeclarations ::= ClassBodyDeclaration
--- ClassBodyDeclarations ::= ClassBodyDeclarations ClassBodyDeclaration
--- /.$putCase consumeClassBodyDeclarations(); $break ./
--- /:$readableName ClassBodyDeclarations:/
-
--- ClassBodyDeclaration -> ClassMemberDeclaration
--- ClassBodyDeclaration -> StaticInitializer
--- ClassBodyDeclaration -> ConstructorDeclaration
---1.1 feature
--- ClassBodyDeclaration ::= Diet NestedMethod Block
--- /.$putCase consumeClassBodyDeclaration(); $break ./
--- /:$readableName ClassBodyDeclaration:/
-
-Diet ::= $empty
-/.$putCase consumeDiet(); $break./
-/:$readableName Diet:/
-
--- Initializer ::= Diet NestedMethod Block
--- /.$putCase consumeClassBodyDeclaration(); $break ./
--- /:$readableName Initializer:/
-
--- ClassMemberDeclaration -> FieldDeclaration
--- ClassMemberDeclaration -> MethodDeclaration
---1.1 feature
--- ClassMemberDeclaration -> ClassDeclaration
---1.1 feature
--- ClassMemberDeclaration -> InterfaceDeclaration
--- 1.5 feature
--- ClassMemberDeclaration -> EnumDeclaration
--- ClassMemberDeclaration -> AnnotationTypeDeclaration
--- /:$readableName ClassMemberDeclaration:/
-
--- Empty declarations are not valid Java ClassMemberDeclarations.
--- However, since the current (2/14/97) Java compiler accepts them
--- (in fact, some of the official tests contain this erroneous
--- syntax)
--- ClassMemberDeclaration ::= ';'
--- /.$putCase consumeEmptyClassMemberDeclaration(); $break./
-
--- GenericMethodDeclaration -> MethodDeclaration
--- -- GenericMethodDeclaration -> ConstructorDeclaration
--- /:$readableName GenericMethodDeclaration:/
-
---18.8.2 Productions from 8.3: Field Declarations
---VariableModifier ::=
--- 'public'
--- | 'protected'
--- | 'private'
--- | 'static'
--- | 'final'
--- | 'transient'
--- | 'volatile'
-
--- FieldDeclaration ::= Modifiersopt 'var' VariableDeclarators ';'
--- /.$putCase consumeFieldDeclaration(); $break ./
--- /:$readableName FieldDeclaration:/
-
-VariableDeclarators -> VariableDeclarator
-VariableDeclarators ::= VariableDeclarators ',' VariableDeclarator
-/.$putCase consumeVariableDeclarators(); $break ./
-/:$readableName VariableDeclarators:/
-
-VariableDeclaratorsNoIn -> VariableDeclaratorNoIn
-VariableDeclaratorsNoIn ::= VariableDeclaratorsNoIn ',' VariableDeclaratorNoIn
-/.$putCase consumeVariableDeclarators(); $break ./
-/:$readableName VariableDeclarators:/
-
-VariableDeclarator ::= VariableDeclaratorId EnterVariable ExitVariableWithoutInitialization
-VariableDeclarator ::= VariableDeclaratorId EnterVariable '=' ForceNoDiet VariableInitializer RestoreDiet ExitVariableWithInitialization
-/:$readableName VariableDeclarator:/
-/:$recovery_template Identifier:/
-
-VariableDeclaratorNoIn ::= VariableDeclaratorId EnterVariable ExitVariableWithoutInitialization
-VariableDeclaratorNoIn ::= VariableDeclaratorId EnterVariable '=' ForceNoDiet VariableInitializerNoIn RestoreDiet ExitVariableWithInitialization
-/:$readableName VariableDeclarator:/
-/:$recovery_template Identifier:/
-
-EnterVariable ::= $empty
-/.$putCase consumeEnterVariable(); $break ./
-/:$readableName EnterVariable:/
-
-ExitVariableWithInitialization ::= $empty
-/.$putCase consumeExitVariableWithInitialization(); $break ./
-/:$readableName ExitVariableWithInitialization:/
-
-ExitVariableWithoutInitialization ::= $empty
-/.$putCase consumeExitVariableWithoutInitialization(); $break ./
-/:$readableName ExitVariableWithoutInitialization:/
-
-ForceNoDiet ::= $empty
-/.$putCase consumeForceNoDiet(); $break ./
-/:$readableName ForceNoDiet:/
-RestoreDiet ::= $empty
-/.$putCase consumeRestoreDiet(); $break ./
-/:$readableName RestoreDiet:/
-
-VariableDeclaratorId ::= 'Identifier'
-/:$readableName VariableDeclaratorId:/
-/:$recovery_template Identifier:/
-
-VariableInitializer -> AssignmentExpression
--- VariableInitializer -> ArrayInitializer
-/:$readableName VariableInitializer:/
-/:$recovery_template Identifier:/
-
-VariableInitializerNoIn -> AssignmentExpressionNoIn
-/:$readableName VariableInitializer:/
-/:$recovery_template Identifier:/
-
---18.8.3 Productions from 8.4: Method Declarations
---MethodModifier ::=
--- 'public'
--- | 'protected'
--- | 'private'
--- | 'static'
--- | 'abstract'
--- | 'final'
--- | 'native'
--- | 'synchronized'
---
-
-FunctionExpression ::= FunctionExpressionHeader MethodBody
-/.$putCase // set to true to consume a method with a body
- consumeFunctionExpression(); $break ./
-/:$readableName FunctionExpression:/
-
-FunctionExpressionHeader ::= FunctionExpressionHeaderName FormalParameterListopt MethodHeaderRightParen
-/.$putCase consumeMethodHeader(); $break ./
-/:$readableName FunctionExpressionHeader :/
-
-FunctionExpressionHeaderName ::= Modifiersopt 'function' 'Identifier' '('
-/.$putCase consumeMethodHeaderName(false); $break ./
-FunctionExpressionHeaderName ::= Modifiersopt 'function' '('
-/.$putCase consumeMethodHeaderName(true); $break ./
-/:$readableName FunctionExpressionHeaderName :/
-
-
-MethodDeclaration -> AbstractMethodDeclaration
-MethodDeclaration ::= MethodHeader MethodBody
-/.$putCase // set to true to consume a method with a body
- consumeMethodDeclaration(true); $break ./
-/:$readableName MethodDeclaration:/
-
-AbstractMethodDeclaration ::= MethodHeader ';'
-/.$putCase // set to false to consume a method without body
- consumeMethodDeclaration(false); $break ./
-/:$readableName MethodDeclaration:/
-
-MethodHeader ::= MethodHeaderName FormalParameterListopt MethodHeaderRightParen
-/.$putCase consumeMethodHeader(); $break ./
-/:$readableName MethodDeclaration:/
-
--- MethodHeaderName ::= Modifiersopt TypeParameters Type 'Identifier' '('
--- /.$putCase consumeMethodHeaderNameWithTypeParameters(false); $break ./
-MethodHeaderName ::= Modifiersopt 'function' 'Identifier' '('
-/.$putCase consumeMethodHeaderName(false); $break ./
-/:$readableName MethodHeaderName:/
-
-MethodHeaderRightParen ::= ')'
-/.$putCase consumeMethodHeaderRightParen(); $break ./
-/:$readableName ):/
-/:$recovery_template ):/
-
--- MethodHeaderExtendedDims ::= Dimsopt
--- /.$putCase consumeMethodHeaderExtendedDims(); $break ./
--- /:$readableName MethodHeaderExtendedDims:/
-
--- MethodHeaderThrowsClause ::= 'throws' ClassTypeList
--- /.$putCase consumeMethodHeaderThrowsClause(); $break ./
--- /:$readableName MethodHeaderThrowsClause:/
-
--- ConstructorHeader ::= ConstructorHeaderName FormalParameterListopt MethodHeaderRightParen MethodHeaderThrowsClauseopt
--- /.$putCase consumeConstructorHeader(); $break ./
--- /:$readableName ConstructorDeclaration:/
-
--- ConstructorHeaderName ::= Modifiersopt TypeParameters 'Identifier' '('
--- /.$putCase consumeConstructorHeaderNameWithTypeParameters(); $break ./
--- ConstructorHeaderName ::= Modifiersopt 'Identifier' '('
--- /.$putCase consumeConstructorHeaderName(); $break ./
--- /:$readableName ConstructorHeaderName:/
-
-FormalParameterList -> FormalParameter
-FormalParameterList ::= FormalParameterList ',' FormalParameter
-/.$putCase consumeFormalParameterList(); $break ./
-/:$readableName FormalParameterList:/
-
---1.1 feature
-FormalParameter ::= VariableDeclaratorId
-/.$putCase consumeFormalParameter(false); $break ./
-
--- ClassTypeList -> ClassTypeElt
--- ClassTypeList ::= ClassTypeList ',' ClassTypeElt
--- /.$putCase consumeClassTypeList(); $break ./
--- /:$readableName ClassTypeList:/
-
--- ClassTypeElt ::= ClassType
--- /.$putCase consumeClassTypeElt(); $break ./
--- /:$readableName ClassType:/
-
-MethodBody ::= NestedMethod '{' PostDoc BlockStatementsopt '}'
-/.$putCase consumeMethodBody(); $break ./
-/:$readableName MethodBody:/
--- /:$no_statements_recovery:/
-
-NestedMethod ::= $empty
-/.$putCase consumeNestedMethod(); $break ./
-/:$readableName NestedMethod:/
-
-PostDoc ::= $empty
-/.$putCase consumePostDoc(); $break ./
-/:$readableName PostDoc:/
-
---18.8.4 Productions from 8.5: Static Initializers
-
--- StaticInitializer ::= StaticOnly Block
--- /.$putCase consumeStaticInitializer(); $break./
--- /:$readableName StaticInitializer:/
-
--- StaticOnly ::= 'static'
--- /.$putCase consumeStaticOnly(); $break ./
--- /:$readableName StaticOnly:/
-
---18.8.5 Productions from 8.6: Constructor Declarations
---ConstructorModifier ::=
--- 'public'
--- | 'protected'
--- | 'private'
---
---
--- ConstructorDeclaration ::= ConstructorHeader MethodBody
--- /.$putCase consumeConstructorDeclaration() ; $break ./
--- These rules are added to be able to parse constructors with no body
--- ConstructorDeclaration ::= ConstructorHeader ';'
--- /.$putCase consumeInvalidConstructorDeclaration() ; $break ./
--- /:$readableName ConstructorDeclaration:/
-
--- the rules ExplicitConstructorInvocationopt has been expanded
--- in the rule below in order to make the grammar lalr(1).
-
--- ExplicitConstructorInvocation ::= 'this' '(' ArgumentListopt ')' ';'
--- /.$putCase consumeExplicitConstructorInvocation(0, THIS_CALL); $break ./
-
--- ExplicitConstructorInvocation ::= OnlyTypeArguments 'this' '(' ArgumentListopt ')' ';'
--- /.$putCase consumeExplicitConstructorInvocationWithTypeArguments(0,THIS_CALL); $break ./
-
--- ExplicitConstructorInvocation ::= 'super' '(' ArgumentListopt ')' ';'
--- /.$putCase consumeExplicitConstructorInvocation(0,SUPER_CALL); $break ./
-
--- ExplicitConstructorInvocation ::= OnlyTypeArguments 'super' '(' ArgumentListopt ')' ';'
--- /.$putCase consumeExplicitConstructorInvocationWithTypeArguments(0,SUPER_CALL); $break ./
-
---1.1 feature
--- ExplicitConstructorInvocation ::= Primary '.' 'super' '(' ArgumentListopt ')' ';'
--- /.$putCase consumeExplicitConstructorInvocation(1, SUPER_CALL); $break ./
-
--- ExplicitConstructorInvocation ::= Primary '.' OnlyTypeArguments 'super' '(' ArgumentListopt ')' ';'
--- /.$putCase consumeExplicitConstructorInvocationWithTypeArguments(1, SUPER_CALL); $break ./
-
---1.1 feature
--- ExplicitConstructorInvocation ::= Name '.' 'super' '(' ArgumentListopt ')' ';'
--- /.$putCase consumeExplicitConstructorInvocation(2, SUPER_CALL); $break ./
-
--- ExplicitConstructorInvocation ::= Name '.' OnlyTypeArguments 'super' '(' ArgumentListopt ')' ';'
--- /.$putCase consumeExplicitConstructorInvocationWithTypeArguments(2, SUPER_CALL); $break ./
-
---1.1 feature
--- ExplicitConstructorInvocation ::= Primary '.' 'this' '(' ArgumentListopt ')' ';'
--- /.$putCase consumeExplicitConstructorInvocation(1, THIS_CALL); $break ./
-
--- ExplicitConstructorInvocation ::= Primary '.' OnlyTypeArguments 'this' '(' ArgumentListopt ')' ';'
--- /.$putCase consumeExplicitConstructorInvocationWithTypeArguments(1, THIS_CALL); $break ./
-
---1.1 feature
--- ExplicitConstructorInvocation ::= Name '.' 'this' '(' ArgumentListopt ')' ';'
--- /.$putCase consumeExplicitConstructorInvocation(2, THIS_CALL); $break ./
-
--- ExplicitConstructorInvocation ::= Name '.' OnlyTypeArguments 'this' '(' ArgumentListopt ')' ';'
--- /.$putCase consumeExplicitConstructorInvocationWithTypeArguments(2, THIS_CALL); $break ./
--- /:$readableName ExplicitConstructorInvocation:/
-
---18.9 Productions from 9: Interface Declarations
-
---18.9.1 Productions from 9.1: Interface Declarations
---InterfaceModifier ::=
--- 'public'
--- | 'abstract'
---
--- InterfaceDeclaration ::= InterfaceHeader InterfaceBody
--- /.$putCase consumeInterfaceDeclaration(); $break ./
--- /:$readableName InterfaceDeclaration:/
-
--- InterfaceHeader ::= InterfaceHeaderName InterfaceHeaderExtendsopt
--- /.$putCase consumeInterfaceHeader(); $break ./
--- /:$readableName InterfaceHeader:/
-
------------------------------------------------
--- 1.5 features : generics
------------------------------------------------
--- InterfaceHeaderName ::= InterfaceHeaderName1 TypeParameters
--- /.$putCase consumeTypeHeaderNameWithTypeParameters(); $break ./
-
--- InterfaceHeaderName -> InterfaceHeaderName1
--- /:$readableName InterfaceHeaderName:/
-
--- InterfaceHeaderName1 ::= Modifiersopt interface Identifier
--- /.$putCase consumeInterfaceHeaderName1(); $break ./
--- /:$readableName InterfaceHeaderName:/
-
--- InterfaceHeaderExtends ::= 'extends' InterfaceTypeList
--- /.$putCase consumeInterfaceHeaderExtends(); $break ./
--- /:$readableName InterfaceHeaderExtends:/
-
--- InterfaceBody ::= '{' InterfaceMemberDeclarationsopt '}'
--- /:$readableName InterfaceBody:/
-
--- InterfaceMemberDeclarations -> InterfaceMemberDeclaration
--- InterfaceMemberDeclarations ::= InterfaceMemberDeclarations InterfaceMemberDeclaration
--- /.$putCase consumeInterfaceMemberDeclarations(); $break ./
--- /:$readableName InterfaceMemberDeclarations:/
-
---same as for class members
--- InterfaceMemberDeclaration ::= ';'
--- /.$putCase consumeEmptyInterfaceMemberDeclaration(); $break ./
--- /:$readableName InterfaceMemberDeclaration:/
-
--- InterfaceMemberDeclaration -> ConstantDeclaration
--- InterfaceMemberDeclaration ::= MethodHeader MethodBody
--- /.$putCase consumeInvalidMethodDeclaration(); $break ./
--- /:$readableName InterfaceMemberDeclaration:/
-
--- These rules are added to be able to parse constructors inside interface and then report a relevent error message
--- InvalidConstructorDeclaration ::= ConstructorHeader MethodBody
--- /.$putCase consumeInvalidConstructorDeclaration(true); $break ./
--- InvalidConstructorDeclaration ::= ConstructorHeader ';'
--- /.$putCase consumeInvalidConstructorDeclaration(false); $break ./
--- /:$readableName InvalidConstructorDeclaration:/
-
--- InterfaceMemberDeclaration -> AbstractMethodDeclaration
--- InterfaceMemberDeclaration -> InvalidConstructorDeclaration
---1.1 feature
--- InterfaceMemberDeclaration -> ClassDeclaration
---1.1 feature
--- InterfaceMemberDeclaration -> InterfaceDeclaration
--- InterfaceMemberDeclaration -> EnumDeclaration
--- InterfaceMemberDeclaration -> AnnotationTypeDeclaration
--- /:$readableName InterfaceMemberDeclaration:/
-
--- ConstantDeclaration -> FieldDeclaration
--- /:$readableName ConstantDeclaration:/
-
---- PushLeftBrace ::= $empty
--- /.$putCase consumePushLeftBrace(); $break ./
--- /:$readableName PushLeftBrace:/
-
-PushLeftBraceObjLit ::= $empty
-/.$putCase consumePushLeftBrace(); $break ./
-/:$readableName PushLeftBrace:/
-
--- ArrayInitializer ::= '{' PushLeftBrace ,opt '}'
--- /.$putCase consumeEmptyArrayInitializer(); $break ./
--- ArrayInitializer ::= '{' PushLeftBrace VariableInitializers '}'
--- /.$putCase consumeArrayInitializer(); $break ./
--- ArrayInitializer ::= '{' PushLeftBrace VariableInitializers , '}'
--- /.$putCase consumeArrayInitializer(); $break ./
--- /:$readableName ArrayInitializer:/
--- /:$recovery_template Identifier:/
-
-VariableInitializers ::= VariableInitializer
-VariableInitializers ::= VariableInitializers ',' VariableInitializer
-/.$putCase consumeVariableInitializers(); $break ./
-/:$readableName VariableInitializers:/
-
-Block ::= OpenBlock '{' BlockStatementsopt '}'
-/.$putCase consumeBlock(); $break ./
-/:$readableName Block:/
-
-OpenBlock ::= $empty
-/.$putCase consumeOpenBlock() ; $break ./
-/:$readableName OpenBlock:/
-
-ProgramElements -> ProgramElement
-ProgramElements ::= ProgramElements ProgramElement
-/.$putCase consumeProgramElements() ; $break ./
-/:$readableName ProgramElements:/
-
--- ProgramElement -> MethodDeclaration
-ProgramElement -> BlockStatement
-/:$readableName ProgramElement:/
-
-
-BlockStatements -> BlockStatement
-BlockStatements ::= BlockStatements BlockStatement
-/.$putCase consumeBlockStatements() ; $break ./
-/:$readableName BlockStatements:/
-
-BlockStatement -> LocalVariableDeclarationStatement
-BlockStatement -> MethodDeclaration
-BlockStatement -> Statement
---1.1 feature
--- BlockStatement -> ClassDeclaration
--- BlockStatement ::= InterfaceDeclaration
--- /.$putCase consumeInvalidInterfaceDeclaration(); $break ./
--- /:$readableName BlockStatement:/
--- BlockStatement ::= AnnotationTypeDeclaration
--- /.$putCase consumeInvalidAnnotationTypeDeclaration(); $break ./
--- /:$readableName BlockStatement:/
--- BlockStatement ::= EnumDeclaration
--- /.$putCase consumeInvalidEnumDeclaration(); $break ./
-/:$readableName BlockStatement:/
-
-LocalVariableDeclarationStatement ::= LocalVariableDeclaration ';'
-/.$putCase consumeLocalVariableDeclarationStatement(); $break ./
-/:$readableName LocalVariableDeclarationStatement:/
-
-LocalVariableDeclaration ::= 'var' PushModifiers VariableDeclarators
-/.$putCase consumeLocalVariableDeclaration(); $break ./
--- 1.1 feature
--- The modifiers part of this rule makes the grammar more permissive.
--- The only modifier here is final. We put Modifiers to allow multiple modifiers
--- This will require to check the validity of the modifier
--- LocalVariableDeclaration ::= Modifiers Type PushRealModifiers VariableDeclarators
--- /.$putCase consumeLocalVariableDeclaration(); $break ./
-/:$readableName LocalVariableDeclaration:/
-
-LocalVariableDeclarationNoIn ::= 'var' PushModifiers VariableDeclaratorsNoIn
-/.$putCase consumeLocalVariableDeclaration(); $break ./
-/:$readableName LocalVariableDeclaration:/
-
-PushModifiers ::= $empty
-/.$putCase consumePushModifiers(); $break ./
-/:$readableName PushModifiers:/
-
--- PushModifiersForHeader ::= $empty
--- /.$putCase consumePushModifiersForHeader(); $break ./
--- /:$readableName PushModifiersForHeader:/
-
--- PushRealModifiers ::= $empty
--- /.$putCase consumePushRealModifiers(); $break ./
--- /:$readableName PushRealModifiers:/
-
-Statement -> StatementWithoutTrailingSubstatement
-Statement -> LabeledStatement
-Statement -> IfThenStatement
-Statement -> IfThenElseStatement
-Statement -> WhileStatement
-Statement -> WithStatement
-Statement -> ForStatement
------------------------------------------------
--- 1.5 feature
------------------------------------------------
--- Statement -> EnhancedForStatement
-/:$readableName Statement:/
-/:$recovery_template ;:/
-
-StatementNoShortIf -> StatementWithoutTrailingSubstatement
-StatementNoShortIf -> LabeledStatementNoShortIf
-StatementNoShortIf -> IfThenElseStatementNoShortIf
-StatementNoShortIf -> WhileStatementNoShortIf
-StatementNoShortIf -> WithStatementNoShortIf
-StatementNoShortIf -> ForStatementNoShortIf
------------------------------------------------
--- 1.5 feature
------------------------------------------------
--- StatementNoShortIf -> EnhancedForStatementNoShortIf
-/:$readableName Statement:/
-
-StatementWithoutTrailingSubstatement -> Block
-StatementWithoutTrailingSubstatement -> EmptyStatement
-StatementWithoutTrailingSubstatement -> ExpressionStatement
-StatementWithoutTrailingSubstatement -> SwitchStatement
-StatementWithoutTrailingSubstatement -> DoStatement
-StatementWithoutTrailingSubstatement -> BreakStatement
-StatementWithoutTrailingSubstatement -> ContinueStatement
-StatementWithoutTrailingSubstatement -> ReturnStatement
--- StatementWithoutTrailingSubstatement -> SynchronizedStatement
-StatementWithoutTrailingSubstatement -> ThrowStatement
-StatementWithoutTrailingSubstatement -> TryStatement
-/:$readableName Statement:/
-
-EmptyStatement ::= ';'
-/.$putCase consumeEmptyStatement(); $break ./
-/:$readableName EmptyStatement:/
-/:$empty_statement:/
-
-LabeledStatement ::= Label ':' Statement
-/.$putCase consumeStatementLabel() ; $break ./
-/:$readableName LabeledStatement:/
-
-LabeledStatementNoShortIf ::= Label ':' StatementNoShortIf
-/.$putCase consumeStatementLabel() ; $break ./
-/:$readableName LabeledStatement:/
-
-Label ::= 'Identifier'
-/.$putCase consumeLabel() ; $break ./
-/:$readableName Label:/
-
-ExpressionStatement ::= StatementExpression ';'
-/. $putCase consumeExpressionStatement(); $break ./
--- ExpressionStatement ::= ExplicitConstructorInvocation
--- /:$readableName Statement:/
-
---StatementExpression ::= AssignmentStmt
-StatementExpression ::= ListExpressionStmt
---StatementExpression ::= PreIncrementExpression
---StatementExpression ::= PreDecrementExpression
---StatementExpression ::= PostIncrementExpressionStmt
---StatementExpression ::= PostDecrementExpressionStmt
---StatementExpression ::= MethodInvocationStmt
--- StatementExpression ::= ClassInstanceCreationExpression
-/:$readableName Expression:/
-
-
-StatementExpressionNoIn ::= ListExpressionStmtNoIn
-StatementExpressionNoIn ::= AssignmentStmtNoIn
-StatementExpressionNoIn ::= PreIncrementExpression
-StatementExpressionNoIn ::= PreDecrementExpression
-StatementExpressionNoIn ::= PostIncrementExpressionStmt
-StatementExpressionNoIn ::= PostDecrementExpressionStmt
-StatementExpressionNoIn ::= MethodInvocationStmt
-/:$readableName Expression:/
-
-IfThenStatement ::= 'if' '(' Expression ')' BlockStatement
-/.$putCase consumeStatementIfNoElse(); $break ./
-/:$readableName IfStatement:/
-
-IfThenElseStatement ::= 'if' '(' Expression ')' StatementNoShortIf 'else' BlockStatement
-/.$putCase consumeStatementIfWithElse(); $break ./
-/:$readableName IfStatement:/
-
-IfThenElseStatementNoShortIf ::= 'if' '(' Expression ')' StatementNoShortIf 'else' StatementNoShortIf
-/.$putCase consumeStatementIfWithElse(); $break ./
-/:$readableName IfStatement:/
-
-IfThenElseStatement ::= 'if' '(' Expression ')' LocalVariableDeclarationStatement 'else' BlockStatement
-/.$putCase consumeStatementIfWithElse(); $break ./
-/:$readableName IfStatement:/
-
-IfThenElseStatementNoShortIf ::= 'if' '(' Expression ')' LocalVariableDeclarationStatement 'else' LocalVariableDeclarationStatement
-/.$putCase consumeStatementIfWithElse(); $break ./
-/:$readableName IfStatement:/
-
-SwitchStatement ::= 'switch' '(' Expression ')' OpenBlock SwitchBlock
-/.$putCase consumeStatementSwitch() ; $break ./
-/:$readableName SwitchStatement:/
-
-SwitchBlock ::= '{' '}'
-/.$putCase consumeEmptySwitchBlock() ; $break ./
-
-SwitchBlock ::= '{' SwitchBlockStatements '}'
-SwitchBlock ::= '{' SwitchLabels '}'
-SwitchBlock ::= '{' SwitchBlockStatements SwitchLabels '}'
-/.$putCase consumeSwitchBlock() ; $break ./
-/:$readableName SwitchBlock:/
-
-SwitchBlockStatements -> SwitchBlockStatement
-SwitchBlockStatements ::= SwitchBlockStatements SwitchBlockStatement
-/.$putCase consumeSwitchBlockStatements() ; $break ./
-/:$readableName SwitchBlockStatements:/
-
-SwitchBlockStatement ::= SwitchLabels BlockStatements
-/.$putCase consumeSwitchBlockStatement() ; $break ./
-/:$readableName SwitchBlockStatement:/
-
-SwitchLabels -> SwitchLabel
-SwitchLabels ::= SwitchLabels SwitchLabel
-/.$putCase consumeSwitchLabels() ; $break ./
-/:$readableName SwitchLabels:/
-
-SwitchLabel ::= 'case' ConstantExpression ':'
-/. $putCase consumeCaseLabel(); $break ./
-
-SwitchLabel ::= 'default' ':'
-/. $putCase consumeDefaultLabel(); $break ./
-/:$readableName SwitchLabel:/
-
-WhileStatement ::= 'while' '(' Expression ')' Statement
-/.$putCase consumeStatementWhile() ; $break ./
-/:$readableName WhileStatement:/
-
-WhileStatementNoShortIf ::= 'while' '(' Expression ')' StatementNoShortIf
-/.$putCase consumeStatementWhile() ; $break ./
-/:$readableName WhileStatement:/
-
-WithStatement ::= 'with' '(' Expression ')' Statement
-/.$putCase consumeStatementWith() ; $break ./
-/:$readableName WithStatement:/
-
-WithStatementNoShortIf ::= 'with' '(' Expression ')' StatementNoShortIf
-/.$putCase consumeStatementWith() ; $break ./
-/:$readableName WithStatementNoShortIf:/
-
-DoStatement ::= 'do' Statement 'while' '(' Expression ')' ';'
-/.$putCase consumeStatementDo() ; $break ./
-/:$readableName DoStatement:/
-
-ForStatement ::= 'for' '(' ForInitopt ';' Expressionopt ';' ForUpdateopt ')' Statement
-/.$putCase consumeStatementFor() ; $break ./
-/:$readableName ForStatement:/
-
-ForStatement ::= 'for' '(' ForInInit 'in' Expression ')' Statement
-/.$putCase consumeStatementForIn() ; $break ./
-/:$readableName ForStatement:/
-
-ForStatementNoShortIf ::= 'for' '(' ForInitopt ';' Expressionopt ';' ForUpdateopt ')' StatementNoShortIf
-/.$putCase consumeStatementFor() ; $break ./
-/:$readableName ForStatement:/
-
-ForStatementNoShortIf ::= 'for' '(' ForInInit 'in' Expression ')' StatementNoShortIf
-/.$putCase consumeStatementForIn() ; $break ./
-/:$readableName ForStatement:/
-
-
--- SHOULD BE 'FullPostfixExpression', but that causes shift/reduce conflict
-ForInInit ::= SimpleName
-/.$putCase consumeForInInit() ; $break ./
-ForInInit -> LocalVariableDeclarationNoIn
-/:$readableName ForInit:/
-
---the minus one allows to avoid a stack-to-stack transfer
-ForInit ::= StatementExpressionListNoIn
-/.$putCase consumeForInit() ; $break ./
-ForInit -> LocalVariableDeclarationNoIn
-/:$readableName ForInit:/
-
-ForUpdate -> StatementExpressionList
-/:$readableName ForUpdate:/
-
-StatementExpressionList -> AssignmentExpression
-StatementExpressionList ::= StatementExpressionList ',' AssignmentExpression
-/.$putCase consumeStatementExpressionList() ; $break ./
-/:$readableName StatementExpressionList:/
-
-StatementExpressionListNoIn -> AssignmentExpressionNoIn
-StatementExpressionListNoIn ::= StatementExpressionListNoIn ',' AssignmentExpressionNoIn
-/.$putCase consumeStatementExpressionList() ; $break ./
-/:$readableName StatementExpressionList:/
-
-BreakStatement ::= 'break' ';'
-/.$putCase consumeStatementBreak() ; $break ./
-
-BreakStatement ::= 'break' Identifier ';'
-/.$putCase consumeStatementBreakWithLabel() ; $break ./
-/:$readableName BreakStatement:/
-
-ContinueStatement ::= 'continue' ';'
-/.$putCase consumeStatementContinue() ; $break ./
-
-ContinueStatement ::= 'continue' Identifier ';'
-/.$putCase consumeStatementContinueWithLabel() ; $break ./
-/:$readableName ContinueStatement:/
-
-ReturnStatement ::= 'return' Expressionopt ';'
-/.$putCase consumeStatementReturn() ; $break ./
-/:$readableName ReturnStatement:/
-
-ThrowStatement ::= 'throw' Expression ';'
-/.$putCase consumeStatementThrow(); $break ./
-/:$readableName ThrowStatement:/
-
---SynchronizedStatement ::= OnlySynchronized '(' Expression ')' Block
---/.$putCase consumeStatementSynchronized(); $break ./
---/:$readableName SynchronizedStatement:/
-
---OnlySynchronized ::= 'synchronized'
---/.$putCase consumeOnlySynchronized(); $break ./
---/:$readableName OnlySynchronized:/
-
-TryStatement ::= 'try' TryBlock Catches
-/.$putCase consumeStatementTry(false); $break ./
-TryStatement ::= 'try' TryBlock Catchesopt Finally
-/.$putCase consumeStatementTry(true); $break ./
-/:$readableName TryStatement:/
-
-TryBlock ::= Block ExitTryBlock
-/:$readableName Block:/
-
-ExitTryBlock ::= $empty
-/.$putCase consumeExitTryBlock(); $break ./
-/:$readableName ExitTryBlock:/
-
-Catches -> CatchClause
-Catches ::= Catches CatchClause
-/.$putCase consumeCatches(); $break ./
-/:$readableName Catches:/
-
-CatchClause ::= 'catch' '(' FormalParameter ')' Block
-/.$putCase consumeStatementCatch() ; $break ./
-/:$readableName CatchClause:/
-
-Finally ::= 'finally' Block
-/:$readableName Finally:/
-
---18.12 Productions from 14: Expressions
-
---for source positionning purpose
-PushLPAREN ::= '('
-/.$putCase consumeLeftParen(); $break ./
-/:$readableName (:/
-/:$recovery_template (:/
-PushRPAREN ::= ')'
-/.$putCase consumeRightParen(); $break ./
-/:$readableName ):/
-/:$recovery_template ):/
-
-Primary -> PrimaryNoNewArray
-Primary -> ArrayLiteral
-Primary -> ObjectLiteral
-Primary -> FunctionExpression
-/:$readableName Primary:/
-
-PrimaryNoNewArray -> Literal
-PrimaryNoNewArray ::= 'this'
-/.$putCase consumePrimaryNoNewArrayThis(); $break ./
-
-PrimaryNoNewArray ::= PushLPAREN AssignmentExpression PushRPAREN
-/.$putCase consumePrimaryNoNewArray(); $break ./
-
--- PrimaryNoNewArray ::= PushLPAREN Name PushRPAREN
--- /.$putCase consumePrimaryNoNewArrayWithName(); $break ./
-
--- PrimaryNoNewArray -> ClassInstanceCreationExpression
--- PrimaryNoNewArray -> FieldAccess
---1.1 feature
--- PrimaryNoNewArray ::= Name '.' 'this'
--- /.$putCase consumePrimaryNoNewArrayNameThis(); $break ./
--- PrimaryNoNewArray ::= Name '.' 'super'
--- /.$putCase consumePrimaryNoNewArrayNameSuper(); $break ./
-
---1.1 feature
---PrimaryNoNewArray ::= Type '.' 'class'
---inline Type in the previous rule in order to make the grammar LL1 instead
--- of LL2. The result is the 3 next rules.
-
--- PrimaryNoNewArray ::= Name '.' 'class'
--- /.$putCase consumePrimaryNoNewArrayName(); $break ./
-
--- PrimaryNoNewArray ::= Name Dims '.' 'class'
--- /.$putCase consumePrimaryNoNewArrayArrayType(); $break ./
-
--- PrimaryNoNewArray ::= PrimitiveType Dims '.' 'class'
--- /.$putCase consumePrimaryNoNewArrayPrimitiveArrayType(); $break ./
-
--- PrimaryNoNewArray ::= PrimitiveType '.' 'class'
--- /.$putCase consumePrimaryNoNewArrayPrimitiveType(); $break ./
-
--- PrimaryNoNewArray -> MethodInvocation
--- PrimaryNoNewArray -> ArrayAccess
-/:$readableName Expression:/
---1.1 feature
---
--- In Java 1.0 a ClassBody could not appear at all in a
--- ClassInstanceCreationExpression.
---
-
-ObjectLiteral ::= '{'PushLeftBraceObjLit FieldList '}'
-/.$putCase consumeObjectLiteral(); $break ./
-/:$readableName ObjectLiteral:/
-
-FieldList ::= $empty
-/.$putCase consumeEmptyFieldList(); $break ./
-FieldList -> NonemptyFieldList
-/:$readableName FieldList:/
-
-NonemptyFieldList -> LiteralField
-NonemptyFieldList ::= NonemptyFieldList ',' LiteralField
-/.$putCase consumeFieldList(); $break ./
-/:$readableName NonemptyFieldList:/
-
-LiteralField ::= FieldName ':' AssignmentExpression
-/.$putCase consumeLiteralField(); $break ./
-/:$readableName LiteralField:/
-
-FieldName ::= SimpleName
-/.$putCase consumeFieldNameSimple(); $break ./
-FieldName -> StringLiteral
-FieldName -> CharacterLiteral
-FieldName -> IntegerLiteral
-/:$readableName FieldName:/
-
-ArrayLiteral ::= ArrayLiteralHeader ElisionOpt ']'
-/.$putCase comsumeArrayLiteral(false); $break ./
-
-ArrayLiteral ::= ArrayLiteralHeader ArrayLiteralElementList ']'
-/.$putCase comsumeArrayLiteral(false); $break ./
-/:$readableName ArrayLiteral:/
-
-ArrayLiteral ::= ArrayLiteralHeader ArrayLiteralElementList ',' ElisionOpt ']'
-/.$putCase comsumeArrayLiteral(true); $break ./
-/:$readableName ArrayLiteral:/
-
-ArrayLiteralHeader ::= '['
-/.$putCase comsumeArrayLiteralHeader(); $break ./
-
-ElisionOpt ::= $empty
-/.$putCase comsumeElisionEmpty(); $break ./
-ElisionOpt -> Elision
-
-Elision ::= ','
-/.$putCase comsumeElisionOne(); $break ./
-Elision ::= Elision ','
-/.$putCase comsumeElisionList(); $break ./
-
-ArrayLiteralElementList ::= ElisionOpt ArrayLiteralElement
-/.$putCase comsumeArrayLiteralListOne(); $break ./
-ArrayLiteralElementList ::= ArrayLiteralElementList ',' ElisionOpt ArrayLiteralElement
-/.$putCase comsumeArrayLiteralList(); $break ./
-
--- ArrayLiteralElement ::= $empty
--- /.$putCase comsumeElementListEmpty(); $break ./
-ArrayLiteralElement ::= AssignmentExpression
-/.$putCase comsumeArrayLiteralElement(); $break ./
-/:$readableName ArrayLiteralElement:/
-
-FullNewExpression ::= 'new' FullNewSubexpression '(' ArgumentListopt ')'
-/.$putCase consumeFullNewExpression(); $break ./
-/:$readableName FullNewExpression:/
-
-FullNewSubexpression -> Primary
-FullNewSubexpression ::= SimpleName
-/.$putCase consumeFullNewSubexpressionSimpleName (); $break ./
-FullNewSubexpression -> FullNewExpression
-FullNewSubexpression ::= FullNewSubexpression PropertyOperator
-/.$putCase consumeFullNewSubexpressionPropertyOperator(); $break ./
-/:$readableName FullNewSubexpression:/
-
-ShortNewExpression ::= 'new' ShortNewSubexpression
-/.$putCase comsumeShortNewSubexpression(); $break ./
-/:$readableName ShortNewExpression:/
-
-
-ShortNewSubexpression -> FullNewSubexpression
-ShortNewSubexpression -> ShortNewExpression
-/:$readableName ShortNewSubexpression:/
-
-PropertyOperator ::= '.' SimpleName
-/.$putCase consumePropertyOperator() ; $break ./
-PropertyOperator -> Brackets
-/.$putCase consumePropertyOperatorBrackets() ; $break ./
-/:$readableName PropertyOperator:/
-
-Brackets ::= '[' Expression ']'
-/.$putCase consumeListExpressionBrackets() ; $break ./
-/:$readableName Brackets:/
-
-
-ListExpression -> AssignmentExpression
-ListExpression ::= ListExpression ',' AssignmentExpression
-/.$putCase consumeListExpression(); $break ./
-/:$readableName ListExpression:/
-
-ListExpressionNoIn -> AssignmentExpressionNoIn
-ListExpressionNoIn ::= ListExpressionNoIn ',' AssignmentExpressionNoIn
-/.$putCase consumeListExpression(); $break ./
-/:$readableName ListExpression:/
-
-ListExpressionStmt -> AssignmentExpressionStmt
-ListExpressionStmt ::= ListExpressionStmt ',' AssignmentExpressionStmt
-/.$putCase consumeListExpression(); $break ./
-/:$readableName ListExpression:/
-
-
-ListExpressionStmtNoIn -> AssignmentStmtNoIn
-ListExpressionStmtNoIn ::= ListExpressionStmtNoIn ',' AssignmentStmtNoIn
-/.$putCase consumeListExpression(); $break ./
-/:$readableName ListExpression:/
-
-
-
--- AllocationHeader ::= 'new' ClassType '(' ArgumentListopt ')'
--- /.$putCase consumeAllocationHeader(); $break ./
--- /:$readableName AllocationHeader:/
-
--- ClassInstanceCreationExpression ::= 'new' OnlyTypeArguments ClassType '(' ArgumentListopt ')' ClassBodyopt
--- /.$putCase consumeClassInstanceCreationExpressionWithTypeArguments(); $break ./
-
--- ClassInstanceCreationExpression ::= 'new' ClassType '(' ArgumentListopt ')' ClassBodyopt
--- /.$putCase consumeClassInstanceCreationExpression(); $break ./
---1.1 feature
-
--- ClassInstanceCreationExpression ::= Primary '.' 'new' OnlyTypeArguments ClassType '(' ArgumentListopt ')' ClassBodyopt
--- /.$putCase consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; $break ./
-
--- ClassInstanceCreationExpression ::= Primary '.' 'new' ClassType '(' ArgumentListopt ')' ClassBodyopt
--- /.$putCase consumeClassInstanceCreationExpressionQualified() ; $break ./
-
---1.1 feature
--- ClassInstanceCreationExpression ::= ClassInstanceCreationExpressionName 'new' ClassType '(' ArgumentListopt ')' ClassBodyopt
--- /.$putCase consumeClassInstanceCreationExpressionQualified() ; $break ./
--- /:$readableName ClassInstanceCreationExpression:/
-
--- ClassInstanceCreationExpression ::= ClassInstanceCreationExpressionName 'new' OnlyTypeArguments ClassType '(' ArgumentListopt ')' ClassBodyopt
--- /.$putCase consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; $break ./
--- /:$readableName ClassInstanceCreationExpression:/
-
--- ClassInstanceCreationExpressionName ::= Name '.'
--- /.$putCase consumeClassInstanceCreationExpressionName() ; $break ./
--- /:$readableName ClassInstanceCreationExpressionName:/
-
--- ClassBodyopt ::= $empty --test made using null as contents
--- /.$putCase consumeClassBodyopt(); $break ./
--- ClassBodyopt ::= EnterAnonymousClassBody ClassBody
--- /:$readableName ClassBody:/
--- /:$no_statements_recovery:/
-
--- EnterAnonymousClassBody ::= $empty
--- /.$putCase consumeEnterAnonymousClassBody(); $break ./
--- /:$readableName EnterAnonymousClassBody:/
-
-ArgumentList ::= AssignmentExpression
-ArgumentList ::= ArgumentList ',' AssignmentExpression
-/.$putCase consumeArgumentList(); $break ./
-/:$readableName ArgumentList:/
-
--- ArrayCreationHeader ::= 'new' PrimitiveType DimWithOrWithOutExprs
--- /.$putCase consumeArrayCreationHeader(); $break ./
-
--- ArrayCreationHeader ::= 'new' ClassOrInterfaceType DimWithOrWithOutExprs
--- /.$putCase consumeArrayCreationHeader(); $break ./
--- /:$readableName ArrayCreationHeader:/
-
--- ArrayCreationWithoutArrayInitializer ::= 'new' PrimitiveType DimWithOrWithOutExprs
--- /.$putCase consumeArrayCreationExpressionWithoutInitializer(); $break ./
--- /:$readableName ArrayCreationWithoutArrayInitializer:/
-
--- ArrayCreationWithArrayInitializer ::= 'new' PrimitiveType DimWithOrWithOutExprs ArrayInitializer
--- /.$putCase consumeArrayCreationExpressionWithInitializer(); $break ./
--- /:$readableName ArrayCreationWithArrayInitializer:/
-
--- ArrayCreationWithoutArrayInitializer ::= 'new' ClassOrInterfaceType DimWithOrWithOutExprs
--- /.$putCase consumeArrayCreationExpressionWithoutInitializer(); $break ./
-
--- ArrayCreationWithArrayInitializer ::= 'new' ClassOrInterfaceType DimWithOrWithOutExprs ArrayInitializer
--- /.$putCase consumeArrayCreationExpressionWithInitializer(); $break ./
-
--- DimWithOrWithOutExprs ::= DimWithOrWithOutExpr
--- DimWithOrWithOutExprs ::= DimWithOrWithOutExprs DimWithOrWithOutExpr
--- /.$putCase consumeDimWithOrWithOutExprs(); $break ./
--- /:$readableName Dimensions:/
-
--- DimWithOrWithOutExpr ::= '[' Expression ']'
--- DimWithOrWithOutExpr ::= '[' ']'
--- /. $putCase consumeDimWithOrWithOutExpr(); $break ./
--- /:$readableName Dimension:/
--- -----------------------------------------------
-
--- Dims ::= DimsLoop
--- /. $putCase consumeDims(); $break ./
--- /:$readableName Dimensions:/
--- DimsLoop -> OneDimLoop
--- DimsLoop ::= DimsLoop OneDimLoop
--- /:$readableName Dimensions:/
--- OneDimLoop ::= '[' ']'
--- /. $putCase consumeOneDimLoop(); $break ./
--- /:$readableName Dimension:/
-
-FieldAccess ::= Primary '.' 'Identifier'
-/.$putCase consumeFieldAccess(false); $break ./
-
--- FieldAccess ::= 'super' '.' 'Identifier'
--- /.$putCase consumeFieldAccess(true); $break ./
--- /:$readableName FieldAccess:/
-
--- MethodInvocation ::= Name '(' ArgumentListopt ')'
--- /.$putCase consumeMethodInvocationName(); $break ./
-
--- MethodInvocation ::= Name '.' OnlyTypeArguments 'Identifier' '(' ArgumentListopt ')'
--- /.$putCase consumeMethodInvocationNameWithTypeArguments(); $break ./
-
--- MethodInvocation ::= Primary '.' OnlyTypeArguments 'Identifier' '(' ArgumentListopt ')'
--- /.$putCase consumeMethodInvocationPrimaryWithTypeArguments(); $break ./
-
--- MethodInvocation ::= Primary '.' 'Identifier' '(' ArgumentListopt ')'
--- /.$putCase consumeMethodInvocationPrimary(); $break ./
-
--- MethodInvocation ::= 'super' '.' OnlyTypeArguments 'Identifier' '(' ArgumentListopt ')'
--- /.$putCase consumeMethodInvocationSuperWithTypeArguments(); $break ./
-
--- MethodInvocation ::= 'super' '.' 'Identifier' '(' ArgumentListopt ')'
--- /.$putCase consumeMethodInvocationSuper(); $break ./
-
--- MethodInvocation ::= SimpleName '(' ArgumentListopt ')'
--- /.$putCase consumeMethodInvocationName(); $break ./
-
-MethodInvocation ::= FullPostfixExpression '(' ArgumentListopt ')'
-/.$putCase consumeMethodInvocationPrimary(); $break ./
-/:$readableName MethodInvocation:/
-
--- ArrayAccess ::= Name '[' Expression ']'
--- /.$putCase consumeArrayAccess(true); $break ./
--- ArrayAccess ::= PrimaryNoNewArray '[' Expression ']'
--- /.$putCase consumeArrayAccess(false); $break ./
--- ArrayAccess ::= ArrayCreationWithArrayInitializer '[' Expression ']'
--- /.$putCase consumeArrayAccess(false); $break ./
--- /:$readableName ArrayAccess:/
-
-
-
-PostfixExpression -> FullPostfixExpression
-PostfixExpression -> ShortNewExpression
-
--- PostfixExpression -> Primary
--- PostfixExpression ::= Name
--- /.$putCase consumePostfixExpression(); $break ./
--- PostfixExpression -> PostIncrementExpression
--- PostfixExpression -> PostDecrementExpression
--- /:$readableName Expression:/
-
-FullPostfixExpression -> Primary
--- used identifier instead FullPostfixExpression -> ExpressionQualifiedIdentifier
-FullPostfixExpression ::= SimpleName
-/.$putCase consumePostfixExpression(); $break ./
-FullPostfixExpression -> FullNewExpression
-FullPostfixExpression ::= FullPostfixExpression PropertyOperator
-/.$putCase consumeFullPropertyOperator(); $break ./
-FullPostfixExpression ::= MethodInvocation
-/.$putCase consumeMethodInvocation(); $break ./
-FullPostfixExpression -> PostIncrementExpression
-FullPostfixExpression -> PostDecrementExpression
--- /:$readableName FullPostfixExpression:/
-
-
-
-PostIncrementExpression ::= PostfixExpression '++'
-/.$putCase consumeUnaryExpression(OperatorIds.PLUS,true); $break ./
-/:$readableName PostIncrementExpression:/
-
-PostDecrementExpression ::= PostfixExpression '--'
-/.$putCase consumeUnaryExpression(OperatorIds.MINUS,true); $break ./
-/:$readableName PostDecrementExpression:/
-
---for source managment purpose
-PushPosition ::= $empty
- /.$putCase consumePushPosition(); $break ./
-/:$readableName PushPosition:/
-
-UnaryExpression -> PreIncrementExpression
-UnaryExpression -> PreDecrementExpression
-UnaryExpression ::= '+' PushPosition UnaryExpression
-/.$putCase consumeUnaryExpression(OperatorIds.PLUS); $break ./
-UnaryExpression ::= '-' PushPosition UnaryExpression
-/.$putCase consumeUnaryExpression(OperatorIds.MINUS); $break ./
-UnaryExpression -> UnaryExpressionNotPlusMinus
-/:$readableName Expression:/
-
-PreIncrementExpression ::= '++' PushPosition UnaryExpression
-/.$putCase consumeUnaryExpression(OperatorIds.PLUS,false); $break ./
-/:$readableName PreIncrementExpression:/
-
-PreDecrementExpression ::= '--' PushPosition UnaryExpression
-/.$putCase consumeUnaryExpression(OperatorIds.MINUS,false); $break ./
-/:$readableName PreDecrementExpression:/
-
-UnaryExpressionNotPlusMinus -> PostfixExpression
-UnaryExpressionNotPlusMinus ::= '~' PushPosition UnaryExpression
-/.$putCase consumeUnaryExpression(OperatorIds.TWIDDLE); $break ./
-UnaryExpressionNotPlusMinus ::= '!' PushPosition UnaryExpression
-/.$putCase consumeUnaryExpression(OperatorIds.NOT); $break ./
-UnaryExpressionNotPlusMinus ::= 'delete' PushPosition UnaryExpression
-/.$putCase consumeUnaryExpression(OperatorIds.DELETE); $break ./
-UnaryExpressionNotPlusMinus ::= 'void' PushPosition UnaryExpression
-/.$putCase consumeUnaryExpression(OperatorIds.VOID); $break ./
-UnaryExpressionNotPlusMinus ::= 'typeof' PushPosition UnaryExpression
-/.$putCase consumeUnaryExpression(OperatorIds.TYPEOF); $break ./
--- UnaryExpressionNotPlusMinus -> CastExpression
-/:$readableName Expression:/
-
--- CastExpression ::= PushLPAREN PrimitiveType Dimsopt PushRPAREN InsideCastExpression UnaryExpression
--- /.$putCase consumeCastExpressionWithPrimitiveType(); $break ./
--- CastExpression ::= PushLPAREN Name OnlyTypeArgumentsForCastExpression Dimsopt PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus
--- /.$putCase consumeCastExpressionWithGenericsArray(); $break ./
--- CastExpression ::= PushLPAREN Name OnlyTypeArgumentsForCastExpression '.' ClassOrInterfaceType Dimsopt PushRPAREN InsideCastExpressionWithQualifiedGenerics UnaryExpressionNotPlusMinus
--- /.$putCase consumeCastExpressionWithQualifiedGenericsArray(); $break ./
--- CastExpression ::= PushLPAREN Name PushRPAREN InsideCastExpressionLL1 UnaryExpressionNotPlusMinus
--- /.$putCase consumeCastExpressionLL1(); $break ./
--- CastExpression ::= PushLPAREN Name Dims PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus
--- /.$putCase consumeCastExpressionWithNameArray(); $break ./
--- /:$readableName CastExpression:/
-
--- OnlyTypeArgumentsForCastExpression ::= OnlyTypeArguments
--- /.$putCase consumeOnlyTypeArgumentsForCastExpression(); $break ./
--- /:$readableName TypeArguments:/
-
--- InsideCastExpression ::= $empty
--- /.$putCase consumeInsideCastExpression(); $break ./
--- /:$readableName InsideCastExpression:/
--- InsideCastExpressionLL1 ::= $empty
--- /.$putCase consumeInsideCastExpressionLL1(); $break ./
--- /:$readableName InsideCastExpression:/
--- InsideCastExpressionWithQualifiedGenerics ::= $empty
--- /.$putCase consumeInsideCastExpressionWithQualifiedGenerics(); $break ./
--- /:$readableName InsideCastExpression:/
-
-MultiplicativeExpression -> UnaryExpression
-MultiplicativeExpression ::= MultiplicativeExpression '*' UnaryExpression
-/.$putCase consumeBinaryExpression(OperatorIds.MULTIPLY); $break ./
-MultiplicativeExpression ::= MultiplicativeExpression '/' UnaryExpression
-/.$putCase consumeBinaryExpression(OperatorIds.DIVIDE); $break ./
-MultiplicativeExpression ::= MultiplicativeExpression '%' UnaryExpression
-/.$putCase consumeBinaryExpression(OperatorIds.REMAINDER); $break ./
-/:$readableName Expression:/
-
-AdditiveExpression -> MultiplicativeExpression
-AdditiveExpression ::= AdditiveExpression '+' MultiplicativeExpression
-/.$putCase consumeBinaryExpression(OperatorIds.PLUS); $break ./
-AdditiveExpression ::= AdditiveExpression '-' MultiplicativeExpression
-/.$putCase consumeBinaryExpression(OperatorIds.MINUS); $break ./
-/:$readableName Expression:/
-
-ShiftExpression -> AdditiveExpression
-ShiftExpression ::= ShiftExpression '<<' AdditiveExpression
-/.$putCase consumeBinaryExpression(OperatorIds.LEFT_SHIFT); $break ./
-ShiftExpression ::= ShiftExpression '>>' AdditiveExpression
-/.$putCase consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); $break ./
-ShiftExpression ::= ShiftExpression '>>>' AdditiveExpression
-/.$putCase consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); $break ./
-/:$readableName Expression:/
-
-
---
---RelationalExpression
---
-RelationalExpression -> ShiftExpression
-RelationalExpression ::= RelationalExpression '<' ShiftExpression
-/.$putCase consumeBinaryExpression(OperatorIds.LESS); $break ./
-RelationalExpression ::= RelationalExpression '>' ShiftExpression
-/.$putCase consumeBinaryExpression(OperatorIds.GREATER); $break ./
-RelationalExpression ::= RelationalExpression '<=' ShiftExpression
-/.$putCase consumeBinaryExpression(OperatorIds.LESS_EQUAL); $break ./
-RelationalExpression ::= RelationalExpression '>=' ShiftExpression
-/.$putCase consumeBinaryExpression(OperatorIds.GREATER_EQUAL); $break ./
-RelationalExpression ::= RelationalExpression 'instanceof' ShiftExpression
-/.$putCase consumeBinaryExpression(OperatorIds.INSTANCEOF); $break ./
-RelationalExpression ::= RelationalExpression 'in' ShiftExpression
-/.$putCase consumeBinaryExpression(OperatorIds.IN); $break ./
-/:$readableName Expression:/
-
-RelationalExpressionNoIn -> ShiftExpression
-RelationalExpressionNoIn ::= RelationalExpressionNoIn '<' ShiftExpression
-/.$putCase consumeBinaryExpression(OperatorIds.LESS); $break ./
-RelationalExpressionNoIn ::= RelationalExpressionNoIn '>' ShiftExpression
-/.$putCase consumeBinaryExpression(OperatorIds.GREATER); $break ./
-RelationalExpressionNoIn ::= RelationalExpressionNoIn '<=' ShiftExpression
-/.$putCase consumeBinaryExpression(OperatorIds.LESS_EQUAL); $break ./
-RelationalExpressionNoIn ::= RelationalExpressionNoIn '>=' ShiftExpression
-/.$putCase consumeBinaryExpression(OperatorIds.GREATER_EQUAL); $break ./
-RelationalExpressionNoIn ::= RelationalExpressionNoIn 'instanceof' ShiftExpression
-/.$putCase consumeBinaryExpression(OperatorIds.INSTANCEOF); $break ./
-/:$readableName Expression:/
-
---
---EqualityExpression
---
-
-EqualityExpression -> RelationalExpression
-EqualityExpression ::= EqualityExpression '==' RelationalExpression
-/.$putCase consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); $break ./
-EqualityExpression ::= EqualityExpression '!=' RelationalExpression
-/.$putCase consumeEqualityExpression(OperatorIds.NOT_EQUAL); $break ./
-EqualityExpression ::= EqualityExpression '===' RelationalExpression
-/.$putCase consumeEqualityExpression(OperatorIds.EQUAL_EQUAL_EQUAL); $break ./
-EqualityExpression ::= EqualityExpression '!==' RelationalExpression
-/.$putCase consumeEqualityExpression(OperatorIds.NOT_EQUAL_EQUAL); $break ./
-/:$readableName Expression:/
-
-EqualityExpressionNoIn -> RelationalExpressionNoIn
-EqualityExpressionNoIn ::= EqualityExpressionNoIn '==' RelationalExpressionNoIn
-/.$putCase consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); $break ./
-EqualityExpressionNoIn ::= EqualityExpressionNoIn '!=' RelationalExpressionNoIn
-/.$putCase consumeEqualityExpression(OperatorIds.NOT_EQUAL); $break ./
-EqualityExpressionNoIn ::= EqualityExpressionNoIn '===' RelationalExpressionNoIn
-/.$putCase consumeEqualityExpression(OperatorIds.EQUAL_EQUAL_EQUAL); $break ./
-EqualityExpressionNoIn ::= EqualityExpressionNoIn '!==' RelationalExpressionNoIn
-/.$putCase consumeEqualityExpression(OperatorIds.NOT_EQUAL_EQUAL); $break ./
-/:$readableName Expression:/
-
---
---AndExpression
---
-AndExpression -> EqualityExpression
-AndExpression ::= AndExpression '&' EqualityExpression
-/.$putCase consumeBinaryExpression(OperatorIds.AND); $break ./
-/:$readableName Expression:/
-
-AndExpressionNoIn -> EqualityExpressionNoIn
-AndExpressionNoIn ::= AndExpressionNoIn '&' EqualityExpressionNoIn
-/.$putCase consumeBinaryExpression(OperatorIds.AND); $break ./
-/:$readableName Expression:/
-
---
---ExclusiveOrExpression
---
-ExclusiveOrExpression -> AndExpression
-ExclusiveOrExpression ::= ExclusiveOrExpression '^' AndExpression
-/.$putCase consumeBinaryExpression(OperatorIds.XOR); $break ./
-/:$readableName Expression:/
-
-ExclusiveOrExpressionNoIn -> AndExpressionNoIn
-ExclusiveOrExpressionNoIn ::= ExclusiveOrExpressionNoIn '^' AndExpressionNoIn
-/.$putCase consumeBinaryExpression(OperatorIds.XOR); $break ./
-/:$readableName Expression:/
-
---
---InclusiveOrExpression
---
-InclusiveOrExpression -> ExclusiveOrExpression
-InclusiveOrExpression ::= InclusiveOrExpression '|' ExclusiveOrExpression
-/.$putCase consumeBinaryExpression(OperatorIds.OR); $break ./
-/:$readableName Expression:/
-
-InclusiveOrExpressionNoIn -> ExclusiveOrExpressionNoIn
-InclusiveOrExpressionNoIn ::= InclusiveOrExpressionNoIn '|' ExclusiveOrExpressionNoIn
-/.$putCase consumeBinaryExpression(OperatorIds.OR); $break ./
-/:$readableName Expression:/
-
---
---ConditionalAndExpression
---
-ConditionalAndExpression -> InclusiveOrExpression
-ConditionalAndExpression ::= ConditionalAndExpression '&&' InclusiveOrExpression
-/.$putCase consumeBinaryExpression(OperatorIds.AND_AND); $break ./
-/:$readableName Expression:/
-
-ConditionalAndExpressionNoIn -> InclusiveOrExpressionNoIn
-ConditionalAndExpressionNoIn ::= ConditionalAndExpressionNoIn '&&' InclusiveOrExpressionNoIn
-/.$putCase consumeBinaryExpression(OperatorIds.AND_AND); $break ./
-/:$readableName Expression:/
-
---
---ConditionalOrExpression
---
-ConditionalOrExpression -> ConditionalAndExpression
-ConditionalOrExpression ::= ConditionalOrExpression '||' ConditionalAndExpression
-/.$putCase consumeBinaryExpression(OperatorIds.OR_OR); $break ./
-/:$readableName Expression:/
-
-ConditionalOrExpressionNoIn -> ConditionalAndExpressionNoIn
-ConditionalOrExpressionNoIn ::= ConditionalOrExpressionNoIn '||' ConditionalAndExpressionNoIn
-/.$putCase consumeBinaryExpression(OperatorIds.OR_OR); $break ./
-/:$readableName Expression:/
-
---
---ConditionalExpression
---
-ConditionalExpression -> ConditionalOrExpression
-ConditionalExpression ::= ConditionalOrExpression '?' AssignmentExpression ':' AssignmentExpression
-/.$putCase consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; $break ./
-/:$readableName Expression:/
-
-ConditionalExpressionNoIn -> ConditionalOrExpressionNoIn
-ConditionalExpressionNoIn ::= ConditionalOrExpressionNoIn '?' AssignmentExpressionNoIn ':' AssignmentExpressionNoIn
-/.$putCase consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; $break ./
-/:$readableName Expression:/
-
---
---AssignmentExpression
---
-AssignmentExpression -> ConditionalExpression
-AssignmentExpression -> Assignment
-/:$readableName Expression:/
-/:$recovery_template Identifier:/
-
-AssignmentExpressionNoIn -> ConditionalExpressionNoIn
-AssignmentExpressionNoIn -> AssignmentNoIn
-/:$readableName Expression:/
-/:$recovery_template Identifier:/
-
---
---Assignment
---
-Assignment ::= PostfixExpression AssignmentOperator AssignmentExpression
-/.$putCase consumeAssignment(); $break ./
-/:$readableName Assignment:/
-
-AssignmentNoIn ::= PostfixExpression AssignmentOperator AssignmentExpressionNoIn
-/.$putCase consumeAssignment(); $break ./
-/:$readableName Assignment:/
-
--- this rule is added to parse an array initializer in a assigment and then report a syntax error knowing the exact senario
--- InvalidArrayInitializerAssignement ::= PostfixExpression AssignmentOperator ArrayInitializer
--- /:$readableName ArrayInitializerAssignment:/
--- /:$recovery:/
--- Assignment ::= InvalidArrayInitializerAssignement
--- /.$putcase ignoreExpressionAssignment();$break ./
--- /:$recovery:/
-
-AssignmentOperator ::= '='
-/.$putCase consumeAssignmentOperator(EQUAL); $break ./
-AssignmentOperator ::= '*='
-/.$putCase consumeAssignmentOperator(MULTIPLY); $break ./
-AssignmentOperator ::= '/='
-/.$putCase consumeAssignmentOperator(DIVIDE); $break ./
-AssignmentOperator ::= '%='
-/.$putCase consumeAssignmentOperator(REMAINDER); $break ./
-AssignmentOperator ::= '+='
-/.$putCase consumeAssignmentOperator(PLUS); $break ./
-AssignmentOperator ::= '-='
-/.$putCase consumeAssignmentOperator(MINUS); $break ./
-AssignmentOperator ::= '<<='
-/.$putCase consumeAssignmentOperator(LEFT_SHIFT); $break ./
-AssignmentOperator ::= '>>='
-/.$putCase consumeAssignmentOperator(RIGHT_SHIFT); $break ./
-AssignmentOperator ::= '>>>='
-/.$putCase consumeAssignmentOperator(UNSIGNED_RIGHT_SHIFT); $break ./
-AssignmentOperator ::= '&='
-/.$putCase consumeAssignmentOperator(AND); $break ./
-AssignmentOperator ::= '^='
-/.$putCase consumeAssignmentOperator(XOR); $break ./
-AssignmentOperator ::= '|='
-/.$putCase consumeAssignmentOperator(OR); $break ./
-/:$readableName AssignmentOperator:/
-/:$recovery_template =:/
-
--- Expression -> AssignmentExpression
-Expression -> ListExpression
-/:$readableName Expression:/
-/:$recovery_template Identifier:/
-
--- ExpressionNoIn -> AssignmentExpressionNoIn
-ExpressionNoIn -> ListExpressionNoIn
-/:$readableName Expression:/
-/:$recovery_template Identifier:/
-
--- The following rules are for optional nonterminals.
---
--- ClassHeaderExtendsopt ::= $empty
--- ClassHeaderExtendsopt -> ClassHeaderExtends
--- /:$readableName ClassHeaderExtends:/
-
-Expressionopt ::= $empty
-/.$putCase consumeEmptyExpression(); $break ./
-Expressionopt -> Expression
-/:$readableName Expression:/
-
-ConstantExpression -> Expression
-/:$readableName ConstantExpression:/
-
-
-
---
--- Disambigate OpenBlock and ObjectLiteral
---
-PrimaryStmt -> PrimaryNoNewArrayStmt
-PrimaryStmt -> ArrayLiteral
-/:$readableName PrimaryStmt:/
-
-PrimaryNoNewArrayStmt -> Literal
-PrimaryNoNewArrayStmt ::= 'this'
-/.$putCase consumePrimaryNoNewArrayThis(); $break ./
-
-PrimaryNoNewArrayStmt ::= PushLPAREN AssignmentExpression PushRPAREN
-/.$putCase consumePrimaryNoNewArray(); $break ./
-
-
-
-
-FullNewExpressionStmt ::= 'new' FullNewSubexpression '(' ArgumentListopt ')'
-/.$putCase consumeFullNewExpression(); $break ./
-/:$readableName FullNewExpression:/
-
-FullNewSubexpressionStmt -> PrimaryStmt
-FullNewSubexpressionStmt ::= SimpleName
-/.$putCase consumeFullNewSubexpressionSimpleName (); $break ./
-FullNewSubexpressionStmt -> FullNewExpressionStmt
-FullNewSubexpressionStmt ::= FullNewSubexpressionStmt PropertyOperator
-/.$putCase consumeFullNewSubexpressionPropertyOperator(); $break ./
-/:$readableName FullNewSubexpression:/
-
-ShortNewExpressionStmt ::= 'new' ShortNewSubexpression
-/.$putCase comsumeShortNewSubexpression(); $break ./
-/:$readableName ShortNewExpression:/
-
-
-ShortNewSubexpressionStmt -> FullNewSubexpressionStmt
-ShortNewSubexpressionStmt -> ShortNewExpressionStmt
-/:$readableName ShortNewSubexpression:/
-
---MethodInvocationStmt ::= SimpleName '(' ArgumentListopt ')'
---/.$putCase consumeMethodInvocationName(); $break ./
-
-MethodInvocationStmt ::= FullPostfixExpressionStmt '(' ArgumentListopt ')'
-/.$putCase consumeMethodInvocationPrimary(); $break ./
-/:$readableName MethodInvocation:/
-
-PostfixExpressionStmt -> FullPostfixExpressionStmt
-PostfixExpressionStmt -> ShortNewExpressionStmt
-
-
-
-FullPostfixExpressionStmt -> PrimaryStmt
--- used identifier instead FullPostfixExpression -> ExpressionQualifiedIdentifier
-FullPostfixExpressionStmt ::= SimpleName
-/.$putCase consumePostfixExpression(); $break ./
-FullPostfixExpressionStmt -> FullNewExpressionStmt
-FullPostfixExpressionStmt ::= FullPostfixExpressionStmt PropertyOperator
-/.$putCase consumeFullPropertyOperator(); $break ./
-FullPostfixExpressionStmt ::= MethodInvocationStmt
-/.$putCase consumeMethodInvocation(); $break ./
-FullPostfixExpressionStmt -> PostIncrementExpressionStmt
-FullPostfixExpressionStmt -> PostDecrementExpressionStmt
--- /:$readableName FullPostfixExpression:/
-
-
-
-PostIncrementExpressionStmt ::= PostfixExpressionStmt '++'
-/.$putCase consumeUnaryExpression(OperatorIds.PLUS,true); $break ./
-/:$readableName PostIncrementExpression:/
-
-PostDecrementExpressionStmt ::= PostfixExpressionStmt '--'
-/.$putCase consumeUnaryExpression(OperatorIds.MINUS,true); $break ./
-/:$readableName PostDecrementExpression:/
-
-UnaryExpressionStmt -> PreIncrementExpression
-UnaryExpressionStmt -> PreDecrementExpression
-UnaryExpressionStmt ::= '+' PushPosition UnaryExpression
-/.$putCase consumeUnaryExpression(OperatorIds.PLUS); $break ./
-UnaryExpressionStmt ::= '-' PushPosition UnaryExpression
-/.$putCase consumeUnaryExpression(OperatorIds.MINUS); $break ./
-UnaryExpressionStmt -> UnaryExpressionNotPlusMinusStmt
-/:$readableName Expression:/
-
---PreIncrementExpression ::= '++' PushPosition UnaryExpression
---/.$putCase consumeUnaryExpression(OperatorIds.PLUS,false); $break ./
---/:$readableName PreIncrementExpression:/
-
---PreDecrementExpression ::= '--' PushPosition UnaryExpression
---/.$putCase consumeUnaryExpression(OperatorIds.MINUS,false); $break ./
---/:$readableName PreDecrementExpression:/
-
-UnaryExpressionNotPlusMinusStmt -> PostfixExpressionStmt
-UnaryExpressionNotPlusMinusStmt ::= '~' PushPosition UnaryExpression
-/.$putCase consumeUnaryExpression(OperatorIds.TWIDDLE); $break ./
-UnaryExpressionNotPlusMinusStmt ::= '!' PushPosition UnaryExpression
-/.$putCase consumeUnaryExpression(OperatorIds.NOT); $break ./
-UnaryExpressionNotPlusMinusStmt ::= 'delete' PushPosition UnaryExpression
-/.$putCase consumeUnaryExpression(OperatorIds.DELETE); $break ./
-UnaryExpressionNotPlusMinusStmt ::= 'void' PushPosition UnaryExpression
-/.$putCase consumeUnaryExpression(OperatorIds.VOID); $break ./
-UnaryExpressionNotPlusMinusStmt ::= 'typeof' PushPosition UnaryExpression
-/.$putCase consumeUnaryExpression(OperatorIds.TYPEOF); $break ./
--- UnaryExpressionNotPlusMinus -> CastExpression
-/:$readableName Expression:/
-
-
-MultiplicativeExpressionStmt -> UnaryExpressionStmt
-MultiplicativeExpressionStmt ::= MultiplicativeExpressionStmt '*' UnaryExpression
-/.$putCase consumeBinaryExpression(OperatorIds.MULTIPLY); $break ./
-MultiplicativeExpressionStmt ::= MultiplicativeExpressionStmt '/' UnaryExpression
-/.$putCase consumeBinaryExpression(OperatorIds.DIVIDE); $break ./
-MultiplicativeExpressionStmt ::= MultiplicativeExpressionStmt '%' UnaryExpression
-/.$putCase consumeBinaryExpression(OperatorIds.REMAINDER); $break ./
-/:$readableName Expression:/
-
-AdditiveExpressionStmt -> MultiplicativeExpressionStmt
-AdditiveExpressionStmt ::= AdditiveExpressionStmt '+' MultiplicativeExpression
-/.$putCase consumeBinaryExpression(OperatorIds.PLUS); $break ./
-AdditiveExpressionStmt ::= AdditiveExpressionStmt '-' MultiplicativeExpression
-/.$putCase consumeBinaryExpression(OperatorIds.MINUS); $break ./
-/:$readableName Expression:/
-
-ShiftExpressionStmt -> AdditiveExpressionStmt
-ShiftExpressionStmt ::= ShiftExpressionStmt '<<' AdditiveExpression
-/.$putCase consumeBinaryExpression(OperatorIds.LEFT_SHIFT); $break ./
-ShiftExpressionStmt ::= ShiftExpressionStmt '>>' AdditiveExpression
-/.$putCase consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); $break ./
-ShiftExpressionStmt ::= ShiftExpressionStmt '>>>' AdditiveExpression
-/.$putCase consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); $break ./
-/:$readableName Expression:/
-
-RelationalExpressionStmt -> ShiftExpressionStmt
-RelationalExpressionStmt ::= RelationalExpressionStmt '<' ShiftExpression
-/.$putCase consumeBinaryExpression(OperatorIds.LESS); $break ./
-RelationalExpressionStmt ::= RelationalExpressionStmt '>' ShiftExpression
-/.$putCase consumeBinaryExpression(OperatorIds.GREATER); $break ./
-RelationalExpressionStmt ::= RelationalExpressionStmt '<=' ShiftExpression
-/.$putCase consumeBinaryExpression(OperatorIds.LESS_EQUAL); $break ./
-RelationalExpressionStmt ::= RelationalExpressionStmt '>=' ShiftExpression
-/.$putCase consumeBinaryExpression(OperatorIds.GREATER_EQUAL); $break ./
-RelationalExpressionStmt ::= RelationalExpressionStmt 'instanceof' ShiftExpression
-/.$putCase consumeBinaryExpression(OperatorIds.INSTANCEOF); $break ./
-RelationalExpressionStmt ::= RelationalExpressionStmt 'in' ShiftExpression
-/.$putCase consumeBinaryExpression(OperatorIds.IN); $break ./
-/:$readableName Expression:/
-
-EqualityExpressionStmt -> RelationalExpressionStmt
-EqualityExpressionStmt ::= EqualityExpressionStmt '==' RelationalExpression
-/.$putCase consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); $break ./
-EqualityExpressionStmt ::= EqualityExpressionStmt '!=' RelationalExpression
-/.$putCase consumeEqualityExpression(OperatorIds.NOT_EQUAL); $break ./
-EqualityExpressionStmt ::= EqualityExpressionStmt '===' RelationalExpression
-/.$putCase consumeEqualityExpression(OperatorIds.EQUAL_EQUAL_EQUAL); $break ./
-EqualityExpressionStmt ::= EqualityExpressionStmt '!==' RelationalExpression
-/.$putCase consumeEqualityExpression(OperatorIds.NOT_EQUAL_EQUAL); $break ./
-/:$readableName Expression:/
-
-AndExpressionStmt -> EqualityExpressionStmt
-AndExpressionStmt ::= AndExpressionStmt '&' EqualityExpression
-/.$putCase consumeBinaryExpression(OperatorIds.AND); $break ./
-/:$readableName Expression:/
-
-ExclusiveOrExpressionStmt -> AndExpressionStmt
-ExclusiveOrExpressionStmt ::= ExclusiveOrExpressionStmt '^' AndExpression
-/.$putCase consumeBinaryExpression(OperatorIds.XOR); $break ./
-/:$readableName Expression:/
-
-InclusiveOrExpressionStmt -> ExclusiveOrExpressionStmt
-InclusiveOrExpressionStmt ::= InclusiveOrExpressionStmt '|' ExclusiveOrExpression
-/.$putCase consumeBinaryExpression(OperatorIds.OR); $break ./
-/:$readableName Expression:/
-
-ConditionalAndExpressionStmt -> InclusiveOrExpressionStmt
-ConditionalAndExpressionStmt ::= ConditionalAndExpressionStmt '&&' InclusiveOrExpression
-/.$putCase consumeBinaryExpression(OperatorIds.AND_AND); $break ./
-/:$readableName Expression:/
-
-ConditionalOrExpressionStmt -> ConditionalAndExpressionStmt
-ConditionalOrExpressionStmt ::= ConditionalOrExpressionStmt '||' ConditionalAndExpression
-/.$putCase consumeBinaryExpression(OperatorIds.OR_OR); $break ./
-/:$readableName Expression:/
-
-ConditionalExpressionStmt -> ConditionalOrExpressionStmt
-ConditionalExpressionStmt ::= ConditionalOrExpressionStmt '?' AssignmentExpressionStmt ':' AssignmentExpressionStmt
-/.$putCase consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; $break ./
-/:$readableName Expression:/
-
-AssignmentExpressionStmt -> ConditionalExpressionStmt
-AssignmentExpressionStmt -> AssignmentStmt
-/:$readableName Expression:/
-/:$recovery_template Identifier:/
-
-AssignmentStmt ::= PostfixExpressionStmt AssignmentOperator AssignmentExpression
-/.$putCase consumeAssignment(); $break ./
-/:$readableName AssignmentStmt:/
-
-AssignmentStmtNoIn ::= PostfixExpressionStmt AssignmentOperator AssignmentExpressionNoIn
-/.$putCase consumeAssignment(); $break ./
-/:$readableName AssignmentStmt:/
-
--- this rule is added to parse an array initializer in a assigment and then report a syntax error knowing the exact senario
--- InvalidArrayInitializerAssignement ::= PostfixExpression AssignmentOperator ArrayInitializer
--- /:$readableName ArrayInitializerAssignment:/
--- /:$recovery:/
--- Assignment ::= InvalidArrayInitializerAssignement
--- /.$putcase ignoreExpressionAssignment();$break ./
--- /:$recovery:/
-
-
----------------------------------------------------------------------------------------
---
--- The rules below are for optional terminal symbols. An optional comma,
--- is only used in the context of an array initializer - It is a
--- "syntactic sugar" that otherwise serves no other purpose. By contrast,
--- an optional identifier is used in the definition of a break and
--- continue statement. When the identifier does not appear, a NULL
--- is produced. When the identifier is present, the user should use the
--- corresponding TOKEN(i) method. See break statement as an example.
---
----------------------------------------------------------------------------------------
-
-,opt -> $empty
-,opt -> ,
-/:$readableName ,:/
-
--- ClassBodyDeclarationsopt ::= $empty
--- /.$putCase consumeEmptyClassBodyDeclarationsopt(); $break ./
--- ClassBodyDeclarationsopt ::= NestedType ClassBodyDeclarations
--- /.$putCase consumeClassBodyDeclarationsopt(); $break ./
--- /:$readableName ClassBodyDeclarations:/
-
-Modifiersopt ::= $empty
-/. $putCase consumeDefaultModifiers(); $break ./
--- Modifiersopt ::= Modifiers
--- /.$putCase consumeModifiers(); $break ./
-/:$readableName Modifiers:/
-
-BlockStatementsopt ::= $empty
-/.$putCase consumeEmptyBlockStatementsopt(); $break ./
-BlockStatementsopt -> BlockStatements
-/:$readableName BlockStatements:/
-
--- Dimsopt ::= $empty
--- /. $putCase consumeEmptyDimsopt(); $break ./
--- Dimsopt -> Dims
--- /:$readableName Dimensions:/
-
-ArgumentListopt ::= $empty
-/. $putCase consumeEmptyArgumentListopt(); $break ./
-ArgumentListopt -> ArgumentList
-/:$readableName ArgumentList:/
-
--- MethodHeaderThrowsClauseopt ::= $empty
--- MethodHeaderThrowsClauseopt -> MethodHeaderThrowsClause
--- /:$readableName MethodHeaderThrowsClause:/
-
-FormalParameterListopt ::= $empty
-/.$putcase consumeFormalParameterListopt(); $break ./
-FormalParameterListopt -> FormalParameterList
-/:$readableName FormalParameterList:/
-
--- ClassHeaderImplementsopt ::= $empty
--- ClassHeaderImplementsopt -> ClassHeaderImplements
--- /:$readableName ClassHeaderImplements:/
-
--- InterfaceMemberDeclarationsopt ::= $empty
--- /. $putCase consumeEmptyInterfaceMemberDeclarationsopt(); $break ./
--- InterfaceMemberDeclarationsopt ::= NestedType InterfaceMemberDeclarations
--- /. $putCase consumeInterfaceMemberDeclarationsopt(); $break ./
--- /:$readableName InterfaceMemberDeclarations:/
-
-NestedType ::= $empty
-/.$putCase consumeNestedType(); $break./
-/:$readableName NestedType:/
-
-ForInitopt ::= $empty
-/. $putCase consumeEmptyForInitopt(); $break ./
-ForInitopt -> ForInit
-/:$readableName ForInit:/
-
-ForUpdateopt ::= $empty
-/. $putCase consumeEmptyForUpdateopt(); $break ./
-ForUpdateopt -> ForUpdate
-/:$readableName ForUpdate:/
-
--- InterfaceHeaderExtendsopt ::= $empty
--- InterfaceHeaderExtendsopt -> InterfaceHeaderExtends
--- /:$readableName InterfaceHeaderExtends:/
-
-Catchesopt ::= $empty
-/. $putCase consumeEmptyCatchesopt(); $break ./
-Catchesopt -> Catches
-/:$readableName Catches:/
-
------------------------------------------------
--- 1.5 features : enum type
------------------------------------------------
--- EnumDeclaration ::= EnumHeader EnumBody
--- /. $putCase consumeEnumDeclaration(); $break ./
--- /:$readableName EnumDeclaration:/
-
--- EnumHeader ::= EnumHeaderName ClassHeaderImplementsopt
--- /. $putCase consumeEnumHeader(); $break ./
--- /:$readableName EnumHeader:/
-
--- EnumHeaderName ::= Modifiersopt 'enum' Identifier
--- /. $putCase consumeEnumHeaderName(); $break ./
--- /:$readableName EnumHeaderName:/
--- /:$compliance 1.5:/
-
--- EnumBody ::= '{' EnumBodyDeclarationsopt '}'
--- /. $putCase consumeEnumBodyNoConstants(); $break ./
--- EnumBody ::= '{' ',' EnumBodyDeclarationsopt '}'
--- /. $putCase consumeEnumBodyNoConstants(); $break ./
--- EnumBody ::= '{' EnumConstants ',' EnumBodyDeclarationsopt '}'
--- /. $putCase consumeEnumBodyWithConstants(); $break ./
--- EnumBody ::= '{' EnumConstants EnumBodyDeclarationsopt '}'
--- /. $putCase consumeEnumBodyWithConstants(); $break ./
--- /:$readableName EnumBody:/
-
--- EnumConstants -> EnumConstant
--- EnumConstants ::= EnumConstants ',' EnumConstant
--- /.$putCase consumeEnumConstants(); $break ./
--- /:$readableName EnumConstants:/
-
--- EnumConstantHeaderName ::= Modifiersopt Identifier
--- /.$putCase consumeEnumConstantHeaderName(); $break ./
--- /:$readableName EnumConstantHeaderName:/
-
--- EnumConstantHeader ::= EnumConstantHeaderName ForceNoDiet Argumentsopt RestoreDiet
--- /.$putCase consumeEnumConstantHeader(); $break ./
--- /:$readableName EnumConstantHeader:/
-
--- EnumConstant ::= EnumConstantHeader ForceNoDiet ClassBody RestoreDiet
--- /.$putCase consumeEnumConstantWithClassBody(); $break ./
--- EnumConstant ::= EnumConstantHeader
--- /.$putCase consumeEnumConstantNoClassBody(); $break ./
--- /:$readableName EnumConstant:/
-
-Arguments ::= '(' ArgumentListopt ')'
-/.$putCase consumeArguments(); $break ./
-/:$readableName Arguments:/
-
-Argumentsopt ::= $empty
-/.$putCase consumeEmptyArguments(); $break ./
-Argumentsopt -> Arguments
-/:$readableName Argumentsopt:/
-
--- EnumDeclarations ::= ';' ClassBodyDeclarationsopt
--- /.$putCase consumeEnumDeclarations(); $break ./
--- /:$readableName EnumDeclarations:/
-
--- EnumBodyDeclarationsopt ::= $empty
--- /.$putCase consumeEmptyEnumDeclarations(); $break ./
--- EnumBodyDeclarationsopt -> EnumDeclarations
--- /:$readableName EnumBodyDeclarationsopt:/
-
------------------------------------------------
--- 1.5 features : enhanced for statement
------------------------------------------------
--- EnhancedForStatement ::= EnhancedForStatementHeader Statement
--- /.$putCase consumeEnhancedForStatement(); $break ./
--- /:$readableName EnhancedForStatement:/
---
--- EnhancedForStatementNoShortIf ::= EnhancedForStatementHeader StatementNoShortIf
--- /.$putCase consumeEnhancedForStatement(); $break ./
--- /:$readableName EnhancedForStatementNoShortIf:/
---
--- EnhancedForStatementHeaderInit ::= 'for' '(' Identifier
--- /.$putCase consumeEnhancedForStatementHeaderInit(false); $break ./
--- /:$readableName EnhancedForStatementHeaderInit:/
---
--- EnhancedForStatementHeaderInit ::= 'for' '(' Modifiers Identifier
--- /.$putCase consumeEnhancedForStatementHeaderInit(true); $break ./
--- /:$readableName EnhancedForStatementHeaderInit:/
-
--- EnhancedForStatementHeader ::= EnhancedForStatementHeaderInit ':' ExpressionStmt ')'
--- /.$putCase consumeEnhancedForStatementHeader(); $break ./
--- /:$readableName EnhancedForStatementHeader:/
--- /:$compliance 1.5:/
-
------------------------------------------------
--- 1.5 features : static imports
------------------------------------------------
--- SingleStaticImportDeclaration ::= SingleStaticImportDeclarationName ';'
--- /.$putCase consumeImportDeclaration(); $break ./
--- /:$readableName SingleStaticImportDeclaration:/
-
--- SingleStaticImportDeclarationName ::= 'import' 'static' Name
--- /.$putCase consumeSingleStaticImportDeclarationName(); $break ./
--- /:$readableName SingleStaticImportDeclarationName:/
--- /:$compliance 1.5:/
-
--- StaticImportOnDemandDeclaration ::= StaticImportOnDemandDeclarationName ';'
--- /.$putCase consumeImportDeclaration(); $break ./
--- /:$readableName StaticImportOnDemandDeclaration:/
-
--- StaticImportOnDemandDeclarationName ::= 'import' 'static' Name '.' '*'
--- /.$putCase consumeStaticImportOnDemandDeclarationName(); $break ./
--- /:$readableName StaticImportOnDemandDeclarationName:/
--- /:$compliance 1.5:/
-
------------------------------------------------
--- 1.5 features : generics
------------------------------------------------
--- TypeArguments ::= '<' TypeArgumentList1
--- /.$putCase consumeTypeArguments(); $break ./
--- /:$readableName TypeArguments:/
--- /:$compliance 1.5:/
-
--- OnlyTypeArguments ::= '<' TypeArgumentList1
--- /.$putCase consumeOnlyTypeArguments(); $break ./
--- /:$readableName TypeArguments:/
--- /:$compliance 1.5:/
-
--- TypeArgumentList1 -> TypeArgument1
--- /:$compliance 1.5:/
--- TypeArgumentList1 ::= TypeArgumentList ',' TypeArgument1
--- /.$putCase consumeTypeArgumentList1(); $break ./
--- /:$readableName TypeArgumentList1:/
--- /:$compliance 1.5:/
-
--- TypeArgumentList -> TypeArgument
--- /:$compliance 1.5:/
--- TypeArgumentList ::= TypeArgumentList ',' TypeArgument
--- /.$putCase consumeTypeArgumentList(); $break ./
--- /:$readableName TypeArgumentList:/
--- /:$compliance 1.5:/
-
--- TypeArgument ::= ReferenceType
--- /.$putCase consumeTypeArgument(); $break ./
--- /:$compliance 1.5:/
--- TypeArgument -> Wildcard
--- /:$readableName TypeArgument:/
--- /:$compliance 1.5:/
-
--- TypeArgument1 -> ReferenceType1
--- /:$compliance 1.5:/
--- TypeArgument1 -> Wildcard1
--- /:$readableName TypeArgument1:/
--- /:$compliance 1.5:/
-
--- ReferenceType1 ::= ReferenceType '>'
--- /.$putCase consumeReferenceType1(); $break ./
--- /:$compliance 1.5:/
--- ReferenceType1 ::= ClassOrInterface '<' TypeArgumentList2
--- /.$putCase consumeTypeArgumentReferenceType1(); $break ./
--- /:$readableName ReferenceType1:/
--- /:$compliance 1.5:/
-
--- TypeArgumentList2 -> TypeArgument2
--- /:$compliance 1.5:/
--- TypeArgumentList2 ::= TypeArgumentList ',' TypeArgument2
--- /.$putCase consumeTypeArgumentList2(); $break ./
--- /:$readableName TypeArgumentList2:/
--- /:$compliance 1.5:/
-
--- TypeArgument2 -> ReferenceType2
--- /:$compliance 1.5:/
--- TypeArgument2 -> Wildcard2
--- /:$readableName TypeArgument2:/
--- /:$compliance 1.5:/
---
--- ReferenceType2 ::= ReferenceType '>>'
--- /.$putCase consumeReferenceType2(); $break ./
--- /:$compliance 1.5:/
--- ReferenceType2 ::= ClassOrInterface '<' TypeArgumentList3
--- /.$putCase consumeTypeArgumentReferenceType2(); $break ./
--- /:$readableName ReferenceType2:/
--- /:$compliance 1.5:/
-
--- TypeArgumentList3 -> TypeArgument3
--- TypeArgumentList3 ::= TypeArgumentList ',' TypeArgument3
--- /.$putCase consumeTypeArgumentList3(); $break ./
--- /:$readableName TypeArgumentList3:/
--- /:$compliance 1.5:/
---
--- TypeArgument3 -> ReferenceType3
--- TypeArgument3 -> Wildcard3
--- /:$readableName TypeArgument3:/
--- /:$compliance 1.5:/
---
--- ReferenceType3 ::= ReferenceType '>>>'
--- /.$putCase consumeReferenceType3(); $break ./
--- /:$readableName ReferenceType3:/
--- /:$compliance 1.5:/
---
--- Wildcard ::= '?'
--- /.$putCase consumeWildcard(); $break ./
--- /:$compliance 1.5:/
--- Wildcard ::= '?' WildcardBounds
--- /.$putCase consumeWildcardWithBounds(); $break ./
--- /:$readableName Wildcard:/
--- /:$compliance 1.5:/
---
--- WildcardBounds ::= 'extends' ReferenceType
--- /.$putCase consumeWildcardBoundsExtends(); $break ./
--- /:$compliance 1.5:/
--- WildcardBounds ::= 'super' ReferenceType
--- /.$putCase consumeWildcardBoundsSuper(); $break ./
--- /:$readableName WildcardBounds:/
--- /:$compliance 1.5:/
---
--- Wildcard1 ::= '?' '>'
--- /.$putCase consumeWildcard1(); $break ./
--- /:$compliance 1.5:/
--- Wildcard1 ::= '?' WildcardBounds1
--- /.$putCase consumeWildcard1WithBounds(); $break ./
--- /:$readableName Wildcard1:/
--- /:$compliance 1.5:/
---
--- WildcardBounds1 ::= 'extends' ReferenceType1
--- /.$putCase consumeWildcardBounds1Extends(); $break ./
--- /:$compliance 1.5:/
--- WildcardBounds1 ::= 'super' ReferenceType1
--- /.$putCase consumeWildcardBounds1Super(); $break ./
--- /:$readableName WildcardBounds1:/
--- /:$compliance 1.5:/
-
--- Wildcard2 ::= '?' '>>'
--- /.$putCase consumeWildcard2(); $break ./
--- /:$compliance 1.5:/
--- Wildcard2 ::= '?' WildcardBounds2
--- /.$putCase consumeWildcard2WithBounds(); $break ./
--- /:$readableName Wildcard2:/
--- /:$compliance 1.5:/
---
--- WildcardBounds2 ::= 'extends' ReferenceType2
--- /.$putCase consumeWildcardBounds2Extends(); $break ./
--- /:$compliance 1.5:/
--- WildcardBounds2 ::= 'super' ReferenceType2
--- /.$putCase consumeWildcardBounds2Super(); $break ./
--- /:$readableName WildcardBounds2:/
--- /:$compliance 1.5:/
---
--- Wildcard3 ::= '?' '>>>'
--- /.$putCase consumeWildcard3(); $break ./
--- /:$compliance 1.5:/
--- Wildcard3 ::= '?' WildcardBounds3
--- /.$putCase consumeWildcard3WithBounds(); $break ./
--- /:$readableName Wildcard3:/
--- /:$compliance 1.5:/
-
--- WildcardBounds3 ::= 'extends' ReferenceType3
--- /.$putCase consumeWildcardBounds3Extends(); $break ./
--- /:$compliance 1.5:/
--- WildcardBounds3 ::= 'super' ReferenceType3
--- /.$putCase consumeWildcardBounds3Super(); $break ./
--- /:$readableName WildcardBound3:/
--- /:$compliance 1.5:/
-
--- TypeParameterHeader ::= Identifier
--- /.$putCase consumeTypeParameterHeader(); $break ./
--- /:$readableName TypeParameter:/
--- /:$compliance 1.5:/
-
--- TypeParameters ::= '<' TypeParameterList1
--- /.$putCase consumeTypeParameters(); $break ./
--- /:$readableName TypeParameters:/
--- /:$compliance 1.5:/
-
--- TypeParameterList -> TypeParameter
--- /:$compliance 1.5:/
--- TypeParameterList ::= TypeParameterList ',' TypeParameter
--- /.$putCase consumeTypeParameterList(); $break ./
--- /:$readableName TypeParameterList:/
--- /:$compliance 1.5:/
-
--- TypeParameter -> TypeParameterHeader
--- /:$compliance 1.5:/
--- TypeParameter ::= TypeParameterHeader 'extends' ReferenceType
--- /.$putCase consumeTypeParameterWithExtends(); $break ./
--- /:$compliance 1.5:/
--- TypeParameter ::= TypeParameterHeader 'extends' ReferenceType AdditionalBoundList
--- /.$putCase consumeTypeParameterWithExtendsAndBounds(); $break ./
--- /:$readableName TypeParameter:/
--- /:$compliance 1.5:/
-
--- AdditionalBoundList -> AdditionalBound
--- /:$compliance 1.5:/
--- AdditionalBoundList ::= AdditionalBoundList AdditionalBound
--- /.$putCase consumeAdditionalBoundList(); $break ./
--- /:$readableName AdditionalBoundList:/
-
--- AdditionalBound ::= '&' ReferenceType
--- /.$putCase consumeAdditionalBound(); $break ./
--- /:$readableName AdditionalBound:/
--- /:$compliance 1.5:/
-
--- TypeParameterList1 -> TypeParameter1
--- /:$compliance 1.5:/
--- TypeParameterList1 ::= TypeParameterList ',' TypeParameter1
--- /.$putCase consumeTypeParameterList1(); $break ./
--- /:$readableName TypeParameterList1:/
--- /:$compliance 1.5:/
-
--- TypeParameter1 ::= TypeParameterHeader '>'
--- /.$putCase consumeTypeParameter1(); $break ./
--- /:$compliance 1.5:/
--- TypeParameter1 ::= TypeParameterHeader 'extends' ReferenceType1
--- /.$putCase consumeTypeParameter1WithExtends(); $break ./
--- /:$compliance 1.5:/
--- TypeParameter1 ::= TypeParameterHeader 'extends' ReferenceType AdditionalBoundList1
--- /.$putCase consumeTypeParameter1WithExtendsAndBounds(); $break ./
--- /:$readableName TypeParameter1:/
--- /:$compliance 1.5:/
-
--- AdditionalBoundList1 -> AdditionalBound1
--- /:$compliance 1.5:/
--- AdditionalBoundList1 ::= AdditionalBoundList AdditionalBound1
--- /.$putCase consumeAdditionalBoundList1(); $break ./
--- /:$readableName AdditionalBoundList1:/
--- /:$compliance 1.5:/
-
--- AdditionalBound1 ::= '&' ReferenceType1
--- /.$putCase consumeAdditionalBound1(); $break ./
--- /:$readableName AdditionalBound1:/
--- /:$compliance 1.5:/
-
--------------------------------------------------
--- Duplicate rules to remove ambiguity for (x) --
--------------------------------------------------
--- PostfixExpression_NotName -> Primary
--- PostfixExpression_NotName -> PostIncrementExpression
--- PostfixExpression_NotName -> PostDecrementExpression
--- /:$readableName Expression:/
-
--- UnaryExpression_NotName -> PreIncrementExpression
--- UnaryExpression_NotName -> PreDecrementExpression
--- UnaryExpression_NotName ::= '+' PushPosition UnaryExpression
--- /.$putCase consumeUnaryExpression(OperatorIds.PLUS); $break ./
--- UnaryExpression_NotName ::= '-' PushPosition UnaryExpression
--- /.$putCase consumeUnaryExpression(OperatorIds.MINUS); $break ./
--- UnaryExpression_NotName -> UnaryExpressionNotPlusMinus_NotName
--- /:$readableName Expression:/
-
--- UnaryExpressionNotPlusMinus_NotName -> PostfixExpression_NotName
--- UnaryExpressionNotPlusMinus_NotName ::= '~' PushPosition UnaryExpression
--- /.$putCase consumeUnaryExpression(OperatorIds.TWIDDLE); $break ./
--- UnaryExpressionNotPlusMinus_NotName ::= '!' PushPosition UnaryExpression
--- /.$putCase consumeUnaryExpression(OperatorIds.NOT); $break ./
--- -- UnaryExpressionNotPlusMinus_NotName -> CastExpression
--- /:$readableName Expression:/
---
--- MultiplicativeExpression_NotName -> UnaryExpression_NotName
--- MultiplicativeExpression_NotName ::= MultiplicativeExpression_NotName '*' UnaryExpression
--- /.$putCase consumeBinaryExpression(OperatorIds.MULTIPLY); $break ./
--- MultiplicativeExpression_NotName ::= Name '*' UnaryExpression
--- /.$putCase consumeBinaryExpressionWithName(OperatorIds.MULTIPLY); $break ./
--- MultiplicativeExpression_NotName ::= MultiplicativeExpression_NotName '/' UnaryExpression
--- /.$putCase consumeBinaryExpression(OperatorIds.DIVIDE); $break ./
--- MultiplicativeExpression_NotName ::= Name '/' UnaryExpression
--- /.$putCase consumeBinaryExpressionWithName(OperatorIds.DIVIDE); $break ./
--- MultiplicativeExpression_NotName ::= MultiplicativeExpression_NotName '%' UnaryExpression
--- /.$putCase consumeBinaryExpression(OperatorIds.REMAINDER); $break ./
--- MultiplicativeExpression_NotName ::= Name '%' UnaryExpression
--- /.$putCase consumeBinaryExpressionWithName(OperatorIds.REMAINDER); $break ./
--- /:$readableName Expression:/
---
--- AdditiveExpression_NotName -> MultiplicativeExpression_NotName
--- AdditiveExpression_NotName ::= AdditiveExpression_NotName '+' MultiplicativeExpression
--- /.$putCase consumeBinaryExpression(OperatorIds.PLUS); $break ./
--- AdditiveExpression_NotName ::= Name '+' MultiplicativeExpression
--- /.$putCase consumeBinaryExpressionWithName(OperatorIds.PLUS); $break ./
--- AdditiveExpression_NotName ::= AdditiveExpression_NotName '-' MultiplicativeExpression
--- /.$putCase consumeBinaryExpression(OperatorIds.MINUS); $break ./
--- AdditiveExpression_NotName ::= Name '-' MultiplicativeExpression
--- /.$putCase consumeBinaryExpressionWithName(OperatorIds.MINUS); $break ./
--- /:$readableName Expression:/
---
--- ShiftExpression_NotName -> AdditiveExpression_NotName
--- ShiftExpression_NotName ::= ShiftExpression_NotName '<<' AdditiveExpression
--- /.$putCase consumeBinaryExpression(OperatorIds.LEFT_SHIFT); $break ./
--- ShiftExpression_NotName ::= Name '<<' AdditiveExpression
--- /.$putCase consumeBinaryExpressionWithName(OperatorIds.LEFT_SHIFT); $break ./
--- ShiftExpression_NotName ::= ShiftExpression_NotName '>>' AdditiveExpression
--- /.$putCase consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); $break ./
--- ShiftExpression_NotName ::= Name '>>' AdditiveExpression
--- /.$putCase consumeBinaryExpressionWithName(OperatorIds.RIGHT_SHIFT); $break ./
--- ShiftExpression_NotName ::= ShiftExpression_NotName '>>>' AdditiveExpression
--- /.$putCase consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); $break ./
--- ShiftExpression_NotName ::= Name '>>>' AdditiveExpression
--- /.$putCase consumeBinaryExpressionWithName(OperatorIds.UNSIGNED_RIGHT_SHIFT); $break ./
--- /:$readableName Expression:/
-
--- RelationalExpression_NotName -> ShiftExpression_NotName
--- RelationalExpression_NotName ::= ShiftExpression_NotName '<' ShiftExpression
--- /.$putCase consumeBinaryExpression(OperatorIds.LESS); $break ./
--- RelationalExpression_NotName ::= Name '<' ShiftExpression
--- /.$putCase consumeBinaryExpressionWithName(OperatorIds.LESS); $break ./
--- RelationalExpression_NotName ::= ShiftExpression_NotName '>' ShiftExpression
--- /.$putCase consumeBinaryExpression(OperatorIds.GREATER); $break ./
--- RelationalExpression_NotName ::= Name '>' ShiftExpression
--- /.$putCase consumeBinaryExpressionWithName(OperatorIds.GREATER); $break ./
--- RelationalExpression_NotName ::= RelationalExpression_NotName '<=' ShiftExpression
--- /.$putCase consumeBinaryExpression(OperatorIds.LESS_EQUAL); $break ./
--- RelationalExpression_NotName ::= Name '<=' ShiftExpression
--- /.$putCase consumeBinaryExpressionWithName(OperatorIds.LESS_EQUAL); $break ./
--- RelationalExpression_NotName ::= RelationalExpression_NotName '>=' ShiftExpression
--- /.$putCase consumeBinaryExpression(OperatorIds.GREATER_EQUAL); $break ./
--- RelationalExpression_NotName ::= Name '>=' ShiftExpression
--- /.$putCase consumeBinaryExpressionWithName(OperatorIds.GREATER_EQUAL); $break ./
--- /:$readableName Expression:/
-
--- InstanceofExpression_NotName -> RelationalExpression_NotName
--- InstanceofExpression_NotName ::= Name 'instanceof' ReferenceType
--- /.$putCase consumeInstanceOfExpressionWithName(); $break ./
--- InstanceofExpression_NotName ::= InstanceofExpression_NotName 'instanceof' ReferenceType
--- /.$putCase consumeInstanceOfExpression(); $break ./
--- /:$readableName Expression:/
---
--- EqualityExpression_NotName -> InstanceofExpression_NotName
--- EqualityExpression_NotName ::= EqualityExpression_NotName '==' InstanceofExpression
--- /.$putCase consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); $break ./
--- EqualityExpression_NotName ::= Name '==' InstanceofExpression
--- /.$putCase consumeEqualityExpressionWithName(OperatorIds.EQUAL_EQUAL); $break ./
--- EqualityExpression_NotName ::= EqualityExpression_NotName '!=' InstanceofExpression
--- /.$putCase consumeEqualityExpression(OperatorIds.NOT_EQUAL); $break ./
--- EqualityExpression_NotName ::= Name '!=' InstanceofExpression
--- /.$putCase consumeEqualityExpressionWithName(OperatorIds.NOT_EQUAL); $break ./
--- /:$readableName Expression:/
---
--- AndExpression_NotName -> EqualityExpression_NotName
--- AndExpression_NotName ::= AndExpression_NotName '&' EqualityExpression
--- /.$putCase consumeBinaryExpression(OperatorIds.AND); $break ./
--- AndExpression_NotName ::= Name '&' EqualityExpression
--- /.$putCase consumeBinaryExpressionWithName(OperatorIds.AND); $break ./
--- /:$readableName Expression:/
---
--- ExclusiveOrExpression_NotName -> AndExpression_NotName
--- ExclusiveOrExpression_NotName ::= ExclusiveOrExpression_NotName '^' AndExpression
--- /.$putCase consumeBinaryExpression(OperatorIds.XOR); $break ./
--- ExclusiveOrExpression_NotName ::= Name '^' AndExpression
--- /.$putCase consumeBinaryExpressionWithName(OperatorIds.XOR); $break ./
--- /:$readableName Expression:/
---
--- InclusiveOrExpression_NotName -> ExclusiveOrExpression_NotName
--- InclusiveOrExpression_NotName ::= InclusiveOrExpression_NotName '|' ExclusiveOrExpression
--- /.$putCase consumeBinaryExpression(OperatorIds.OR); $break ./
--- InclusiveOrExpression_NotName ::= Name '|' ExclusiveOrExpression
--- /.$putCase consumeBinaryExpressionWithName(OperatorIds.OR); $break ./
--- /:$readableName Expression:/
---
--- ConditionalAndExpression_NotName -> InclusiveOrExpression_NotName
--- ConditionalAndExpression_NotName ::= ConditionalAndExpression_NotName '&&' InclusiveOrExpression
--- /.$putCase consumeBinaryExpression(OperatorIds.AND_AND); $break ./
--- ConditionalAndExpression_NotName ::= Name '&&' InclusiveOrExpression
--- /.$putCase consumeBinaryExpressionWithName(OperatorIds.AND_AND); $break ./
--- /:$readableName Expression:/
---
--- ConditionalOrExpression_NotName -> ConditionalAndExpression_NotName
--- ConditionalOrExpression_NotName ::= ConditionalOrExpression_NotName '||' ConditionalAndExpression
--- /.$putCase consumeBinaryExpression(OperatorIds.OR_OR); $break ./
--- ConditionalOrExpression_NotName ::= Name '||' ConditionalAndExpression
--- /.$putCase consumeBinaryExpressionWithName(OperatorIds.OR_OR); $break ./
--- /:$readableName Expression:/
-
--- ConditionalExpression_NotName -> ConditionalOrExpression_NotName
--- ConditionalExpression_NotName ::= ConditionalOrExpression_NotName '?' Expression ':' ConditionalExpression
--- /.$putCase consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; $break ./
--- ConditionalExpression_NotName ::= Name '?' Expression ':' ConditionalExpression
--- /.$putCase consumeConditionalExpressionWithName(OperatorIds.QUESTIONCOLON) ; $break ./
--- /:$readableName Expression:/
-
--- AssignmentExpression_NotName -> ConditionalExpression_NotName
--- AssignmentExpression_NotName -> Assignment
--- /:$readableName Expression:/
-
--- Expression_NotName -> AssignmentExpression_NotName
--- /:$readableName Expression:/
------------------------------------------------
--- 1.5 features : end of generics
------------------------------------------------
------------------------------------------------
--- 1.5 features : annotation - Metadata feature jsr175
------------------------------------------------
--- AnnotationTypeDeclarationHeaderName ::= Modifiers '@' PushRealModifiers interface Identifier
--- /.$putCase consumeAnnotationTypeDeclarationHeaderName() ; $break ./
--- /:$compliance 1.5:/
--- AnnotationTypeDeclarationHeaderName ::= '@' PushModifiersForHeader interface Identifier
--- /.$putCase consumeAnnotationTypeDeclarationHeaderName() ; $break ./
--- /:$readableName AnnotationTypeDeclarationHeaderName:/
--- /:$compliance 1.5:/
-
--- AnnotationTypeDeclarationHeader ::= AnnotationTypeDeclarationHeaderName ClassHeaderExtendsopt ClassHeaderImplementsopt
--- /.$putCase consumeAnnotationTypeDeclarationHeader() ; $break ./
--- /:$readableName AnnotationTypeDeclarationHeader:/
--- /:$compliance 1.5:/
-
--- AnnotationTypeDeclaration ::= AnnotationTypeDeclarationHeader AnnotationTypeBody
--- /.$putCase consumeAnnotationTypeDeclaration() ; $break ./
--- /:$readableName AnnotationTypeDeclaration:/
--- /:$compliance 1.5:/
-
--- AnnotationTypeBody ::= '{' AnnotationTypeMemberDeclarationsopt '}'
--- /:$readableName AnnotationTypeBody:/
--- /:$compliance 1.5:/
-
--- AnnotationTypeMemberDeclarationsopt ::= $empty
--- /.$putCase consumeEmptyAnnotationTypeMemberDeclarationsopt() ; $break ./
--- /:$compliance 1.5:/
--- AnnotationTypeMemberDeclarationsopt ::= NestedType AnnotationTypeMemberDeclarations
--- /.$putCase consumeAnnotationTypeMemberDeclarationsopt() ; $break ./
--- /:$readableName AnnotationTypeMemberDeclarations:/
--- /:$compliance 1.5:/
-
--- AnnotationTypeMemberDeclarations -> AnnotationTypeMemberDeclaration
--- /:$compliance 1.5:/
--- AnnotationTypeMemberDeclarations ::= AnnotationTypeMemberDeclarations AnnotationTypeMemberDeclaration
--- /.$putCase consumeAnnotationTypeMemberDeclarations() ; $break ./
--- /:$readableName AnnotationTypeMemberDeclarations:/
--- /:$compliance 1.5:/
-
--- AnnotationMethodHeaderName ::= Modifiersopt TypeParameters Type 'Identifier' '('
--- /.$putCase consumeMethodHeaderNameWithTypeParameters(true); $break ./
--- AnnotationMethodHeaderName ::= Modifiersopt Type 'Identifier' '('
--- /.$putCase consumeMethodHeaderName(true); $break ./
--- /:$readableName MethodHeaderName:/
-
--- AnnotationMethodHeaderDefaultValueopt ::= $empty
--- /.$putCase consumeEmptyMethodHeaderDefaultValue() ; $break ./
--- /:$readableName MethodHeaderDefaultValue:/
--- /:$compliance 1.5:/
--- AnnotationMethodHeaderDefaultValueopt ::= DefaultValue
--- /.$putCase consumeMethodHeaderDefaultValue(); $break ./
--- /:$readableName MethodHeaderDefaultValue:/
--- /:$compliance 1.5:/
-
--- AnnotationMethodHeader ::= AnnotationMethodHeaderName FormalParameterListopt MethodHeaderRightParen MethodHeaderExtendedDims AnnotationMethodHeaderDefaultValueopt
--- /.$putCase consumeMethodHeader(); $break ./
--- /:$readableName AnnotationMethodHeader:/
--- /:$compliance 1.5:/
-
--- AnnotationTypeMemberDeclaration ::= AnnotationMethodHeader ';'
--- /.$putCase consumeAnnotationTypeMemberDeclaration() ; $break ./
--- /:$compliance 1.5:/
--- AnnotationTypeMemberDeclaration -> ConstantDeclaration
--- /:$compliance 1.5:/
--- AnnotationTypeMemberDeclaration -> ConstructorDeclaration
--- /:$compliance 1.5:/
--- AnnotationTypeMemberDeclaration -> TypeDeclaration
--- /:$readableName AnnotationTypeMemberDeclaration:/
--- /:$compliance 1.5:/
-
--- DefaultValue ::= 'default' MemberValue
--- /:$readableName DefaultValue:/
--- /:$compliance 1.5:/
-
--- Annotation -> NormalAnnotation
--- /:$compliance 1.5:/
--- Annotation -> MarkerAnnotation
--- /:$compliance 1.5:/
--- Annotation -> SingleMemberAnnotation
--- /:$readableName Annotation:/
--- /:$compliance 1.5:/
-
--- AnnotationName ::= '@' Name
--- /.$putCase consumeAnnotationName() ; $break ./
--- /:$readableName AnnotationName:/
--- /:$compliance 1.5:/
-
--- NormalAnnotation ::= AnnotationName '(' MemberValuePairsopt ')'
--- /.$putCase consumeNormalAnnotation() ; $break ./
--- /:$readableName NormalAnnotation:/
--- /:$compliance 1.5:/
-
--- MemberValuePairsopt ::= $empty
--- /.$putCase consumeEmptyMemberValuePairsopt() ; $break ./
--- /:$compliance 1.5:/
--- MemberValuePairsopt -> MemberValuePairs
--- /:$readableName MemberValuePairsopt:/
--- /:$compliance 1.5:/
-
--- MemberValuePairs -> MemberValuePair
--- /:$compliance 1.5:/
--- MemberValuePairs ::= MemberValuePairs ',' MemberValuePair
--- /.$putCase consumeMemberValuePairs() ; $break ./
--- /:$readableName MemberValuePairs:/
--- /:$compliance 1.5:/
-
--- MemberValuePair ::= SimpleName '=' EnterMemberValue MemberValue ExitMemberValue
--- /.$putCase consumeMemberValuePair() ; $break ./
--- /:$readableName MemberValuePair:/
--- /:$compliance 1.5:/
-
--- EnterMemberValue ::= $empty
--- /.$putCase consumeEnterMemberValue() ; $break ./
--- /:$readableName EnterMemberValue:/
--- /:$compliance 1.5:/
-
--- ExitMemberValue ::= $empty
--- /.$putCase consumeExitMemberValue() ; $break ./
--- /:$readableName ExitMemberValue:/
--- /:$compliance 1.5:/
-
--- MemberValue -> ConditionalExpression_NotName
--- /:$compliance 1.5:/
--- MemberValue ::= Name
--- /.$putCase consumeMemberValueAsName() ; $break ./
--- /:$compliance 1.5:/
--- MemberValue -> Annotation
--- /:$compliance 1.5:/
--- MemberValue -> MemberValueArrayInitializer
--- /:$readableName MemberValue:/
--- /:$compliance 1.5:/
-
--- MemberValueArrayInitializer ::= '{' PushLeftBrace MemberValues ',' '}'
--- /.$putCase consumeMemberValueArrayInitializer() ; $break ./
--- /:$compliance 1.5:/
--- MemberValueArrayInitializer ::= '{' PushLeftBrace MemberValues '}'
--- /.$putCase consumeMemberValueArrayInitializer() ; $break ./
--- /:$compliance 1.5:/
--- MemberValueArrayInitializer ::= '{' PushLeftBrace ',' '}'
--- /.$putCase consumeEmptyMemberValueArrayInitializer() ; $break ./
--- /:$compliance 1.5:/
--- MemberValueArrayInitializer ::= '{' PushLeftBrace '}'
--- /.$putCase consumeEmptyMemberValueArrayInitializer() ; $break ./
--- /:$readableName MemberValueArrayInitializer:/
--- /:$compliance 1.5:/
-
--- MemberValues -> MemberValue
--- /:$compliance 1.5:/
--- MemberValues ::= MemberValues ',' MemberValue
--- /.$putCase consumeMemberValues() ; $break ./
--- /:$readableName MemberValues:/
--- /:$compliance 1.5:/
-
--- MarkerAnnotation ::= AnnotationName
--- /.$putCase consumeMarkerAnnotation() ; $break ./
--- /:$readableName MarkerAnnotation:/
--- /:$compliance 1.5:/
-
--- SingleMemberAnnotation ::= AnnotationName '(' MemberValue ')'
--- /.$putCase consumeSingleMemberAnnotation() ; $break ./
--- /:$readableName SingleMemberAnnotation:/
--- /:$compliance 1.5:/
---------------------------------------
--- 1.5 features : end of annotation --
---------------------------------------
-
------------------------------------
--- 1.5 features : recovery rules --
------------------------------------
--- RecoveryMethodHeaderName ::= Modifiersopt TypeParameters Type 'Identifier' '('
--- /.$putCase consumeRecoveryMethodHeaderNameWithTypeParameters(); $break ./
--- /:$compliance 1.5:/
-RecoveryMethodHeaderName ::= Modifiersopt 'function' 'Identifier' '('
-/.$putCase consumeRecoveryMethodHeaderName(); $break ./
-/:$readableName MethodHeaderName:/
-
-RecoveryMethodHeader ::= RecoveryMethodHeaderName FormalParameterListopt MethodHeaderRightParen
-/.$putCase consumeMethodHeader(); $break ./
--- RecoveryMethodHeader ::= RecoveryMethodHeaderName FormalParameterListopt MethodHeaderRightParen MethodHeaderExtendedDims MethodHeaderThrowsClause
--- /.$putCase consumeMethodHeader(); $break ./
-/:$readableName MethodHeader:/
------------------------------------
--- 1.5 features : recovery rules --
------------------------------------
-
-/. }
-}./
-
-$names
-
-PLUS_PLUS ::= '++'
-MINUS_MINUS ::= '--'
-EQUAL_EQUAL ::= '=='
-LESS_EQUAL ::= '<='
-GREATER_EQUAL ::= '>='
-NOT_EQUAL ::= '!='
-LEFT_SHIFT ::= '<<'
-RIGHT_SHIFT ::= '>>'
-UNSIGNED_RIGHT_SHIFT ::= '>>>'
-PLUS_EQUAL ::= '+='
-MINUS_EQUAL ::= '-='
-MULTIPLY_EQUAL ::= '*='
-DIVIDE_EQUAL ::= '/='
-AND_EQUAL ::= '&='
-OR_EQUAL ::= '|='
-XOR_EQUAL ::= '^='
-REMAINDER_EQUAL ::= '%='
-LEFT_SHIFT_EQUAL ::= '<<='
-RIGHT_SHIFT_EQUAL ::= '>>='
-UNSIGNED_RIGHT_SHIFT_EQUAL ::= '>>>='
-OR_OR ::= '||'
-AND_AND ::= '&&'
-PLUS ::= '+'
-MINUS ::= '-'
-NOT ::= '!'
-REMAINDER ::= '%'
-XOR ::= '^'
-AND ::= '&'
-MULTIPLY ::= '*'
-OR ::= '|'
-TWIDDLE ::= '~'
-DIVIDE ::= '/'
-GREATER ::= '>'
-LESS ::= '<'
-LPAREN ::= '('
-RPAREN ::= ')'
-LBRACE ::= '{'
-RBRACE ::= '}'
-LBRACKET ::= '['
-RBRACKET ::= ']'
-SEMICOLON ::= ';'
-QUESTION ::= '?'
-COLON ::= ':'
-COMMA ::= ','
-DOT ::= '.'
-EQUAL ::= '='
-AT ::= '@'
-
-$end
--- need a carriage return after the $end
diff --git a/bundles/org.eclipse.wst.jsdt.core/libraries/baseBrowserLibrary--WrapperObjects.js b/bundles/org.eclipse.wst.jsdt.core/libraries/baseBrowserLibrary--WrapperObjects.js
deleted file mode 100644
index d3e933e9..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/libraries/baseBrowserLibrary--WrapperObjects.js
+++ /dev/null
@@ -1,1814 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/**
- * Object DOMException()
- * @super Object
- * @type constructor
- * @memberOf DOMException
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function DOMException(){};
-DOMException.prototype = new Object();
-/**
- * Constant DOMException.INDEX_SIZE_ERR=1
- * @type Number
- * @memberOf DOMException
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see DOMException()
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.INDEX_SIZE_ERR=1;
-/**
- * Constant DOMException.DOMSTRING_SIZE_ERR=2
- * @type Number
- * @memberOf DOMException
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see DOMException()
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.DOMSTRING_SIZE_ERR=2;
-/**
- * Constant DOMException.HIERARCHY_REQUEST_ERR=3
- * @type Mi,ber
- * @memberOf DOMException
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see DOMException()
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.HIERARCHY_REQUEST_ERR=3;
-/**
- * Constant DOMException.WRONG_DOCUMENT_ERR=4
- * @type Number
- * @see DOMException()
- * @memberOf DOMException
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.WRONG_DOCUMENT_ERR=4;
-/**
- * Constant DOMException.INVALID_CHARACTER_ERR=5
- * @memberOf DOMException
- * @type Number
- * @see DOMException()
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.INVALID_CHARACTER_ERR=5;
-/**
- * Constant DOMException.NO_DATA_ALLOWED_ER=6
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
- * @since Level 2 Document Object Model Core Definition.
- * @since Standard ECMA-262 3rd. Edition
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.NO_DATA_ALLOWED_ER=6;
-/**
- * Constant DOMException.NO_MODIFICATION_ALLOWED_ERR=7
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.NO_MODIFICATION_ALLOWED_ERR=7;
-/**
- * Constant DOMException.NOT_FOUND_ERR=8
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.NOT_FOUND_ERR=8;
-/**
- * Constant DOMException.NOT_SUPPORTED_ERR=9
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.NOT_SUPPORTED_ERR=9;
-/**
- * Constant DOMException.INUSE_ATTRIBUTE_ERR=10
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.INUSE_ATTRIBUTE_ERR=10;
-/**
- * Constant DOMException.INVALID_STATE_ERR=11
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.INVALID_STATE_ERR=11;
-/**
- * Constant DOMException.SYNTAX_ERR=12
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.SYNTAX_ERR=12;
-/**
- * Constant DOMException.INVALID_MODIFICATION_ER=13
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.INVALID_MODIFICATION_ER=13;
-/**
- * Constant DOMException.NAMESPACE_ERR=14
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.NAMESPACE_ERR=14;
-/**
- * Constant DOMException.NVALID_ACCESS_ERR=15
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.INVALID_ACCESS_ERR=15;
-/**
- * Property code
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.prototype.code=new Number();
-
-
-/**
- * Object DOMImplementation()
- * @super Object
- * @type constructor
- * @memberOf DOMImplementation
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function DOMImplementation();
-DOMImplementation.prototype = new Object();
-
-/**
- * function hasFeature()
- * @type method
- * @memberOf DOMImplementation
- * @param {String} feature
- * @param {String} version
- * @returns {boolean}
- * @see DOMImplementation
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMImplementation.prototype.hasFeature = new function(feature, version);
-
-/**
- * function createDocumentType()
- * @type method
- * @memberOf DOMImplementation
- * @param {String} namespaceURI
- * @param {String} qualifiedName
- * @param {DocumentType} doctype
- * @returns {Document}
- * @throws DOMException
- * @see DOMImplementation
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMImplementation.prototype.createDocument = function(namespaceURI, qualifiedName, doctype){};
-/**
- * function createDocumentType()
- * @type method
- * @memberOf DOMImplementation
-
- * @param {String} qualifiedName
- * @param {String} publicId
- * @param {String} systemId
-
- * @returns {DocumentType}
- * @throws DOMException
- * @see DOMImplementation
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMImplementation.prototype.createDocumentType = function(qualifiedName, publicId, systemId){};
-/**
- * Object Node()
- * @super Object
- * @type constructor
- * @memberOf Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function Node(){};
-Node.prototype=new Object();
-/**
- * Constant Node.ELEMENT_NODE=1
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.ELEMENT_NODE=1;
-/**
- * Constant Node.ATTRIBUTE_NODE=2
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.ATTRIBUTE_NODE=2;
-/**
- * Constant Node.TEXT_NODE=3
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.TEXT_NODE=3;
-/**
- * Constant Node.CDATA_SECTION_NODE=4
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.CDATA_SECTION_NODE=4;
-/**
- * Constant Node.ENTITY_REFERENCE_NODE=5
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.ENTITY_REFERENCE_NODE=5;
-/**
- * Constant Node.ENTITY_NODE=6
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.ENTITY_NODE=6;
-/**
- * Constant Node.PROCESSING_INSTRUCTION_NODE=7
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.PROCESSING_INSTRUCTION_NODE=7;
-/**
- * Constant Node.COMMENT_NODE=8
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.COMMENT_NODE=8;
-/**
- * Constant Node.DOCUMENT_NODE=9
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.DOCUMENT_NODE=9;
-/**
- * Constant Node.DOCUMENT_TYPE_NODE=10
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.DOCUMENT_TYPE_NODE=10;
-/**
- * Constant Node.DOCUMENT_FRAGMENT_NODE=11
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.DOCUMENT_FRAGMENT_NODE=11;
-/**
- * Constant Node.NOTATION_NODE=12
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.NOTATION_NODE=12;
-
-/**
- * Property nodeName
- * @type String
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.nodeName = new String();
-/**
- * Property nodeName
- * @type String
- * @memberOf Node
- * @see Node
- * @throws DOMException when setting or getting the value.
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.nodeValue = new String();
-/**
- * Property nodeType
- * @type Number
- * @memberOf Node
- * @see Node
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.nodeType = new Number();
-/**
- * Property parentNode
- * @type Node
- * @memberOf Node
- * @see Node
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.parentNode=new Node();
-/**
- * Property childNodes
- * @type NodeList
- * @memberOf Node
- * @see Node
- * @see NodeList
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.childNodes=new NodeList();
-/**
- * Property firstChild
- * @type Node
- * @memberOf Node
- * @see Node
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.firstChild=new Node();
-/**
- * Property lastChild
- * @type Node
- * @memberOf Node
- * @see Node
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.lastChild=new Node();
-/**
- * Property previousSibling
- * @type Node
- * @memberOf Node
- * @see Node
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.previousSibling=new Node();
-/**
- * Property nextSibling
- * @type Node
- * @memberOf Node
- * @see Node
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.nextSibling=new Node();
-/**
- * Property attributes
- * @type NamedNodeMap
- * @memberOf Node
- * @see Node
- * @see NamedNodeMap
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.attributes=new NamedNodeMap();
-/**
- * Property ownerDocument
- * @type Document
- * @memberOf Node
- * @see Node
- * @see Document
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.ownerDocument = new Document();
-/**
- * Property namespaceURI
- * @type String
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.namespaceURI=new String();
-/**
- * Property prefix
- * @type String
- * @memberOf Node
- * @see Node
- * @throws DOMException on setting.
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.prefix = new String();
-/**
- * Property localName
- * @type String
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.localName= new String();
-/**
- * function insertBefore(newChild, refChild)
- * @type Method
- * @memberOf Node
- * @param {Node} newChilds
- * @param {Node} refChild
- * @returns {Node}
- * @throws DOMException
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.insertBefore = new function(newChild, refChild){};
-/**
- * function replaceChild(newChild, oldChild)
- * @type Method
- * @memberOf Node
- * @param {Node} newChilds
- * @param {Node} oldChild
- * @returns {Node}
- * @throws DOMException
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.replaceChild = function(newChild, oldChild){};
- /**
- * function removeChild(oldChild)
- * @type Method
- * @memberOf Node
- * @param {Node} oldChild
- * @returns {Node}
- * @throws DOMException
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.removeChild = function(oldChild){};
- /**
- * function appendChild(newChild)
- * @type Method
- * @memberOf Node
- * @param {Node} newChild
- * @returns {Node}
- * @throws DOMException
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.appendChild = function(newChild){};
- /**
- * function hasChildNodes()
- * @type Method
- * @memberOf Node
- * @returns {Boolean}
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.hasChildNodes=function(){};
- /**
- * function hasChildNodes()
- * @type Method
- * @memberOf Node
- * @param {Boolean} deep
- * @returns {Node}
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.cloneNode=function(deep){};
- /**
- * function normalize()
- * @type Method
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.normalize = function(){};
- /**
- * function isSupported(feature, version)
- * @type Method
- * @memberOf Node
- * @param {String} feature
- * @param {String} version
- * @returns {Boolean}
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.isSupported=function(feature, version){};
- /**
- * function hasAttributes()
- * @type Method
- * @memberOf Node
- * @returns {Boolean}
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.hasAttributes=function(){};
- /**
- * Object NodeList
- * @type constructor
- * @memberOf NodeList
- * @see NodeList
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function NodeList(){};
-NodeList.prototype = new Object();
- /**
- * property length
- * @type Number
- * @memberOf NodeList
- * @see NodeList
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-
-NodeList.prototype.length=new Number();
- /**
- * function item(index)
- * Note: This object can also be dereferenced using square bracket notation (e.g. obj[1]). Dereferencing with an integer index is equivalent to invoking the item method with that index
- * @type Method
- * @memberOf NodeList
- * @param {Number} index
- * @returns {Node}
- * @see NodeList
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-NodeList.prototype.item = function(index){};
-/**
- * Object DocumentFragment()
- * DocumentFragment inherits all of the methods and properties from Document and Node.
- * @super Document
- * @type constructor
- * @see Document
- * @memberOf DocumentFragment
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function DocumentFragment(){};
-DocumentFragment.prototype=new Document();
-/**
- * Object Document()
- * Document inherits all of the methods and properties from Node.
- * @super Node
- * @type constructor
- * @see Node
- * @memberOf Document
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function Document(){};
-Document.prototype = new Node();
-/**
- * property doctype
- * @type DocumentType
- * @see Document
- * @see DocumentType
- * @memberOf Document
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.doctype = new DocumentType();
-/**
- * property implementation
- * @type DOMImplementation
- * @see Document
- * @see DOMImplementation
- * @memberOf Document
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.implementation = new DOMImplementation();
-/**
- * property documentElement
- * @type Element
- * @see Document
- * @see Element
- * @memberOf Document
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.documentElement= new Element();
- /**
- * function createElement(tagName)
- * @type Method
- * @memberOf Document
- * @param {String} tagName
- * @returns {Element}
- * @throws DOMException
- * @see Document
- * @see Element
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-
-Document.prototype.createElement=function(tagName){};
- /**
- * function createDocumentFragment()
- * @type Method
- * @memberOf Document
- * @returns {DocumentFragment}
- * @see Document
- * @see DocumentFragment
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.createDocumentFragment=function(){};
- /**
- * function createTextNode(data)
- * @type Method
- * @memberOf Document
- * @param {String} data
- * @returns {Text}
- * @see Document
- * @see Text
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.createTextNode=function(data){};
- /**
- * function createComment(data)
- * @type Method
- * @memberOf Document
- * @param {String} data
- * @returns {Comment}
- * @see Document
- * @see Comment
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.createComment=function(data){};
- /**
- * function createCDATASection(data)
- * @type Method
- * @memberOf Document
- * @param {String} data
- * @returns {CDATASection}
- * @throws DOMException
- * @see Document
- * @see CDATASection
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.createCDATASection(data)
- /**
- * function createProcessingInstruction(target, data)
- * @type Method
- * @memberOf Document
- * @param {String} target
- * @param {String;} data
- * @returns {ProcessingInstruction}
- * @throws DOMException
- * @see Document
- * @see ProcessingInstruction
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.createProcessingInstruction=function(target, data){};
- /**
- * function createAttribute(name)
- * @type Method
- * @memberOf Document
- * @param {String} name
- * @returns {Attr}
- * @throws DOMException
- * @see Document
- * @see Attr
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.createAttribute=function(name){};
- /**
- * function createEntityReference(name)
- * @type Method
- * @memberOf Document
- * @param {String} name
- * @returns {EntityReference}
- * @throws DOMException
- * @see Document
- * @see EntityReference
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.createEntityReference=function(name){};
- /**
- * function getElementsByTagName(tagname)
- * @type Method
- * @memberOf Document
- * @param {String} tagname
- * @returns {NodeList}
- * @see Document
- * @see NodeList
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.getElementsByTagName=function(tagname){};
- /**
- * function importNode(importedNode, deep)
- * @type Method
- * @memberOf Document
- * @param {Node} importedNode
- * @param {Boolean} deep
- * @returns {Node}
- * @throws DOMException
- * @see Document
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.importNode=function(importedNode, deep){};
- /**
- * function createElementNS(namespaceURI, qualifiedName)
- * @type Method
- * @memberOf Document
- * @param {String} namespaceURI
- * @param {String} qualifiedName
- * @returns {Element}
- * @throws DOMException
- * @see Document
- * @see Element
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.createElementNS=function(namespaceURI, qualifiedName){};
- /**
- * function createAttributeNS(namespaceURI, qualifiedName)
- * @type Method
- * @memberOf Document
- * @param {String} namespaceURI
- * @param {String} qualifiedName
- * @returns {Attr}
- * @throws DOMException
- * @see Document
- * @see Attr
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.createAttributeNS=function(namespaceURI, qualifiedName){};
-/**
- * function getElementsByTagNameNS(namespaceURI, localName)
- * @type Method
- * @memberOf Document
- * @param {String} namespaceURI
- * @param {String} qualifiedName
- * @returns {NodeList}
- * @see Document
- * @see NodeList
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.getElementsByTagNameNS=function(namespaceURI, localName){};
-/**
- * function getElementById(elementId)
- * @type Method
- * @memberOf Document
- * @param {String} elementId
- * @returns {Element}
- * @see Document
- * @see Element
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.getElementById=function(elementId){};
-/**
- * Object NamedNodeMap()
- * @super Object
- * @type constructor
- * @memberOf NamedNodeMap
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function NamedNodeMap(){};
-NamedNodeMap.prototype = new Object();
-/**
- * property length
- * @type Number
- * @memberOf NamedNodeMap;
- * @see NamedNodeMap
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-NamedNodeMap.prototype.length=new Number();
-/**
- * function getNamedItem(name)
- * @type Method
- * @memberOf NamedNodeMap
- * @param {String} Name
- * @returns {Node}
- * @see NamedNodeMap
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-NamedNodeMap.prototype.getNamedItem=function(name){};
-/**
- * function setNamedItem(arg)
- * @type Method
- * @memberOf NamedNodeMap
- * @param {Node} arg
- * @returns {Node}
- * @throws DOMException
- * @see NamedNodeMap
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-NamedNodeMap.prototype.setNamedItem=function(arg){};
-/**
- * function removeNamedItem(name)
- * @type Method
- * @memberOf NamedNodeMap
- * @param {String} name
- * @returns {Node}
- * @throws DOMException
- * @see NamedNodeMap
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-NamedNodeMap.prototype.removeNamedItem=function(name){};
-/**
- * function item(index)
- * Note: This object can also be dereferenced using square bracket notation (e.g. obj[1]). Dereferencing with an integer index is equivalent to invoking the item method with that index.
- * @type Method
- * @memberOf NamedNodeMap
- * @param {Number} index
- * @returns {Node}
- * @see NamedNodeMap
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-NamedNodeMap.prototype.item=function(index){};
-/**
- * function getNamedItemNS(namespaceURI, localName)
- * @type Method
- * @memberOf NamedNodeMap
- * @param {String} namespaceURI
- * @param {String} localName
- * @returns {Node}
- * @see NamedNodeMap
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-NamedNodeMap.prototype.getNamedItemNS=function(namespaceURI, localName){};
-/**
- * function setNamedItemNS(arg)
- * @type Method
- * @memberOf NamedNodeMap
- * @param {Node} arg
- * @param {String} localName
- * @returns {Node}
- * @throws DOMException
- * @see NamedNodeMap
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-NamedNodeMap.prototype.setNamedItemNS=function(arg){};
-/**
- * function removeNamedItemNS(namespaceURI, localName)
- * @type Method
- * @memberOf NamedNodeMap
- * @param {String} namespaceURI
- * @param {String} localName
- * @returns {Node}
- * @throws DOMException
- * @see NamedNodeMap
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-NamedNodeMap.prototype.removeNamedItemNS=function(namespaceURI, localName){};
-/**
- * Object CharacterData()
- * CharacterData inherits all of the methods and properties from Node.
- * @super Node
- * @type constructor
- * @see Node
- * @memberOf CharacterData
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function CharacterData(){};
-CharacterData.prototype=new Node();
-/**
- * property data
- * @type String
- * @memberOf CharacterData
- * @throws DOMException on setting and can raise a DOMException object on retrieval.
- * @see CharacterData
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-CharacterData.prototype.data=new String();
-/**
- * property length
- * @type Number
- * @memberOf CharacterData
- * @see CharacterData
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-CharacterData.prototype.length=new Number();
-/**
- * function substringData(offset, count)
- * @type Method
- * @memberOf CharacterData
- * @param {Number} parameter
- * @param {Number} count
- * @returns {String}
- * @throws DOMException
- * @see CharacterData
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-CharacterData.prototype.substringData=function(offset, count){};
-/**
- * function appendData(arg)
- * @type Method
- * @memberOf CharacterData
- * @param {String} arg
- * @returns {String}
- * @throws DOMException
- * @see CharacterData
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-CharacterData.prototype.appendData=function(arg){};
-/**
- * function insertData(offset, arg)
- * @type Method
- * @memberOf CharacterData
- * @param {Number} offset
- * @param {String} arg
- * @throws DOMException
- * @see CharacterData
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-CharacterData.prototype.insertData=function(offset, arg){};
-/**
- * function deleteData(offset, count)
- * @type Method
- * @memberOf CharacterData
- * @param {Number} offset
- * @param {Number} count
- * @throws DOMException
- * @see CharacterData
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-CharacterData.prototype.deleteData=function(offset, count){};
-/**
- * function replaceData(offset, count, arg)
- * @type Method
- * @memberOf CharacterData
- * @param {Number} offset
- * @param {Number} count
- * @param {String} arg
- * @throws DOMException
- * @see CharacterData
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-CharacterData.prototype.replaceData=function(offset, count, arg){};
-/**
- * Object Attr()
- * Attr inherits all of the methods and properties from Node.
- * @super Node
- * @type constructor
- * @see Node
- * @memberOf Attr
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function Attr(){};
-Attr.prototype=new Node();
-/**
- * property name
- * @type String
- * @memberOf Attr
-
- * @see Attr
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Attr.prototype.name=new String();
-/**
- * property specified
- * @type Boolean
- * @memberOf Attr
-
- * @see Attr
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Attr.prototype.specified=new Boolean();
-/**
- * property value
- * @type Boolean
- * @memberOf Attr
- * @throws DOMException on setting and can raise a DOMException object on retrieval.
- * @see Attr
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Attr.prototype.value=new String();
-/**
- * property ownerElement
- * @type Element
- * @memberOf Attr
- * @throws DOMException on setting and can raise a DOMException object on retrieval.
- * @see Attr
- * @see Element
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Attr.prototype.ownerElement=new Element();
-/**
- * Object Element()
- * Element inherits all of the methods and properties from Node.
- * @super Node
- * @type constructor
- * @see Node
- * @memberOf Attr
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function Element(){};
-Element.prototype=new Node();
-/**
- * property tagName
- * @type String
- * @memberOf Element
- * @throws DOMException on setting and can raise a DOMException object on retrieval.
- * @see Attr
- * @see Element
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.tagName=new String();
-/**
- * function getAttribute(name)
- * @type Method
- * @memberOf Element
- * @param {String} name
- * @returns {String}
- * @see Element
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.getAttribute=function(name){};
-/**
- * function setAttribute(name, value)
- * @type Method
- * @memberOf Element
- * @param {String} name
- * @param {String} value
- * @throws DOMException
- * @see Element
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.setAttribute=function(name, value){};
-/**
- * function removeAttribute(name)
- * @type Method
- * @memberOf Element
- * @param {String} name
- * @throws DOMException
- * @see Element
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.removeAttribute=function(name){};
-/**
- * function getAttributeNode(name)
- * @type Method
- * @memberOf Element
- * @param {String} name
- * @returns {Attr}
- * @see Element
- * @see Attr
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.getAttributeNode=function(name){};
-/**
- * function setAttributeNode(newAttr)
- * @type Method
- * @memberOf Element
- * @param {Attr} newAttr
- * @returns {Attr}
- * @throws DOMException
- * @see Element
- * @see Attr
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.setAttributeNode=function(newAttr){};
-/**
- * function removeAttributeNode(oldAttr)
- * @type Method
- * @memberOf Element
- * @param {Attr} oldAttr
- * @returns {Attr}
- * @throws DOMException
- * @see Element
- * @see Attr;
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.removeAttributeNode=function(oldAttr){};
-/**
- * function getElementsByTagName(name)
- * @type Method
- * @memberOf Element
- * @param {String} name
- * @returns {NodeList}
- * @see NodeList
- * @see Element;
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.getElementsByTagName=function(name){};
-/**
- * function getAttributeNS(namespaceURI, localName)
- * @type Method
- * @memberOf Element
- * @param {String} namespaceURI
- * @param {String} localName
- * @returns {String}
- * @see Element
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.getAttributeNS=function(namespaceURI, localName){};
- /**
- * function setAttributeNS(namespaceURI, qualifiedName, value)
- * @type Method
- * @memberOf Element
- * @param {String} namespaceURI
- * @param {String} qualifiedName
- * @param {String} value
- * @throws DOMException
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.setAttributeNS=function(namespaceURI, qualifiedName, value){};
- /**
- * function removeAttributeNS(namespaceURI, localName)
- * @type Method
- * @memberOf Element
- * @param {String} namespaceURI
- * @param {String} localName
- * @throws DOMException
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.removeAttributeNS=function(namespaceURI, localName){};
- /**
- * function getAttributeNodeNS(namespaceURI, localName)
- * @type Method
- * @memberOf Element
- * @param {String} namespaceURI
- * @param {String} localName
- * @returns {Attr}
- * @throws DOMException
- * @see Attr
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.getAttributeNodeNS=function(namespaceURI, localName){};
- /**
- * function setAttributeNodeNS(newAttr)
- * @type Method
- * @memberOf Element
- * @param {Attr} newAttr
-
- * @returns {Attr}
- * @throws DOMException
- * @see Attr
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.setAttributeNodeNS=function(newAttr){};
- /**
- * function getElementsByTagNameNS(namespaceURI, localName)
- * @type Method
- * @memberOf Element
- * @param {String} namespaceURI
- * @param {String} localName
-
- * @returns {NodeList}
-
- * @see NodeList
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.getElementsByTagNameNS=function(namespaceURI, localName){};
- /**
- * function hasAttribute(name)
- * @type Method
- * @memberOf Element
-
- * @param {String} name
-
- * @returns {Boolean}
-
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.hasAttribute=function(name){};
- /**
- * function hasAttributeNS(namespaceURI, localName)
- * @type Method
- * @memberOf Element
- * @param {String} namespaceURI
- * @param {String} localName
-
- * @returns {Boolean}
-
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.hasAttributeNS=function(namespaceURI, localName){};
-/**
- * Object Text()
- * Text inherits all of the methods and properties from CharacterData.
- * @super CharacterData
- * @type constructor
-
- * @memberOf Text
- * @see CharacterData
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function Text(){};
-Text.prototype = new ChracterData();
- /**
- * function splitText(offset)
- * @type Method
- * @memberOf Text
- * @param {Number} offset
-
-
- * @returns {Text}
- * @throws DOMException
- * @see Text
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Text.prototype.splitText=function(offset){};
-/**
- * Object Comment()
- * Comment inherits all of the methods and properties from CharacterData.
- * @super CharacterData
- * @type constructor
-
- * @memberOf Comment
- * @see CharacterData
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function Comment(){};
-Comment.prototype = new ChracterData();
-/**
- * Object CDATASection()
- * Comment inherits all of the methods and properties from Text.
- * @super Text
- * @type constructor
-
- * @memberOf CDATASection
- * @see Text
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function CDATASection(){};
-CDATASection.prototype = new Text();
-/**
- * Object DocumentType()
- * DocumentType inherits all of the methods and properties from Node.
- * @super Node
- * @type constructor
-
- * @memberOf DocumenType
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function DocumentType(){};
-DocumentType.prototype = new Node();
-/**
- * read-only Property name
- * @type String
- * @memberOf DocumentType
- * @see DocumentType();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DocumentType.prototype.name=new String();
-/**
- * read-only Property entities
- * @type NamedNodeMap
- * @memberOf DocumentType
- * @see DocumentType();
- * @see NamedNodeMap
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DocumentType.prototype.entities = new NamedNodeMap();
-/**
- * Read-Only Property notations
- * @type NamedNodeMap
- * @memberOf DocumentType
- * @see DocumentType();
- * @see NamedNodeMap
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DocumentType.prototype.notations=new NamedNodeMap();
-/**
- * Read-Only Property publicId
- * @type String
- * @memberOf DocumentType
- * @see DocumentType();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DocumentType.prototype.publicId=new String();
-/**
- * Read-Only Property systemId
- * @type String
- * @memberOf DocumentType
- * @see DocumentType();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DocumentType.prototype.systemId=new String();
-/**
- * Read-Only Property internalSubset
- * @type String
- * @memberOf DocumentType
- * @see DocumentType();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DocumentType.prototype.internalSubset=new String();
-/**
- * Object Notation()
- * Notation inherits all of the methods and properties from Node.
- * @super Node
- * @type constructor
-
- * @memberOf Notation
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function Notation(){};
-Notation.prototype=new Node();
-/**
- * Read-Only Property publicId
- * @type String
- * @memberOf Notation
- * @see Notation();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Notation.prototype.publicId=new String();
-/**
- * Read-Only Property systemId
- * @type String
- * @memberOf Notation
- * @see Notation();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Notation.prototype.systemId=new String();
-/**
- * Object Entity()
- * Entity inherits all of the methods and properties from Node.
- * @super Node
- * @type constructor
-
- * @memberOf Entity
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function Entity(){};
-Entity.prototype=new Node();
-/**
- * Read-Only Property publicId
- * @type String
- * @memberOf Entity
- * @see Entity();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Entity.prototype.publicId=new String();
- /**
- * Read-Only Property systemId
- * @type String
- * @memberOf Entity
- * @see Entity();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Entity.prototype.systemId=new String();
- /**
- * Read-Only Property notationName
- * @type String
- * @memberOf Entity
- * @see Entity();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Entity.prototype.notationName=new String();
-/**
- * Object EntityReference()
- * EntityReference inherits all of the methods and properties from Node.
- * @super Node
- * @type constructor
-
- * @memberOf EntityReference
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function EntityReference(){};
-EntityReference.prototype=new Node();
- /**
- * Object ProcessingInstruction()
- * ProcessingInstruction inherits all of the methods and properties from Node.
- * @super Node
- * @type constructor
-
- * @memberOf ProcessingInstruction
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-
-function ProcessingInstruction(){};
-ProcessingInstruction.prototype=new Node();
- /**
- * Read-Only Property target
- * @type String
- * @memberOf ProcessingInstruction
- * @see ProcessingInstruction();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-ProcessingInstruction.prototype.target=new String();
- /**
- * Read-Only Property target
- * @type String
- * @memberOf ProcessingInstruction
- * @throws DOMException on setting.
- * @see ProcessingInstruction();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-ProcessingInstruction.prototype.data=new String();
-
-
-
-
diff --git a/bundles/org.eclipse.wst.jsdt.core/libraries/baseBrowserLibrary.js b/bundles/org.eclipse.wst.jsdt.core/libraries/baseBrowserLibrary.js
deleted file mode 100644
index 2b97e839..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/libraries/baseBrowserLibrary.js
+++ /dev/null
@@ -1,1917 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-
-/**
- * Object DOMException()
- * @super Object
- * @type constructor
- * @memberOf DOMException
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function DOMException(){};
-DOMException.prototype = new Object();
-/**
- * Constant DOMException.INDEX_SIZE_ERR=1
- * @type Number
- * @memberOf DOMException
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see DOMException()
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.INDEX_SIZE_ERR=1;
-/**
- * Constant DOMException.DOMSTRING_SIZE_ERR=2
- * @type Number
- * @memberOf DOMException
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see DOMException()
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.DOMSTRING_SIZE_ERR=2;
-/**
- * Constant DOMException.HIERARCHY_REQUEST_ERR=3
- * @type Mi,ber
- * @memberOf DOMException
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see DOMException()
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.HIERARCHY_REQUEST_ERR=3;
-/**
- * Constant DOMException.WRONG_DOCUMENT_ERR=4
- * @type Number
- * @see DOMException()
- * @memberOf DOMException
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.WRONG_DOCUMENT_ERR=4;
-/**
- * Constant DOMException.INVALID_CHARACTER_ERR=5
- * @memberOf DOMException
- * @type Number
- * @see DOMException()
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.INVALID_CHARACTER_ERR=5;
-/**
- * Constant DOMException.NO_DATA_ALLOWED_ER=6
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
- * @since Level 2 Document Object Model Core Definition.
- * @since Standard ECMA-262 3rd. Edition
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.NO_DATA_ALLOWED_ER=6;
-/**
- * Constant DOMException.NO_MODIFICATION_ALLOWED_ERR=7
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.NO_MODIFICATION_ALLOWED_ERR=7;
-/**
- * Constant DOMException.NOT_FOUND_ERR=8
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.NOT_FOUND_ERR=8;
-/**
- * Constant DOMException.NOT_SUPPORTED_ERR=9
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.NOT_SUPPORTED_ERR=9;
-/**
- * Constant DOMException.INUSE_ATTRIBUTE_ERR=10
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.INUSE_ATTRIBUTE_ERR=10;
-/**
- * Constant DOMException.INVALID_STATE_ERR=11
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.INVALID_STATE_ERR=11;
-/**
- * Constant DOMException.SYNTAX_ERR=12
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.SYNTAX_ERR=12;
-/**
- * Constant DOMException.INVALID_MODIFICATION_ER=13
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.INVALID_MODIFICATION_ER=13;
-/**
- * Constant DOMException.NAMESPACE_ERR=14
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.NAMESPACE_ERR=14;
-/**
- * Constant DOMException.NVALID_ACCESS_ERR=15
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.INVALID_ACCESS_ERR=15;
-/**
- * Property code
- * @type Number
- * @memberOf DOMException
- * @see DOMException()
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMException.prototype.code=0;
-
-
-/**
- * Object DOMImplementation()
- * @super Object
- * @constructor
- * @memberOf DOMImplementation
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function DOMImplementation(){};
-DOMImplementation.prototype = new Object();
-
-/**
- * function hasFeature()
- * @type boolean
- * @memberOf DOMImplementation
- * @param {String} feature
- * @param {String} version
- * @returns {boolean}
- * @see DOMImplementation
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMImplementation.prototype.hasFeature = function(feature, version){};
-
-/**
- * function createDocumentType()
- * @type Document
- * @memberOf DOMImplementation
- * @param {String} namespaceURI
- * @param {String} qualifiedName
- * @param {DocumentType} doctype
- * @returns {Document}
- * @throws DOMException
- * @see DOMImplementation
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMImplementation.prototype.createDocument = function(namespaceURI, qualifiedName, doctype){};
-/**
- * function createDocumentType()
- * @type DocumentType
- * @memberOf DOMImplementation
-
- * @param {String} qualifiedName
- * @param {String} publicId
- * @param {String} systemId
-
- * @returns {DocumentType}
- * @throws DOMException
- * @see DOMImplementation
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DOMImplementation.prototype.createDocumentType = function(qualifiedName, publicId, systemId){};
-/**
- * Object Node()
- * @super Object
- * @constructor
- * @memberOf Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function Node(){};
-Node.prototype=new Object();
-/**
- * Constant Node.ELEMENT_NODE=1
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.ELEMENT_NODE=1;
-/**
- * Constant Node.ATTRIBUTE_NODE=2
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.ATTRIBUTE_NODE=2;
-/**
- * Constant Node.TEXT_NODE=3
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.TEXT_NODE=3;
-/**
- * Constant Node.CDATA_SECTION_NODE=4
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.CDATA_SECTION_NODE=4;
-/**
- * Constant Node.ENTITY_REFERENCE_NODE=5
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.ENTITY_REFERENCE_NODE=5;
-/**
- * Constant Node.ENTITY_NODE=6
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.ENTITY_NODE=6;
-/**
- * Constant Node.PROCESSING_INSTRUCTION_NODE=7
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.PROCESSING_INSTRUCTION_NODE=7;
-/**
- * Constant Node.COMMENT_NODE=8
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.COMMENT_NODE=8;
-/**
- * Constant Node.DOCUMENT_NODE=9
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.DOCUMENT_NODE=9;
-/**
- * Constant Node.DOCUMENT_TYPE_NODE=10
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.DOCUMENT_TYPE_NODE=10;
-/**
- * Constant Node.DOCUMENT_FRAGMENT_NODE=11
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.DOCUMENT_FRAGMENT_NODE=11;
-/**
- * Constant Node.NOTATION_NODE=12
- * @type Number
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.NOTATION_NODE=12;
-
-/**
- * Property nodeName
- * @type String
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.nodeName = "";
-/**
- * Property nodeName
- * @type String
- * @memberOf Node
- * @see Node
- * @throws DOMException when setting or getting the value.
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.nodeValue = "";
-/**
- * Property nodeType
- * @type Number
- * @memberOf Node
- * @see Node
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.nodeType = 0;
-/**
- * Property parentNode
- * @type Node
- * @memberOf Node
- * @see Node
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.parentNode=new Node();
-/**
- * Property childNodes
- * @type NodeList
- * @memberOf Node
- * @see Node
- * @see NodeList
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.childNodes=new NodeList();
-/**
- * Property firstChild
- * @type Node
- * @memberOf Node
- * @see Node
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.firstChild=new Node();
-/**
- * Property lastChild
- * @type Node
- * @memberOf Node
- * @see Node
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.lastChild=new Node();
-/**
- * Property previousSibling
- * @type Node
- * @memberOf Node
- * @see Node
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.previousSibling=new Node();
-/**
- * Property nextSibling
- * @type Node
- * @memberOf Node
- * @see Node
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.nextSibling=new Node();
-/**
- * Property attributes
- * @type NamedNodeMap
- * @memberOf Node
- * @see Node
- * @see NamedNodeMap
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.attributes=new NamedNodeMap();
-/**
- * Property ownerDocument
- * @type Document
- * @memberOf Node
- * @see Node
- * @see Document
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.ownerDocument = new Document();
-/**
- * Property namespaceURI
- * @type String
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.namespaceURI="";
-/**
- * Property prefix
- * @type String
- * @memberOf Node
- * @see Node
- * @throws DOMException on setting.
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.prefix = "";
-/**
- * Property localName
- * @type String
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.localName= "";
-/**
- * function insertBefore(newChild, refChild)
- * @type Node
- * @memberOf Node
- * @param {Node} newChilds
- * @param {Node} refChild
- * @returns {Node}
- * @throws DOMException
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.insertBefore = function(newChild, refChild){};
-/**
- * function replaceChild(newChild, oldChild)
- * @type Node
- * @memberOf Node
- * @param {Node} newChilds
- * @param {Node} oldChild
- * @returns {Node}
- * @throws DOMException
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.replaceChild = function(newChild, oldChild){};
- /**
- * function removeChild(oldChild)
- * @type Node
- * @memberOf Node
- * @param {Node} oldChild
- * @returns {Node}
- * @throws DOMException
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.removeChild = function(oldChild){};
- /**
- * function appendChild(newChild)
- * @type Node
- * @memberOf Node
- * @param {Node} newChild
- * @returns {Node}
- * @throws DOMException
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.appendChild = function(newChild){};
- /**
- * function hasChildNodes()
- * @type Boolean
- * @memberOf Node
- * @returns {Boolean}
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.hasChildNodes=function(){};
- /**
- * function hasChildNodes()
- * @type Node
- * @memberOf Node
- * @param {Boolean} deep
- * @returns {Node}
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.cloneNode=function(deep){};
- /**
- * function normalize()
- * @memberOf Node
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.normalize = function(){};
- /**
- * function isSupported(feature, version)
- * @type Boolean
- * @memberOf Node
- * @param {String} feature
- * @param {String} version
- * @returns {Boolean}
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.isSupported=function(feature, version){};
- /**
- * function hasAttributes()
- * @type Boolean
- * @memberOf Node
- * @returns {Boolean}
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Node.prototype.hasAttributes=function(){};
- /**
- * Object NodeList
- * @constructor
- * @memberOf NodeList
- * @see NodeList
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function NodeList(){};
-NodeList.prototype = new Object();
- /**
- * property length
- * @type Number
- * @memberOf NodeList
- * @see NodeList
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-
-NodeList.prototype.length=0;
- /**
- * function item(index)
- * Note: This object can also be dereferenced using square bracket notation (e.g. obj[1]). Dereferencing with an integer index is equivalent to invoking the item method with that index
- * @type Node
- * @memberOf NodeList
- * @param {Number} index
- * @returns {Node}
- * @see NodeList
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-NodeList.prototype.item = function(index){};
-/**
- * Object DocumentFragment()
- * DocumentFragment inherits all of the methods and properties from Document and Node.
- * @super Document
- * @constructor
- * @see Document
- * @memberOf DocumentFragment
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function DocumentFragment(){};
-DocumentFragment.prototype=new Document();
-/**
- * Object Document()
- * Document inherits all of the methods and properties from Node.
- * @super Node
- * @constructor
- * @see Node
- * @memberOf Document
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function Document(){};
-Document.prototype = new Node();
-/**
- * property doctype
- * @type DocumentType
- * @see Document
- * @see DocumentType
- * @memberOf Document
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.doctype = new DocumentType();
-/**
- * property cookie
- * @type Array
- * @see Document
- * @memberOf Document
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
-*/
-Document.prototype.cookie = new Array();
-/**
- * property domain
- * @type String
- * @see Document
- * @memberOf Document
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
-*/
-Document.prototype.domain = "";
-/**
- * property referrer
- * @type String
- * @see Document
- * @memberOf Document
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
-*/
-Document.prototype.referrer = "";
-/**
- * property title
- * @type String
- * @see Document
- * @memberOf Document
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
-*/
-Document.prototype.title = "";
-/**
- * property URL
- * @type String
- * @see Document
- * @memberOf Document
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
-*/
-Document.prototype.URL = "";
-/**
- * property implementation
- * @type DOMImplementation
- * @see Document
- * @see DOMImplementation
- * @memberOf Document
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.implementation = new DOMImplementation();
-/**
- * property documentElement
- * @type Element
- * @see Document
- * @see Element
- * @memberOf Document
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.documentElement= new Element();
- /**
- * function createElement(tagName)
- * @type Element
- * @memberOf Document
- * @param {String} tagName
- * @returns {Element}
- * @throws DOMException
- * @see Document
- * @see Element
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-
-Document.prototype.createElement=function(tagName){};
- /**
- * function createDocumentFragment()
- * @type DocumentFragment
- * @memberOf Document
- * @returns {DocumentFragment}
- * @see Document
- * @see DocumentFragment
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.createDocumentFragment=function(){};
- /**
- * function createTextNode(data)
- * @type Text
- * @memberOf Document
- * @param {String} data
- * @returns {Text}
- * @see Document
- * @see Text
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.createTextNode=function(data){};
- /**
- * function createComment(data)
- * @type Comment
- * @memberOf Document
- * @param {String} data
- * @returns {Comment}
- * @see Document
- * @see Comment
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.createComment=function(data){};
- /**
- * function createCDATASection(data)
- * @type CDATASection
- * @memberOf Document
- * @param {String} data
- * @returns {CDATASection}
- * @throws DOMException
- * @see Document
- * @see CDATASection
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.createCDATASection(data)
- /**
- * function createProcessingInstruction(target, data)
- * @type ProcessingInstruction
- * @memberOf Document
- * @param {String} target
- * @param {String;} data
- * @returns {ProcessingInstruction}
- * @throws DOMException
- * @see Document
- * @see ProcessingInstruction
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.createProcessingInstruction=function(target, data){};
- /**
- * function createAttribute(name)
- * @type Attr
- * @memberOf Document
- * @param {String} name
- * @returns {Attr}
- * @throws DOMException
- * @see Document
- * @see Attr
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.createAttribute=function(name){};
- /**
- * function createEntityReference(name)
- * @type DOMException
- * @memberOf Document
- * @param {String} name
- * @returns {EntityReference}
- * @throws DOMException
- * @see Document
- * @see EntityReference
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.createEntityReference=function(name){};
- /**
- * function getElementsByTagName(tagname)
- * @type NodeList
- * @memberOf Document
- * @param {String} tagname
- * @returns {NodeList}
- * @see Document
- * @see NodeList
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.getElementsByTagName=function(tagname){};
- /**
- * function importNode(importedNode, deep)
- * @type Node
- * @memberOf Document
- * @param {Node} importedNode
- * @param {Boolean} deep
- * @returns {Node}
- * @throws DOMException
- * @see Document
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.importNode=function(importedNode, deep){};
- /**
- * function createElementNS(namespaceURI, qualifiedName)
- * @type Element
- * @memberOf Document
- * @param {String} namespaceURI
- * @param {String} qualifiedName
- * @returns {Element}
- * @throws DOMException
- * @see Document
- * @see Element
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.createElementNS=function(namespaceURI, qualifiedName){};
- /**
- * function createAttributeNS(namespaceURI, qualifiedName)
- * @type Attr
- * @memberOf Document
- * @param {String} namespaceURI
- * @param {String} qualifiedName
- * @returns {Attr}
- * @throws DOMException
- * @see Document
- * @see Attr
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.createAttributeNS=function(namespaceURI, qualifiedName){};
-/**
- * function getElementsByTagNameNS(namespaceURI, localName)
- * @type NodeList
- * @memberOf Document
- * @param {String} namespaceURI
- * @param {String} qualifiedName
- * @returns {NodeList}
- * @see Document
- * @see NodeList
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.getElementsByTagNameNS=function(namespaceURI, localName){};
-/**
- * function getElementById(elementId)
- * @type Element
- * @memberOf Document
- * @param {String} elementId
- * @returns {Element}
- * @see Document
- * @see Element
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.getElementById=function(elementId){};
-/**
- * function getElementsByTagName(tagName)
- * @type Element
- * @memberOf Document
- * @param {String} tagName
- * @returns {Element}
- * @see Document
- * @see Element
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
-*/
-Document.prototype.getElementsByTagName=function(tagName){};
-/**
- * function write(text)
- * @memberOf Document
- * @param {String} text
- * @see Document
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 1 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.write=function(text){};
-/**
- * function writeln(text)
- * @memberOf Document
- * @param {String} text
- * @see Document
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 1 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.writeln=function(text){};
-/**
- * function close()
- * @memberOf Document
- * @see Document
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 1 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.close=function(){};
-/**
- * function open()
- * @memberOf Document
- * @see Document
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 1 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Document.prototype.open=function(){};
-/**
- * Object NamedNodeMap()
- * @super Object
- * @constructor
- * @memberOf NamedNodeMap
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function NamedNodeMap(){};
-NamedNodeMap.prototype = new Object();
-/**
- * property length
- * @type Number
- * @memberOf NamedNodeMap;
- * @see NamedNodeMap
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-NamedNodeMap.prototype.length=0;
-/**
- * function getNamedItem(name)
- * @type Node
- * @memberOf NamedNodeMap
- * @param {String} Name
- * @returns {Node}
- * @see NamedNodeMap
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-NamedNodeMap.prototype.getNamedItem=function(name){};
-/**
- * function setNamedItem(arg)
- * @type Node
- * @memberOf NamedNodeMap
- * @param {Node} arg
- * @returns {Node}
- * @throws DOMException
- * @see NamedNodeMap
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-NamedNodeMap.prototype.setNamedItem=function(arg){};
-/**
- * function removeNamedItem(name)
- * @type Node
- * @memberOf NamedNodeMap
- * @param {String} name
- * @returns {Node}
- * @throws DOMException
- * @see NamedNodeMap
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-NamedNodeMap.prototype.removeNamedItem=function(name){};
-/**
- * function item(index)
- * Note: This object can also be dereferenced using square bracket notation (e.g. obj[1]). Dereferencing with an integer index is equivalent to invoking the item method with that index.
- * @type Node
- * @memberOf NamedNodeMap
- * @param {Number} index
- * @returns {Node}
- * @see NamedNodeMap
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-NamedNodeMap.prototype.item=function(index){};
-/**
- * function getNamedItemNS(namespaceURI, localName)
- * @type Node
- * @memberOf NamedNodeMap
- * @param {String} namespaceURI
- * @param {String} localName
- * @returns {Node}
- * @see NamedNodeMap
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-NamedNodeMap.prototype.getNamedItemNS=function(namespaceURI, localName){};
-/**
- * function setNamedItemNS(arg)
- * @type Node
- * @memberOf NamedNodeMap
- * @param {Node} arg
- * @param {String} localName
- * @returns {Node}
- * @throws DOMException
- * @see NamedNodeMap
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-NamedNodeMap.prototype.setNamedItemNS=function(arg){};
-/**
- * function removeNamedItemNS(namespaceURI, localName)
- * @type Node
- * @memberOf NamedNodeMap
- * @param {String} namespaceURI
- * @param {String} localName
- * @returns {Node}
- * @throws DOMException
- * @see NamedNodeMap
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-NamedNodeMap.prototype.removeNamedItemNS=function(namespaceURI, localName){};
-/**
- * Object CharacterData()
- * CharacterData inherits all of the methods and properties from Node.
- * @super Node
- * @constructor
- * @see Node
- * @memberOf CharacterData
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function CharacterData(){};
-CharacterData.prototype=new Node();
-/**
- * property data
- * @type String
- * @memberOf CharacterData
- * @throws DOMException on setting and can raise a DOMException object on retrieval.
- * @see CharacterData
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-CharacterData.prototype.data="";
-/**
- * property length
- * @type Number
- * @memberOf CharacterData
- * @see CharacterData
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-CharacterData.prototype.length=0;
-/**
- * function substringData(offset, count)
- * @type String
- * @memberOf CharacterData
- * @param {Number} parameter
- * @param {Number} count
- * @returns {String}
- * @throws DOMException
- * @see CharacterData
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-CharacterData.prototype.substringData=function(offset, count){};
-/**
- * function appendData(arg)
- * @type String
- * @memberOf CharacterData
- * @param {String} arg
- * @returns {String}
- * @throws DOMException
- * @see CharacterData
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-CharacterData.prototype.appendData=function(arg){};
-/**
- * function insertData(offset, arg)
-
- * @memberOf CharacterData
- * @param {Number} offset
- * @param {String} arg
- * @throws DOMException
- * @see CharacterData
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-CharacterData.prototype.insertData=function(offset, arg){};
-/**
- * function deleteData(offset, count)
-
- * @memberOf CharacterData
- * @param {Number} offset
- * @param {Number} count
- * @throws DOMException
- * @see CharacterData
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-CharacterData.prototype.deleteData=function(offset, count){};
-/**
- * function replaceData(offset, count, arg)
-
- * @memberOf CharacterData
- * @param {Number} offset
- * @param {Number} count
- * @param {String} arg
- * @throws DOMException
- * @see CharacterData
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-CharacterData.prototype.replaceData=function(offset, count, arg){};
-/**
- * Object Attr()
- * Attr inherits all of the methods and properties from Node.
- * @super Node
- * @constructor
- * @see Node
- * @memberOf Attr
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function Attr(){};
-Attr.prototype=new Node();
-/**
- * property name
- * @type String
- * @memberOf Attr
-
- * @see Attr
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Attr.prototype.name="";
-/**
- * property specified
- * @type Boolean
- * @memberOf Attr
-
- * @see Attr
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Attr.prototype.specified=false;
-/**
- * property value
- * @type Boolean
- * @memberOf Attr
- * @throws DOMException on setting and can raise a DOMException object on retrieval.
- * @see Attr
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Attr.prototype.value="";
-/**
- * property ownerElement
- * @type Element
- * @memberOf Attr
- * @throws DOMException on setting and can raise a DOMException object on retrieval.
- * @see Attr
- * @see Element
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Attr.prototype.ownerElement=new Element();
-/**
- * Object Element()
- * Element inherits all of the methods and properties from Node.
- * @super Node
- * @constructor
- * @see Node
- * @memberOf Attr
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function Element(){};
-Element.prototype=new Node();
-/**
- * property tagName
- * @type String
- * @memberOf Element
- * @throws DOMException on setting and can raise a DOMException object on retrieval.
- * @see Attr
- * @see Element
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.tagName="";
-/**
- * function getAttribute(name)
- * @type String
- * @memberOf Element
- * @param {String} name
- * @returns {String}
- * @see Element
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.getAttribute=function(name){};
-/**
- * function setAttribute(name, value)
- *
- * @memberOf Element
- * @param {String} name
- * @param {String} value
- * @throws DOMException
- * @see Element
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.setAttribute=function(name, value){};
-/**
- * function removeAttribute(name)
-
- * @memberOf Element
- * @param {String} name
- * @throws DOMException
- * @see Element
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.removeAttribute=function(name){};
-/**
- * function getAttributeNode(name)
- * @type Attr
- * @memberOf Element
- * @param {String} name
- * @returns {Attr}
- * @see Element
- * @see Attr
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.getAttributeNode=function(name){};
-/**
- * function setAttributeNode(newAttr)
- * @type Attr
- * @memberOf Element
- * @param {Attr} newAttr
- * @returns {Attr}
- * @throws DOMException
- * @see Element
- * @see Attr
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.setAttributeNode=function(newAttr){};
-/**
- * function removeAttributeNode(oldAttr)
- * @type Attr
- * @memberOf Element
- * @param {Attr} oldAttr
- * @returns {Attr}
- * @throws DOMException
- * @see Element
- * @see Attr;
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.removeAttributeNode=function(oldAttr){};
-/**
- * function getElementsByTagName(name)
- * @type NodeList
- * @memberOf Element
- * @param {String} name
- * @returns {NodeList}
- * @see NodeList
- * @see Element;
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.getElementsByTagName=function(name){};
-/**
- * function getAttributeNS(namespaceURI, localName)
- * @type String
- * @memberOf Element
- * @param {String} namespaceURI
- * @param {String} localName
- * @returns {String}
- * @see Element
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.getAttributeNS=function(namespaceURI, localName){};
- /**
- * function setAttributeNS(namespaceURI, qualifiedName, value)
-
- * @memberOf Element
- * @param {String} namespaceURI
- * @param {String} qualifiedName
- * @param {String} value
- * @throws DOMException
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.setAttributeNS=function(namespaceURI, qualifiedName, value){};
- /**
- * function removeAttributeNS(namespaceURI, localName)
-
- * @memberOf Element
- * @param {String} namespaceURI
- * @param {String} localName
- * @throws DOMException
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.removeAttributeNS=function(namespaceURI, localName){};
- /**
- * function getAttributeNodeNS(namespaceURI, localName)
- * @type Attr
- * @memberOf Element
- * @param {String} namespaceURI
- * @param {String} localName
- * @returns {Attr}
- * @throws DOMException
- * @see Attr
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.getAttributeNodeNS=function(namespaceURI, localName){};
- /**
- * function setAttributeNodeNS(newAttr)
- * @type Attr
- * @memberOf Element
- * @param {Attr} newAttr
-
- * @returns {Attr}
- * @throws DOMException
- * @see Attr
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.setAttributeNodeNS=function(newAttr){};
- /**
- * function getElementsByTagNameNS(namespaceURI, localName)
- * @type NodeList
- * @memberOf Element
- * @param {String} namespaceURI
- * @param {String} localName
-
- * @returns {NodeList}
-
- * @see NodeList
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.getElementsByTagNameNS=function(namespaceURI, localName){};
- /**
- * function hasAttribute(name)
- * @type Boolean
- * @memberOf Element
-
- * @param {String} name
-
- * @returns {Boolean}
-
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.hasAttribute=function(name){};
- /**
- * function hasAttributeNS(namespaceURI, localName)
- * @type Boolean
- * @memberOf Element
- * @param {String} namespaceURI
- * @param {String} localName
-
- * @returns {Boolean}
-
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Element.prototype.hasAttributeNS=function(namespaceURI, localName){};
-/**
- * Object Text()
- * Text inherits all of the methods and properties from CharacterData.
- * @super CharacterData
- * @constructor
-
- * @memberOf Text
- * @see CharacterData
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function Text(){};
-Text.prototype = new CharacterData();
- /**
- * function splitText(offset)
- * @type Text
- * @memberOf Text
- * @param {Number} offset
-
-
- * @returns {Text}
- * @throws DOMException
- * @see Text
-
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Text.prototype.splitText=function(offset){};
-/**
- * Object Comment()
- * Comment inherits all of the methods and properties from CharacterData.
- * @super CharacterData
- * @constructor
-
- * @memberOf Comment
- * @see CharacterData
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function Comment(){};
-Comment.prototype = new CharacterData();
-/**
- * Object CDATASection()
- * Comment inherits all of the methods and properties from Text.
- * @super Text
- * @constructor
-
- * @memberOf CDATASection
- * @see Text
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function CDATASection(){};
-CDATASection.prototype = new Text();
-/**
- * Object DocumentType()
- * DocumentType inherits all of the methods and properties from Node.
- * @super Node
- * @constructor
-
- * @memberOf DocumenType
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function DocumentType(){};
-DocumentType.prototype = new Node();
-/**
- * read-only Property name
- * @type String
- * @memberOf DocumentType
- * @see DocumentType();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DocumentType.prototype.name="";
-/**
- * read-only Property entities
- * @type NamedNodeMap
- * @memberOf DocumentType
- * @see DocumentType();
- * @see NamedNodeMap
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DocumentType.prototype.entities = new NamedNodeMap();
-/**
- * Read-Only Property notations
- * @type NamedNodeMap
- * @memberOf DocumentType
- * @see DocumentType();
- * @see NamedNodeMap
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DocumentType.prototype.notations=new NamedNodeMap();
-/**
- * Read-Only Property publicId
- * @type String
- * @memberOf DocumentType
- * @see DocumentType();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DocumentType.prototype.publicId="";
-/**
- * Read-Only Property systemId
- * @type String
- * @memberOf DocumentType
- * @see DocumentType();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DocumentType.prototype.systemId="";
-/**
- * Read-Only Property internalSubset
- * @type String
- * @memberOf DocumentType
- * @see DocumentType();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-DocumentType.prototype.internalSubset="";
-/**
- * Object Notation()
- * Notation inherits all of the methods and properties from Node.
- * @super Node
- * @constructor
-
- * @memberOf Notation
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function Notation(){};
-Notation.prototype=new Node();
-/**
- * Read-Only Property publicId
- * @type String
- * @memberOf Notation
- * @see Notation();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Notation.prototype.publicId="";
-/**
- * Read-Only Property systemId
- * @type String
- * @memberOf Notation
- * @see Notation();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Notation.prototype.systemId="";
-/**
- * Object Entity()
- * Entity inherits all of the methods and properties from Node.
- * @super Node
- * @constructor
-
- * @memberOf Entity
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function Entity(){};
-Entity.prototype=new Node();
-/**
- * Read-Only Property publicId
- * @type String
- * @memberOf Entity
- * @see Entity();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Entity.prototype.publicId="";
- /**
- * Read-Only Property systemId
- * @type String
- * @memberOf Entity
- * @see Entity();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Entity.prototype.systemId="";
- /**
- * Read-Only Property notationName
- * @type String
- * @memberOf Entity
- * @see Entity();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Entity.prototype.notationName="";
-/**
- * Object EntityReference()
- * EntityReference inherits all of the methods and properties from Node.
- * @super Node
- * @constructor
-
- * @memberOf EntityReference
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-function EntityReference(){};
-EntityReference.prototype=new Node();
- /**
- * Object ProcessingInstruction()
- * ProcessingInstruction inherits all of the methods and properties from Node.
- * @super Node
- * @constructor
-
- * @memberOf ProcessingInstruction
- * @see Node
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-
-function ProcessingInstruction(){};
-ProcessingInstruction.prototype=new Node();
- /**
- * Read-Only Property target
- * @type String
- * @memberOf ProcessingInstruction
- * @see ProcessingInstruction();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-ProcessingInstruction.prototype.target="";
- /**
- * Read-Only Property target
- * @type String
- * @memberOf ProcessingInstruction
- * @throws DOMException on setting.
- * @see ProcessingInstruction();
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-ProcessingInstruction.prototype.data="";
diff --git a/bundles/org.eclipse.wst.jsdt.core/libraries/browserWindow.js b/bundles/org.eclipse.wst.jsdt.core/libraries/browserWindow.js
deleted file mode 100644
index 72a32dd8..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/libraries/browserWindow.js
+++ /dev/null
@@ -1,144 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-function BarProp(){};
-BarProp.prototype = new Array();
-
-
-Window.prototype= new Global();
-function Window(){};
-
-Window.prototype.document= new Document();
-Window.prototype.length="";
-Window.prototype.parent= new Window();
-Window.prototype.top= new Window();
-Window.prototype.scrollbars= new BarProp();
-Window.prototype.name="";
-Window.prototype.scrollX="";
-Window.prototype.scrollY="";
-Window.prototype.scrollTo=function(arg1,arg2){};
-Window.prototype.scrollBy=function(arg1,arg2){};
-Window.prototype.getSelection=function(){};
-Window.prototype.scrollByLines=function(arg1){};
-Window.prototype.scrollByPages=function(arg1){};
-Window.prototype.sizeToContent=function(){};
-Window.prototype.dump=function(arg1){};
-Window.prototype.setTimeout=function(){};
-Window.prototype.setInterval=function(){};
-Window.prototype.clearTimeout=function(){};
-Window.prototype.clearInterval=function(){};
-Window.prototype.setResizable=function(arg1){};
-Window.prototype.captureEvents=function(arg1){};
-Window.prototype.releaseEvents=function(arg1){};
-Window.prototype.routeEvent=function(arg1){};
-Window.prototype.enableExternalCapture=function(){};
-Window.prototype.disableExternalCapture=function(){};
-Window.prototype.prompt=function(){};
-Window.prototype.open=function(){};
-Window.prototype.openDialog=function(){};
-Window.prototype.frames= new Window();
-Window.prototype.window= new Window();
-Window.prototype.find=function(){};
-Window.prototype.self= new Window();
-Window.prototype.history= new history();
-Window.prototype.content= new Window();
-Window.prototype.menubar= new BarProp();
-Window.prototype.toolbar= new BarProp();
-Window.prototype.locationbar= new BarProp();
-Window.prototype.personalbar= new BarProp();
-Window.prototype.statusbar= new BarProp();
-Window.prototype.directories= new BarProp();
-Window.prototype.closed="";
-Window.prototype.opener="";
-Window.prototype.status="";
-Window.prototype.defaultStatus="";
-Window.prototype.innerWidth=0;
-Window.prototype.innerHeight=0;
-Window.prototype.outerWidth=0;
-Window.prototype.outerHeight=0;
-Window.prototype.screenX=0;
-Window.prototype.screenY=0;
-Window.prototype.pageXOffset="";
-Window.prototype.pageYOffset="";
-Window.prototype.scrollMaxX="";
-Window.prototype.scrollMaxY="";
-Window.prototype.fullScreen="";
-Window.prototype.alert=function(arg1){};
-Window.prototype.confirm=function(arg1){};
-Window.prototype.focus=function(){};
-Window.prototype.blur=function(){};
-Window.prototype.back=function(){};
-Window.prototype.forward=function(){};
-Window.prototype.home=function(){};
-Window.prototype.stop=function(){};
-Window.prototype.print=function(){};
-Window.prototype.moveTo=function(arg1,arg2){};
-Window.prototype.moveBy=function(arg1,arg2){};
-Window.prototype.resizeTo=function(arg1,arg2){};
-Window.prototype.resizeBy=function(arg1,arg2){};
-Window.prototype.scroll=function(arg1,arg2){};
-Window.prototype.close=function(){};
-Window.prototype.updateCommands=function(arg1){};
-Window.prototype.atob=function(arg1){};
-Window.prototype.btoa=function(arg1){};
-Window.prototype.frameElement="";
-Window.prototype.removeEventListener=function(arg1,arg2,arg3){};
-Window.prototype.dispatchEvent=function(arg1){};
-Window.prototype.getComputedStyle=function(arg1,arg2){};
-Window.prototype.sessionStorage="";
-Window.prototype.location=new location();
-Window.prototype.event="";
-
-/**
- * Object history()
-
- * @super Array
- * @constructor
- * @see Array
- * @memberOf history
- * @since Common Usage, no standard
- */
-function history(){};
-history.prototype=new Array();
-history.prototype.back=function(){};
-
-/**
- * Object location()
-
- * @super Object
- * @constructor
- * @memberOf location
- * @since Common Usage, no standard
- */
-function location(){};
-location.prototype=new Object();
-location.prototype.reload=function(arg1){};
-
-
-
-/*
-Window.prototype.navigator= new Navigator();
-Window.prototype.screen= new Screen();
-Window.prototype.Packages= new Package();
-Window.prototype.sun= new Package();
-Window.prototype.java= new Package();
-Window.prototype.netscape= new Object();
-Window.prototype.XPCNativeWrapper=function(){};
-Window.prototype.GeckoActiveXObject=function(arg1){};
-Window.prototype.Components= new nsXPCComponents();
-
-Window.prototype.crypto= new Crypto();
-Window.prototype.pkcs11= new Pkcs11();
-Window.prototype.controllers= new XULControllers();
-
-Window.prototype.globalStorage= new StorageList();
-Navigator.prototype= new Array();
-function Navigator(){};
-*/ \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.jsdt.core/libraries/system.js b/bundles/org.eclipse.wst.jsdt.core/libraries/system.js
deleted file mode 100644
index 6499e7a0..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/libraries/system.js
+++ /dev/null
@@ -1,1855 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008, 2009 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- ******************************************************************************
-* Please see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
-*/
-
-/**
- * Object Object()
- * @constructor
- * @memberOf Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-function Object(){}
- /**
- * function toString()
- * @type String
- * @memberOf Object
- * @returns {String}
- * @throws DOMException
- * @see Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-Object.prototype.toString = function( ){return "";};
- /**
- * function toLocaleString()
- * @type String
- * @memberOf Object
- * @returns {String}
- * @throws DOMException
- * @see Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-Object.prototype.toLocaleString = function( ){return "";};
- /**
- * function valueOf()
- * @type Object
- * @memberOf Object
- * @returns {Object}
- * @throws DOMException
- * @see Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-Object.prototype.valueOf = function( ){;};
- /**
- * function hasOwnProperty(V)
- * @type Boolean
- * @memberOf Object
- * @param {Object} V
- * @returns {Boolean}
- * @throws DOMException
- * @see Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-Object.prototype.hasOwnProperty = function (V){return true;};
- /**
- * function isPrototypeOf(V)
- * @type Boolean
- * @memberOf Object
- * @param {Object} V
- * @returns {Boolean}
- * @throws DOMException
- * @see Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-Object.prototype.isPrototypeOf = function (V){return true;};
- /**
- * function propertyIsEnumerable(V)
- * @type String
- * @memberOf Object
- * @param {Object} V
- * @returns {String}
- * @throws DOMException
- * @see Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-Object.prototype.propertyIsEnumerable = function(V){return "";};
-/**
- * Property constructor
- * @type String
- * @memberOf Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-Object.prototype.constructor="";
-
-/**
- * Property Class
- * @type String
- * @memberOf Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-Object.prototype.Class="";
-/**
- * Property Value
- * @memberOf Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-Object.prototype.Value=0;
-/**
- * function Get(property)
- * @memberOf Object
- * @type Object
- * @returns {Object}
- * @param {String} property
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-Object.prototype.Get=function(property){};
-/**
- * function Put(property, value)
- * @memberOf Object
- * @param {String} property
- * @param {String} value
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-Object.prototype.Put=function(property, value){};
-/**
- * function CanPut(property)
- * @memberOf Object
- * @param {String} property
- * @type Boolean
- * @returns {Boolean}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-Object.prototype.CanPut=function(property){};
-/**
- * function HasProperty(property)
- * @memberOf Object
- * @param {String} property
- * @type Boolean
- * @returns {Boolean}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-Object.prototype.HasProperty=function(property){};
-/**
- * function Delete(property)
- * @memberOf Object
- * @param {String} property
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-Object.prototype.Delete=function(property){};
-/**
- * function DefaultValue()
- * @memberOf Object
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-Object.prototype.DefaultValue=function(){};
-/**
- * function Match(value,index)
- * @memberOf Object
- * @param {String} value
- * @param {String} index
- * @type Object
- * @returns {Object}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-Object.prototype.Match=function(value,index){};
-/**
- * Object String()
- * @super Object
- * @type constructor
- * @memberOf String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-
-function String(){}
-String.prototype = new Object();
-
-/**
- * static function fromCharCode(chars)
- * @type String
- * @returns {String}
- * @param {Array} chars
- * @memberOf String
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-String.fromCharCode=function(chars){};
-/**
- * Property length
- * @type Number
- * @memberOf String
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-String.prototype.length =1;
- /**
- * function charAt(pos)
- * @type String
- * @memberOf String
- * @param {Number} pos
- * @returns {String}
- * @throws DOMException
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-String.prototype.charAt = function(pos){return "";};
- /**
- * function charCodeAt(pos)
- * @type String
- * @memberOf String
- * @param {Number} pos
- * @returns {String}
- * @throws DOMException
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-String.prototype.charCodeAt= function(pos){return "";};
- /**
- * function concat()
- * @type String
- * @memberOf String
- * @returns {String}
- * @throws DOMException
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-String.prototype.concat= function(){return "";};
- /**
- * function indexOf(searchString, position)
- * @type Number
- * @memberOf String
- * @param {String} searchString
- * @param {Number} position
- * @returns {Number}
- * @throws DOMException
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-String.prototype.indexOf = function(searchString, position){return 1;};
- /**
- * function lastIndexOf(pos)
- * @type Number
- * @memberOf String
- * @param {String} searchString
- * @param {Number} position
- * @returns {Number}
- * @throws DOMException
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-String.prototype.lastIndexOf = function(searchString, position){return 1;};
- /**
- * function localeCompare(that)
- * @type Boolean
- * @memberOf String
- * @param {String} that
- * @returns {Boolean}
- * @throws DOMException
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-String.prototype.localeCompare = function(that){return true;};
- /**
- * function match(regexp)
- * @type Boolean
- * @memberOf String
- * @param {String} regexp
- * @returns {Boolean}
- * @throws DOMException
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-String.prototype.match = function(regexp){return true;};
- /**
- * function replace(searchValue, replaceValue)
- * @type String
- * @memberOf String
- * @param {String} searchValue
- * @param {String} replaceValue
- * @returns {String}
- * @throws DOMException
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-String.prototype.replace = function(searchValue, replaceValue){return "";};
- /**
- * function search(regexp)
- * @type Number
- * @memberOf String
- * @param {String} regexp
- * @returns {Number}
- * @throws DOMException
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-String.prototype.search = function(regexp){return 1;};
- /**
- * function slice(start, end)
- * @type String
- * @memberOf String
- * @param {Number} start
- * @param {Number} end
- * @returns {String}
- * @throws DOMException
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-String.prototype.slice = function(start, end){return "";};
- /**
- * function split(separator, limit)
- * @type Array
- * @memberOf String
- * @param {String} separator
- * @param {Number} limit
- * @returns {Array}
- * @throws DOMException
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-String.prototype.split = function(separator, limit){return [];};
- /**
- * function substring(start, end)
- * @type String
- * @memberOf String
- * @param {Number} start
- * @param {Number} end
- * @returns {String}
- * @throws DOMException
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-String.prototype.substring = function(start, end){return "";};
- /**
- * function toLowerCase()
- * @type String
- * @memberOf String
- * @returns {String}
- * @throws DOMException
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-String.prototype.toLowerCase = function( ){return "";};
- /**
- * function toLocaleLowerCase()
- * @type String
- * @memberOf String
- * @returns {String}
- * @throws DOMException
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-String.prototype.toLocaleLowerCase = function( ){return "";};
- /**
- * function toUpperCase()
- * @type String
- * @memberOf String
- * @returns {String}
- * @throws DOMException
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-String.prototype.toUpperCase= function ( ){return "";};
- /**
- * function toLocaleUpperCase()
- * @type String
- * @memberOf String
- * @returns {String}
- * @throws DOMException
- * @see String
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-String.prototype.toLocaleUpperCase = function( ){return "";};
-
-/**
- * Object Number()
- * @super Object
- * @constructor
- * @memberOf Number
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- */
-function Number(){}
-Number.prototype = new Object();
-/**
- * property MIN_VALUE
- * @type Number
- * @memberOf Number
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Number.MIN_VALUE=0;
-/**
- * property MAX_VALUE
- * @type Number
- * @memberOf Number
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Number.MAX_VALUE=0;
-/**
- * property NaN
- * @type Number
- * @memberOf Number
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Number.NaN=0;
-/**
- * property NEGATIVE_INFINITY
- * @type Number
- * @memberOf Number
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Number.NEGATIVE_INFINITY=0;
-/**
- * property POSITIVE_INFINITY
- * @type Number
- * @memberOf Number
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Number.POSITIVE_INFINITY=0;
-/**
- * function toFixed(fractionDigits)
- * @type Number
- * @memberOf Number
- * @param {Number} fractionDigits
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Number.prototype.toFixed=function(fractionDigits){};
-/**
- * function toExponential(fractionDigits)
- * @type Number
- * @memberOf Number
- * @param {Number} fractionDigits
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Number.prototype.toExponential=function(fractionDigits){};
-/**
- * function toPrecision(precision)
- * @type Number
- * @memberOf Number
- * @param {Number} precision
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Number.prototype.toPrecision=function(fractionDigits){};
-/**
- * Object Boolean()
- * @super Object
- * @constructor
- * @memberOf Boolean
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-function Boolean(){};
-Boolean.prototype = new Object();
-/**
- * Object Array()
- * @super Object
- * @constructor
- * @memberOf Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-function Array(){};
-Array.prototype = new Object();
-
-/**
- * Property length
- * @type Number
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Array.prototype.length = 1;
-/**
- * function concat(args)
- * @param {Array} args
- * @type Array
- * @returns {Array}
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Array.prototype.concat = function(args){};
-/**
- * function join(seperator)
- * @param {String} seperator
- * @type Array
- * @returns {Array}
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Array.prototype.join = function(seperator){};
-/**
- * function pop()
- * @type Object
- * @returns {Object}
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Array.prototype.pop = function(){};
-/**
- * function push(args)
- * @param {Array} args
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Array.prototype.push = function(args){};
-/**
- * function reverse()
- * @type Array
- * @returns {Array}
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Array.prototype.reverse = function(){};
-/**
- * function shift()
- * @type Object
- * @returns {Object}
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Array.prototype.shift = function(){};
-/**
- * function slice(start, end)
- * @type Array
- * @returns {Array}
- * @param {Number} start
- * @param {Number} end
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Array.prototype.slice = function(start, end){};
-/**
- * function sort(funct)
- * @type Array
- * @returns {Array}
- * @param {Function} funct
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Array.prototype.sort = function(funct){};
-/**
- * function splice(start, deletecount, items)
- * @type Array
- * @returns {Array}
- * @param {Number} start
- * @param {Number} deletecount
- * @param {Array} items
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Array.prototype.splice = function(start, deletecount, items){};
-/**
- * function unshift(items)
- * @type Array
- * @returns {Array}
- * @param {Array} items
- * @memberOf Array
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Array.prototype.unshift = function(start){};
-/**
- * Object Function()
- * @super Object
- * @constructor
- * @memberOf Function
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-
-function Function(){};
-Function.prototype = new Object();
-
-/**
- * function apply (thisArg, argArray)
- * @param {Object} thisArg
- * @param {Array} argArray
- * @type Object
- * @returns {Object}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Function.prototype.apply=function(thisArg, argArray){};
-/**
- * function call (thisArg, argArray)
-
- * @param {Object} thisArg
- * @param {Array} argArray
- * @param {Object} thisArg
- * @param {Object} args
- * @type Object
- * @returns {Object}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Function.prototype.call=function(thisArg, args){};
-/**
- * property length
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Function.prototype.length=0;
-/**
- * function HasInstance()
- * @type Boolean
- * @returns {Boolean}
- * @memberOf Function
- * @see Array
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Function.prototype.HasInstance=function(){};
-
-/**
- * Object Date(s)
- * @super Object
- * @constructor
- * @memberOf Date
- * @param {String} s
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-
-function Date(s){};
-Date.prototype = new Object();
-/**
- * function MakeTime(hour, min, sec, ms)
- * @memberOf Date
- * @param {Number} hour
- * @param {Number} min
- * @param {Number} sec
- * @param {Number} ms
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.MakeTime =function(hour, min, sec, ms){};
-/**
- * function UTC(hour, min, sec, ms)
- * @memberOf Date
- * @param {Number} hour
- * @param {Number} min
- * @param {Number} sec
- * @param {Number} ms
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
-*/
-Date.UTC =function(hour, min, sec, ms){};
-
-/**
- * function MakeDay(year, month, date)
- * @memberOf Date
- * @param {Number} year
- * @param {Number} month
- * @param {Number} date
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.MakeDay =function(year, month, date){};
-/**
- * function MakeDate(day,time)
- * @memberOf Date
- * @param {Number} day
- * @param {Number} time
-
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.MakeDate =function(day,time){};
-/**
- * function TimeClip(time)
- * @memberOf Date
- * @param {Number} time
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.TimeClip =function(time){};
-
-/**
- * function parse(string)
- * @memberOf Date
- * @param {Strig} string
- * @type Date
- * @returns {Date}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.parse=function(string){};
-/**
- * function toDateString()
- * @memberOf Date
- * @type String
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.toDateString=function(){};
-
-/**
- * function toTimeString()
- * @memberOf Date
- * @type String
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.toTimeString=function(){};
-/**
- * function toLocaleString()
- * @memberOf Date
- * @type String
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.toLocaleString=function(){return "";};
-/**
- * function toLocaleDateString()
- * @memberOf Date
- * @type String
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.toLocaleDateString=function(){};
-/**
- * function toLocaleTimeString()
- * @memberOf Date
- * @type String
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.toLocaleTimeString=function(){};
-
-/**
- * function valueOf()
- * @memberOf Date
- * @type Object
- * @returns {Object}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.valueOf=function(){};
-
-/**
- * function getFullYear()
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.getFullYear=function(){};
-/**
- * function getTime()
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.getTime=function(){};
-/**
- * function getUTCFullYear()
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.getUTCFullYear=function(){};
-/**
- * function getMonth()
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.getMonth=function(){};
-/**
- * function getUTCMonth()
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.getUTCMonth=function(){};
-/**
- * function getDate()
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.getDate=function(){};
-/**
- * function getUTCDate()
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.getUTCDate=function(){};
-/**
- * function getDay()
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.getDay=function(){};
-/**
- * function getUTCDay()
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.getUTCDay=function(){};
-/**
- * function getHours()
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.getHours=function(){};
-/**
- * function getUTCHours()
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.getUTCHours=function(){};
-/**
- * function getMinutes()
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.getMinutes=function(){};
-/**
- * function getUTCMinutes()
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.getUTCMinutes=function(){};
-/**
- * function getSeconds()
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.getSeconds=function(){};
-/**
- * function getUTCSeconds()
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.getUTCSeconds=function(){};
-
-/**
- * function getMilliseconds()
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.getMilliseconds=function(){};
-/**
- * function getUTCMilliseconds()
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.getUTCMilliseconds=function(){};
-/**
- * function getTimezoneOffset()
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.getTimezoneOffset=function(){};
-/**
- * function setTime(value)
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @param {Number} value
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.setTime=function(value){};
-
-/**
- * function setMilliseconds(value)
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @param {Number} value
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.setMilliseconds=function(value){};
-/**
- * function setUTCMilliseconds(value)
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @param {Number} ms
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.setUTCMilliseconds=function(ms){};
-/**
- * function setSeconds(sec,ms)
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @param {Number} sec
- * @param {Number} ms
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.setSeconds=function(sec,ms){};
-/**
- * function setUTCSeconds(sec,ms)
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @param {Number} sec
- * @param {Number} ms
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.setUTCSeconds=function(sec,ms){};
-/**
- * function setMinutes(min,sec,ms)
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @param {Number} min
- * @param {Number} sec
- * @param {Number} ms
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.setMinutes=function(min,sec,ms){};
-/**
- * function setUTCMinute(min,sec,ms)
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @param {Number} min
- * @param {Number} sec
- * @param {Number} ms
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.setUTCMinute=function(min,sec,ms){};
-/**
- * function setHours(hour, min,sec,ms)
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @param {Number} hour
- * @param {Number} min
- * @param {Number} sec
- * @param {Number} ms
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.setHours=function(hour,min,sec,ms){};
-/**
- * function setUTCHours(hour, min,sec,ms)
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @param {Number} hour
- * @param {Number} min
- * @param {Number} sec
- * @param {Number} ms
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.setUTCHours=function(hour,min,sec,ms){};
-
-/**
- * function setDate(date)
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @param {Number} date
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.setDate=function(date){};
-
-/**
- * function setUTCDate(date)
- * @memberOf Date
- * @type Number
- * @returns {Number}
- * @param {Number} date
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.setUTCDate=function(date){};
-
-/**
- * function setMonth(month,date)
- * @memberOf Date
- * @type Date
- * @returns {Date}
- * @param {Number} date
- * @param {Number} month
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.setMonth=function(month,date){};
-/**
- * function setUTCMonth(month,date)
- * @memberOf Date
- * @type Date
- * @returns {Date}
- * @param {Number} date
- * @param {Number} month
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.setUTCMonth=function(month,date){};
-/**
- * function setFullYear(month,date)
- * @memberOf Date
- * @type Date
- * @returns {Date}
- * @param {Number} date
- * @param {Number} month
- * @param {Number} year
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.setFullYear=function(year, month,date){};
-/**
- * function setUTCFullYear(month,date)
- * @memberOf Date
- * @type Date
- * @returns {Date}
- * @param {Number} date
- * @param {Number} month
- * @param {Number} year
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Date.prototype.setUTCFullYear=function(year, month,date){};
-/**
- * function toUTCString()
- * @memberOf Date
- * @type Date
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
-*/
-Date.prototype.toUTCString=function(){};
-/**
- * Object Global
- * @super Object
- * @constructor
- * @memberOf Global
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-function Global(){};
-Global.prototype=new Object();
-/**
- * Property NaN
- * @memberOf Global
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Global.prototype.NaN=0;
-/**
- * Property Infinity
- * @memberOf Global
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Global.prototype.Infinity=0;
-/**
- * function eval(s)
- * @memberOf Global
- * @param {String} s
- * @type Object
- * @returns {Object}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-
-//@GINO: Bug 197987 (Temp Fix)
-/**
- * Property debugger
- * @memberOf Global
- * @description Debugger keyword
- */
-Global.prototype.debugger=null;
-
-Global.prototype.eval=function(s){};
-/**
- * function parseInt(s,radix)
- * @memberOf Global
- * @param {String} s
- * @param {Number} radix
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Global.prototype.parseInt=function(s,radix){};
-/**
- * function parseFloat(s)
- * @memberOf Global
- * @param {String} s
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Global.prototype.parseFloat=function(s){};
-/**
- * function escape(s)
- * @memberOf Global
- * @param {String} s
- * @type String
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
-*/
-Global.prototype.escape=function(s){};
-/**
- * function unescape(s)
- * @memberOf Global
- * @param {String} s
- * @type String
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
-*/
-Global.prototype.unescape=function(s){};
-/**
- * function isNaN(number)
- * @memberOf Global
- * @param {String} number
- * @type Boolean
- * @returns {Boolean}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Global.prototype.isNaN=function(number){};
-/**
- * function isFinite(number)
- * @memberOf Global
- * @param {String} number
- * @type Boolean
- * @returns {Boolean}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Global.prototype.isFinite=function(number){};
-/**
- * function decodeURI(encodedURI)
- * @memberOf Global
- * @param {String} encodedURI
- * @type String
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
-*/
-Global.prototype.decodeURI=function(encodedURI){};
-/**
- * @memberOf Global
- * @param {String} uriComponent
- * @type String
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
-*/
-Global.prototype.decodeURIComponent=function(uriComponent){};
-/**
- * function encodeURIComponent(uriComponent)
- * @memberOf Global
- * @param {String} uriComponent
- * @type String
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
-*/
-Global.prototype.encodeURIComponent=function(uriComponent){};
-
-/**
- * function encodeURIComponent(URI)
- * @memberOf Global
- * @param {String} URI
- * @type String
- * @returns {String}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
-*/
-Global.prototype.encodeURI=function(URI){};
-
-/**
- * Object Math(\s)
- * @super Object
- * @constructor
- * @memberOf Math
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-function Math(){};
-Math.prototype=new Object();
-/**
- * Property E
- * @memberOf Math
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.E=0;
-/**
- * Property LN10
- * @memberOf Math
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.LN10=0;
-/**
- * Property LN2
- * @memberOf Math
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.LN2=0;
-/**
- * Property LOG2E
- * @memberOf Math
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.LOG2E=0;
-/**
- * Property LOG10E
- * @memberOf Math
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.LOG10E=0;
-/**
- * Property PI
- * @memberOf Math
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.PI=0;
-/**
- * Property SQRT1_2
- * @memberOf Math
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.SQRT1_2=0;
-/**
- * Property SQRT2
- * @memberOf Math
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.SQRT2=0;
-/**
- * function abs(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.abs=function(x){};
-/**
- * function acos(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.acos=function(x){};
-/**
- * function asin(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.asin=function(x){};
-/**
- * function atan(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.atan=function(x){};
-/**
- * function atan2(x,y)
- * @memberOf Math
- * @param {Number} x
- * @param {Number} y
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.atan2=function(x,y){};
-/**
- * function ceil(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.ceil=function(x){};
-/**
- * function cos(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.cos=function(x){};
-/**
- * function exp(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.exp=function(x){};
-/**
- * function floor(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.floor=function(x){};
-/**
- * function log(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.log=function(x){};
-/**
- * function max(arg)
- * @memberOf Math
- * @param {Array} arg
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.max=function(arg){};
-/**
- * function min(arg)
- * @memberOf Math
- * @param {Array} arg
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.min=function(arg){};
-/**
- * function pow(x,y)
- * @memberOf Math
- * @param {Number} x
- @ @param {Number} y
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.pow=function(x,y){};
-/**
- * function pow()
- * @memberOf Math
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.random=function(){};
-/**
- * function round(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.round=function(x){};
-/**
- * function sin(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.sin=function(x){};
-/**
- * function sqrt(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.sqrt=function(x){};
-/**
- * function tan(x)
- * @memberOf Math
- * @param {Number} x
- * @type Number
- * @returns {Number}
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
- * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
- */
-Math.tan=function(x){};
-/**
- * Object RegExp()
- * @super Object
- * @constructor
- * @memberOf RegExp
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-function RegExp(){};
-RegExp.prototype=new Object();
-/**
- * function exec(string)
- * @param {String} string
- * @returns {Array}
- * @type Array
- * @memberOf RegExp
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-RegExp.prototype.exec=function(string){};
-/**
- * function test(string)
- * @param {String} string
- * @returns {Boolean}
- * @type Boolean
- * @memberOf RegExp
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-RegExp.prototype.test=function(string){};
-/**
- * property source
- * @type String
- * @memberOf RegExp
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-RegExp.prototype.source="";
-/**
- * property global
- * @type Boolean
- * @memberOf RegExp
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-RegExp.prototype.global=false;
-
-/**
- * property ignoreCase
- * @type Boolean
- * @memberOf RegExp
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-RegExp.prototype.ignoreCase=false;
-/**
- * property multiline
- * @type Boolean
- * @memberOf RegExp
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-RegExp.prototype.multiline=false;
-/**
- * property lastIndex
- * @type Number
- * @memberOf RegExp
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-RegExp.prototype.lastIndex=0;
-/**
- * Object Error(message)
- * @super Object
- * @constructor
- * @param {String} message
- * @memberOf Error
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-function Error(message){};
-Error.prototype=new Object();
-/**
- * property name
- * @type String
- * @memberOf Error
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Error.prototype.name="";
-/**
- * property message
- * @type String
- * @memberOf Error
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-Error.prototype.message="";
-/**
- * Object EvalError()
- * @super Error
- * @constructor
-
- * @memberOf EvalError
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-function EvalError(){};
-EvalError.prototype=new Error("");
-/**
- * Object RangeError()
- * @super Error
- * @constructor
-
- * @memberOf RangeError
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-function RangeError(){};
-RangeError.prototype=new Error("");
-/**
- * Object ReferenceError()
- * @super Error
- * @constructor
-
- * @memberOf ReferenceError
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-function ReferenceError(){};
-ReferenceError.prototype=new Error("");
-/**
- * Object SyntaxError()
- * @super Error
- * @constructor
-
- * @memberOf SyntaxError
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-function SyntaxError(){};
-SyntaxError.prototype=new Error("");
-/**
- * Object TypeError()
- * @super Error
- * @constructor
-
- * @memberOf TypeError
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-function TypeError(){};
-TypeError.prototype=new Error("");
-/**
- * Object URIError()
- * @super Error
- * @constructor
-
- * @memberOf URIError
- * @since Standard ECMA-262 3rd. Edition
- * @since Level 2 Document Object Model Core Definition.
-
- */
-function URIError(){};
-URIError.prototype=new Error("");
-
-//support for debugger keyword
-var debugger = null; \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.jsdt.core/plugin.properties b/bundles/org.eclipse.wst.jsdt.core/plugin.properties
deleted file mode 100644
index f3909bd5..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/plugin.properties
+++ /dev/null
@@ -1,27 +0,0 @@
-###############################################################################
-# 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
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-providerName=Eclipse.org
-pluginName=JavaScript Development Tools Core
-javaScriptNatureName=JavaScript
-jsBuilderName=JavaScript Validator
-jsProblemName=JavaScript Problem
-buildPathProblemName=Build Path Problem
-transientJsProblemName=Transient JavaScript Problem
-JsGlobalScopeVariableInitializersName=Classpath Variable Initializers
-JsGlobalScopeContainerInitializersName=Classpath Container Initializers
-codeFormattersName=Source Code Formatters
-validationParticipantsName=Compilation Participants
-jsTaskName=JavaScript Task
-jsPropertiesName=JavaScript Properties File
-jsSourceName=JavaScript Source File
-
-
-extension-point.name.0 = Support for Inferrencing
diff --git a/bundles/org.eclipse.wst.jsdt.core/plugin.xml b/bundles/org.eclipse.wst.jsdt.core/plugin.xml
deleted file mode 100644
index 6f8852a2..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/plugin.xml
+++ /dev/null
@@ -1,224 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<!-- =================================================================================== -->
-<!-- JSDT/CORE Plug-in Manifest -->
-<!-- =================================================================================== -->
-<plugin>
-
-<!-- =================================================================================== -->
-<!-- Prerequisite Plug-ins -->
-<!-- =================================================================================== -->
-
-
-<!-- =================================================================================== -->
-<!-- Runtime Libraries -->
-<!-- =================================================================================== -->
-
-
-<!-- =================================================================================== -->
-<!-- Extension Point: Initializers of Classpath Variables -->
-<!-- =================================================================================== -->
-
-<extension-point name="%JsGlobalScopeVariableInitializersName"
- id="JsGlobalScopeVariableInitializer"
- schema="schema/JsGlobalScopeVariableInitializer.exsd"/>
-
-<!-- =================================================================================== -->
-<!-- Extension Point: Initializers of Classpath Containers -->
-<!-- =================================================================================== -->
-
-<extension-point name="%JsGlobalScopeContainerInitializersName"
- id="JsGlobalScopeContainerInitializer"
- schema="schema/JsGlobalScopeContainerInitializer.exsd"/>
-
-<!-- =================================================================================== -->
-<!-- Extension Point: Formatter of Source Code -->
-<!-- =================================================================================== -->
-
-<extension-point name="%codeFormattersName"
- id="codeFormatter"
- schema="schema/codeFormatter.exsd"/>
-
-<!-- =================================================================================== -->
-<!-- Extension Point: Compilation Participant -->
-<!-- =================================================================================== -->
-
-<extension-point name="%validationParticipantsName"
- id="validationParticipant"
- schema="schema/validationParticipant.exsd"/>
-
-<!-- =================================================================================== -->
-<!-- Extension Point: Inferrence Support -->
-<!-- =================================================================================== -->
-
-<extension-point id="inferrenceSupport" name="%extension-point.name.0" schema="schema/inferrenceSupport.exsd"/>
-
-<!-- =================================================================================== -->
-<!-- Extension: JavaScript Nature -->
-<!-- =================================================================================== -->
-
-<extension
- point="org.eclipse.core.resources.natures"
- id="jsNature"
- name="%javaScriptNatureName">
- <runtime>
- <run class="org.eclipse.wst.jsdt.internal.core.JavaProject">
- </run>
- </runtime>
-</extension>
-
- <!-- =================================================================================== -->
-<!-- Extension: Java Builder -->
-<!-- =================================================================================== -->
-
-<extension
- point="org.eclipse.core.resources.builders"
- id="javascriptValidator"
- name="%jsBuilderName">
- <builder>
- <run class="org.eclipse.wst.jsdt.internal.core.builder.JavaBuilder">
- </run>
- </builder>
-</extension>
-
-
-<!-- =================================================================================== -->
-<!-- Extension: JavaScript Problem -->
-<!-- =================================================================================== -->
-<extension id="problem" point="org.eclipse.core.resources.markers" name="%jsProblemName">
- <super type="org.eclipse.core.resources.problemmarker"/>
- <super type="org.eclipse.core.resources.textmarker"/>
- <persistent value="true"/>
- <attribute name="id"/>
- <attribute name="flags"/>
- <attribute name="arguments"/>
- <attribute name="categoryId"/>
-</extension>
-
-<!-- =================================================================================== -->
-<!-- Extension: JavaScript Buildpath Problem -->
-<!-- =================================================================================== -->
-<extension id="buildpath_problem" point="org.eclipse.core.resources.markers" name="%buildPathProblemName">
- <super type="org.eclipse.core.resources.problemmarker"/>
- <super type="org.eclipse.core.resources.textmarker"/>
- <persistent value="true"/>
- <attribute name ="cycleDetected"/>
- <attribute name="id"/>
- <attribute name="arguments"/>
-</extension>
-
-<!-- =================================================================================== -->
-<!-- Extension: JavaScript Transient Problem -->
-<!-- =================================================================================== -->
-<extension id="transient_problem" point="org.eclipse.core.resources.markers" name="%transientJsProblemName">
- <super type="org.eclipse.core.resources.textmarker"/>
- <persistent value="false"/>
- <attribute name="id"/>
- <attribute name="flags"/>
- <attribute name="arguments"/>
-</extension>
-
-<!-- =================================================================================== -->
-<!-- Extension: Java Task -->
-<!-- =================================================================================== -->
-<extension id="task" name="%jsTaskName" point="org.eclipse.core.resources.markers">
- <super type="org.eclipse.core.resources.taskmarker"/>
- <persistent value="true"/>
-</extension>
-
-<!-- =================================================================================== -->
-<!-- Extension: Javac Ant Adapter -->
-<!-- =================================================================================== -->
-<!--
-<extension
- point="org.eclipse.ant.core.extraClasspathEntries">
- <extraClasspathEntry
- library="jsdtCompilerAdapter.jar">
- </extraClasspathEntry>
-</extension>
--->
-<!-- =================================================================================== -->
-<!-- Extension: Javac Ant Task -->
-<!-- =================================================================================== -->
-<!--
-<extension point="org.eclipse.ant.core.antTasks">
- <antTask
- name="eclipse.checkDebugAttributes"
- class="org.eclipse.wst.jsdt.core.CheckDebugAttributes"
- library="jsdtCompilerAdapter.jar">
- </antTask>
-</extension>
- -->
-<!-- =================================================================================== -->
-<!-- Extension: User Library Container -->
-<!-- =================================================================================== -->
-<extension
- point="org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer">
- <JsGlobalScopeContainerInitializer
- class="org.eclipse.wst.jsdt.internal.core.UserLibraryJsGlobalScopeContainerInitializer"
- id="org.eclipse.wst.jsdt.USER_LIBRARY">
- </JsGlobalScopeContainerInitializer>
- </extension>
-
-<!-- =================================================================================== -->
-<!-- Extension: Java File Types -->
-<!-- =================================================================================== -->
-<extension point="org.eclipse.team.core.fileTypes">
- <fileTypes extension="js" type="text"/>
-
-</extension>
-
-<!-- =================================================================================== -->
-<!-- Extension: Java Code Formatter -->
-<!-- =================================================================================== -->
-<extension
- id="JavaCodeFormatter"
- point="org.eclipse.core.runtime.applications">
- <application>
- <run class="org.eclipse.wst.jsdt.core.formatter.CodeFormatterApplication" />
- </application>
-</extension>
-
-<!-- =================================================================================== -->
-<!-- Extension: Java Content Types -->
-<!-- =================================================================================== -->
-<extension point="org.eclipse.core.contenttype.contentTypes">
-
- <!-- Associates .jsdtscope to the XML content type -->
- <file-association
- content-type="org.eclipse.core.runtime.xml"
- file-names=".jsdtscope"/>
- <!-- declares a content type for Java Source files -->
- <content-type id="jsSource" name="%jsSourceName"
- base-type="org.eclipse.core.runtime.text"
- priority="high"
- file-extensions="js"/>
-</extension>
-
-<!-- =================================================================================== -->
-<!-- Extension: Eclipse preferences initializer -->
-<!-- =================================================================================== -->
-<extension
- point="org.eclipse.core.runtime.preferences">
- <initializer class="org.eclipse.wst.jsdt.internal.core.JavaCorePreferenceInitializer"/>
-</extension>
-<extension
- point="org.eclipse.core.runtime.preferences">
- <modifier class="org.eclipse.wst.jsdt.internal.core.JavaCorePreferenceModifyListener"/>
-</extension>
- <extension
- point="org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer">
- <JsGlobalScopeContainerInitializer
- class="org.eclipse.wst.jsdt.launching.JREContainerInitializer"
- id="org.eclipse.wst.jsdt.launching.JRE_CONTAINER">
- </JsGlobalScopeContainerInitializer>
- </extension>
-
- <extension
- point="org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer">
- <JsGlobalScopeContainerInitializer
- class="org.eclipse.wst.jsdt.libraries.BasicBrowserLibraryJsGlobalScopeContainerInitializer"
- id="org.eclipse.wst.jsdt.launching.baseBrowserLibrary">
- </JsGlobalScopeContainerInitializer>
- </extension>
-</plugin>
diff --git a/bundles/org.eclipse.wst.jsdt.core/schema/JsGlobalScopeContainerInitializer.exsd b/bundles/org.eclipse.wst.jsdt.core/schema/JsGlobalScopeContainerInitializer.exsd
deleted file mode 100644
index fadb424e..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/schema/JsGlobalScopeContainerInitializer.exsd
+++ /dev/null
@@ -1,124 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.wst.jsdt.core">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.wst.jsdt.core" id="JsGlobalScopeContainerInitializer" name="Includepath Container Initializers"/>
- </appInfo>
- <documentation>
- This extension point allows clients to contribute custom includepath container initializers,
- which are used to lazily bind classpath containers to instances of org.eclipse.wst.jsdt.core.IJsGlobalScopeContainer.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="JsGlobalScopeContainerInitializer" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified identifier of the target extension point
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- an optional identifier of the extension instance
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the extension instance
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="JsGlobalScopeContainerInitializer">
- <complexType>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- a unique name identifying all containers for which this initializer will be activated.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- the class that implements this container initializer.
- This class must implement a public subclass of &lt;code&gt;org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer&lt;/code&gt; with a public 0-argument constructor.
- </documentation>
- <appInfo>
- <meta.attribute kind="java" basedOn="org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- 2.0
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- Example of a declaration of a &lt;code&gt;JsGlobalScopeContainerInitializer&lt;/code&gt; for a classpath container named &quot;JDK&quot;: &lt;pre&gt;
-&lt;extension point=&quot;org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer&quot;&gt;
- &lt;JsGlobalScopeContainerInitializer
- id=&quot;JDK&quot;
- class=&quot;com.example.MyInitializer&quot;/&gt;
-&lt;/extension&gt;
-&lt;/pre&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2000, 2007 IBM Corporation and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.wst.jsdt.core/schema/JsGlobalScopeVariableInitializer.exsd b/bundles/org.eclipse.wst.jsdt.core/schema/JsGlobalScopeVariableInitializer.exsd
deleted file mode 100644
index 3e5288b0..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/schema/JsGlobalScopeVariableInitializer.exsd
+++ /dev/null
@@ -1,141 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.wst.jsdt.core">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.wst.jsdt.core" id="JsGlobalScopeVariableInitializer" name="Includepath Variable Initializers"/>
- </appInfo>
- <documentation>
- This extension point allows clients to contribute custom includepath variable initializers,
- which are used to lazily bind includepath variables.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="JsGlobalScopeVariableInitializer" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified identifier of the target extension point
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- an optional identifier of the extension instance
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the extension instance
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="JsGlobalScopeVariableInitializer">
- <complexType>
- <attribute name="variable" type="string" use="required">
- <annotation>
- <documentation>
- a unique name identifying the variable for which this initializer will be activated.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- the class that implements this variable initializer.
- This class must implement a public subclass of &lt;code&gt;org.eclipse.wst.jsdt.core.JsGlobalScopeVariableInitializer&lt;/code&gt; with a public 0-argument constructor.
- </documentation>
- <appInfo>
- <meta.attribute kind="java" basedOn="org.eclipse.wst.jsdt.core.JsGlobalScopeVariableInitializer"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="deprecated" type="string">
- <annotation>
- <documentation>
- String explaining the reason why the associated variable is deprecated
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="readOnly" type="boolean">
- <annotation>
- <documentation>
- Indicates that the associated variable cannot be modified
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- 2.0
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- Example of a declaration of a &lt;code&gt;JsGlobalScopeVariableInitializer&lt;/code&gt; for a classpath variable named &quot;FOO&quot;: &lt;pre&gt;
-&lt;extension point=&quot;org.eclipse.wst.jsdt.core.JsGlobalScopeVariableInitializer&quot;&gt;
- &lt;JsGlobalScopeVariableInitializer
- variable=&quot;FOO&quot;
- class=&quot;com.example.CPVInitializer&quot;/&gt;
-&lt;/extension&gt;
-&lt;/pre&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2000, 2007 IBM Corporation and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.wst.jsdt.core/schema/codeFormatter.exsd b/bundles/org.eclipse.wst.jsdt.core/schema/codeFormatter.exsd
deleted file mode 100644
index 10f56925..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/schema/codeFormatter.exsd
+++ /dev/null
@@ -1,111 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.wst.jsdt.core">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.wst.jsdt.core" id="codeFormatter" name="Code Formatters"/>
- </appInfo>
- <documentation>
- This extension point allows clients to contribute new source code formatter implementations.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="codeFormatter" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified identifier of the target extension point
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- an optional identifier of the extension instance
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the extension instance
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="codeFormatter">
- <complexType>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- the class that defines the code formatter implementation. This class must be a public implementation of &lt;code&gt;org.eclipse.wst.jsdt.core.ICodeFormatter&lt;/code&gt; with a public 0-argument constructor.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- 2.0
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- Example of an implementation of &lt;code&gt;ICodeFormatter&lt;/code&gt;: &lt;pre&gt;
-&lt;extension point=&quot;org.eclipse.wst.jsdt.core.codeFormatter&quot;&gt;
- &lt;codeFormatter
- class=&quot;com.example.MyCodeFormatter&quot;/&gt;
-&lt;/extension&gt;
-&lt;/pre&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2000, 2007 IBM Corporation and others.&lt;br&gt;
-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 &lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.wst.jsdt.core/schema/inferrenceSupport.exsd b/bundles/org.eclipse.wst.jsdt.core/schema/inferrenceSupport.exsd
deleted file mode 100644
index 33ea8910..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/schema/inferrenceSupport.exsd
+++ /dev/null
@@ -1,106 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.wst.jsdt.core" xmlns="http://www.w3.org/2001/XMLSchema">
-<annotation>
- <appinfo>
- <meta.schema plugin="org.eclipse.wst.jsdt.core" id="inferrenceSupport" name="Support for Inferencing"/>
- </appinfo>
- <documentation>
- This is an experimental API that is still under development and expected to
- change significantly before reaching stability. It is being made available
- at this early stage to solicit feedback from pioneering adopters on the
- understanding that any code that uses this API will almost certainly be broken
- (repeatedly) as the API evolves.
- </documentation>
- </annotation>
-
- <element name="extension">
- <annotation>
- <appinfo>
- <meta.element />
- </appinfo>
- </annotation>
- <complexType>
- <sequence>
- <element ref="inferenceProvider"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- <appinfo>
- <meta.attribute translatable="true"/>
- </appinfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="inferenceProvider">
- <complexType>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- <appinfo>
- <meta.attribute kind="java" basedOn=":org.eclipse.wst.jsdt.core.infer.InferrenceProvider"/>
- </appinfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appinfo>
- <meta.section type="since"/>
- </appinfo>
- <documentation>
- Since WTP 3.0
- </documentation>
- </annotation>
-
- <annotation>
- <appinfo>
- <meta.section type="examples"/>
- </appinfo>
- <documentation>
- [Enter extension point usage example here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appinfo>
- <meta.section type="apiInfo"/>
- </appinfo>
- <documentation>
- [Enter API information here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appinfo>
- <meta.section type="implementation"/>
- </appinfo>
- <documentation>
- [Enter information about supplied implementation of this extension point.]
- </documentation>
- </annotation>
-
-
-</schema>
diff --git a/bundles/org.eclipse.wst.jsdt.core/schema/validationParticipant.exsd b/bundles/org.eclipse.wst.jsdt.core/schema/validationParticipant.exsd
deleted file mode 100644
index 34c9bee0..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/schema/validationParticipant.exsd
+++ /dev/null
@@ -1,192 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.jdt.core">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.jdt.core" id="validationParticipant" name="Compilation Participants"/>
- </appInfo>
- <documentation>
- This extension point allows clients to participate in the validation process by receiving notifications at various stages of build and reconcile, via a org.eclipse.jdt.core.compiler.validationParticipant.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="validationParticipant" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="validationParticipant">
- <annotation>
- <documentation>
- definition of a compilation participant. This definition allows to order participants. Participants are run by group. The group of participants that modify the environment is run first, then the group of participants that create problems is run, finally the group of other participants is run. Inside each group, participants are ordered using their &apos;requires&apos; attributes. If a &apos;requires&apos; attribute point to a participant that doesn&apos;t belong to the group, it is ignored.
- </documentation>
- </annotation>
- <complexType>
- <sequence>
- <element ref="requires" minOccurs="0" maxOccurs="unbounded"/>
- <element ref="managedMarker" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- the class that implements this compilation participant. This class must implement a public subclass of &lt;code&gt;org.eclipse.jdt.core.compiler.validationParticipant&lt;/code&gt; with a public 0-argument constructor.
- </documentation>
- <appInfo>
- <meta.attribute kind="java" basedOn="org.eclipse.jdt.core.compiler.validationParticipant"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- a unique identifier for this participant
- </documentation>
- </annotation>
- </attribute>
- <attribute name="modifiesEnvironment" type="boolean">
- <annotation>
- <documentation>
- optionally specify whether this compilation participant modifies the environment, thus affecting binding resolution. If not specified, false is assumed.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="createsProblems" type="boolean">
- <annotation>
- <documentation>
- optionally specifies whether this compilation participant creates problems. If not specified, false is assumed.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="requiredSourceLevel" type="string">
- <annotation>
- <documentation>
- the required source level this participant needs (one of the JavaCore.VERSION* constants). If a project&apos;s source level is below this required source level, the participant will not be invoked. If this attribute is not specified, the participant will be invoked for any source level.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="requires">
- <annotation>
- <documentation>
- a participant that is required to run this compilation participant
- </documentation>
- </annotation>
- <complexType>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- the unique identifier of the participant that is required
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="managedMarker">
- <annotation>
- <documentation>
- a managed marker is created from the recorded problems (see BuildContext#recordNewProblems(CategorizedProblem[])) and is removed when the corresponding source file is re-built or when the project is cleaned
- </documentation>
- </annotation>
- <complexType>
- <attribute name="markerType" type="string" use="required">
- <annotation>
- <documentation>
- the type of the managed marker
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- 3.2
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- Example of a declaration of a &lt;code&gt;validationParticipant&lt;/code&gt;: &lt;pre&gt;
-&lt;extension
- id=&quot;apt&quot;
- name=&quot;%annotationProcessingName&quot;
- point=&quot;org.eclipse.jdt.core.validationParticipant&quot;&gt;
- &lt;validationParticipant
- class=&quot;org.eclipse.jdt.apt.core.internal.AptvalidationParticipant&quot;
- id=&quot;APT&quot;
- requiredSourceLevel=&quot;1.5&quot;&gt;
- &lt;managedMarker markerType=&quot;org.eclipse.jdt.apt.core.compile.problem&quot;/&gt;
- &lt;/validationParticipant&gt;
-&lt;/extension&gt;
-&lt;/pre&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2006 BEA Systems, Inc and others.&lt;br&gt;
-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
-&lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
- </documentation>
- </annotation>
-
-</schema>
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/BindingKey.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/BindingKey.java
deleted file mode 100644
index e125c3e6..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/BindingKey.java
+++ /dev/null
@@ -1,277 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 2007 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.wst.jsdt.internal.core.util.KeyKind;
-import org.eclipse.wst.jsdt.internal.core.util.KeyToSignature;
-
-/**
- * Utility class to decode or create a binding key.
- * <p>
- * This class is not intended to be subclassed by clients.
- * </p>
- *
- * @see org.eclipse.wst.jsdt.core.dom.IBinding#getKey()
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public final class BindingKey {
-
- private String key;
-
- /**
- * Creates a new binding key.
- *
- * @param key the key to decode
- */
- public BindingKey(String key) {
- this.key = key;
- }
-
- /**
- * Creates a new array type binding key from the given type binding key and the given array dimension.
- * <p>
- * For example:
- * <pre>
- * <code>
- * createArrayTypeBindingKey("LObject;", 1) -> "[LObject;"
- * </code>
- * </pre>
- * </p>
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param typeKey the binding key of the given type
- * @param arrayDimension the given array dimension
- * @return a new array type binding key
- */
- public static String createArrayTypeBindingKey(String typeKey, int arrayDimension) {
- // Note this implementation is heavily dependent on ArrayTypeBinding#computeUniqueKey()
- StringBuffer buffer = new StringBuffer();
- while (arrayDimension-- > 0)
- buffer.append('[');
- buffer.append(typeKey);
- return buffer.toString();
- }
-
- /**
- * Creates a new parameterized type binding key from the given generic type binding key and the given argument type binding keys.
- * If the argument type keys array is empty, then a raw type binding key is created.
- * <p>
- * For example:
- * <pre>
- * <code>
- * createParameterizedTypeBindingKey(
- * "LArray&lt;TK;TV;&gt;;",
- * new String[] {"LString;", "LObject;"}) -&gt;
- * "LArray&lt;LString;LObject;&gt;;"
- * createParameterizedTypeBindingKey(
- * "LArray&lt;TE;&gt;;", new String[] {}) -&gt;
- * "LArray&lt;&gt;;"
- * </code>
- * </pre>
- * </p>
- *
- * @param genericTypeKey the binding key of the generic type
- * @param argumentTypeKeys the possibly empty list of binding keys of argument types
- * @return a new parameterized type binding key
- */
- public static String createParameterizedTypeBindingKey(String genericTypeKey, String[] argumentTypeKeys) {
- // Note this implementation is heavily dependent on ParameterizedTypeBinding#computeUniqueKey() and its subclasses
- StringBuffer buffer = new StringBuffer();
- buffer.append(Signature.getTypeErasure(genericTypeKey));
- buffer.insert(buffer.length()-1, '<');
- for (int i = 0, length = argumentTypeKeys.length; i < length; i++) {
- String argumentTypeKey = argumentTypeKeys[i];
- buffer.insert(buffer.length()-1, argumentTypeKey);
- }
- buffer.insert(buffer.length()-1, '>');
- return buffer.toString();
- }
-
- /**
- * Creates a new type binding key from the given type name.
- * <p>
- * For example:
- * <pre>
- * <code>
- * createTypeBindingKey("String") -> "LString;"
- * </code>
- * </pre>
- * </p>
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param typeName the possibly qualified type name
- * @return a new type binding key
- */
- public static String createTypeBindingKey(String typeName) {
- // Note this implementation is heavily dependent on TypeBinding#computeUniqueKey() and its subclasses
- return Signature.createTypeSignature(typeName.replace('.', '/'), true/*resolved*/);
- }
-
- /**
- * Creates a new type variable binding key from the given type variable name and the given declaring key.
- * The declaring key can either be a type binding key or a method binding key.
- * <p>
- * For example:
- * <pre>
- * <code>
- * createTypeVariableBindingKey("T", "LArray&lt;TE;&gt;;") -&gt;
- * "LArray&lt;TE;&gt;;:TT;"
- * </code>
- * </pre>
- * </p>
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param typeVariableName the name of the given type variable
- * @param declaringKey the binding key of the type or method the type variable belongs to
- * @return a new type variable binding key
- */
- public static String createTypeVariableBindingKey(String typeVariableName, String declaringKey) {
- // Note this implementation is heavily dependent on TypeVariableBinding#computeUniqueKey()
- StringBuffer buffer = new StringBuffer();
- buffer.append(declaringKey);
- buffer.append(':');
- buffer.append('T');
- buffer.append(typeVariableName);
- buffer.append(';');
- return buffer.toString();
- }
-
- /**
- * Creates a new wildcard type binding key from the given type binding key and the given wildcard kind
- * (one of {@link Signature#C_STAR}, {@link Signature#C_SUPER}, or {@link Signature#C_EXTENDS}.
- * If the wildcard is {@link Signature#C_STAR}, the given type binding key is ignored.
- * <p>
- * For example:
- * <pre>
- * <code>
- * createWilcardTypeBindingKey(null, Signature.C_STAR) -&gt; "*"
- * createWilcardTypeBindingKey("LArray&lt;TE;&gt;;",
- * Signature.C_SUPER) -&gt; "-LArray&lt;TE;&gt;;"
- * createWilcardTypeBindingKey("LArray;", Signature.C_EXTENDS) -&gt;
- * "+Ljava/util/ArrayList;"
- * </code>
- * </pre>
- * </p>
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param typeKey the binding key of the given type
- * @param kind one of {@link Signature#C_STAR}, {@link Signature#C_SUPER}, or {@link Signature#C_EXTENDS}
- * @return a new wildcard type binding key
- */
- public static String createWilcardTypeBindingKey(String typeKey, char kind) {
- // Note this implementation is heavily dependent on WildcardBinding#computeUniqueKey()
- switch (kind) {
- case Signature.C_STAR:
- return "*"; //$NON-NLS-1$
- case Signature.C_SUPER:
- return '-' + typeKey;
- case Signature.C_EXTENDS:
- return '+' + typeKey;
- }
- return null;
- }
-
- /**
- * Returns the thrown exception signatures of the element represented by this binding key.
- * If this binding key does not represent a function or does not throw any exception,
- * returns an empty array.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @return the thrown exceptions signatures
- */
- public String[] getThrownExceptions() {
- KeyToSignature keyToSignature = new KeyToSignature(this.key, KeyToSignature.THROWN_EXCEPTIONS);
- keyToSignature.parse();
- return keyToSignature.getThrownExceptions();
- }
-
- /**
- * Returns the type argument signatures of the element represented by this binding key.
- * If this binding key doesn't represent a parameterized type or a parameterized method,
- * returns an empty array.
- *
- * @return the type argument signatures
- */
- public String[] getTypeArguments() {
- KeyToSignature keyToSignature = new KeyToSignature(this.key, KeyToSignature.TYPE_ARGUMENTS);
- keyToSignature.parse();
- return keyToSignature.getTypeArguments();
- }
-
- /**
- * Returns whether this binding key represents a raw type.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @return whether this binding key represents a raw type
- */
- public boolean isRawType() {
- KeyKind kind = new KeyKind(this.key);
- kind.parse();
- return (kind.flags & KeyKind.F_RAW_TYPE) != 0;
- }
-
- /**
- * Returns whether this binding key represents a parameterized type, or if its declaring type is a parameterized type.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @return whether this binding key represents a parameterized type
- */
- public boolean isParameterizedType() {
- KeyKind kind = new KeyKind(this.key);
- kind.parse();
- return (kind.flags & KeyKind.F_PARAMETERIZED_TYPE) != 0;
- }
-
- /**
- * Returns whether this binding key represents a parameterized method, or if its declaring method is a parameterized method.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @return whether this binding key represents a parameterized method
- */
- public boolean isParameterizedMethod() {
- KeyKind kind = new KeyKind(this.key);
- kind.parse();
- return (kind.flags & KeyKind.F_PARAMETERIZED_METHOD) ==KeyKind.F_PARAMETERIZED_METHOD;
- }
-
- /**
- * Transforms this binding key into a resolved signature.
- * If this binding key represents a field, the returned signature is
- * the declaring type's signature.
- *
- * @return the resolved signature for this binding key
- * @see Signature
- */
- public String toSignature() {
- KeyToSignature keyToSignature = new KeyToSignature(this.key, KeyToSignature.SIGNATURE);
- keyToSignature.parse();
- return keyToSignature.signature.toString();
- }
-
- /* (non-Javadoc)
- * @see java.lang.Object#toString()
- */
- public String toString() {
- return this.key;
- }
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/BufferChangedEvent.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/BufferChangedEvent.java
deleted file mode 100644
index 207ba45c..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/BufferChangedEvent.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import java.util.EventObject;
-
-/**
- * A buffer changed event describes how a buffer has changed. These events are
- * used in <code>IBufferChangedListener</code> notifications.
- * <p>
- * For text insertions, <code>getOffset</code> is the offset
- * of the first inserted character, <code>getText</code> is the
- * inserted text, and <code>getLength</code> is 0.
- * </p>
- * <p>
- * For text removals, <code>getOffset</code> is the offset
- * of the first removed character, <code>getText</code> is <code>null</code>,
- * and <code>getLength</code> is the length of the text that was removed.
- * </p>
- * <p>
- * For replacements (including <code>IBuffer.setContents</code>),
- * <code>getOffset</code> is the offset
- * of the first replaced character, <code>getText</code> is the replacement
- * text, and <code>getLength</code> is the length of the original text
- * that was replaced.
- * </p>
- * <p>
- * When a buffer is closed, <code>getOffset</code> is 0, <code>getLength</code>
- * is 0, and <code>getText</code> is <code>null</code>.
- * </p>
- * <p>
- * This class is not intended to be instantiated or subclassed by clients.
- * Instances of this class are automatically created by the JavaScript model.
- * </p>
- *
- * @see IBuffer
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public class BufferChangedEvent extends EventObject {
-
- /**
- * The length of text that has been modified in the buffer.
- */
- private int length;
-
- /**
- * The offset into the buffer where the modification took place.
- */
- private int offset;
-
- /**
- * The text that was modified.
- */
- private String text;
-
- private static final long serialVersionUID = 655379473891745999L; // backward compatible
-
-/**
- * Creates a new buffer changed event indicating that the given buffer has changed.
- *
- * @param buffer the given buffer
- * @param offset the given offset
- * @param length the given length
- * @param text the given text
- */
-public BufferChangedEvent(IBuffer buffer, int offset, int length, String text) {
- super(buffer);
- this.offset = offset;
- this.length = length;
- this.text = text;
-}
-/**
- * Returns the buffer which has changed.
- *
- * @return the buffer affected by the change
- */
-public IBuffer getBuffer() {
- return (IBuffer) this.source;
-}
-/**
- * Returns the length of text removed or replaced in the buffer, or
- * 0 if text has been inserted into the buffer.
- *
- * @return the length of the original text fragment modified by the
- * buffer change (<code> 0 </code> in case of insertion).
- */
-public int getLength() {
- return this.length;
-}
-/**
- * Returns the index of the first character inserted, removed, or replaced
- * in the buffer.
- *
- * @return the source offset of the textual manipulation in the buffer
- */
-public int getOffset() {
- return this.offset;
-}
-/**
- * Returns the text that was inserted, the replacement text,
- * or <code>null</code> if text has been removed.
- *
- * @return the text corresponding to the buffer change (<code> null </code>
- * in case of deletion).
- */
-public String getText() {
- return this.text;
-}
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/CompletionContext.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/CompletionContext.java
deleted file mode 100644
index 24c45485..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/CompletionContext.java
+++ /dev/null
@@ -1,238 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.wst.jsdt.internal.codeassist.InternalCompletionContext;
-import org.eclipse.wst.jsdt.internal.codeassist.complete.CompletionOnJavadoc;
-
-/**
- * Completion context.
- *
- * Represent the context in which the completion occurs.
- * <p>
- * This class is not intended to be instantiated or subclassed by clients.
- * </p>
- *
- * @see CompletionRequestor#acceptContext(CompletionContext)
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public final class CompletionContext extends InternalCompletionContext {
-
- /**
- * The completion token is unknown.
- */
- public static final int TOKEN_KIND_UNKNOWN = 0;
-
- /**
- * The completion token is a name.
- */
- public static final int TOKEN_KIND_NAME = 1;
- /**
- * The completion token is a string literal.
- * The string literal ends quote can be not present the source.
- * <code>"foo"</code> or <code>"foo</code>.
- */
-
- public static final int TOKEN_KIND_STRING_LITERAL = 2;
- /**
- * Tell user whether completion takes place in a jsdoc comment or not.
- *
- * @return boolean true if completion takes place in a jsdoc comment, false otherwise.
- */
- public boolean isInJsdoc() {
- return this.javadoc != 0;
- }
-
- /**
- * Tell user whether completion takes place in text area of a jsdoc comment or not.
- *
- * @return boolean true if completion takes place in a text area of a jsdoc comment, false otherwise.
- */
- public boolean isInJsdocText() {
- return (this.javadoc & CompletionOnJavadoc.TEXT) != 0;
- }
-
- /**
- * Tell user whether completion takes place in a formal reference of a jsdoc tag or not.
- * Tags with formal reference are:
- * <ul>
- * <li>&#64;see</li>
- * <li>&#64;throws</li>
- * <li>&#64;exception</li>
- * <li>{&#64;link Object}</li>
- * <li>{&#64;linkplain Object}</li>
- * <li>{&#64;value} when compiler compliance is set at leats to 1.5</li>
- * </ul>
- *
- * @return boolean true if completion takes place in formal reference of a jsdoc tag, false otherwise.
- */
- public boolean isInJsdocFormalReference() {
- return (this.javadoc & CompletionOnJavadoc.FORMAL_REFERENCE) != 0;
- }
-
- /**
- * Return signatures of expected types of a potential completion proposal at the completion position.
- *
- * It's not mandatory to a completion proposal to respect this expectation.
- *
- * @return signatures expected types of a potential completion proposal at the completion position or
- * <code>null</code> if there is no expected types.
- *
- * @see Signature
- */
- public char[][] getExpectedTypesSignatures() {
- return this.expectedTypesSignatures;
- }
- /**
- * Return keys of expected types of a potential completion proposal at the completion position.
- *
- * It's not mandatory to a completion proposal to respect this expectation.
- *
- * @return keys of expected types of a potential completion proposal at the completion position or
- * <code>null</code> if there is no expected types.
- *
- * @see org.eclipse.wst.jsdt.core.dom.ASTParser#createASTs(IJavaScriptUnit[], String[], org.eclipse.wst.jsdt.core.dom.ASTRequestor, org.eclipse.core.runtime.IProgressMonitor)
- */
- public char[][] getExpectedTypesKeys() {
- return this.expectedTypesKeys;
- }
-
- /**
- * Returns the completed token.
- * This token is either the identifier or JavaScript language keyword
- * or the string literal under, immediately preceding,
- * the original request offset. If the original request offset
- * is not within or immediately after an identifier or keyword or
- * a string literal then the returned value is <code>null</code>.
- *
- * @return completed token or <code>null</code>
- */
- public char[] getToken() {
- return this.token;
- }
-
- /**
- * Returns the kind of completion token being proposed.
- * <p>
- * The set of different kinds of completion token is
- * expected to change over time. It is strongly recommended
- * that clients do <b>not</b> assume that the kind is one of the
- * ones they know about, and code defensively for the
- * possibility of unexpected future growth.
- * </p>
- *
- * @return the kind; one of the kind constants declared on
- * this class whose name starts with <code>TOKEN_KIND</code>,
- * or possibly a kind unknown to the caller
- */
- public int getTokenKind() {
- return this.tokenKind;
- }
-
- /**
- * Returns the character index of the start of the
- * subrange in the source file buffer containing the
- * relevant token being completed. This
- * token is either the identifier or JavaScript language keyword
- * under, or immediately preceding, the original request
- * offset. If the original request offset is not within
- * or immediately after an identifier or keyword, then the
- * position returned is original request offset and the
- * token range is empty.
- *
- * @return character index of token start position (inclusive)
- */
- public int getTokenStart() {
- return this.tokenStart;
- }
-
- /**
- * Returns the character index of the end (exclusive) of the subrange
- * in the source file buffer containing the
- * relevant token. When there is no relevant token, the
- * range is empty
- * (<code>getTokenEnd() == getTokenStart() - 1</code>).
- *
- * @return character index of token end position (exclusive)
- */
- public int getTokenEnd() {
- return this.tokenEnd;
- }
-
- /**
- * Returns the offset position in the source file buffer
- * after which code assist is requested.
- *
- * @return offset position in the source file buffer
- */
- public int getOffset() {
- return this.offset;
- }
-
- public String toString() {
- StringBuffer buffer = new StringBuffer();
-
- buffer.append("completion offset="); //$NON-NLS-1$
- buffer.append(this.offset);
- buffer.append('\n');
-
- buffer.append("completion range=["); //$NON-NLS-1$
- buffer.append(this.tokenStart);
- buffer.append(", "); //$NON-NLS-1$
- buffer.append(this.tokenEnd);
- buffer.append("]\n"); //$NON-NLS-1$
-
- buffer.append("completion token="); //$NON-NLS-1$
- String string = "null"; //$NON-NLS-1$
- if(token == null) {
- buffer.append(string);
- } else {
- buffer.append('\"');
- buffer.append(this.token);
- buffer.append('\"');
- }
- buffer.append('\n');
-
- buffer.append("expectedTypesSignatures="); //$NON-NLS-1$
- if(this.expectedTypesSignatures == null) {
- buffer.append(string);
- } else {
- buffer.append('{');
- for (int i = 0; i < this.expectedTypesSignatures.length; i++) {
- if(i > 0) buffer.append(',');
- buffer.append(this.expectedTypesSignatures[i]);
-
- }
- buffer.append('}');
- }
- buffer.append('\n');
-
- buffer.append("expectedTypesKeys="); //$NON-NLS-1$
- if(expectedTypesSignatures == null) {
- buffer.append(string);
- } else {
- buffer.append('{');
- for (int i = 0; i < this.expectedTypesKeys.length; i++) {
- if(i > 0) buffer.append(',');
- buffer.append(this.expectedTypesKeys[i]);
-
- }
- buffer.append('}');
- }
- buffer.append('\n');
-
- return buffer.toString();
- }
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/CompletionFlags.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/CompletionFlags.java
deleted file mode 100644
index 509cfd64..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/CompletionFlags.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-/**
- * Utility class for decoding additional flags in completion proposal.
- * <p>
- * This class provides static methods only; it is not intended to be
- * instantiated or subclassed by clients.
- * </p>
- *
- * @see CompletionProposal#getAdditionalFlags()
- *
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public final class CompletionFlags {
- /**
- * Constant representing the absence of any flag
- */
- public static final int Default = 0x0000;
-
- /**
- * Constant representing a static import
- */
- public static final int StaticImport = 0x0001;
-
- /**
- * Not instantiable.
- */
- private CompletionFlags() {
- // Not instantiable
- }
-
- /**
- * Returns whether the given integer includes the {@link #StaticImport} flag.
- *
- * @param flags the flags
- * @return <code>true</code> if the {@link #StaticImport} flag is included
- */
- public static boolean isStaticImport(int flags) {
- return (flags & StaticImport) != 0;
- }
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/CompletionProposal.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/CompletionProposal.java
deleted file mode 100644
index fafba1f3..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/CompletionProposal.java
+++ /dev/null
@@ -1,1984 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.wst.jsdt.core.compiler.CharOperation;
-import org.eclipse.wst.jsdt.internal.codeassist.InternalCompletionProposal;
-
-/**
- * Completion proposal.
- * <p>
- * In typical usage, the user working in a JavaScript code editor issues
- * a code assist command. This command results in a call to
- * <code>ICodeAssist.codeComplete(position, completionRequestor)</code>
- * passing the current position in the source code. The code assist
- * engine analyzes the code in the buffer, determines what kind of
- * JavaScript language construct is at that position, and proposes ways
- * to complete that construct. These proposals are instances of
- * the class <code>CompletionProposal</code>. These proposals,
- * perhaps after sorting and filtering, are presented to the user
- * to make a choice.
- * </p>
- * <p>
- * The proposal is as follows: insert
- * the {@linkplain #getCompletion() completion string} into the
- * source file buffer, replacing the characters between
- * {@linkplain #getReplaceStart() the start}
- * and {@linkplain #getReplaceEnd() end}. The string
- * can be arbitrary; for example, it might include not only the
- * name of a function but a set of parentheses. Moreover, the source
- * range may include source positions before or after the source
- * position where <code>ICodeAssist.codeComplete</code> was invoked.
- * The rest of the information associated with the proposal is
- * to provide context that may help a user to choose from among
- * competing proposals.
- * </p>
- * <p>
- * The completion engine creates instances of this class; it is not intended
- * to be instantiated or subclassed by clients.
- * </p>
- *
- * @see ICodeAssist#codeComplete(int, CompletionRequestor)
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public final class CompletionProposal extends InternalCompletionProposal {
- private boolean updateCompletion = false;
-
- /**
- * Completion is a declaration of an anonymous class.
- * This kind of completion might occur in a context like
- * <code>"new List^;"</code> and complete it to
- * <code>"new List() {}"</code>.
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getDeclarationSignature()} -
- * the type signature of the type being implemented or subclassed
- * </li>
- * <li>{@link #getDeclarationKey()} -
- * the type unique key of the type being implemented or subclassed
- * </li>
- * <li>{@link #getSignature()} -
- * the method signature of the constructor that is referenced
- * </li>
- * <li>{@link #getKey()} -
- * the method unique key of the constructor that is referenced
- * if the declaring type is not an interface
- * </li>
- * <li>{@link #getFlags()} -
- * the modifiers flags of the constructor that is referenced
- * </li>
- * </ul>
- * </p>
- *
- * @see #getKind()
- */
- public static final int ANONYMOUS_CLASS_DECLARATION = 1;
-
- /**
- * Completion is a reference to a field.
- * This kind of completion might occur in a context like
- * <code>"this.ref^ = 0;"</code> and complete it to
- * <code>"this.refcount = 0;"</code>.
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getDeclarationSignature()} -
- * the type signature of the type that declares the field that is referenced
- * </li>
- * <li>{@link #getFlags()} -
- * the modifiers flags of the field that is referenced
- * </li>
- * <li>{@link #getName()} -
- * the simple name of the field that is referenced
- * </li>
- * <li>{@link #getSignature()} -
- * the type signature of the field's type (as opposed to the
- * signature of the type in which the referenced field
- * is declared)
- * </li>
- * </ul>
- * </p>
- *
- * @see #getKind()
- */
- public static final int FIELD_REF = 2;
-
- /**
- * Completion is a keyword.
- * This kind of completion might occur in a context like
- * <code>"fu Foo {}"</code> and complete it to
- * <code>"function Foo {}"</code>.
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getName()} -
- * the keyword token
- * </li>
- * <li>{@link #getFlags()} -
- * the corresponding modifier flags if the keyword is a modifier
- * </li>
- * </ul>
- * </p>
- *
- * @see #getKind()
- */
- public static final int KEYWORD = 3;
-
- /**
- * Completion is a reference to a label.
- * This kind of completion might occur in a context like
- * <code>"break lo^;"</code> and complete it to
- * <code>"break loop;"</code>.
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getName()} -
- * the simple name of the label that is referenced
- * </li>
- * </ul>
- * </p>
- *
- * @see #getKind()
- */
- public static final int LABEL_REF = 4;
-
- /**
- * Completion is a reference to a local variable.
- * This kind of completion might occur in a context like
- * <code>"ke^ = 4;"</code> and complete it to
- * <code>"keys = 4;"</code>.
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getFlags()} -
- * the modifiers flags of the local variable that is referenced
- * </li>
- * <li>{@link #getName()} -
- * the simple name of the local variable that is referenced
- * </li>
- * <li>{@link #getSignature()} -
- * the type signature of the local variable's type
- * </li>
- * </ul>
- * </p>
- *
- * @see #getKind()
- */
- public static final int LOCAL_VARIABLE_REF = 5;
-
- /**
- * Completion is a reference to a method.
- * This kind of completion might occur in a context like
- * <code>"myObject.pr^();"</code> and complete it to
- * <code>""myObject.println();"</code>.
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getDeclarationSignature()} -
- * the type signature of the type that declares the method that is referenced
- * </li>
- * <li>{@link #getFlags()} -
- * the modifiers flags of the method that is referenced
- * </li>
- * <li>{@link #getName()} -
- * the simple name of the method that is referenced
- * </li>
- * <li>{@link #getSignature()} -
- * the method signature of the method that is referenced
- * </li>
- * </ul>
- * </p>
- *
- * @see #getKind()
- */
- public static final int METHOD_REF = 6;
-
- /**
- * Completion is a declaration of a function.
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getDeclarationSignature()} -
- * the type signature of the type that declares the
- * method that is being overridden or implemented
- * </li>
- * <li>{@link #getDeclarationKey()} -
- * the unique of the type that declares the
- * method that is being overridden or implemented
- * </li>
- * <li>{@link #getName()} -
- * the simple name of the method that is being overridden
- * or implemented
- * </li>
- * <li>{@link #getSignature()} -
- * the method signature of the method that is being
- * overridden or implemented
- * </li>
- * <li>{@link #getKey()} -
- * the method unique key of the method that is being
- * overridden or implemented
- * </li>
- * <li>{@link #getFlags()} -
- * the modifiers flags of the method that is being
- * overridden or implemented
- * </li>
- * </ul>
- * </p>
- *
- * @see #getKind()
- */
- public static final int METHOD_DECLARATION = 7;
-
- /**
- * Completion is a reference to a package.
- * This kind of completion might occur in a context like
- * <code>"import java.u^.*;"</code> and complete it to
- * <code>"import java.util.*;"</code>.
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getDeclarationSignature()} -
- * the dot-based package name of the package that is referenced
- * </li>
- * </ul>
- * </p>
- *
- * <b>This completion only applies to ECMAScript 4 which is not yet supported</b>
- *
- * @see #getKind()
- */
- public static final int PACKAGE_REF = 8;
-
- /**
- * Completion is a reference to a type.
- * This kind of completion might occur in a context like
- * <code>"var c=new Str^ ;"</code> and complete it to
- * <code>"var c=new String ;"</code>.
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getDeclarationSignature()} -
- * </li>
- * <li>{@link #getSignature()} -
- * the type signature of the type that is referenced
- * </li>
- * <li>{@link #getFlags()} -
- * the modifiers flags (including Flags.AccInterface) of the type that is referenced
- * </li>
- * </ul>
- * </p>
- *
- * @see #getKind()
- */
- public static final int TYPE_REF = 9;
-
- /**
- * Completion is a declaration of a variable (locals, parameters,
- * fields, etc.).
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getName()} -
- * the simple name of the variable being declared
- * </li>
- * <li>{@link #getSignature()} -
- * the type signature of the type of the variable
- * being declared
- * </li>
- * <li>{@link #getFlags()} -
- * the modifiers flags of the variable being declared
- * </li>
- * </ul>
- * </p>
- * @see #getKind()
- */
- public static final int VARIABLE_DECLARATION = 10;
-
- /**
- * Completion is a declaration of a new potential function.
- * This kind of completion might occur in a context like
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getDeclarationSignature()} -
- * the type signature of the type that declares the
- * method that is being created
- * </li>
- * <li>{@link #getName()} -
- * the simple name of the method that is being created
- * </li>
- * <li>{@link #getSignature()} -
- * the method signature of the method that is being
- * created
- * </li>
- * <li>{@link #getFlags()} -
- * the modifiers flags of the method that is being
- * created
- * </li>
- * </ul>
- * </p>
- *
- * @see #getKind()
- */
- public static final int POTENTIAL_METHOD_DECLARATION = 11;
-
- /**
- * Completion is a reference to a function name.
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getDeclarationSignature()} -
- * the type signature of the type that declares the method that is referenced
- * </li>
- * <li>{@link #getFlags()} -
- * the modifiers flags of the method that is referenced
- * </li>
- * <li>{@link #getName()} -
- * the simple name of the method that is referenced
- * </li>
- * <li>{@link #getSignature()} -
- * the method signature of the method that is referenced
- * </li>
- * </ul>
- * </p>
- *
- * @see #getKind()
- */
- public static final int METHOD_NAME_REFERENCE = 12;
-
- public static final int ANNOTATION_ATTRIBUTE_REF = 13;
-
- /**
- * Completion is a link reference to a field in a JSdoc text.
- * This kind of completion might occur in a context like
- * <code>" * blabla System.o^ blabla"</code> and complete it to
- * <code>" * blabla {&#64;link System#out } blabla"</code>.
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getDeclarationSignature()} -
- * the type signature of the type that declares the field that is referenced
- * </li>
- * <li>{@link #getFlags()} -
- * the modifiers flags (including ACC_ENUM) of the field that is referenced
- * </li>
- * <li>{@link #getName()} -
- * the simple name of the field that is referenced
- * </li>
- * <li>{@link #getSignature()} -
- * the type signature of the field's type (as opposed to the
- * signature of the type in which the referenced field
- * is declared)
- * </li>
- * </ul>
- * </p>
- *
- * @see #getKind()
- */
- public static final int JSDOC_FIELD_REF = 14;
-
- /**
- * Completion is a link reference to a function in a JSdoc text.
- * This kind of completion might occur in a context like
- * <code>" * blabla Object#va^ blabla"</code> and complete it to
- * <code>" * blabla {&#64;link Object#valueOf() }"</code>.
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getDeclarationSignature()} -
- * the type signature of the type that declares the method that is referenced
- * </li>
- * <li>{@link #getFlags()} -
- * the modifiers flags of the method that is referenced
- * </li>
- * <li>{@link #getName()} -
- * the simple name of the method that is referenced
- * </li>
- * <li>{@link #getSignature()} -
- * the method signature of the method that is referenced
- * </li>
- * </ul>
- * </p>
- *
- * @see #getKind()
- */
- public static final int JSDOC_METHOD_REF = 15;
-
- /**
- * Completion is a link reference to a type in a JSdoc text.
- * Any kind of type is allowed, including primitive types, reference types,
- * array types, parameterized types, and type variables.
- * This kind of completion might occur in a context like
- * <code>" * blabla Str^ blabla"</code> and complete it to
- * <code>" * blabla {&#64;link String } blabla"</code>.
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getDeclarationSignature()} -
- * the dot-based package name of the package that contains
- * the type that is referenced
- * </li>
- * <li>{@link #getSignature()} -
- * the type signature of the type that is referenced
- * </li>
- * <li>{@link #getFlags()} -
- * the modifiers flags of the type that is referenced
- * </li>
- * </ul>
- * </p>
- *
- * @see #getKind()
- */
- public static final int JSDOC_TYPE_REF = 16;
-
- /**
- * Completion is a value reference to a static field in a JSdoc text.
- * This kind of completion might occur in a context like
- * <code>" * blabla Number.N^ blabla"</code> and complete it to
- * <code>" * blabla {&#64;value Number#NaN } blabla"</code>.
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getDeclarationSignature()} -
- * the type signature of the type that declares the field that is referenced
- * </li>
- * <li>{@link #getFlags()} -
- * the modifiers flags of the field that is referenced
- * </li>
- * <li>{@link #getName()} -
- * the simple name of the field that is referenced
- * </li>
- * <li>{@link #getSignature()} -
- * the type signature of the field's type (as opposed to the
- * signature of the type in which the referenced field
- * is declared)
- * </li>
- * </ul>
- * </p>
- *
- * @see #getKind()
- */
- public static final int JSDOC_VALUE_REF = 17;
-
- /**
- * Completion is a method argument or a class/method type parameter
- * in JSdoc param tag.
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getDeclarationSignature()} -
- * the type signature of the type that declares the field that is referenced
- * </li>
- * <li>{@link #getFlags()} -
- * the modifiers flags (including ACC_ENUM) of the field that is referenced
- * </li>
- * <li>{@link #getName()} -
- * the simple name of the field that is referenced
- * </li>
- * <li>{@link #getSignature()} -
- * the type signature of the field's type (as opposed to the
- * signature of the type in which the referenced field
- * is declared)
- * </li>
- * </ul>
- * </p>
- *
- * <b>This field only applies to ECMAScript 4 which is not yet supported</b>
- *
- * @see #getKind()
- */
- public static final int JSDOC_PARAM_REF = 18;
-
- /**
- * Completion is a JSdoc block tag.
- * This kind of completion might occur in a context like
- * <code>" * @s^ blabla"</code> and complete it to
- * <code>" * @see blabla"</code>.
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getDeclarationSignature()} -
- * the type signature of the type that declares the field that is referenced
- * </li>
- * <li>{@link #getFlags()} -
- * the modifiers flags of the field that is referenced
- * </li>
- * <li>{@link #getName()} -
- * the simple name of the field that is referenced
- * </li>
- * <li>{@link #getSignature()} -
- * the type signature of the field's type (as opposed to the
- * signature of the type in which the referenced field
- * is declared)
- * </li>
- * </ul>
- * </p>
- *
- * @see #getKind()
- */
- public static final int JSDOC_BLOCK_TAG = 19;
-
- /**
- * Completion is a JSdoc inline tag.
- * This kind of completion might occur in a context like
- * <code>" * Insert @l^ Object"</code> and complete it to
- * <code>" * Insert {&#64;link Object }"</code>.
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getDeclarationSignature()} -
- * the type signature of the type that declares the field that is referenced
- * </li>
- * <li>{@link #getFlags()} -
- * the modifiers flags of the field that is referenced
- * </li>
- * <li>{@link #getName()} -
- * the simple name of the field that is referenced
- * </li>
- * <li>{@link #getSignature()} -
- * the type signature of the field's type (as opposed to the
- * signature of the type in which the referenced field
- * is declared)
- * </li>
- * </ul>
- * </p>
- *
- * @see #getKind()
- */
- public static final int JSDOC_INLINE_TAG = 20;
-
- /**
- * Completion is an import of reference to a static field.
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getDeclarationSignature()} -
- * the type signature of the type that declares the field that is imported
- * </li>
- * <li>{@link #getFlags()} -
- * the modifiers flags (including ACC_ENUM) of the field that is imported
- * </li>
- * <li>{@link #getName()} -
- * the simple name of the field that is imported
- * </li>
- * <li>{@link #getSignature()} -
- * the type signature of the field's type (as opposed to the
- * signature of the type in which the referenced field
- * is declared)
- * </li>
- * <li>{@link #getAdditionalFlags()} -
- * the completion flags (including ComletionFlags.StaticImport)
- * of the proposed import
- * </li>
- * </ul>
- * </p>
- *
- * @see #getKind()
- *
- */
- public static final int FIELD_IMPORT = 21;
-
- /**
- * Completion is an import of reference to a static method.
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getDeclarationSignature()} -
- * the type signature of the type that declares the method that is imported
- * </li>
- * <li>{@link #getFlags()} -
- * the modifiers flags of the method that is imported
- * </li>
- * <li>{@link #getName()} -
- * the simple name of the method that is imported
- * </li>
- * <li>{@link #getSignature()} -
- * the method signature of the method that is imported
- * </li>
- * <li>{@link #getAdditionalFlags()} -
- * the completion flags (including ComletionFlags.StaticImport)
- * of the proposed import
- * </li>
- * </ul>
- * </p>
- *
- * @see #getKind()
- *
- */
- public static final int METHOD_IMPORT = 22;
-
- /**
- * Completion is an import of reference to a type.
- * Only reference to reference types are allowed.
- * <p>
- * The following additional context information is available
- * for this kind of completion proposal at little extra cost:
- * <ul>
- * <li>{@link #getDeclarationSignature()} -
- * the dot-based package name of the package that contains
- * the type that is imported
- * </li>
- * <li>{@link #getSignature()} -
- * the type signature of the type that is imported
- * </li>
- * <li>{@link #getFlags()} -
- * the modifiers flags (including Flags.AccInterface, AccEnum,
- * and AccAnnotation) of the type that is imported
- * </li>
- * <li>{@link #getAdditionalFlags()} -
- * the completion flags (including ComletionFlags.StaticImport)
- * of the proposed import
- * </li>
- * </ul>
- * </p>
- *
- * @see #getKind()
- *
- */
- public static final int TYPE_IMPORT = 23;
-
- /**
- * First valid completion kind.
- *
- */
- protected static final int FIRST_KIND = ANONYMOUS_CLASS_DECLARATION;
-
- /**
- * Last valid completion kind.
- *
- */
- protected static final int LAST_KIND = TYPE_IMPORT;
-
- /**
- * Kind of completion request.
- */
- private int completionKind;
-
- /**
- * Offset in original buffer where ICodeAssist.codeComplete() was
- * requested.
- */
- private int completionLocation;
-
- /**
- * Start position (inclusive) of source range in original buffer
- * containing the relevant token
- * defaults to empty subrange at [0,0).
- */
- private int tokenStart = 0;
-
- /**
- * End position (exclusive) of source range in original buffer
- * containing the relevant token;
- * defaults to empty subrange at [0,0).
- */
- private int tokenEnd = 0;
-
- /**
- * Completion string; defaults to empty string.
- */
- private char[] completion = CharOperation.NO_CHAR;
-
- /**
- * Start position (inclusive) of source range in original buffer
- * to be replaced by completion string;
- * defaults to empty subrange at [0,0).
- */
- private int replaceStart = 0;
-
- /**
- * End position (exclusive) of source range in original buffer
- * to be replaced by completion string;
- * defaults to empty subrange at [0,0).
- */
- private int replaceEnd = 0;
-
- /**
- * Relevance rating; positive; higher means better;
- * defaults to minimum rating.
- */
- private int relevance = 1;
-
- /**
- * Signature of the relevant package or type declaration
- * in the context, or <code>null</code> if none.
- * Defaults to null.
- */
- private char[] declarationSignature = null;
-
- /**
- * Unique key of the relevant package or type declaration
- * in the context, or <code>null</code> if none.
- * Defaults to null.
- */
- private char[] declarationKey = null;
-
- /**
- * Simple name of the method, field,
- * member, or variable relevant in the context, or
- * <code>null</code> if none.
- * Defaults to null.
- */
- private char[] name = null;
-
- /**
- * Signature of the function, field type, member type,
- * relevant in the context, or <code>null</code> if none.
- * Defaults to null.
- */
- private char[] signature = null;
-
- /**
- * Unique of the function, field type, member type,
- * relevant in the context, or <code>null</code> if none.
- * Defaults to null.
- */
- private char[] key = null;
-
- /**
- * Array of required completion proposals, or <code>null</code> if none.
- * The proposal can not be applied if the required proposals aren't applied.
- * Defaults to <code>null</code>.
- */
- private CompletionProposal[] requiredProposals;
-
- /**
- * Modifier flags relevant in the context, or
- * <code>Flags.AccDefault</code> if none.
- * Defaults to <code>Flags.AccDefault</code>.
- */
- private int flags = Flags.AccDefault;
-
- /**
- * Completion flags relevant in the context, or
- * <code>CompletionFlags.Default</code> if none.
- * Defaults to <code>CompletionFlags.Default</code>.
- */
- private int additionalFlags = CompletionFlags.Default;
-
- /**
- * Parameter names (for method completions), or
- * <code>null</code> if none. Lazily computed.
- * Defaults to <code>null</code>.
- */
- private char[][] parameterNames = null;
-
- /**
- * Indicates whether parameter names have been computed.
- */
- private boolean parameterNamesComputed = false;
-
- /**
- * Creates a basic completion proposal. All instance
- * field have plausible default values unless otherwise noted.
- * <p>
- * Note that the constructors for this class are internal to the
- * JavaScript model implementation. Clients cannot directly create
- * CompletionProposal objects.
- * </p>
- *
- * @param kind one of the kind constants declared on this class
- * @param completionOffset original offset of code completion request
- * @return a new completion proposal
- */
- public static CompletionProposal create(int kind, int completionOffset) {
- return new CompletionProposal(kind, completionOffset);
- }
-
- /**
- * Creates a basic completion proposal. All instance
- * field have plausible default values unless otherwise noted.
- * <p>
- * Note that the constructors for this class are internal to the
- * JavaScript model implementation. Clients cannot directly create
- * CompletionProposal objects.
- * </p>
- *
- * @param kind one of the kind constants declared on this class
- * @param completionLocation original offset of code completion request
- */
- CompletionProposal(int kind, int completionLocation) {
- if ((kind < CompletionProposal.FIRST_KIND)
- || (kind > CompletionProposal.LAST_KIND)) {
- throw new IllegalArgumentException();
- }
- if (this.completion == null || completionLocation < 0) {
- // Work around for bug 132558 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=132558).
- // completionLocation can be -1 if the completion occur at the start of a file or
- // the start of a code snippet but this API isn't design to support negative position.
- if(this.completion == null || completionLocation != -1) {
- throw new IllegalArgumentException();
- }
- completionLocation = 0;
- }
- this.completionKind = kind;
- this.completionLocation = completionLocation;
- }
-
- /**
- * Returns the completion flags relevant in the context, or
- * <code>CompletionFlags.Default</code> if none.
- * <p>
- * This field is available for the following kinds of
- * completion proposals:
- * <ul>
- * <li><code>FIELD_IMPORT</code> - completion flags
- * of the attribute that is referenced. Completion flags for
- * this proposal kind can only include <code>CompletionFlags.StaticImport</code></li>
- * <li><code>METHOD_IMPORT</code> - completion flags
- * of the attribute that is referenced. Completion flags for
- * this proposal kind can only include <code>CompletionFlags.StaticImport</code></li>
- * <li><code>TYPE_IMPORT</code> - completion flags
- * of the attribute that is referenced. Completion flags for
- * this proposal kind can only include <code>CompletionFlags.StaticImport</code></li>
- * </ul>
- * For other kinds of completion proposals, this method returns
- * <code>CompletionFlags.Default</code>.
- * </p>
- *
- * @return the completion flags, or
- * <code>CompletionFlags.Default</code> if none
- * @see CompletionFlags
- *
- */
- public int getAdditionalFlags() {
- return this.additionalFlags;
- }
-
- /**
- * Sets the completion flags relevant in the context.
- * <p>
- * If not set, defaults to none.
- * </p>
- * <p>
- * The completion engine creates instances of this class and sets
- * its properties; this method is not intended to be used by other clients.
- * </p>
- *
- * @param additionalFlags the completion flags, or
- * <code>CompletionFlags.Default</code> if none
- *
- */
- public void setAdditionalFlags(int additionalFlags) {
- this.additionalFlags = additionalFlags;
- }
-
- /**
- * Returns the kind of completion being proposed.
- * <p>
- * The set of different kinds of completion proposals is
- * expected to change over time. It is strongly recommended
- * that clients do <b>not</b> assume that the kind is one of the
- * ones they know about, and code defensively for the
- * possibility of unexpected future growth.
- * </p>
- *
- * @return the kind; one of the kind constants
- * declared on this class, or possibly a kind unknown
- * to the caller
- */
- public int getKind() {
- return this.completionKind;
- }
-
- /**
- * Returns the character index in the source file buffer
- * where source completion was requested (the
- * <code>offset</code> parameter to
- * <code>ICodeAssist.codeComplete</code> minus one).
- *
- * @return character index in source file buffer
- * @see ICodeAssist#codeComplete(int,CompletionRequestor)
- */
- // TODO (david) https://bugs.eclipse.org/bugs/show_bug.cgi?id=132558
- public int getCompletionLocation() {
- return this.completionLocation;
- }
-
- /**
- * Returns the character index of the start of the
- * subrange in the source file buffer containing the
- * relevant token being completed. This
- * token is either the identifier or JavaScript language keyword
- * under, or immediately preceding, the original request
- * offset. If the original request offset is not within
- * or immediately after an identifier or keyword, then the
- * position returned is original request offset and the
- * token range is empty.
- *
- * @return character index of token start position (inclusive)
- */
- public int getTokenStart() {
- return this.tokenStart;
- }
-
- /**
- * Returns the character index of the end (exclusive) of the subrange
- * in the source file buffer containing the
- * relevant token. When there is no relevant token, the
- * range is empty
- * (<code>getEndToken() == getStartToken()</code>).
- *
- * @return character index of token end position (exclusive)
- */
- public int getTokenEnd() {
- return this.tokenEnd;
- }
-
- /**
- * Sets the character indices of the subrange in the
- * source file buffer containing the relevant token being
- * completed. This token is either the identifier or
- * JavaScript language keyword under, or immediately preceding,
- * the original request offset. If the original request
- * offset is not within or immediately after an identifier
- * or keyword, then the source range begins at original
- * request offset and is empty.
- * <p>
- * If not set, defaults to empty subrange at [0,0).
- * </p>
- *
- * @param startIndex character index of token start position (inclusive)
- * @param endIndex character index of token end position (exclusive)
- */
- public void setTokenRange(int startIndex, int endIndex) {
- if (startIndex < 0 || endIndex < startIndex) {
- throw new IllegalArgumentException();
- }
- this.tokenStart = startIndex;
- this.tokenEnd = endIndex;
- }
-
- /**
- * Returns the proposed sequence of characters to insert into the
- * source file buffer, replacing the characters at the specified
- * source range. The string can be arbitrary; for example, it might
- * include not only the name of a method but a set of parentheses.
- * <p>
- * The client must not modify the array returned.
- * </p>
- *
- * @return the completion string
- */
- public char[] getCompletion() {
- if(this.completionKind == METHOD_DECLARATION) {
- this.findParameterNames(null);
- if(this.updateCompletion) {
- this.updateCompletion = false;
-
- if(this.parameterNames != null) {
- int length = this.parameterNames.length;
- StringBuffer completionBuffer = new StringBuffer(this.completion.length);
-
- int start = 0;
- int end = CharOperation.indexOf('%', this.completion);
-
- completionBuffer.append(this.completion, start, end - start);
-
- for(int i = 0 ; i < length ; i++){
- completionBuffer.append(this.parameterNames[i]);
- start = end + 1;
- end = CharOperation.indexOf('%', this.completion, start);
- if(end > -1){
- completionBuffer.append(this.completion, start, end - start);
- } else {
- completionBuffer.append(this.completion, start, this.completion.length - start);
- }
- }
- int nameLength = completionBuffer.length();
- this.completion = new char[nameLength];
- completionBuffer.getChars(0, nameLength, this.completion, 0);
- }
- }
- }
- return this.completion;
- }
-
- /**
- * Sets the proposed sequence of characters to insert into the
- * source file buffer, replacing the characters at the specified
- * source range. The string can be arbitrary; for example, it might
- * include not only the name of a method but a set of parentheses.
- * <p>
- * If not set, defaults to an empty character array.
- * </p>
- * <p>
- * The completion engine creates instances of this class and sets
- * its properties; this method is not intended to be used by other clients.
- * </p>
- *
- * @param completion the completion string
- */
- public void setCompletion(char[] completion) {
- this.completion = completion;
- }
-
- /**
- * Returns the character index of the start of the
- * subrange in the source file buffer to be replaced
- * by the completion string. If the subrange is empty
- * (<code>getReplaceEnd() == getReplaceStart()</code>),
- * the completion string is to be inserted at this
- * index.
- * <p>
- * Note that while the token subrange is precisely
- * specified, the replacement range is loosely
- * constrained and may not bear any direct relation
- * to the original request offset. For example,
- * it would be possible for a type completion to
- * propose inserting an import declaration at the
- * top of the compilation unit; or the completion
- * might include trailing parentheses and
- * punctuation for a method completion.
- * </p>
- *
- * @return replacement start position (inclusive)
- */
- public int getReplaceStart() {
- return this.replaceStart;
- }
-
- /**
- * Returns the character index of the end of the
- * subrange in the source file buffer to be replaced
- * by the completion string. If the subrange is empty
- * (<code>getReplaceEnd() == getReplaceStart()</code>),
- * the completion string is to be inserted at this
- * index.
- *
- * @return replacement end position (exclusive)
- */
- public int getReplaceEnd() {
- return this.replaceEnd;
- }
-
- /**
- * Sets the character indices of the subrange in the
- * source file buffer to be replaced by the completion
- * string. If the subrange is empty
- * (<code>startIndex == endIndex</code>),
- * the completion string is to be inserted at this
- * index.
- * <p>
- * If not set, defaults to empty subrange at [0,0).
- * </p>
- * <p>
- * The completion engine creates instances of this class and sets
- * its properties; this method is not intended to be used by other clients.
- * </p>
- *
- * @param startIndex character index of replacement start position (inclusive)
- * @param endIndex character index of replacement end position (exclusive)
- */
- public void setReplaceRange(int startIndex, int endIndex) {
- if (startIndex < 0 || endIndex < startIndex) {
- throw new IllegalArgumentException();
- }
- this.replaceStart = startIndex;
- this.replaceEnd = endIndex;
- }
-
- /**
- * Returns the relative relevance rating of this proposal.
- *
- * @return relevance rating of this proposal; ratings are positive; higher means better
- */
- public int getRelevance() {
- return this.relevance;
- }
-
- /**
- * Sets the relative relevance rating of this proposal.
- * <p>
- * If not set, defaults to the lowest possible rating (1).
- * </p>
- * <p>
- * The completion engine creates instances of this class and sets
- * its properties; this method is not intended to be used by other clients.
- * </p>
- *
- * @param rating relevance rating of this proposal; ratings are positive; higher means better
- */
- public void setRelevance(int rating) {
- if (rating <= 0) {
- throw new IllegalArgumentException();
- }
- this.relevance = rating;
- }
-
- /**
- * Returns the type signature of the relevant
- * declaration in the context, or <code>null</code> if none.
- * <p>
- * This field is available for the following kinds of
- * completion proposals:
- * <ul>
- * <li><code>ANNOTATION_ATTRIBUT_REF</code> - type signature
- * of the annotation that declares the attribute that is referenced</li>
- * <li><code>ANONYMOUS_CLASS_DECLARATION</code> - type signature
- * of the type that is being subclassed or implemented</li>
- * <li><code>FIELD_IMPORT</code> - type signature
- * of the type that declares the field that is imported</li>
- * <li><code>FIELD_REF</code> - type signature
- * of the type that declares the field that is referenced</li>
- * <li><code>METHOD_IMPORT</code> - type signature
- * of the type that declares the method that is imported</li>
- * <li><code>FUNCTION_REF</code> - type signature
- * of the type that declares the method that is referenced</li>
- * <li><code>FUNCTION_DECLARATION</code> - type signature
- * of the type that declares the method that is being
- * implemented or overridden</li>
- * <li><code>PACKAGE_REF</code> - dot-based package
- * name of the package that is referenced</li>
- * <li><code>TYPE_IMPORT</code> - dot-based package
- * name of the package containing the type that is imported</li>
- * <li><code>TYPE_REF</code> - dot-based package
- * name of the package containing the type that is referenced</li>
- * <li><code>POTENTIAL_METHOD_DECLARATION</code> - type signature
- * of the type that declares the method that is being created</li>
- * </ul>
- * For kinds of completion proposals, this method returns
- * <code>null</code>. Clients must not modify the array
- * returned.
- * </p>
- *
- * @return a type signature or a package name (depending
- * on the kind of completion), or <code>null</code> if none
- * @see Signature
- */
- public char[] getDeclarationSignature() {
- return this.declarationSignature;
- }
-
- /**
- * Returns the key of the relevant
- * declaration in the context, or <code>null</code> if none.
- * <p>
- * This field is available for the following kinds of
- * completion proposals:
- * <ul>
- * <li><code>ANONYMOUS_CLASS_DECLARATION</code> - key
- * of the type that is being subclassed or implemented</li>
- * <li><code>FUNCTION_DECLARATION</code> - key
- * of the type that declares the method that is being
- * implemented or overridden</li>
- * </ul>
- * For kinds of completion proposals, this method returns
- * <code>null</code>. Clients must not modify the array
- * returned.
- * </p>
- *
- * @return a key, or <code>null</code> if none
- * @see org.eclipse.wst.jsdt.core.dom.ASTParser#createASTs(IJavaScriptUnit[], String[], org.eclipse.wst.jsdt.core.dom.ASTRequestor, IProgressMonitor)
- */
- public char[] getDeclarationKey() {
- return this.declarationKey;
- }
-
- /**
- * Sets the type signature of the relevant
- * declaration in the context, or <code>null</code> if none.
- * <p>
- * If not set, defaults to none.
- * </p>
- * <p>
- * The completion engine creates instances of this class and sets
- * its properties; this method is not intended to be used by other clients.
- * </p>
- *
- * @param signature the type or package signature, or
- * <code>null</code> if none
- */
- public void setDeclarationSignature(char[] signature) {
- this.declarationSignature = signature;
- }
-
- /**
- * Sets the type key of the relevant
- * declaration in the context, or <code>null</code> if none.
- * <p>
- * If not set, defaults to none.
- * </p>
- * <p>
- * The completion engine creates instances of this class and sets
- * its properties; this method is not intended to be used by other clients.
- * </p>
- *
- * @param key the type or package key, or
- * <code>null</code> if none
- */
- public void setDeclarationKey(char[] key) {
- this.declarationKey = key;
- }
-
- /**
- * Returns the simple name of the function, field,
- * member, or variable relevant in the context, or
- * <code>null</code> if none.
- * <p>
- * This field is available for the following kinds of
- * completion proposals:
- * <ul>
- * <li><code>ANNOTATION_ATTRIBUT_REF</code> - the name of the attribute</li>
- * <li><code>FIELD_IMPORT</code> - the name of the field</li>
- * <li><code>FIELD_REF</code> - the name of the field</li>
- * <li><code>KEYWORD</code> - the keyword</li>
- * <li><code>LABEL_REF</code> - the name of the label</li>
- * <li><code>LOCAL_VARIABLE_REF</code> - the name of the local variable</li>
- * <li><code>METHOD_IMPORT</code> - the name of the method</li>
- * <li><code>FUNCTION_REF</code> - the name of the method (the type simple name for constructor)</li>
- * <li><code>FUNCTION_DECLARATION</code> - the name of the method (the type simple name for constructor)</li>
- * <li><code>VARIABLE_DECLARATION</code> - the name of the variable</li>
- * <li><code>POTENTIAL_METHOD_DECLARATION</code> - the name of the method</li>
- * </ul>
- * For kinds of completion proposals, this method returns
- * <code>null</code>. Clients must not modify the array
- * returned.
- * </p>
- *
- * @return the keyword, field, method, local variable, or member
- * name, or <code>null</code> if none
- */
- public char[] getName() {
- return this.name;
- }
-
-
- /**
- * Sets the simple name of the method (type simple name for constructor), field,
- * member, or variable relevant in the context, or
- * <code>null</code> if none.
- * <p>
- * If not set, defaults to none.
- * </p>
- * <p>
- * The completion engine creates instances of this class and sets
- * its properties; this method is not intended to be used by other clients.
- * </p>
- *
- * @param name the keyword, field, method, local variable,
- * or member name, or <code>null</code> if none
- */
- public void setName(char[] name) {
- this.name = name;
- }
-
- /**
- * Returns the signature of the method or type
- * relevant in the context, or <code>null</code> if none.
- * <p>
- * This field is available for the following kinds of
- * completion proposals:
- * <ul>
- * <li><code>ANNOTATION_ATTRIBUT_REF</code> - the type signature
- * of the referenced attribute's type</li>
- * <li><code>ANONYMOUS_CLASS_DECLARATION</code> - method signature
- * of the constructor that is being invoked</li>
- * <li><code>FIELD_IMPORT</code> - the type signature
- * of the referenced field's type</li>
- * <li><code>FIELD_REF</code> - the type signature
- * of the referenced field's type</li>
- * <li><code>LOCAL_VARIABLE_REF</code> - the type signature
- * of the referenced local variable's type</li>
- * <li><code>METHOD_IMPORT</code> - method signature
- * of the method that is imported</li>
- * <li><code>FUNCTION_REF</code> - method signature
- * of the method that is referenced</li>
- * <li><code>FUNCTION_DECLARATION</code> - method signature
- * of the method that is being implemented or overridden</li>
- * <li><code>TYPE_IMPORT</code> - type signature
- * of the type that is imported</li>
- * <li><code>TYPE_REF</code> - type signature
- * of the type that is referenced</li>
- * <li><code>VARIABLE_DECLARATION</code> - the type signature
- * of the type of the variable being declared</li>
- * <li><code>POTENTIAL_METHOD_DECLARATION</code> - method signature
- * of the method that is being created</li>
- * </ul>
- * For kinds of completion proposals, this method returns
- * <code>null</code>. Clients must not modify the array
- * returned.
- * </p>
- *
- * @return the signature, or <code>null</code> if none
- * @see Signature
- */
- public char[] getSignature() {
- return this.signature;
- }
-
- /**
- * Returns the key relevant in the context,
- * or <code>null</code> if none.
- * <p>
- * This field is available for the following kinds of
- * completion proposals:
- * <ul>
- * <li><code>ANONYMOUS_CLASS_DECLARATION</code> - method key
- * of the constructor that is being invoked, or <code>null</code> if
- * the declaring type is an interface</li>
- * <li><code>FUNCTION_DECLARATION</code> - method key
- * of the method that is being implemented or overridden</li>
- * </ul>
- * For kinds of completion proposals, this method returns
- * <code>null</code>. Clients must not modify the array
- * returned.
- * </p>
- *
- * @return the key, or <code>null</code> if none
- * @see org.eclipse.wst.jsdt.core.dom.ASTParser#createASTs(IJavaScriptUnit[], String[], org.eclipse.wst.jsdt.core.dom.ASTRequestor, IProgressMonitor)
- */
- public char[] getKey() {
- return this.key;
- }
-
-// /**
-// * Returns the package name of the relevant
-// * declaration in the context, or <code>null</code> if none.
-// * <p>
-// * This field is available for the following kinds of
-// * completion proposals:
-// * <ul>
-// * <li><code>ANONYMOUS_CLASS_DECLARATION</code> - the dot-based package name
-// * of the type that is being subclassed or implemented</li>
-// * <li><code>FIELD_REF</code> - the dot-based package name
-// * of the type that declares the field that is referenced</li>
-// * <li><code>FUNCTION_REF</code> - the dot-based package name
-// * of the type that declares the method that is referenced</li>
-// * <li><code>FUNCTION_DECLARATION</code> - the dot-based package name
-// * of the type that declares the method that is being
-// * implemented or overridden</li>
-// * </ul>
-// * For kinds of completion proposals, this method returns
-// * <code>null</code>. Clients must not modify the array
-// * returned.
-// * </p>
-// *
-// * @return the dot-based package name, or
-// * <code>null</code> if none
-// * @see #getDeclarationSignature()
-// * @see #getSignature()
-// *
-// */
-// public char[] getDeclarationPackageName() {
-// return this.declarationPackageName;
-// }
-//
-// /**
-// * Returns the type name of the relevant
-// * declaration in the context without the package fragment,
-// * or <code>null</code> if none.
-// * <p>
-// * This field is available for the following kinds of
-// * completion proposals:
-// * <ul>
-// * <li><code>ANONYMOUS_CLASS_DECLARATION</code> - the dot-based type name
-// * of the type that is being subclassed or implemented</li>
-// * <li><code>FIELD_REF</code> - the dot-based type name
-// * of the type that declares the field that is referenced
-// * or an anonymous type instantiation ("new X(){}") if it is an anonymous type</li>
-// * <li><code>FUNCTION_REF</code> - the dot-based type name
-// * of the type that declares the method that is referenced
-// * or an anonymous type instantiation ("new X(){}") if it is an anonymous type</li>
-// * <li><code>FUNCTION_DECLARATION</code> - the dot-based type name
-// * of the type that declares the method that is being
-// * implemented or overridden</li>
-// * </ul>
-// * For kinds of completion proposals, this method returns
-// * <code>null</code>. Clients must not modify the array
-// * returned.
-// * </p>
-// *
-// * @return the dot-based package name, or
-// * <code>null</code> if none
-// * @see #getDeclarationSignature()
-// * @see #getSignature()
-// *
-// */
- public char[] getDeclarationTypeName() {
- return this.declarationTypeName;
- }
-//
-// /**
-// * Returns the package name of the method or type
-// * relevant in the context, or <code>null</code> if none.
-// * <p>
-// * This field is available for the following kinds of
-// * completion proposals:
-// * <ul>
-// * <li><code>FIELD_REF</code> - the dot-based package name
-// * of the referenced field's type</li>
-// * <li><code>LOCAL_VARIABLE_REF</code> - the dot-based package name
-// * of the referenced local variable's type</li>
-// * <li><code>FUNCTION_REF</code> - the dot-based package name
-// * of the return type of the method that is referenced</li>
-// * <li><code>FUNCTION_DECLARATION</code> - the dot-based package name
-// * of the return type of the method that is being implemented
-// * or overridden</li>
-// * <li><code>PACKAGE_REF</code> - the dot-based package name
-// * of the package that is referenced</li>
-// * <li><code>TYPE_REF</code> - the dot-based package name
-// * of the type that is referenced</li>
-// * <li><code>VARIABLE_DECLARATION</code> - the dot-based package name
-// * of the type of the variable being declared</li>
-// * </ul>
-// * For kinds of completion proposals, this method returns
-// * <code>null</code>. Clients must not modify the array
-// * returned.
-// * </p>
-// *
-// * @return the package name, or <code>null</code> if none
-// *
-// * @see #getDeclarationSignature()
-// * @see #getSignature()
-// *
-// */
-// public char[] getPackageName() {
-// return this.packageName;
-// }
-//
-// /**
-// * Returns the type name without the package fragment of the method or type
-// * relevant in the context, or <code>null</code> if none.
-// * <p>
-// * This field is available for the following kinds of
-// * completion proposals:
-// * <ul>
-// * <li><code>FIELD_REF</code> - the dot-based type name
-// * of the referenced field's type</li>
-// * <li><code>LOCAL_VARIABLE_REF</code> - the dot-based type name
-// * of the referenced local variable's type</li>
-// * <li><code>FUNCTION_REF</code> - the dot-based type name
-// * of the return type of the method that is referenced</li>
-// * <li><code>FUNCTION_DECLARATION</code> - the dot-based type name
-// * of the return type of the method that is being implemented
-// * or overridden</li>
-// * <li><code>TYPE_REF</code> - the dot-based type name
-// * of the type that is referenced</li>
-// * <li><code>VARIABLE_DECLARATION</code> - the dot-based package name
-// * of the type of the variable being declared</li>
-// * </ul>
-// * For kinds of completion proposals, this method returns
-// * <code>null</code>. Clients must not modify the array
-// * returned.
-// * </p>
-// *
-// * @return the package name, or <code>null</code> if none
-// *
-// * @see #getDeclarationSignature()
-// * @see #getSignature()
-// *
-// */
-// public char[] getTypeName() {
-// return this.typeName;
-// }
-//
-// /**
-// * Returns the parameter package names of the method
-// * relevant in the context, or <code>null</code> if none.
-// * <p>
-// * This field is available for the following kinds of
-// * completion proposals:
-// * <ul>
-// * <li><code>ANONYMOUS_CLASS_DECLARATION</code> - parameter package names
-// * of the constructor that is being invoked</li>
-// * <li><code>FUNCTION_REF</code> - parameter package names
-// * of the method that is referenced</li>
-// * <li><code>FUNCTION_DECLARATION</code> - parameter package names
-// * of the method that is being implemented or overridden</li>
-// * </ul>
-// * For kinds of completion proposals, this method returns
-// * <code>null</code>. Clients must not modify the array
-// * returned.
-// * </p>
-// *
-// * @return the package name, or <code>null</code> if none
-// *
-// * @see #getDeclarationSignature()
-// * @see #getSignature()
-// *
-// */
-// public char[][] getParameterPackageNames() {
-// return this.parameterPackageNames;
-// }
-//
-// /**
-// * Returns the parameter type names without the package fragment of
-// * the method relevant in the context, or <code>null</code> if none.
-// * <p>
-// * This field is available for the following kinds of
-// * completion proposals:
-// * <ul>
-// * <li><code>ANONYMOUS_CLASS_DECLARATION</code> - parameter type names
-// * of the constructor that is being invoked</li>
-// * <li><code>FUNCTION_REF</code> - parameter type names
-// * of the method that is referenced</li>
-// * <li><code>FUNCTION_DECLARATION</code> - parameter type names
-// * of the method that is being implemented or overridden</li>
-// * </ul>
-// * For kinds of completion proposals, this method returns
-// * <code>null</code>. Clients must not modify the array
-// * returned.
-// * </p>
-// *
-// * @return the package name, or <code>null</code> if none
-// *
-// * @see #getDeclarationSignature()
-// * @see #getSignature()
-// *
-// */
-// public char[][] getParameterTypeNames() {
-// return this.parameterTypeNames;
-// }
-
- /**
- * Sets the signature of the function, method, field type, member type,
- * relevant in the context, or <code>null</code> if none.
- * <p>
- * If not set, defaults to none.
- * </p>
- * <p>
- * The completion engine creates instances of this class and sets
- * its properties; this method is not intended to be used by other clients.
- * </p>
- *
- * @param signature the signature, or <code>null</code> if none
- */
- public void setSignature(char[] signature) {
- this.signature = signature;
- }
-
- /**
- * Sets the key of the method, field type, member type,
- * relevant in the context, or <code>null</code> if none.
- * <p>
- * If not set, defaults to none.
- * </p>
- * <p>
- * The completion engine creates instances of this class and sets
- * its properties; this method is not intended to be used by other clients.
- * </p>
- *
- * @param key the key, or <code>null</code> if none
- */
- public void setKey(char[] key) {
- this.key = key;
- }
-
- /**
- * Returns the modifier flags relevant in the context, or
- * <code>Flags.AccDefault</code> if none.
- * <p>
- * This field is available for the following kinds of
- * completion proposals:
- * <ul>
- * <li><code>ANNOTATION_ATTRIBUT_REF</code> - modifier flags
- * of the attribute that is referenced;
- * <li><code>ANONYMOUS_CLASS_DECLARATION</code> - modifier flags
- * of the constructor that is referenced</li>
- * <li><code>FIELD_IMPORT</code> - modifier flags
- * of the field that is imported.</li>
- * <li><code>FIELD_REF</code> - modifier flags
- * of the field that is referenced;
- * <code>Flags.AccEnum</code> can be used to recognize
- * references to enum constants
- * </li>
- * <li><code>KEYWORD</code> - modifier flag
- * corresponding to the modifier keyword</li>
- * <li><code>LOCAL_VARIABLE_REF</code> - modifier flags
- * of the local variable that is referenced</li>
- * <li><code>METHOD_IMPORT</code> - modifier flags
- * of the method that is imported;
- * </li>
- * <li><code>FUNCTION_REF</code> - modifier flags
- * of the method that is referenced;
- * <code>Flags.AccAnnotation</code> can be used to recognize
- * references to annotation type members
- * </li>
- * <li><code>FUNCTION_DECLARATION</code> - modifier flags
- * for the method that is being implemented or overridden</li>
- * <li><code>TYPE_IMPORT</code> - modifier flags
- * of the type that is imported; <code>Flags.AccInterface</code>
- * can be used to recognize references to interfaces,
- * <code>Flags.AccEnum</code> enum types,
- * and <code>Flags.AccAnnotation</code> annotation types</li>
- * <li><code>TYPE_REF</code> - modifier flags
- * of the type that is referenced; <code>Flags.AccInterface</code>
- * can be used to recognize references to interfaces,
- * <code>Flags.AccEnum</code> enum types,
- * and <code>Flags.AccAnnotation</code> annotation types
- * </li>
- * <li><code>VARIABLE_DECLARATION</code> - modifier flags
- * for the variable being declared</li>
- * <li><code>POTENTIAL_METHOD_DECLARATION</code> - modifier flags
- * for the method that is being created</li>
- * </ul>
- * For other kinds of completion proposals, this method returns
- * <code>Flags.AccDefault</code>.
- * </p>
- *
- * @return the modifier flags, or
- * <code>Flags.AccDefault</code> if none
- * @see Flags
- */
- public int getFlags() {
- return this.flags;
- }
-
- /**
- * Sets the modifier flags relevant in the context.
- * <p>
- * If not set, defaults to none.
- * </p>
- * <p>
- * The completion engine creates instances of this class and sets
- * its properties; this method is not intended to be used by other clients.
- * </p>
- *
- * @param flags the modifier flags, or
- * <code>Flags.AccDefault</code> if none
- */
- public void setFlags(int flags) {
- this.flags = flags;
- }
-
- /**
- * Returns the required completion proposals.
- * The proposal can be apply only if these required completion proposals are also applied.
- * If the required proposal aren't applied the completion could create completion problems.
- *
- * <p>
- * This field is available for the following kinds of
- * completion proposals:
- * <ul>
- * <li><code>FIELD_REF</code> - The allowed required proposals for this kind are:
- * <ul>
- * <li><code>TYPE_REF</code></li>
- * <li><code>TYPE_IMPORT</code></li>
- * <li><code>FIELD_IMPORT</code></li>
- * </ul>
- * </li>
- * <li><code>FUNCTION_REF</code> - The allowed required proposals for this kind are:
- * <ul>
- * <li><code>TYPE_REF</code></li>
- * <li><code>TYPE_IMPORT</code></li>
- * <li><code>METHOD_IMPORT</code></li>
- * </ul>
- * </li>
- * </ul>
- * </p>
- * <p>
- * Other kinds of required proposals will be returned in the future, therefore clients of this
- * API must allow with {@link CompletionRequestor#setAllowsRequiredProposals(int, int, boolean)}
- * only kinds which are in this list to avoid unexpected results in the future.
- * </p>
- * <p>
- * A required completion proposal cannot have required completion proposals.
- * </p>
- *
- * @return the required completion proposals, or <code>null</code> if none.
- *
- * @see CompletionRequestor#setAllowsRequiredProposals(int, int,boolean)
- *
- */
- public CompletionProposal[] getRequiredProposals() {
- return this.requiredProposals;
- }
-
-
- /**
- * Sets the list of required completion proposals, or <code>null</code> if none.
- * <p>
- * If not set, defaults to none.
- * </p>
- * <p>
- * The completion engine creates instances of this class and sets
- * its properties; this method is not intended to be used by other clients.
- * </p>
- *
- * @param proposals the list of required completion proposals, or
- * <code>null</code> if none
- */
- public void setRequiredProposals(CompletionProposal[] proposals) {
- this.requiredProposals = proposals;
- }
-
- /**
- * Finds the method or function parameter names.
- * This information is relevant to method reference (and
- * method declaration proposals). Returns <code>null</code>
- * if not available or not relevant.
- * <p>
- * The client must not modify the array returned.
- * </p>
- * <p>
- * <b>Note that this is an expensive thing to compute, which may require
- * parsing JavaScript source files, etc. Use sparingly.</b>
- * </p>
- *
- * @param monitor the progress monitor, or <code>null</code> if none
- * @return the parameter names, or <code>null</code> if none
- * or not available or not relevant
- */
- public char[][] findParameterNames(IProgressMonitor monitor) {
- if (!this.parameterNamesComputed) {
- this.parameterNamesComputed = true;
-
- switch(this.completionKind) {
- case ANONYMOUS_CLASS_DECLARATION:
- try {
- this.parameterNames = this.findMethodParameterNames(
- this.declarationPackageName,
- this.declarationTypeName,
- CharOperation.lastSegment(this.declarationTypeName, '.'),
- Signature.getParameterTypes(this.originalSignature == null ? this.signature : this.originalSignature));
- } catch(IllegalArgumentException e) {
- // protection for invalid signature
- if(this.parameterTypeNames != null) {
- this.parameterNames = this.createDefaultParameterNames(this.parameterTypeNames.length);
- } else {
- this.parameterNames = null;
- }
- }
- break;
- case METHOD_REF:
- try {
- this.parameterNames = this.findMethodParameterNames(
- this.declarationPackageName,
- this.declarationTypeName,
- this.name,
- Signature.getParameterTypes(this.originalSignature == null ? this.signature : this.originalSignature));
- } catch(IllegalArgumentException e) {
- // protection for invalid signature
- if(this.parameterTypeNames != null) {
- this.parameterNames = this.createDefaultParameterNames(this.parameterTypeNames.length);
- } else {
- this.parameterNames = null;
- }
- }
- break;
- case METHOD_DECLARATION:
- try {
- this.parameterNames = this.findMethodParameterNames(
- this.declarationPackageName,
- this.declarationTypeName,
- this.name,
- Signature.getParameterTypes(this.originalSignature == null ? this.signature : this.originalSignature));
- } catch(IllegalArgumentException e) {
- // protection for invalid signature
- if(this.parameterTypeNames != null) {
- this.parameterNames = this.createDefaultParameterNames(this.parameterTypeNames.length);
- } else {
- this.parameterNames = null;
- }
- }
- if(this.parameterNames != null) {
- this.updateCompletion = true;
- }
- break;
- }
- }
- return this.parameterNames;
- }
-
- /**
- * Sets the method or function parameter names.
- * This information is relevant to method reference (and
- * method declaration proposals).
- * <p>
- * The completion engine creates instances of this class and sets
- * its properties; this method is not intended to be used by other clients.
- * </p>
- *
- * @param parameterNames the parameter names, or <code>null</code> if none
- */
- public void setParameterNames(char[][] parameterNames) {
- this.parameterNames = parameterNames;
- this.parameterNamesComputed = true;
- }
-
- /**
- * Returns the accessibility of the proposal.
- * <p>
- * This field is available for the following kinds of
- * completion proposals:
- * <ul>
- * <li><code>TYPE_REF</code> - accessibility of the type</li>
- * </ul>
- * For these kinds of completion proposals, this method returns
- * {@link IAccessRule#K_ACCESSIBLE} or {@link IAccessRule#K_DISCOURAGED}
- * or {@link IAccessRule#K_NON_ACCESSIBLE}.
- * By default this method return {@link IAccessRule#K_ACCESSIBLE}.
- * </p>
- *
- * @see IAccessRule
- *
- * @return the accessibility of the proposal
- *
- */
- public int getAccessibility() {
- return this.accessibility;
- }
-
- /**
- * Returns whether this proposal is a constructor.
- * <p>
- * This field is available for the following kinds of
- * completion proposals:
- * <ul>
- * <li><code>FUNCTION_REF</code> - return <code>true</code>
- * if the referenced method is a constructor</li>
- * <li><code>FUNCTION_DECLARATION</code> - return <code>true</code>
- * if the declared method is a constructor</li>
- * </ul>
- * For kinds of completion proposals, this method returns
- * <code>false</code>.
- * </p>
- *
- * @return <code>true</code> if the proposal is a constructor.
- */
- public boolean isConstructor() {
- return this.isConstructor;
- }
-
- public String toString() {
- StringBuffer buffer = new StringBuffer();
- buffer.append('[');
- switch(this.completionKind) {
- case CompletionProposal.ANONYMOUS_CLASS_DECLARATION :
- buffer.append("ANONYMOUS_CLASS_DECLARATION"); //$NON-NLS-1$
- break;
- case CompletionProposal.FIELD_REF :
- buffer.append("FIELD_REF"); //$NON-NLS-1$
- break;
- case CompletionProposal.KEYWORD :
- buffer.append("KEYWORD"); //$NON-NLS-1$
- break;
- case CompletionProposal.LABEL_REF :
- buffer.append("LABEL_REF"); //$NON-NLS-1$
- break;
- case CompletionProposal.LOCAL_VARIABLE_REF :
- buffer.append("LOCAL_VARIABLE_REF"); //$NON-NLS-1$
- break;
- case CompletionProposal.METHOD_DECLARATION :
- buffer.append("FUNCTION_DECLARATION"); //$NON-NLS-1$
- if(this.isConstructor) {
- buffer.append("<CONSTRUCTOR>"); //$NON-NLS-1$
- }
- break;
- case CompletionProposal.METHOD_REF :
- buffer.append("FUNCTION_REF"); //$NON-NLS-1$
- if(this.isConstructor) {
- buffer.append("<CONSTRUCTOR>"); //$NON-NLS-1$
- }
- break;
- case CompletionProposal.PACKAGE_REF :
- buffer.append("PACKAGE_REF"); //$NON-NLS-1$
- break;
- case CompletionProposal.TYPE_REF :
- buffer.append("TYPE_REF"); //$NON-NLS-1$
- break;
- case CompletionProposal.VARIABLE_DECLARATION :
- buffer.append("VARIABLE_DECLARATION"); //$NON-NLS-1$
- break;
- case CompletionProposal.POTENTIAL_METHOD_DECLARATION :
- buffer.append("POTENTIAL_METHOD_DECLARATION"); //$NON-NLS-1$
- break;
- case CompletionProposal.METHOD_NAME_REFERENCE :
- buffer.append("METHOD_IMPORT"); //$NON-NLS-1$
- break;
- case CompletionProposal.ANNOTATION_ATTRIBUTE_REF :
- buffer.append("ANNOTATION_ATTRIBUTE_REF"); //$NON-NLS-1$
- break;
- case CompletionProposal.JSDOC_BLOCK_TAG :
- buffer.append("JSDOC_BLOCK_TAG"); //$NON-NLS-1$
- break;
- case CompletionProposal.JSDOC_INLINE_TAG :
- buffer.append("JSDOC_INLINE_TAG"); //$NON-NLS-1$
- break;
- case CompletionProposal.JSDOC_FIELD_REF:
- buffer.append("JSDOC_FIELD_REF"); //$NON-NLS-1$
- break;
- case CompletionProposal.JSDOC_METHOD_REF :
- buffer.append("JSDOC_METHOD_REF"); //$NON-NLS-1$
- break;
- case CompletionProposal.JSDOC_TYPE_REF :
- buffer.append("JSDOC_TYPE_REF"); //$NON-NLS-1$
- break;
- case CompletionProposal.JSDOC_PARAM_REF :
- buffer.append("JSDOC_PARAM_REF"); //$NON-NLS-1$
- break;
- case CompletionProposal.JSDOC_VALUE_REF :
- buffer.append("JSDOC_VALUE_REF"); //$NON-NLS-1$
- break;
- case CompletionProposal.FIELD_IMPORT :
- buffer.append("FIELD_IMPORT"); //$NON-NLS-1$
- break;
- case CompletionProposal.METHOD_IMPORT :
- buffer.append("METHOD_IMPORT"); //$NON-NLS-1$
- break;
- case CompletionProposal.TYPE_IMPORT :
- buffer.append("TYPE_IMPORT"); //$NON-NLS-1$
- break;
- default :
- buffer.append("PROPOSAL"); //$NON-NLS-1$
- break;
-
- }
- buffer.append("]{completion:"); //$NON-NLS-1$
- if (this.completion != null) buffer.append(this.completion);
- buffer.append(", declSign:"); //$NON-NLS-1$
- if (this.declarationSignature != null) buffer.append(this.declarationSignature);
- buffer.append(", sign:"); //$NON-NLS-1$
- if (this.signature != null) buffer.append(this.signature);
- buffer.append(", declKey:"); //$NON-NLS-1$
- if (this.declarationKey != null) buffer.append(this.declarationKey);
- buffer.append(", key:"); //$NON-NLS-1$
- if (this.key != null) buffer.append(key);
- buffer.append(", name:"); //$NON-NLS-1$
- if (this.name != null) buffer.append(this.name);
- buffer.append(", ["); //$NON-NLS-1$
- buffer.append(this.replaceStart);
- buffer.append(',');
- buffer.append(this.replaceEnd);
- buffer.append("], relevance="); //$NON-NLS-1$
- buffer.append(this.relevance);
- buffer.append('}');
- return buffer.toString();
- }
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/CompletionRequestor.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/CompletionRequestor.java
deleted file mode 100644
index 28d6e07a..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/CompletionRequestor.java
+++ /dev/null
@@ -1,296 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.wst.jsdt.core.compiler.IProblem;
-
-/**
- * Abstract base class for a completion requestor which is passed completion
- * proposals as they are generated in response to a code assist request.
- * <p>
- * This class is intended to be subclassed by clients.
- * </p>
- * <p>
- * The code assist engine normally invokes methods on completion
- * requestor in the following sequence:
- * <pre>
- * requestor.beginReporting();
- * requestor.acceptContext(context);
- * requestor.accept(proposal_1);
- * requestor.accept(proposal_2);
- * ...
- * requestor.endReporting();
- * </pre>
- * If, however, the engine is unable to offer completion proposals
- * for whatever reason, <code>completionFailure</code> is called
- * with a problem object describing why completions were unavailable.
- * In this case, the sequence of calls is:
- * <pre>
- * requestor.beginReporting();
- * requestor.acceptContext(context);
- * requestor.completionFailure(problem);
- * requestor.endReporting();
- * </pre>
- * In either case, the bracketing <code>beginReporting</code>
- * <code>endReporting</code> calls are always made as well as
- * <code>acceptContext</code> call.
- * </p>
- *
- * @see ICodeAssist
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public abstract class CompletionRequestor {
-
- /**
- * The set of CompletionProposal kinds that this requestor
- * ignores; <code>0</code> means the set is empty.
- * 1 << completionProposalKind
- */
- private int ignoreSet = 0;
-
- private String[] favoriteReferences;
-
- /**
- * The set of CompletionProposal kinds that this requestor
- * allows for required proposals; <code>0</code> means the set is empty.
- * 1 << completionProposalKind
- */
- private int requiredProposalAllowSet[] = null;
-
- /**
- * Creates a new completion requestor.
- * The requestor is interested in all kinds of completion
- * proposals; none will be ignored.
- */
- public CompletionRequestor() {
- // do nothing
- }
-
- /**
- * Returns whether the given kind of completion proposal is ignored.
- *
- * @param completionProposalKind one of the kind constants declared
- * on <code>CompletionProposal</code>
- * @return <code>true</code> if the given kind of completion proposal
- * is ignored by this requestor, and <code>false</code> if it is of
- * interest
- * @see #setIgnored(int, boolean)
- * @see CompletionProposal#getKind()
- */
- public boolean isIgnored(int completionProposalKind) {
- if (completionProposalKind < CompletionProposal.FIRST_KIND
- || completionProposalKind > CompletionProposal.LAST_KIND) {
- throw new IllegalArgumentException("Unknown kind of completion proposal: "+completionProposalKind); //$NON-NLS-1$
- }
- return 0 != (this.ignoreSet & (1 << completionProposalKind));
- }
-
- /**
- * Sets whether the given kind of completion proposal is ignored.
- *
- * @param completionProposalKind one of the kind constants declared
- * on <code>CompletionProposal</code>
- * @param ignore <code>true</code> if the given kind of completion proposal
- * is ignored by this requestor, and <code>false</code> if it is of
- * interest
- * @see #isIgnored(int)
- * @see CompletionProposal#getKind()
- */
- public void setIgnored(int completionProposalKind, boolean ignore) {
- if (completionProposalKind < CompletionProposal.FIRST_KIND
- || completionProposalKind > CompletionProposal.LAST_KIND) {
- throw new IllegalArgumentException("Unknown kind of completion proposal: "+completionProposalKind); //$NON-NLS-1$
- }
- if (ignore) {
- this.ignoreSet |= (1 << completionProposalKind);
- } else {
- this.ignoreSet &= ~(1 << completionProposalKind);
- }
- }
-
- /**
- * Returns whether a proposal of a given kind with a required proposal
- * of the given kind is allowed.
- *
- * @param proposalKind one of the kind constants declared
- * @param requiredProposalKind one of the kind constants declared
- * on <code>CompletionProposal</code>
- * @return <code>true</code> if a proposal of a given kind with a required proposal
- * of the given kind is allowed by this requestor, and <code>false</code>
- * if it isn't of interest.
- * <p>
- * By default, all kinds of required proposals aren't allowed.
- * </p>
- * @see #setAllowsRequiredProposals(int, int, boolean)
- * @see CompletionProposal#getKind()
- * @see CompletionProposal#getRequiredProposals()
- *
- */
- public boolean isAllowingRequiredProposals(int proposalKind, int requiredProposalKind) {
- if (proposalKind < CompletionProposal.FIRST_KIND
- || proposalKind > CompletionProposal.LAST_KIND) {
- throw new IllegalArgumentException("Unknown kind of completion proposal: "+requiredProposalKind); //$NON-NLS-1$
- }
-
- if (requiredProposalKind < CompletionProposal.FIRST_KIND
- || requiredProposalKind > CompletionProposal.LAST_KIND) {
- throw new IllegalArgumentException("Unknown required kind of completion proposal: "+requiredProposalKind); //$NON-NLS-1$
- }
- if (this.requiredProposalAllowSet == null) return false;
-
- return 0 != (this.requiredProposalAllowSet[proposalKind] & (1 << requiredProposalKind));
- }
-
- /**
- * Sets whether a proposal of a given kind with a required proposal
- * of the given kind is allowed.
- *
- * Currently only a subset of kinds support required proposals. To see what combinations
- * are supported you must look at {@link CompletionProposal#getRequiredProposals()}
- * documentation.
- *
- * @param proposalKind one of the kind constants declared
- * @param requiredProposalKind one of the kind constants declared
- * on <code>CompletionProposal</code>
- * @param allow <code>true</code> if a proposal of a given kind with a required proposal
- * of the given kind is allowed by this requestor, and <code>false</code>
- * if it isn't of interest
- * @see #isAllowingRequiredProposals(int, int)
- * @see CompletionProposal#getKind()
- * @see CompletionProposal#getRequiredProposals()
- *
- */
- public void setAllowsRequiredProposals(int proposalKind, int requiredProposalKind, boolean allow) {
- if (proposalKind < CompletionProposal.FIRST_KIND
- || proposalKind > CompletionProposal.LAST_KIND) {
- throw new IllegalArgumentException("Unknown kind of completion proposal: "+requiredProposalKind); //$NON-NLS-1$
- }
- if (requiredProposalKind < CompletionProposal.FIRST_KIND
- || requiredProposalKind > CompletionProposal.LAST_KIND) {
- throw new IllegalArgumentException("Unknown required kind of completion proposal: "+requiredProposalKind); //$NON-NLS-1$
- }
-
- if (this.requiredProposalAllowSet == null) {
- this.requiredProposalAllowSet = new int[CompletionProposal.LAST_KIND + 1];
- }
-
- if (allow) {
- this.requiredProposalAllowSet[proposalKind] |= (1 << requiredProposalKind);
- } else {
- this.requiredProposalAllowSet[proposalKind] &= ~(1 << requiredProposalKind);
- }
- }
-
- /**
- * Returns the favorite references which are used to compute some completion proposals.
- * <p>
- * Currently only on demand type references (<code>"java.util.Arrays.*"</code>),
- * references to a static method or a static field are used to compute completion proposals.
- * Other kind of reference could be used in the future.
- * </p>
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @return favorite imports
- *
- */
- public String[] getFavoriteReferences() {
- return this.favoriteReferences;
- }
-
- /**
- * Set the favorite references which will be used to compute some completion proposals.
- * A favorite reference is a qualified reference as it can be seen in an import statement.<br>
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param favoriteImports
- *
- * @see #getFavoriteReferences()
- *
- */
- public void setFavoriteReferences(String[] favoriteImports) {
- this.favoriteReferences = favoriteImports;
- }
-
- /**
- * Pro forma notification sent before reporting a batch of
- * completion proposals.
- * <p>
- * The default implementation of this method does nothing.
- * Clients may override.
- * </p>
- */
- public void beginReporting() {
- // do nothing
- }
-
- /**
- * Pro forma notification sent after reporting a batch of
- * completion proposals.
- * <p>
- * The default implementation of this method does nothing.
- * Clients may override.
- * </p>
- */
- public void endReporting() {
- // do nothing
- }
-
- /**
- * Notification of failure to produce any completions.
- * The problem object explains what prevented completing.
- * <p>
- * The default implementation of this method does nothing.
- * Clients may override to receive this kind of notice.
- * </p>
- *
- * @param problem the problem object
- */
- public void completionFailure(IProblem problem) {
- // default behavior is to ignore
- }
-
- /**
- * Proposes a completion. Has no effect if the kind of proposal
- * is being ignored by this requestor. Callers should consider
- * checking {@link #isIgnored(int)} before avoid creating proposal
- * objects that would only be ignored.
- * <p>
- * Similarly, implementers should check
- * {@link #isIgnored(int) isIgnored(proposal.getKind())}
- * and ignore proposals that have been declared as uninteresting.
- * The proposal object passed is only valid for the duration of
- * completion operation.
- *
- * @param proposal the completion proposal
- * @exception IllegalArgumentException if the proposal is null
- */
- public abstract void accept(CompletionProposal proposal);
-
- /**
- * Propose the context in which the completion occurs.
- * <p>
- * This method is called one and only one time before any call to
- * {@link #accept(CompletionProposal)}.
- * The default implementation of this method does nothing.
- * Clients may override.
- * </p>
- * @param context the completion context
- *
- */
- public void acceptContext(CompletionContext context) {
- // do nothing
- }
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/CorrectionEngine.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/CorrectionEngine.java
deleted file mode 100644
index 7a115e02..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/CorrectionEngine.java
+++ /dev/null
@@ -1,470 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import java.util.Hashtable;
-import java.util.Map;
-
-import org.eclipse.core.resources.IMarker;
-import org.eclipse.wst.jsdt.core.compiler.CharOperation;
-import org.eclipse.wst.jsdt.core.compiler.IProblem;
-import org.eclipse.wst.jsdt.core.compiler.InvalidInputException;
-import org.eclipse.wst.jsdt.internal.compiler.impl.CompilerOptions;
-import org.eclipse.wst.jsdt.internal.compiler.lookup.ProblemReasons;
-import org.eclipse.wst.jsdt.internal.compiler.parser.Scanner;
-import org.eclipse.wst.jsdt.internal.compiler.parser.TerminalTokens;
-import org.eclipse.wst.jsdt.internal.compiler.problem.ProblemReporter;
-import org.eclipse.wst.jsdt.internal.core.util.Messages;
-import org.eclipse.wst.jsdt.internal.core.util.Util;
-
-/**
- * This class is the entry point for source corrections.
- *
- * This class is not intended to be subclassed by clients. This class is intended to be instantiated by clients.
- *
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public class CorrectionEngine implements ProblemReasons {
-
- /**
- * This field is not intended to be used by client.
- */
- protected int correctionStart;
- /**
- * This field is not intended to be used by client.
- */
- protected int correctionEnd;
- /**
- * This field is not intended to be used by client.
- */
- protected int prefixLength;
- /**
- * This field is not intended to be used by client.
- */
- protected IJavaScriptUnit compilationUnit;
- /**
- * This field is not intended to be used by client.
- */
- protected ICorrectionRequestor correctionRequestor;
- /**
- * This field is not intended to be used by client.
- */
- protected static final int CLASSES = 0x00000001;
- /**
- * This field is not intended to be used by client.
- */
- protected static final int INTERFACES = 0x00000002;
- /**
- * This field is not intended to be used by client.
- */
- protected static final int IMPORT = 0x00000004;
- /**
- * This field is not intended to be used by client.
- */
- protected static final int METHOD = 0x00000008;
- /**
- * This field is not intended to be used by client.
- */
- protected static final int FIELD = 0x00000010;
- /**
- * This field is not intended to be used by client.
- */
- protected static final int LOCAL = 0x00000020;
- /**
- * This field is not intended to be used by client.
- */
- protected int filter;
-
- /**
- * The CorrectionEngine is responsible for computing problem corrections.
- *
- * @param setting java.util.Map
- * set of options used to configure the code correction engine.
- * CURRENTLY THERE IS NO CORRECTION SPECIFIC SETTINGS.
- */
- public CorrectionEngine(Map setting) {
- // settings ignored for now
- }
-
- /**
- * Performs code correction for the given marker,
- * reporting results to the given correction requestor.
- *
- * Correction results are answered through a requestor.
- *
- * @param marker
- * the marker which describe the problem to correct.
- * @param targetUnit
- * replace the compilation unit given by the marker. Ignored if null.
- * @param positionOffset
- * the offset of position given by the marker.
- * @param requestor
- * the given correction requestor
- * @exception IllegalArgumentException if <code>requestor</code> is <code>null</code>
- * @exception JavaScriptModelException currently this exception is never thrown, but the opportunity to thrown an exception
- * when the correction failed is kept for later.
- */
- public void computeCorrections(IMarker marker, IJavaScriptUnit targetUnit, int positionOffset, ICorrectionRequestor requestor) throws JavaScriptModelException {
-
- IJavaScriptElement element = targetUnit == null ? JavaScriptCore.create(marker.getResource()) : targetUnit;
-
- if(!(element instanceof IJavaScriptUnit))
- return;
-
- IJavaScriptUnit unit = (IJavaScriptUnit) element;
-
- int id = marker.getAttribute(IJavaScriptModelMarker.ID, -1);
- String[] args = Util.getProblemArgumentsFromMarker(marker.getAttribute(IJavaScriptModelMarker.ARGUMENTS, "")); //$NON-NLS-1$
- int start = marker.getAttribute(IMarker.CHAR_START, -1);
- int end = marker.getAttribute(IMarker.CHAR_END, -1);
-
- computeCorrections(unit, id, start + positionOffset, end + positionOffset, args, requestor);
- }
-
- /**
- * Performs code correction for the given IProblem,
- * reporting results to the given correction requestor.
- *
- * Correction results are answered through a requestor.
- *
- * @param problem
- * the problem which describe the problem to correct.
- * @param targetUnit
- * denote the compilation unit in which correction occurs. Cannot be null.
- * @param requestor
- * the given correction requestor
- * @exception IllegalArgumentException if <code>targetUnit</code> or <code>requestor</code> is <code>null</code>
- * @exception JavaScriptModelException currently this exception is never thrown, but the opportunity to thrown an exception
- * when the correction failed is kept for later.
- */
- public void computeCorrections(IProblem problem, IJavaScriptUnit targetUnit, ICorrectionRequestor requestor) throws JavaScriptModelException {
- if (requestor == null) {
- throw new IllegalArgumentException(Messages.correction_nullUnit);
- }
- this.computeCorrections(
- targetUnit, problem.getID(),
- problem.getSourceStart(),
- problem.getSourceEnd(),
- problem.getArguments(),
- requestor);
- }
-
- /*
- * Ask the engine to compute a correction for the specified problem
- * of the given compilation unit.
- * Correction results are answered through a requestor.
- *
- * @param unit org.eclipse.wst.jsdt.internal.core.ICompilationUnit
- * the compilation unit.
- *
- * @param id int
- * the id of the problem.
- *
- * @param start int
- * a position in the source where the error begin.
- *
- * @param end int
- * a position in the source where the error finish.
- *
- * @param arguments String[]
- * arguments of the problem.
- *
- * @exception IllegalArgumentException if <code>requestor</code> is <code>null</code>
- * @exception JavaScriptModelException currently this exception is never thrown, but the opportunity to thrown an exception
- * when the correction failed is kept for later.
- */
- private void computeCorrections(IJavaScriptUnit unit, int id, int start, int end, String[] arguments, ICorrectionRequestor requestor) {
-
- if(id == -1 || arguments == null || start == -1 || end == -1)
- return;
- if (requestor == null) {
- throw new IllegalArgumentException(Messages.correction_nullRequestor);
- }
-
- this.correctionRequestor = requestor;
- this.correctionStart = start;
- this.correctionEnd = end;
- this.compilationUnit = unit;
-
- String argument = null;
- try {
- switch (id) {
- // Type correction
- case IProblem.ImportNotFound :
- this.filter = IMPORT;
- argument = arguments[0];
- break;
- case IProblem.UndefinedType :
- this.filter = CLASSES | INTERFACES;
- argument = arguments[0];
- break;
-
- // Method correction
- case IProblem.UndefinedMethod :
- case IProblem.UndefinedFunction :
- this.filter = METHOD;
- argument = arguments[1];
- break;
-
- // Field and local variable correction
- case IProblem.UndefinedField :
- this.filter = FIELD;
- argument = arguments[0];
- break;
- case IProblem.UndefinedName :
- this.filter = FIELD | LOCAL;
- argument = arguments[0];
- break;
- }
- } catch (ArrayIndexOutOfBoundsException e) {
- return;
- }
- if(argument != null) {
- correct(argument.toCharArray());
- }
- }
-
- private void correct(char[] argument) {
- try {
- String source = this.compilationUnit.getSource();
- Scanner scanner = new Scanner();
- scanner.setSource(source.toCharArray());
-
- scanner.resetTo(this.correctionStart, this.correctionEnd);
- int token = 0;
- char[] argumentSource = CharOperation.NO_CHAR;
-
- // search last segment position
- while(true) {
- token = scanner.getNextToken();
- if (token == TerminalTokens.TokenNameEOF) return;
-
- char[] tokenSource = scanner.getCurrentTokenSource();
-
- argumentSource = CharOperation.concat(argumentSource, tokenSource);
- if(!CharOperation.prefixEquals(argumentSource, argument))
- return;
-
- if(CharOperation.equals(argument, argumentSource)) {
- this.correctionStart = scanner.startPosition;
- this.correctionEnd = scanner.currentPosition;
- this.prefixLength = CharOperation.lastIndexOf('.', argument) + 1;
- break;
- }
-
- }
-
- // search completion position
- int completionPosition = this.correctionStart;
- scanner.resetTo(completionPosition, this.correctionEnd);
- int position = completionPosition;
-
- for (int i = 0; i < 4; i++) {
- if(scanner.getNextCharAsJavaIdentifierPart()) {
- completionPosition = position;
- position = scanner.currentPosition;
- } else {
- break;
- }
- }
- Hashtable oldOptions = JavaScriptCore.getOptions();
- try {
- Hashtable options = new Hashtable(oldOptions);
- options.put(JavaScriptCore.CODEASSIST_CAMEL_CASE_MATCH, JavaScriptCore.DISABLED);
- JavaScriptCore.setOptions(options);
-
- this.compilationUnit.codeComplete(
- completionPosition,
- this.completionRequestor
- );
- } finally {
- JavaScriptCore.setOptions(oldOptions);
- }
- } catch (JavaScriptModelException e) {
- return;
- } catch (InvalidInputException e) {
- return;
- }
- }
-
- /**
- * This field is not intended to be used by client.
- */
- protected CompletionRequestor completionRequestor = new CompletionRequestor() {
- public void accept(CompletionProposal proposal) {
- switch (proposal.getKind()) {
- case CompletionProposal.TYPE_REF:
- int flags = proposal.getFlags();
- if (!(Flags.isEnum(flags) || Flags.isAnnotation(flags))) {
- if((CorrectionEngine.this.filter & (CLASSES | INTERFACES)) != 0) {
- char[] completionName = proposal.getCompletion();
- CorrectionEngine.this.correctionRequestor.acceptClass(
- proposal.getDeclarationSignature(),
- Signature.getSignatureSimpleName(proposal.getSignature()),
- CharOperation.subarray(completionName, CorrectionEngine.this.prefixLength, completionName.length),
- proposal.getFlags(),
- CorrectionEngine.this.correctionStart,
- CorrectionEngine.this.correctionEnd);
- } else if((CorrectionEngine.this.filter & IMPORT) != 0) {
- char[] packageName = proposal.getDeclarationSignature();
- char[] className = Signature.getSignatureSimpleName(proposal.getSignature());
- char[] fullName = CharOperation.concat(packageName, className, '.');
- CorrectionEngine.this.correctionRequestor.acceptClass(
- packageName,
- className,
- CharOperation.subarray(fullName, CorrectionEngine.this.prefixLength, fullName.length),
- proposal.getFlags(),
- CorrectionEngine.this.correctionStart,
- CorrectionEngine.this.correctionEnd);
- }
- }
- break;
- case CompletionProposal.FIELD_REF:
- if((CorrectionEngine.this.filter & FIELD) != 0) {
- char[] declaringSignature = proposal.getDeclarationSignature();
- char[] signature = proposal.getSignature();
- CorrectionEngine.this.correctionRequestor.acceptField(
- Signature.getSignatureQualifier(declaringSignature),
- Signature.getSignatureSimpleName(declaringSignature),
- proposal.getName(),
- Signature.getSignatureQualifier(signature),
- Signature.getSignatureSimpleName(signature),
- proposal.getName(),
- proposal.getFlags(),
- CorrectionEngine.this.correctionStart,
- CorrectionEngine.this.correctionEnd);
- }
- break;
- case CompletionProposal.LOCAL_VARIABLE_REF:
- if((CorrectionEngine.this.filter & LOCAL) != 0) {
- char[] signature = proposal.getSignature();
- CorrectionEngine.this.correctionRequestor.acceptLocalVariable(
- proposal.getName(),
- Signature.getSignatureQualifier(signature),
- Signature.getSignatureSimpleName(signature),
- proposal.getFlags(),
- CorrectionEngine.this.correctionStart,
- CorrectionEngine.this.correctionEnd);
- }
- break;
- case CompletionProposal.METHOD_REF:
- if((CorrectionEngine.this.filter & METHOD) != 0) {
- char[] declaringSignature = proposal.getDeclarationSignature();
- char[] signature = proposal.getSignature();
- char[][] parameterTypeSignatures = Signature.getParameterTypes(signature);
- int length = parameterTypeSignatures.length;
- char[][] parameterPackageNames = new char[length][];
- char[][] parameterTypeNames = new char[length][];
- for (int i = 0; i < length; i++) {
- parameterPackageNames[i] = Signature.getSignatureQualifier(parameterTypeSignatures[i]);
- parameterTypeNames[i] = Signature.getSignatureSimpleName(parameterTypeSignatures[i]);
- }
- char[] returnTypeSignature = Signature.getReturnType(signature);
- CorrectionEngine.this.correctionRequestor.acceptMethod(
- Signature.getSignatureQualifier(declaringSignature),
- Signature.getSignatureSimpleName(declaringSignature),
- proposal.getName(),
- parameterPackageNames,
- parameterTypeNames,
- proposal.findParameterNames(null),
- Signature.getSignatureQualifier(returnTypeSignature),
- Signature.getSignatureSimpleName(returnTypeSignature),
- proposal.getName(),
- proposal.getFlags(),
- CorrectionEngine.this.correctionStart,
- CorrectionEngine.this.correctionEnd);
- }
- break;
- case CompletionProposal.PACKAGE_REF:
- if((CorrectionEngine.this.filter & (CLASSES | INTERFACES | IMPORT)) != 0) {
- char[] packageName = proposal.getDeclarationSignature();
- CorrectionEngine.this.correctionRequestor.acceptPackage(
- packageName,
- CharOperation.subarray(packageName, CorrectionEngine.this.prefixLength, packageName.length),
- CorrectionEngine.this.correctionStart,
- CorrectionEngine.this.correctionEnd);
- }
- break;
- }
- }
- };
-
-
- /**
- * Return an array of strings which contains one entry per warning token
- * accepted by the <code>@SuppressWarnings</code> annotation. This array is
- * neither null nor empty, it contains at least the String <code>all</code>.
- * It should not be modified by the caller (please take a copy if modifications
- * are needed).<br>
- * <b>Note:</b> The tokens returned are not necessarily standardized across JavaScript
- * validators. If you were to use one of these tokens in a <code>@SuppressWarnings</code>
- * annotation in the JavaScript source code, the effects (if any) may vary from
- * validator to validator.
- *
- * @return an array of strings which contains one entry per warning token
- * accepted by the <code>@SuppressWarnings</code> annotation.
- */
- public static String[] getAllWarningTokens() {
- return CompilerOptions.warningTokens;
- }
-
- /**
- * Helper method for decoding problem marker attributes. Returns an array of String arguments
- * extracted from the problem marker "arguments" attribute, or <code>null</code> if the marker
- * "arguments" attribute is missing or ill-formed.
- *
- * @param problemMarker
- * the problem marker to decode arguments from.
- * @return an array of String arguments, or <code>null</code> if unable to extract arguments
- */
- public static String[] getProblemArguments(IMarker problemMarker){
- String argumentsString = problemMarker.getAttribute(IJavaScriptModelMarker.ARGUMENTS, null);
- return Util.getProblemArgumentsFromMarker(argumentsString);
- }
-
- /**
- * Returns a token which can be used to suppress a given warning using
- * <code>@SuppressWarnings</code> annotation, for a given problem ID
- * ({@link IProblem }). If a particular problem is not suppressable,
- * <code>null</code> will be returned.
- * <p>
- * <b>Note:</b> <code>@SuppressWarnings</code> can only suppress warnings,
- * which means that if some problems got promoted to ERROR using custom compiler
- * settings ({@link IJavaScriptProject#setOption(String, String)}), the
- * <code>@SuppressWarnings</code> annotation will be ineffective.
- * </p>
- * <p>
- * <b>Note:</b> <code>@SuppressWarnings</code> can be argumented with
- * <code>"all"</code> so as to suppress all possible warnings at once.
- * </p>
- * <p>
- * <b>Note:</b> The tokens returned are not necessarily standardized across JavaScript
- * validators. If you were to use one of these tokens in an @SuppressWarnings
- * annotation in the JavaScript source code, the effects (if any) may vary from
- * validator to validator.
- * </p>
- * @param problemID
- * the ID of a given warning to suppress
- * @return a String which can be used in <code>@SuppressWarnings</code> annotation,
- * or <code>null</code> if unable to suppress this warning.
- */
- public static String getWarningToken(int problemID){
- long irritant = ProblemReporter.getIrritant(problemID);
- if (irritant != 0) {
- return CompilerOptions.warningTokenFromIrritant(irritant);
- }
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ElementChangedEvent.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ElementChangedEvent.java
deleted file mode 100644
index d29b576c..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ElementChangedEvent.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import java.util.EventObject;
-
-/**
- * An element changed event describes a change to the structure or contents
- * of a tree of JavaScript elements. The changes to the elements are described by
- * the associated delta object carried by this event.
- * <p>
- * This class is not intended to be instantiated or subclassed by clients.
- * Instances of this class are automatically created by the JavaScript model.
- * </p>
- *
- * @see IElementChangedListener
- * @see IJavaScriptElementDelta
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public class ElementChangedEvent extends EventObject {
-
- /**
- * Event type constant (bit mask) indicating an after-the-fact
- * report of creations, deletions, and modifications
- * to one or more JavaScript element(s) expressed as a hierarchical
- * java element delta as returned by <code>getDelta()</code>.
- *
- * Note: this notification occurs during the corresponding POST_CHANGE
- * resource change notification, and contains a full delta accounting for
- * any JavaScriptModel operation and/or resource change.
- *
- * @see IJavaScriptElementDelta
- * @see org.eclipse.core.resources.IResourceChangeEvent
- * @see #getDelta()
- */
- public static final int POST_CHANGE = 1;
-
- /**
- * Event type constant (bit mask) indicating an after-the-fact
- * report of creations, deletions, and modifications
- * to one or more JavaScript element(s) expressed as a hierarchical
- * java element delta as returned by <code>getDelta</code>.
- *
- * Note: this notification occurs as a result of a working copy reconcile
- * operation.
- *
- * @see IJavaScriptElementDelta
- * @see org.eclipse.core.resources.IResourceChangeEvent
- * @see #getDelta()
- */
- public static final int POST_RECONCILE = 4;
-
- private static final long serialVersionUID = -8947240431612844420L; // backward compatible
-
- /*
- * Event type indicating the nature of this event.
- * It can be a combination either:
- * - POST_CHANGE
- * - PRE_AUTO_BUILD
- * - POST_RECONCILE
- */
- private int type;
-
- /**
- * Creates an new element changed event (based on a <code>IJavaScriptElementDelta</code>).
- *
- * @param delta the JavaScript element delta.
- * @param type the type of delta (ADDED, REMOVED, CHANGED) this event contains
- */
- public ElementChangedEvent(IJavaScriptElementDelta delta, int type) {
- super(delta);
- this.type = type;
- }
- /**
- * Returns the delta describing the change.
- *
- * @return the delta describing the change
- */
- public IJavaScriptElementDelta getDelta() {
- return (IJavaScriptElementDelta) this.source;
- }
-
- /**
- * Returns the type of event being reported.
- *
- * @return one of the event type constants
- * @see #POST_CHANGE
- * @see #POST_RECONCILE
- */
- public int getType() {
- return this.type;
- }
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/Flags.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/Flags.java
deleted file mode 100644
index 45ef3a4f..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/Flags.java
+++ /dev/null
@@ -1,395 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- * IBM Corporation - added constant AccDefault
- * IBM Corporation - added constants AccBridge and AccVarargs for J2SE 1.5
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.wst.jsdt.internal.compiler.classfmt.ClassFileConstants;
-
-/**
- * Utility class for decoding modifier flags in JavaScript elements.
- * <p>
- * This class provides static methods only; it is not intended to be
- * instantiated or subclassed by clients.
- * </p>
- *
- * @see IMember#getFlags()
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public final class Flags {
-
- /**
- * Constant representing the absence of any flag
- */
- public static final int AccDefault = ClassFileConstants.AccDefault;
- /**
- * Public access flag.
- *
- * <b>This flag only applies to ECMAScript 4 which is not yet supported</b>
- */
- public static final int AccPublic = ClassFileConstants.AccPublic;
- /**
- * Private access flag.
- *
- * <b>This flag only applies to ECMAScript 4 which is not yet supported</b>
- */
- public static final int AccPrivate = ClassFileConstants.AccPrivate;
- /**
- * Protected access flag.
- *
- * <b>This flag only applies to ECMAScript 4 which is not yet supported</b>
- */
- public static final int AccProtected = ClassFileConstants.AccProtected;
- /**
- * Static access flag.
- */
- public static final int AccStatic = ClassFileConstants.AccStatic;
- /*
- * Final access flag.
- */
- public static final int AccFinal = ClassFileConstants.AccFinal;
- /*
- * Synchronized access flag.
- */
- public static final int AccSynchronized = ClassFileConstants.AccSynchronized;
- /*
- * Volatile property flag.
- */
- public static final int AccVolatile = ClassFileConstants.AccVolatile;
- /*
- * Transient property flag.
- */
- public static final int AccTransient = ClassFileConstants.AccTransient;
- /*
- * Native property flag.
- */
- public static final int AccNative = ClassFileConstants.AccNative;
- /**
- * Interface property flag.
- *
- * <b>This flag only applies to ECMAScript 4 which is not yet supported</b>
- */
- public static final int AccInterface = ClassFileConstants.AccInterface;
- /**
- * Abstract property flag.
- *
- * <b>This flag only applies to ECMAScript 4 which is not yet supported</b>
- */
- public static final int AccAbstract = ClassFileConstants.AccAbstract;
- /**
- * Strictfp property flag.
- */
- public static final int AccStrictfp = ClassFileConstants.AccStrictfp;
- /**
- * Super property flag.
- *
- * <b>This flag only applies to ECMAScript 4 which is not yet supported</b>
- */
- public static final int AccSuper = ClassFileConstants.AccSuper;
- /*
- * Synthetic property flag.
- */
- public static final int AccSynthetic = ClassFileConstants.AccSynthetic;
- /**
- * Deprecated property flag.
- */
- public static final int AccDeprecated = ClassFileConstants.AccDeprecated;
-
- public static final int AccBridge = ClassFileConstants.AccBridge;
-
- /**=
- * Varargs method property
- * Used to flag variable arity method declarations.
- *
- * <b>This flag only applies to ECMAScript 4 which is not yet supported</b>
- */
- public static final int AccVarargs = ClassFileConstants.AccVarargs;
-
- public static final int AccEnum = ClassFileConstants.AccEnum;
-
- public static final int AccAnnotation = ClassFileConstants.AccAnnotation;
-
- /**
- * Not instantiable.
- */
- private Flags() {
- // Not instantiable
- }
- /**
- * Returns whether the given integer includes the <code>abstract</code> modifier.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param flags the flags
- * @return <code>true</code> if the <code>abstract</code> modifier is included
- */
- public static boolean isAbstract(int flags) {
- return (flags & AccAbstract) != 0;
- }
- /**
- * Returns whether the given integer includes the indication that the
- * element is deprecated (<code>@deprecated</code> tag in jsdoc comment).
- *
- * @param flags the flags
- * @return <code>true</code> if the element is marked as deprecated
- */
- public static boolean isDeprecated(int flags) {
- return (flags & AccDeprecated) != 0;
- }
- /*
- * Returns whether the given integer includes the <code>final</code> modifier.
- *
- * @param flags the flags
- * @return <code>true</code> if the <code>final</code> modifier is included
- */
- public static boolean isFinal(int flags) {
- return (flags & AccFinal) != 0;
- }
- /**
- * Returns whether the given integer includes the <code>interface</code> modifier.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param flags the flags
- * @return <code>true</code> if the <code>interface</code> modifier is included
- */
- public static boolean isInterface(int flags) {
- return (flags & AccInterface) != 0;
- }
- /*
- * Returns whether the given integer includes the <code>native</code> modifier.
- *
- * @param flags the flags
- * @return <code>true</code> if the <code>native</code> modifier is included
- */
- public static boolean isNative(int flags) {
- return (flags & AccNative) != 0;
- }
- /*
- * Returns whether the given integer does not include one of the
- * <code>public</code>, <code>private</code>, or <code>protected</code> flags.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param flags the flags
- * @return <code>true</code> if no visibility flag is set
- */
- public static boolean isPackageDefault(int flags) {
- return (flags & (AccPublic | AccPrivate | AccProtected)) == 0;
- }
- /**
- * Returns whether the given integer includes the <code>private</code> modifier.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param flags the flags
- * @return <code>true</code> if the <code>private</code> modifier is included
- */
- public static boolean isPrivate(int flags) {
- return (flags & AccPrivate) != 0;
- }
- /**
- * Returns whether the given integer includes the <code>protected</code> modifier.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param flags the flags
- * @return <code>true</code> if the <code>protected</code> modifier is included
- */
- public static boolean isProtected(int flags) {
- return (flags & AccProtected) != 0;
- }
- /**
- * Returns whether the given integer includes the <code>public</code> modifier.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param flags the flags
- * @return <code>true</code> if the <code>public</code> modifier is included
- */
- public static boolean isPublic(int flags) {
- return (flags & AccPublic) != 0;
- }
- /**
- * Returns whether the given integer includes the <code>static</code> modifier.
- *
- * @param flags the flags
- * @return <code>true</code> if the <code>static</code> modifier is included
- */
- public static boolean isStatic(int flags) {
- return (flags & AccStatic) != 0;
- }
- /**
- * Returns whether the given integer includes the <code>super</code> modifier.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param flags the flags
- * @return <code>true</code> if the <code>super</code> modifier is included
- */
- public static boolean isSuper(int flags) {
- return (flags & AccSuper) != 0;
- }
- /*
- * Returns whether the given integer includes the <code>strictfp</code> modifier.
- *
- * @param flags the flags
- * @return <code>true</code> if the <code>strictfp</code> modifier is included
- */
- public static boolean isStrictfp(int flags) {
- return (flags & AccStrictfp) != 0;
- }
- /*
- * Returns whether the given integer includes the <code>synchronized</code> modifier.
- *
- * @param flags the flags
- * @return <code>true</code> if the <code>synchronized</code> modifier is included
- */
- public static boolean isSynchronized(int flags) {
- return (flags & AccSynchronized) != 0;
- }
- /*
- * Returns whether the given integer includes the indication that the
- * element is synthetic.
- *
- * @param flags the flags
- * @return <code>true</code> if the element is marked synthetic
- */
- public static boolean isSynthetic(int flags) {
- return (flags & AccSynthetic) != 0;
- }
- /*
- * Returns whether the given integer includes the <code>transient</code> modifier.
- *
- * @param flags the flags
- * @return <code>true</code> if the <code>transient</code> modifier is included
- */
- public static boolean isTransient(int flags) {
- return (flags & AccTransient) != 0;
- }
- /*
- * Returns whether the given integer includes the <code>volatile</code> modifier.
- *
- * @param flags the flags
- * @return <code>true</code> if the <code>volatile</code> modifier is included
- */
- public static boolean isVolatile(int flags) {
- return (flags & AccVolatile) != 0;
- }
-
- /*
- * Returns whether the given integer has the <code>AccBridge</code>
- * bit set.
- *
- * @param flags the flags
- * @return <code>true</code> if the <code>AccBridge</code> flag is included
- * @see #AccBridge
- */
- public static boolean isBridge(int flags) {
- return (flags & AccBridge) != 0;
- }
-
- /*
- * Returns whether the given integer has the <code>AccVarargs</code>
- * bit set.
- *
- * @param flags the flags
- * @return <code>true</code> if the <code>AccVarargs</code> flag is included
- * @see #AccVarargs
- */
- public static boolean isVarargs(int flags) {
- return (flags & AccVarargs) != 0;
- }
-
- /*
- * Returns whether the given integer has the <code>AccEnum</code>
- * bit set.
- *
- * @param flags the flags
- * @return <code>true</code> if the <code>AccEnum</code> flag is included
- * @see #AccEnum
- */
- public static boolean isEnum(int flags) {
- return (flags & AccEnum) != 0;
- }
-
- /*
- * Returns whether the given integer has the <code>AccAnnotation</code>
- * bit set.
- *
- * @param flags the flags
- * @return <code>true</code> if the <code>AccAnnotation</code> flag is included
- * @see #AccAnnotation
- */
- public static boolean isAnnotation(int flags) {
- return (flags & AccAnnotation) != 0;
- }
-
- /**
- * Returns a standard string describing the given modifier flags.
- * Only modifier flags are included in the output; deprecated,
- * synthetic, bridge, etc. flags are ignored.
- * <p>
- * The flags are output in the following order:
- * <pre>
- * <code>public</code> <code>protected</code> <code>private</code>
- * <code>static</code>
- * <code>abstract</code> <code>final</code> <code>native</code> <code>synchronized</code> <code>transient</code> <code>volatile</code> <code>strictfp</code>
- * </pre>
- * </p>
- * <p>
- * Examples results:
- * <pre>
- * <code>"public static final"</code>
- * <code>"private native"</code>
- * </pre>
- * </p>
- *
- * @param flags the flags
- * @return the standard string representation of the given flags
- */
- public static String toString(int flags) {
- StringBuffer sb = new StringBuffer();
-
- if (isPublic(flags))
- sb.append("public "); //$NON-NLS-1$
- if (isProtected(flags))
- sb.append("protected "); //$NON-NLS-1$
- if (isPrivate(flags))
- sb.append("private "); //$NON-NLS-1$
- if (isStatic(flags))
- sb.append("static "); //$NON-NLS-1$
- if (isAbstract(flags))
- sb.append("abstract "); //$NON-NLS-1$
- if (isFinal(flags))
- sb.append("final "); //$NON-NLS-1$
- if (isNative(flags))
- sb.append("native "); //$NON-NLS-1$
- if (isSynchronized(flags))
- sb.append("synchronized "); //$NON-NLS-1$
- if (isTransient(flags))
- sb.append("transient "); //$NON-NLS-1$
- if (isVolatile(flags))
- sb.append("volatile "); //$NON-NLS-1$
- if (isStrictfp(flags))
- sb.append("strictfp "); //$NON-NLS-1$
-
- int len = sb.length();
- if (len == 0)
- return ""; //$NON-NLS-1$
- sb.setLength(len - 1);
- return sb.toString();
- }
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IAccessRule.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IAccessRule.java
deleted file mode 100644
index e6ff7b24..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IAccessRule.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.core.runtime.IPath;
-
-/**
- * Describes an access rule to source and class files on a includepath entry.
- * An access rule is composed of a file pattern and a kind (accessible,
- * non accessible, or discouraged).
- * <p>
- * On a given includepath entry, the access rules are considered in the order given
- * when the entry was created. When a source matches an access
- * rule's pattern, the access rule's kind define whether the file is considered
- * accessible, non accessible, or its access is discouraged. If the source
- * file doesn't match any accessible rule, it is considered accessible. A source
- * file that is not accessible or discouraged can still be refered to but it is tagged as being not
- * accessible - the JavaScript validator will create a problem marker for example.
- * The severity of the marker created from a non accessible rule is controled through
- * the {@link JavaScriptCore#COMPILER_PB_FORBIDDEN_REFERENCE} compiler option.
- * The severity of the marker created from a discouraged rule is controled through
- * the {@link JavaScriptCore#COMPILER_PB_DISCOURAGED_REFERENCE} compiler option.
- * Note this is different from inclusion and exclusion patterns on source includepath entries,
- * where a source file that is excluded is not even validated.
- * Files patterns look like relative file paths with wildcards and are interpreted relative
- * to each entry's path.
- * File patterns are case-sensitive and they can contain '**', '*' or '?' wildcards (see
- * {@link IIncludePathEntry#getExclusionPatterns()} for the full description
- * of their syntax and semantics).
- * Note that file patterns must not include the file extension.
- * <code>com/xyz/tests/MyClass</code> is a valid file pattern, whereas
- * <code>com/xyz/tests/MyClass.class</code> is not valid.
- * </p>
- *
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IAccessRule {
-
- /**
- * Constant indicating that files matching the rule's pattern are accessible.
- */
- int K_ACCESSIBLE = 0;
-
- /**
- * Constant indicating that files matching the rule's pattern are non accessible.
- */
- int K_NON_ACCESSIBLE = 1;
-
- /**
- * Constant indicating that access to the files matching the rule's pattern is discouraged.
- */
- int K_DISCOURAGED = 2;
-
- /**
- * <p>Flag indicating that whether a type matching this rule should be ignored iff a type with
- * the same qualified name can be found on a later includepath entry with a better
- * accessibility.</p>
- * <p>E.g. if a type p.X matches a rule K_NON_ACCESSIBLE | IGNORE_IF_BETTER
- * on a library entry 'lib1' and another type p.X also matches a rule
- * K_DISCOURAGED on library entry 'lib2' ('lib2' being after 'lib1' on the
- * includepath), then p.X from 'lib2' will be used and reported as
- * discouraged.</p>
- *
- */
- int IGNORE_IF_BETTER = 0x100;
-
- /**
- * Returns the file pattern for this access rule.
- *
- * @return the file pattern for this access rule
- */
- IPath getPattern();
-
- /**
- * Returns the kind of this access rule (one of {@link #K_ACCESSIBLE}, {@link #K_NON_ACCESSIBLE}
- * or {@link #K_DISCOURAGED}).
- *
- * @return the kind of this access rule
- */
- int getKind();
-
- /**
- * <p>Returns whether a type matching this rule should be ignored iff a type with
- * the same qualified name can be found on a later includepath entry with a better
- * accessibility.</p>
- * <p>E.g. if a type p.X matches a rule K_NON_ACCESSIBLE | IGNORE_IF_BETTER
- * on a library entry 'lib1' and another type p.X also matches a rule
- * K_DISCOURAGED on library entry 'lib2' ('lib2' being after 'lib1' on the
- * includepath), then p.X from 'lib2' will be used and reported as
- * discouraged.</p>
- *
- * @return whether a type matching this rule should be ignored iff a type
- * with the same qualified name can be found on a later includepath
- * entry with a better accessibility
- */
- boolean ignoreIfBetter();
-
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IBuffer.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IBuffer.java
deleted file mode 100644
index b46fb929..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IBuffer.java
+++ /dev/null
@@ -1,261 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IProgressMonitor;
-
-/**
- * A buffer contains the text contents of a resource. It is not language-specific.
- * The contents may be in the process of being edited, differing from the actual contents of the
- * underlying resource. A buffer has an owner, which is an <code>IOpenable</code>.
- * If a buffer does not have an underlying resource, saving the buffer has no effect.
- * Buffers can be read-only.
- * <p>
- * Note that javaScript model operations that manipulate an <code>IBuffer</code> (for example,
- * <code>IType.createMethod(...)</code>) ensures that the same line delimiter
- * (either <code>"\n"</code> or <code>"\r"</code> or <code>"\r\n"</code>) is
- * used across the whole buffer. Thus these operations may change the line delimiter(s)
- * included in the string to be append, or replaced.
- * However implementers of this interface should be aware that other clients of <code>IBuffer</code>
- * might not do such transformations beforehand.
- * <p>
- * This interface may be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IBuffer {
-
-/**
- * Adds the given listener for changes to this buffer.
- * Has no effect if an identical listener is already registered or if the buffer
- * is closed.
- *
- * @param listener the listener of buffer changes
- */
-public void addBufferChangedListener(IBufferChangedListener listener);
-/**
- * Appends the given character array to the contents of the buffer.
- * This buffer will now have unsaved changes.
- * Any client can append to the contents of the buffer, not just the owner of the buffer.
- * Reports a buffer changed event.
- * <p>
- * Has no effect if this buffer is read-only or if the buffer is closed.
- *
- * @param text the given character array to append to contents of the buffer
- */
-public void append(char[] text);
-/**
- * Appends the given string to the contents of the buffer.
- * This buffer will now have unsaved changes.
- * Any client can append to the contents of the buffer, not just the owner of the buffer.
- * Reports a buffer changed event.
- * <p>
- * Has no effect if this buffer is read-only or if the buffer is closed.
- *
- * @param text the <code>String</code> to append to the contents of the buffer
- */
-public void append(String text);
-/**
- * Closes the buffer. Any unsaved changes are lost. Reports a buffer changed event
- * with a 0 offset and a 0 length. When this event is fired, the buffer should already
- * be closed.
- * <p>
- * Further operations on the buffer are not allowed, except for close. If an
- * attempt is made to close an already closed buffer, the second attempt has no effect.
- */
-public void close();
-/**
- * Returns the character at the given position in this buffer.
- * <p>
- * The returned value is undefined if the buffer is closed.
- *
- * @param position a zero-based source offset in this buffer
- * @return the character at the given position in this buffer
- */
-public char getChar(int position);
-/**
- * Returns the contents of this buffer as a character array, or <code>null</code> if
- * the buffer has not been initialized.
- * <p>
- * Callers should make no assumption about whether the returned character array
- * is or is not the genuine article or a copy. In other words, if the client
- * wishes to change this array, they should make a copy. Likewise, if the
- * client wishes to hang on to the array in its current state, they should
- * make a copy.
- * </p><p>
- * The returned value is undefined if the buffer is closed.
- *
- * @return the characters contained in this buffer
- */
-public char[] getCharacters();
-/**
- * Returns the contents of this buffer as a <code>String</code>. Like all strings,
- * the result is an immutable value object., It can also answer <code>null</code> if
- * the buffer has not been initialized.
- * <p>
- * The returned value is undefined if the buffer is closed.
- *
- * @return the contents of this buffer as a <code>String</code>
- */
-public String getContents();
-/**
- * Returns number of characters stored in this buffer.
- * <p>
- * The returned value is undefined if the buffer is closed.
- *
- * @return the number of characters in this buffer
- */
-public int getLength();
-/**
- * Returns the JavaScript openable element owning of this buffer.
- *
- * @return the openable element owning this buffer
- */
-public IOpenable getOwner();
-/**
- * Returns the given range of text in this buffer.
- * <p>
- * The returned value is undefined if the buffer is closed.
- *
- * @param offset the zero-based starting offset
- * @param length the number of characters to retrieve
- * @return the given range of text in this buffer
- */
-public String getText(int offset, int length);
-/**
- * Returns the underlying resource for which this buffer was opened,
- * or <code>null</code> if this buffer was not opened on a resource.
- *
- * @return the underlying resource for this buffer, or <code>null</code>
- * if none.
- */
-public IResource getUnderlyingResource();
-/**
- * Returns whether this buffer has been modified since it
- * was opened or since it was last saved.
- * If a buffer does not have an underlying resource, this method always
- * returns <code>true</code>.
- * <p>
- * NOTE: when a buffer does not have unsaved changes, the model may decide to close it
- * to claim some memory back. If the associated element needs to be reopened later on, its
- * buffer factory will be requested to create a new buffer.
- * </p>
- * @return a <code>boolean</code> indicating presence of unsaved changes (in
- * the absence of any underlying resource, it will always return <code>true</code>).
- */
-public boolean hasUnsavedChanges();
-/**
- * Returns whether this buffer has been closed.
- *
- * @return a <code>boolean</code> indicating whether this buffer is closed.
- */
-public boolean isClosed();
-/**
- * Returns whether this buffer is read-only.
- *
- * @return a <code>boolean</code> indicating whether this buffer is read-only
- */
-public boolean isReadOnly();
-/**
- * Removes the given listener from this buffer.
- * Has no affect if an identical listener is not registered or if the buffer is closed.
- *
- * @param listener the listener
- */
-public void removeBufferChangedListener(IBufferChangedListener listener);
-/**
- * Replaces the given range of characters in this buffer with the given text.
- * <code>position</code> and <code>position + length</code> must be in the range [0, getLength()].
- * <code>length</code> must not be negative.
- * <p>
- * Has no effect if this buffer is read-only or if the buffer is closed.
- *
- * @param position the zero-based starting position of the affected text range in this buffer
- * @param length the length of the affected text range in this buffer
- * @param text the replacing text as a character array
- */
-public void replace(int position, int length, char[] text);
-/**
- * Replaces the given range of characters in this buffer with the given text.
- * <code>position</code> and <code>position + length</code> must be in the range [0, getLength()].
- * <code>length</code> must not be negative.
- * <p>
- * Has no effect if this buffer is read-only or if the buffer is closed.
- *
- * @param position the zero-based starting position of the affected text range in this buffer
- * @param length the length of the affected text range in this buffer
- * @param text the replacing text as a <code>String</code>
- */
-public void replace(int position, int length, String text);
-/**
- * Saves the contents of this buffer to its underlying resource. If
- * successful, this buffer will have no unsaved changes.
- * The buffer is left open. Saving a buffer with no unsaved
- * changes has no effect - the underlying resource is not changed.
- * If the buffer does not have an underlying resource or is read-only, this
- * has no effect.
- * <p>
- * The <code>force</code> parameter controls how this method deals with
- * cases where the workbench is not completely in sync with the local file system.
- * If <code>false</code> is specified, this method will only attempt
- * to overwrite a corresponding file in the local file system provided
- * it is in sync with the workbench. This option ensures there is no
- * unintended data loss; it is the recommended setting.
- * However, if <code>true</code> is specified, an attempt will be made
- * to write a corresponding file in the local file system,
- * overwriting any existing one if need be.
- * In either case, if this method succeeds, the resource will be marked
- * as being local (even if it wasn't before).
- * <p>
- * Has no effect if this buffer is read-only or if the buffer is closed.
- *
- * @param progress the progress monitor to notify
- * @param force a <code> boolean </code> flag indicating how to deal with resource
- * inconsistencies.
- *
- * @exception JavaScriptModelException if an error occurs writing the buffer
- * to the underlying resource
- *
- * @see org.eclipse.core.resources.IFile#setContents(java.io.InputStream, boolean, boolean, org.eclipse.core.runtime.IProgressMonitor)
- */
-public void save(IProgressMonitor progress, boolean force) throws JavaScriptModelException;
-/**
- * Sets the contents of this buffer to the given character array.
- * This buffer will now have unsaved changes.
- * Any client can set the contents of the buffer, not just the owner of the buffer.
- * Reports a buffer changed event.
- * <p>
- * Equivalent to <code>replace(0,getLength(),contents)</code>.
- * </p><p>
- * Has no effect if this buffer is read-only or if the buffer is closed.
- *
- * @param contents the new contents of this buffer as a character array
- */
-public void setContents(char[] contents);
-/**
- * Sets the contents of this buffer to the given <code>String</code>.
- * This buffer will now have unsaved changes.
- * Any client can set the contents of the buffer, not just the owner of the buffer.
- * Reports a buffer changed event.
- * <p>
- * Equivalent to <code>replace(0,getLength(),contents)</code>.
- * </p><p>
- * Has no effect if this buffer is read-only or if the buffer is closed.
- *
- * @param contents the new contents of this buffer as a <code>String</code>
- */
-public void setContents(String contents);
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IBufferChangedListener.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IBufferChangedListener.java
deleted file mode 100644
index ed5c6342..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IBufferChangedListener.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-/**
- * A listener, which gets notified when the contents of a specific buffer
- * have changed, or when the buffer is closed.
- * When a buffer is closed, the listener is notified <em>after</em> the buffer has been closed.
- * A listener is not notified when a buffer is saved.
- * <p>
- * This interface may be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
-*/
-public interface IBufferChangedListener {
-
- /**
- * Notifies that the given event has occurred.
- *
- * @param event the change event
- */
- public void bufferChanged(BufferChangedEvent event);
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IBufferFactory.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IBufferFactory.java
deleted file mode 100644
index 96e9d337..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IBufferFactory.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-/**
- * A factory that creates <code>IBuffer</code>s for openables.
- * <p>
- * This interface may be implemented by clients.
- * </p>
- * @deprecated Use {@link WorkingCopyOwner} instead
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IBufferFactory {
-
- /**
- * Creates a buffer for the given owner.
- * The new buffer will be initialized with the contents of the owner
- * if and only if it was not already initialized by the factory (a buffer is uninitialized if
- * its content is <code>null</code>).
- *
- * @param owner the owner of the buffer
- * @return the newly created buffer
- * @see IBuffer
- */
- IBuffer createBuffer(IOpenable owner);
-}
-
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IClassFile.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IClassFile.java
deleted file mode 100644
index fdf5c80f..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IClassFile.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-
-/**
- * Represents an entire non-editable JavaScript file.
- * non-editable JavaScript file elements need to be opened before they can be navigated.
- * If a file cannot be parsed, its structure remains unknown. Use
- * <code>IJavaScriptElement.isStructureKnown</code> to determine whether this is the
- * case.
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
-*/
-
-public interface IClassFile extends ITypeRoot {
-
-/**
- * Changes this file handle into a working copy. A new {@link IBuffer} is
- * created using the given owner. Uses the primary owner if <code>null</code> is
- * specified.
- * <p>
- * When switching to working copy mode, problems are reported to the given
- * {@link IProblemRequestor}. Note that once in working copy mode, the given
- * {@link IProblemRequestor} is ignored. Only the original {@link IProblemRequestor}
- * is used to report subsequent problems.
- * </p>
- * <p>
- * Once in working copy mode, changes to this working copy or its children are done in memory.
- * Only the new buffer is affected.
- * </p>
- * <p>
- * Using {@link IJavaScriptUnit#commitWorkingCopy(boolean, IProgressMonitor)} on the working copy
- * will throw a <code>JavaScriptModelException</code> as a file is implicitly read-only.
- * </p>
- * <p>
- * If this file was already in working copy mode, an internal counter is incremented and no
- * other action is taken on this working copy. To bring this working copy back into the original mode
- * (where it reflects the underlying resource), {@link IJavaScriptUnit#discardWorkingCopy} must be call as many
- * times as {@link #becomeWorkingCopy(IProblemRequestor, WorkingCopyOwner, IProgressMonitor)}.
- * </p>
- * <p>
- * The primary javaScript unit of a file's working copy does not exist if the file is not
- * in working copy mode (<code>classFileWorkingCopy.getPrimary().exists() == false</code>).
- * </p>
- *
- * @param problemRequestor a requestor which will get notified of problems detected during
- * reconciling as they are discovered. The requestor can be set to <code>null</code> indicating
- * that the client is not interested in problems.
- * @param owner the given {@link WorkingCopyOwner}, or <code>null</code> for the primary owner
- * @param monitor a progress monitor used to report progress while opening this compilation unit
- * or <code>null</code> if no progress should be reported
- * @return a working copy for this file
- * @throws JavaScriptModelException if this javaScript unit could not become a working copy.
- * @see IJavaScriptUnit#discardWorkingCopy()
- * @deprecated Use {@link ITypeRoot#getWorkingCopy(WorkingCopyOwner, IProgressMonitor)} instead.
- * Note that if this deprecated method is used, problems will be reported to the given problem requestor
- * as well as the problem requestor returned by the working copy owner (if not null).
- */
-IJavaScriptUnit becomeWorkingCopy(IProblemRequestor problemRequestor, WorkingCopyOwner owner, IProgressMonitor monitor) throws JavaScriptModelException;
-
-/**
- * Returns the bytes contained in this file.
- *
- * @return the bytes contained in this file
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- */
-byte[] getBytes() throws JavaScriptModelException;
-
-/**
- * Returns the first type contained in this file.
- * This is a handle-only method. The type may or may not exist.
- *
- * @return the type contained in this file
- *
- */
-IType getType();
-public IType[] getTypes() throws JavaScriptModelException ;
-
-
-/*
- * Returns whether this type is edit. This is not guaranteed to be
- * instantaneous, as it may require parsing the underlying file.
- *
- * @return <code>true</code> if the file represents a class.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- */
-boolean isClass() throws JavaScriptModelException;
-/**
- * Returns whether this type represents an interface. This is not guaranteed to
- * be instantaneous, as it may require parsing the underlying file.
- *
- * @return <code>true</code> if the file represents an interface.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- */
-boolean isInterface() throws JavaScriptModelException;
-
-
-
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ICodeAssist.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ICodeAssist.java
deleted file mode 100644
index f8d85da7..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ICodeAssist.java
+++ /dev/null
@@ -1,127 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-/**
- * Common protocol for JavaScript elements that support source code assist and code
- * resolve.
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface ICodeAssist {
-
- /**
- * Performs code completion at the given offset position in this javaScript unit,
- * reporting results to the given completion requestor. The <code>offset</code>
- * is the 0-based index of the character, after which code assist is desired.
- * An <code>offset</code> of -1 indicates to code assist at the beginning of this
- * javaScript unit.
- * <p>
- *
- * @param offset the given offset position
- * @param requestor the given completion requestor
- * @exception JavaScriptModelException if code assist could not be performed. Reasons include:<ul>
- * <li>This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> The position specified is < -1 or is greater than this javaScript unit's
- * source length (INDEX_OUT_OF_BOUNDS)
- * </ul>
- *
- * @exception IllegalArgumentException if <code>requestor</code> is <code>null</code>
- */
- void codeComplete(int offset, CompletionRequestor requestor)
- throws JavaScriptModelException;
-
- /**
- * Performs code completion at the given offset position in this javaScript unit,
- * reporting results to the given completion requestor. The <code>offset</code>
- * is the 0-based index of the character, after which code assist is desired.
- * An <code>offset</code> of -1 indicates to code assist at the beginning of this
- * javaScript unit.
- * It considers types in the working copies with the given owner first. In other words,
- * the owner's working copies will take precedence over their original javaScript units
- * in the workspace.
- * <p>
- * Note that if a working copy is empty, it will be as if the original javaScript
- * unit had been deleted.
- * </p>
- *
- * @param offset the given offset position
- * @param requestor the given completion requestor
- * @param owner the owner of working copies that take precedence over their original javaScript units
- * @exception JavaScriptModelException if code assist could not be performed. Reasons include:<ul>
- * <li>This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> The position specified is < -1 or is greater than this javaScript unit's
- * source length (INDEX_OUT_OF_BOUNDS)
- * </ul>
- *
- * @exception IllegalArgumentException if <code>requestor</code> is <code>null</code>
- */
- void codeComplete(int offset, CompletionRequestor requestor, WorkingCopyOwner owner)
- throws JavaScriptModelException;
-
- /**
- * Returns the JavaScript elements corresponding to the given selected text in this javaScript unit.
- * The <code>offset</code> is the 0-based index of the first selected character.
- * The <code>length</code> is the number of selected characters.
- * <p>
- * Note that if the <code>length</code> is 0 and the <code>offset</code> is inside an identifier
- * or the index just after an identifier then this identifier is considered as the selection.
- * </p>
- *
- * @param offset the given offset position
- * @param length the number of selected characters
- * @return the JavaScript elements corresponding to the given selected text
- *
- * @exception JavaScriptModelException if code resolve could not be performed. Reasons include:
- * <ul>
- * <li>This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> The range specified is not within this element's
- * source range (INDEX_OUT_OF_BOUNDS)
- * </ul>
- *
- */
- IJavaScriptElement[] codeSelect(int offset, int length) throws JavaScriptModelException;
- /**
- * Returns the JavaScript elements corresponding to the given selected text in this javaScript unit.
- * The <code>offset</code> is the 0-based index of the first selected character.
- * The <code>length</code> is the number of selected characters.
- * It considers types in the working copies with the given owner first. In other words,
- * the owner's working copies will take precedence over their original javaScript units
- * in the workspace.
- * <p>
- * Note that if the <code>length</code> is 0 and the <code>offset</code> is inside an identifier
- * or the index just after an identifier then this identifier is considered as the selection.
- * </p>
- * <p>
- * Note that if a working copy is empty, it will be as if the original javaScript
- * unit had been deleted.
- * </p>
- *
- * @param offset the given offset position
- * @param length the number of selected characters
- * @param owner the owner of working copies that take precedence over their original javaScript units
- * @return the JavaScript elements corresponding to the given selected text
- *
- * @exception JavaScriptModelException if code resolve could not be performed. Reasons include:
- * <ul>
- * <li>This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> The range specified is not within this element's
- * source range (INDEX_OUT_OF_BOUNDS)
- * </ul>
- */
- IJavaScriptElement[] codeSelect(int offset, int length, WorkingCopyOwner owner) throws JavaScriptModelException;
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ICompletionRequestor.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ICompletionRequestor.java
deleted file mode 100644
index b5bb1d97..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ICompletionRequestor.java
+++ /dev/null
@@ -1,384 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.wst.jsdt.core.compiler.IProblem;
-
-/**
- * A completion requestor accepts results as they are computed and is aware
- * of source positions to complete the various different results.
- * <p>
- * This interface may be implemented by clients.
- * </p>
- *
- * @see ICodeAssist
- * @deprecated Use {@link CompletionRequestor} instead.
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface ICompletionRequestor {
-/**
- * Code assist notification of an anonymous type declaration completion.
- * @param superTypePackageName Name of the package that contains the super type of this
- * new anonymous type declaration.
- * @param superTypeName Name of the super type of this new anonymous type declaration.
- * @param parameterPackageNames Names of the packages in which the parameter types are declared.
- * Should contain as many elements as parameterTypeNames.
- * @param parameterTypeNames Names of the parameter types.
- * Should contain as many elements as parameterPackageNames.
- * @param parameterNames Names of the parameters.
- * Should contain as many elements as parameterPackageNames.
- * @param completionName The completion for the anonymous type declaration.
- * Can include zero, one or two brackets. If the closing bracket is included,
- * then the cursor should be placed before it.
- * @param modifiers The modifiers of the constructor.
- * @param completionStart The start position of insertion of the name of this new anonymous type declaration.
- * @param completionEnd The end position of insertion of the name of this new anonymous type declaration.
- * @param relevance The relevance of the completion proposal
- * It is a positive integer which are used for determine if this proposal is more relevant than another proposal.
- * This value can only be used for compare relevance. A proposal is more relevant than another if his relevance
- * value is higher.
- *
- * NOTE: parameter names can be retrieved from the source model after the user selects a specific method.
- *
- * @deprecated Use {@link CompletionRequestor#accept(CompletionProposal)} instead.
- */
-void acceptAnonymousType(
- char[] superTypePackageName,
- char[] superTypeName,
- char[][] parameterPackageNames,
- char[][] parameterTypeNames,
- char[][] parameterNames,
- char[] completionName,
- int modifiers,
- int completionStart,
- int completionEnd,
- int relevance);
-/*
- * Code assist notification of a class completion.
- *
- * @param packageName Declaring package name of the class.
- * @param className Name of the class.
- * @param completionName The completion for the class. Can include ';' for imported classes.
- * @param modifiers The modifiers of the class.
- * @param completionStart The start position of insertion of the name of the class.
- * @param completionEnd The end position of insertion of the name of the class.
- * @param relevance The relevance of the completion proposal
- * It is a positive integer which are used for determine if this proposal is more relevant than another proposal.
- * This value can only be used for compare relevance. A proposal is more relevant than another if his relevance
- * value is higher.
- *
- * @deprecated Use {@link CompletionRequestor#accept(CompletionProposal)} instead.
- */
-void acceptClass(
- char[] packageName,
- char[] className,
- char[] completionName,
- int modifiers,
- int completionStart,
- int completionEnd,
- int relevance);
-/**
- * Code assist notification of a validation error detected during completion.
- * @param error Only problems which are categorized as non-syntax errors are notified to the
- * requestor, warnings are silently ignored.
- * In case an error got signalled, no other completions might be available,
- * therefore the problem message should be presented to the user.
- * The source positions of the problem are related to the source where it was
- * detected (might be in another compilation unit, if it was indirectly requested
- * during the code assist process).
- * Note: the problem knows its originating file name.
- *
- * @deprecated Use {@link CompletionRequestor#completionFailure(IProblem)} instead.
- */
-void acceptError(IProblem error);
-/**
- * Code assist notification of a field or var completion.
- *
- * @param declaringTypePackageName Name of the package in which the type that contains this field is declared.
- * @param declaringTypeName Name of the type declaring this new field.
- * @param name Name of the field.
- * @param typePackageName Name of the package in which the type of this field is declared.
- * @param typeName Name of the type of this field.
- * @param completionName The completion for the field.
- * @param modifiers The modifiers of this field.
- * @param completionStart The start position of insertion of the name of this field.
- * @param completionEnd The end position of insertion of the name of this field.
- * @param relevance The relevance of the completion proposal
- * It is a positive integer which are used for determine if this proposal is more relevant than another proposal.
- * This value can only be used for compare relevance. A proposal is more relevant than another if his relevance
- * value is higher.
- *
- * @deprecated Use {@link CompletionRequestor#accept(CompletionProposal)} instead.
- */
-void acceptField(
- char[] declaringTypePackageName,
- char[] declaringTypeName,
- char[] name,
- char[] typePackageName,
- char[] typeName,
- char[] completionName,
- int modifiers,
- int completionStart,
- int completionEnd,
- int relevance);
-/**
- * Code assist notification of an interface completion.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param packageName Declaring package name of the interface.
- * @param interfaceName Name of the interface.
- * @param completionName The completion for the interface. Can include ';' for imported interfaces.
- * @param modifiers The modifiers of the interface.
- * @param completionStart The start position of insertion of the name of the interface.
- * @param completionEnd The end position of insertion of the name of the interface.
- * @param relevance The relevance of the completion proposal
- * It is a positive integer which are used for determine if this proposal is more relevant than another proposal.
- * This value can only be used for compare relevance. A proposal is more relevant than another if his relevance
- * value is higher.
- * @deprecated Use {@link CompletionRequestor#accept(CompletionProposal)} instead.
- */
-void acceptInterface(
- char[] packageName,
- char[] interfaceName,
- char[] completionName,
- int modifiers,
- int completionStart,
- int completionEnd,
- int relevance);
-/**
- * Code assist notification of a keyword completion.
- * @param keywordName The keyword source.
- * @param completionStart The start position of insertion of the name of this keyword.
- * @param completionEnd The end position of insertion of the name of this keyword.
- * @param relevance The relevance of the completion proposal
- * It is a positive integer which are used for determine if this proposal is more relevant than another proposal.
- * This value can only be used for compare relevance. A proposal is more relevant than another if his relevance
- * value is higher.
- * @deprecated Use {@link CompletionRequestor#accept(CompletionProposal)} instead.
- */
-void acceptKeyword(char[] keywordName, int completionStart, int completionEnd, int relevance);
-/**
- * Code assist notification of a label completion.
- *
- * @param labelName The label source.
- * @param completionStart The start position of insertion of the name of this label.
- * @param completionEnd The end position of insertion of the name of this label.
- * @param relevance The relevance of the completion proposal
- * It is a positive integer which are used for determine if this proposal is more relevant than another proposal.
- * This value can only be used for compare relevance. A proposal is more relevant than another if his relevance
- * value is higher.
- * @deprecated Use {@link CompletionRequestor#accept(CompletionProposal)} instead.
- */
-void acceptLabel(char[] labelName, int completionStart, int completionEnd, int relevance);
-/**
- * Code assist notification of a local variable completion.
- *
- * @param name Name of the new local variable.
- * @param typePackageName Name of the package in which the type of this new local variable is declared.
- * @param typeName Name of the type of this new local variable.
- * @param modifiers The modifiers of this new local variable.
- * @param completionStart The start position of insertion of the name of this new local variable.
- * @param completionEnd The end position of insertion of the name of this new local variable.
- * @param relevance The relevance of the completion proposal
- * It is a positive integer which are used for determine if this proposal is more relevant than another proposal.
- * This value can only be used for compare relevance. A proposal is more relevant than another if his relevance
- * value is higher.
- *
- * @deprecated Use {@link CompletionRequestor#accept(CompletionProposal)} instead.
- */
-void acceptLocalVariable(
- char[] name,
- char[] typePackageName,
- char[] typeName,
- int modifiers,
- int completionStart,
- int completionEnd,
- int relevance);
-/**
- * Code assist notification of a method/function completion.
- *
- * @param declaringTypePackageName Name of the package in which the type that contains this new method is declared.
- * @param declaringTypeName Name of the type declaring this new method.
- * @param selector Name of the new method.
- * @param parameterPackageNames Names of the packages in which the parameter types are declared.
- * Should contain as many elements as parameterTypeNames.
- * @param parameterTypeNames Names of the parameter types.
- * Should contain as many elements as parameterPackageNames.
- * @param parameterNames Names of the parameters.
- * Should contain as many elements as parameterPackageNames.
- * @param returnTypePackageName Name of the package in which the return type is declared.
- * @param returnTypeName Name of the return type of this new method, should be <code>null</code> for a constructor.
- * @param completionName The completion for the method. Can include zero, one or two brackets. If the closing bracket is included, then the cursor should be placed before it.
- * @param modifiers The modifiers of this new method.
- * @param completionStart The start position of insertion of the name of this new method.
- * @param completionEnd The end position of insertion of the name of this new method.
- * @param relevance The relevance of the completion proposal
- * It is a positive integer which are used for determine if this proposal is more relevant than another proposal.
- * This value can only be used for compare relevance. A proposal is more relevant than another if his relevance
- * value is higher.
- *
- * NOTE: parameter names can be retrieved from the source model after the user selects a specific method.
- *
- * @deprecated Use {@link CompletionRequestor#accept(CompletionProposal)} instead.
- */
-void acceptMethod(
- char[] declaringTypePackageName,
- char[] declaringTypeName,
- char[] selector,
- char[][] parameterPackageNames,
- char[][] parameterTypeNames,
- char[][] parameterNames,
- char[] returnTypePackageName,
- char[] returnTypeName,
- char[] completionName,
- int modifiers,
- int completionStart,
- int completionEnd,
- int relevance);
-
-/**
- * Code assist notification of a method/function completion.
- *
- * @param declaringTypePackageName Name of the package in which the type that contains this new method is declared.
- * @param declaringTypeName Name of the type declaring this new method.
- * @param selector Name of the new method.
- * @param parameterPackageNames Names of the packages in which the parameter types are declared.
- * Should contain as many elements as parameterTypeNames.
- * @param parameterTypeNames Names of the parameter types.
- * Should contain as many elements as parameterPackageNames.
- * @param parameterNames Names of the parameters.
- * Should contain as many elements as parameterPackageNames.
- * @param returnTypePackageName Name of the package in which the return type is declared.
- * @param returnTypeName Name of the return type of this new method, should be <code>null</code> for a constructor.
- * @param completionName The completion for the method. Can include zero, one or two brackets. If the closing bracket is included, then the cursor should be placed before it.
- * @param modifiers The modifiers of this new method.
- * @param completionStart The start position of insertion of the name of this new method.
- * @param completionEnd The end position of insertion of the name of this new method.
- * @param relevance The relevance of the completion proposal
- * It is a positive integer which are used for determine if this proposal is more relevant than another proposal.
- * This value can only be used for compare relevance. A proposal is more relevant than another if his relevance
- * value is higher.
- *
- * NOTE: parameter names can be retrieved from the source model after the user selects a specific method.
- *
- * @deprecated Use {@link CompletionRequestor#accept(CompletionProposal)} instead.
- */
-void acceptMethodDeclaration(
- char[] declaringTypePackageName,
- char[] declaringTypeName,
- char[] selector,
- char[][] parameterPackageNames,
- char[][] parameterTypeNames,
- char[][] parameterNames,
- char[] returnTypePackageName,
- char[] returnTypeName,
- char[] completionName,
- int modifiers,
- int completionStart,
- int completionEnd,
- int relevance);
-/**
- * Code assist notification of a modifier completion.
- *
- * @param modifierName The new modifier.
- * @param completionStart The start position of insertion of the name of this new modifier.
- * @param completionEnd The end position of insertion of the name of this new modifier.
- * @param relevance The relevance of the completion proposal
- * It is a positive integer which are used for determine if this proposal is more relevant than another proposal.
- * This value can only be used for compare relevance. A proposal is more relevant than another if his relevance
- * value is higher.
- * @deprecated Use {@link CompletionRequestor#accept(CompletionProposal)} instead.
- */
-void acceptModifier(char[] modifierName, int completionStart, int completionEnd, int relevance);
-/**
- * Code assist notification of a package completion.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param packageName The package name.
- * @param completionName The completion for the package. Can include '.*;' for imports.
- * @param completionStart The start position of insertion of the name of this new package.
- * @param completionEnd The end position of insertion of the name of this new package.
- * @param relevance The relevance of the completion proposal
- * It is a positive integer which are used for determine if this proposal is more relevant than another proposal.
- * This value can only be used for compare relevance. A proposal is more relevant than another if his relevance
- * value is higher.
- *
- * NOTE - All package names are presented in their readable form:
- * Package names are in the form "a.b.c".
- * The default package is represented by an empty array.
- * @deprecated Use {@link CompletionRequestor#accept(CompletionProposal)} instead.
- */
-void acceptPackage(
- char[] packageName,
- char[] completionName,
- int completionStart,
- int completionEnd,
- int relevance);
-/**
- * Code assist notification of a type completion.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param packageName Declaring package name of the type.
- * @param typeName Name of the type.
- * @param completionName The completion for the type. Can include ';' for imported types.
- * @param completionStart The start position of insertion of the name of the type.
- * @param completionEnd The end position of insertion of the name of the type.
- * @param relevance The relevance of the completion proposal
- * It is a positive integer which are used for determine if this proposal is more relevant than another proposal.
- * This value can only be used for compare relevance. A proposal is more relevant than another if his relevance
- * value is higher.
- *
- * NOTE - All package and type names are presented in their readable form:
- * Package names are in the form "a.b.c".
- * The default package is represented by an empty array.
- *
- * @deprecated Use {@link CompletionRequestor#accept(CompletionProposal)} instead.
- */
-void acceptType(
- char[] packageName,
- char[] typeName,
- char[] completionName,
- int completionStart,
- int completionEnd,
- int relevance);
-
-/**
- * Code assist notification of a variable name completion.
- *
- * @param typePackageName Name of the package in which the type of this variable is declared.
- * @param typeName Name of the type of this variable.
- * @param name Name of the variable.
- * @param completionName The completion for the variable.
- * @param completionStart The start position of insertion of the name of this variable.
- * @param completionEnd The end position of insertion of the name of this variable.
- * @param relevance The relevance of the completion proposal
- * It is a positive integer which are used for determine if this proposal is more relevant than another proposal.
- * This value can only be used for compare relevance. A proposal is more relevant than another if his relevance
- * value is higher.
- *
- * @deprecated Use {@link CompletionRequestor#accept(CompletionProposal)} instead.
- */
-void acceptVariableName(
- char[] typePackageName,
- char[] typeName,
- char[] name,
- char[] completionName,
- int completionStart,
- int completionEnd,
- int relevance);
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ICorrectionRequestor.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ICorrectionRequestor.java
deleted file mode 100644
index 0819ff2d..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ICorrectionRequestor.java
+++ /dev/null
@@ -1,162 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-/**
- * A callback interface for receiving javaScript problem correction.
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface ICorrectionRequestor {
-/*
- * Notification of a class correction.
- *
- * @param packageName Declaring package name of the class.
- * @param className Name of the class.
- * @param correctionName The correction for the class.
- * @param modifiers The modifiers of the class.
- * @param correctionStart The start position of insertion of the correction of the class.
- * @param correctionEnd The end position of insertion of the correction of the class.
- *
- * NOTE - All package and type names are presented in their readable form:
- * Package names are in the form "a.b.c".
- * Nested type names are in the qualified form "A.M".
- * The default package is represented by an empty array.
- */
-void acceptClass(
- char[] packageName,
- char[] className,
- char[] correctionName,
- int modifiers,
- int correctionStart,
- int correctionEnd);
-/**
- * Notification of a field/var correction.
- *
- * @param declaringTypePackageName Name of the package in which the type that contains this field is declared.
- * @param declaringTypeName Name of the type declaring this field.
- * @param name Name of the field.
- * @param typePackageName Name of the package in which the type of this field is declared.
- * @param typeName Name of the type of this field.
- * @param correctionName The correction for the field.
- * @param modifiers The modifiers of this field.
- * @param correctionStart The start position of insertion of the correction of this field.
- * @param correctionEnd The end position of insertion of the correction of this field.
- *
- */
-void acceptField(
- char[] declaringTypePackageName,
- char[] declaringTypeName,
- char[] name,
- char[] typePackageName,
- char[] typeName,
- char[] correctionName,
- int modifiers,
- int correctionStart,
- int correctionEnd);
-/**
- * Notification of an interface correction.
- *
- * @param packageName Declaring package name of the interface.
- * @param interfaceName Name of the interface.
- * @param correctionName The correction for the interface.
- * Can include ';' for imported interfaces.
- * @param modifiers The modifiers of the interface.
- * @param correctionStart The start position of insertion of the correction of the interface.
- * @param correctionEnd The end position of insertion of the correction of the interface.
- *
- * NOTE - All package and type names are presented in their readable form:
- * Package names are in the form "a.b.c".
- * Nested type names are in the qualified form "A.M".
- * The default package is represented by an empty array.
- *
- * <b>This Method only applies to ECMAScript 4 which is not yet supported</b>
- */
-void acceptInterface(
- char[] packageName,
- char[] interfaceName,
- char[] correctionName,
- int modifiers,
- int correctionStart,
- int correctionEnd);
-/**
- * Notification of a local variable correction.
- *
- * @param name Name of the local variable.
- * @param typePackageName Name of the package in which the type of this local variable is declared.
- * @param typeName Name of the type of this local variable.
- * @param modifiers The modifiers of this local variable.
- * @param correctionStart The start position of insertion of the correction of this local variable.
- * @param correctionEnd The end position of insertion of the correction of this local variable.
- *
- */
-void acceptLocalVariable(
- char[] name,
- char[] typePackageName,
- char[] typeName,
- int modifiers,
- int correctionStart,
- int correctionEnd);
-/**
- * Notification of a method correction.
- *
- * @param declaringTypePackageName Name of the package in which the type that contains this method is declared.
- * @param declaringTypeName Name of the type declaring this method.
- * @param selector Name of the method.
- * @param parameterPackageNames Names of the packages in which the parameter types are declared.
- * Should contain as many elements as parameterTypeNames.
- * @param parameterTypeNames Names of the parameter types.
- * Should contain as many elements as parameterPackageNames.
- * @param parameterNames Names of the parameters.
- * Should contain as many elements as parameterPackageNames.
- * @param returnTypePackageName Name of the package in which the return type is declared.
- * @param returnTypeName Name of the return type of this method, should be <code>null</code> for a constructor.
- * @param correctionName The correction for the method.
- * Can include zero, one or two brackets. If the closing bracket is included, then the cursor should be placed before it.
- * @param modifiers The modifiers of this method.
- * @param correctionStart The start position of insertion of the correction of this method.
- * @param correctionEnd The end position of insertion of the correction of this method.
- *
- * NOTE: parameter names can be retrieved from the source model after the user selects a specific method.
- */
-void acceptMethod(
- char[] declaringTypePackageName,
- char[] declaringTypeName,
- char[] selector,
- char[][] parameterPackageNames,
- char[][] parameterTypeNames,
- char[][] parameterNames,
- char[] returnTypePackageName,
- char[] returnTypeName,
- char[] correctionName,
- int modifiers,
- int correctionStart,
- int correctionEnd);
-/**
- * Notification of a package correction.
- *
- * @param packageName The package name.
- * @param correctionName The correction for the package.
- * Can include '.*;' for imports.
- * @param correctionStart The start position of insertion of the correction of this package.
- * @param correctionEnd The end position of insertion of the correction of this package.
- *
- * <b>This Method only applies to ECMAScript 4 which is not yet supported</b>
- */
-void acceptPackage(
- char[] packageName,
- char[] correctionName,
- int correctionStart,
- int correctionEnd);
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IElementChangedListener.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IElementChangedListener.java
deleted file mode 100644
index 2c2e4214..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IElementChangedListener.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-/**
- * An element changed listener receives notification of changes to JavaScript elements
- * maintained by the JavaScript model.
- * <p>
- * This interface may be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IElementChangedListener {
-
-/**
- * Notifies that one or more attributes of one or more JavaScript elements have changed.
- * The specific details of the change are described by the given event.
- *
- * @param event the change event
- */
-public void elementChanged(ElementChangedEvent event);
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IField.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IField.java
deleted file mode 100644
index 8121aa17..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IField.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- * IBM Corporation - added J2SE 1.5 support
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-/**
- * Represents a field declared in a type or a var declared at the file scope.
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IField extends IMember {
-/**
- * Returns the constant value associated with this field
- * or <code>null</code> if this field has none.
- *
- * @return the constant value associated with this field or <code>null</code> if this field has none.
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- */
-public Object getConstant() throws JavaScriptModelException;
-/**
- * Returns the simple name of this field.
- * @return the simple name of this field.
- */
-String getElementName();
-/**
- * Returns the binding key for this field. A binding key is a key that uniquely
- * identifies this field. It allows access to generic info for parameterized
- * fields.
- *
- * @return the binding key for this field
- * @see org.eclipse.wst.jsdt.core.dom.IBinding#getKey()
- * @see BindingKey
- */
-String getKey();
-/**
- * Returns the type signature of this field.
- * <p>
- * The type signature may be either unresolved (for source types)
- * or resolved (for binary types), and either basic (for basic types)
- * or rich (for parameterized types). See {@link Signature} for details.
- * </p>
- *
- * @return the type signature of this field
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- * @see Signature
- */
-String getTypeSignature() throws JavaScriptModelException;
-/*
- * Returns whether this field represents an enum constant.
- *
- * @return whether this field represents an enum constant
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- */
-boolean isEnumConstant() throws JavaScriptModelException;
-/**
- * Returns whether this field represents a resolved field.
- * If a field is resoved, its key contains resolved information.
- *
- * @return whether this field represents a resolved field.
- */
-boolean isResolved();
-
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IFunction.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IFunction.java
deleted file mode 100644
index c523aeea..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IFunction.java
+++ /dev/null
@@ -1,229 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- * IBM Corporation - added J2SE 1.5 support
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-/**
- * Represents a function or a method (or constructor) declared in a type.
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IFunction extends IMember {
-/**
- * Returns the simple name of this function or method.
- * For a constructor, this returns the simple name of the declaring type.
- * Note: This holds whether the constructor appears in a source or binary type
- * This is a handle-only method.
- * @return the simple name of this method
- */
-String getElementName();
-/**
- * Returns the type signatures of the exceptions this method throws,
- * in the order declared in the source. Returns an empty array
- * if this method throws no exceptions.
- * <p>
- * For example, a source method declaring <code>"throws IOException"</code>,
- * would return the array <code>{"QIOException;"}</code>.
- * </p>
- * <p>
- * The type signatures may be either unresolved (for source types)
- * or resolved (for binary types), and either basic (for basic types)
- * or rich (for parameterized types). See {@link Signature} for details.
- * </p>
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the type signatures of the exceptions this method throws,
- * in the order declared in the source, an empty array if this method throws no exceptions
- * @see Signature
- */
-String[] getExceptionTypes() throws JavaScriptModelException;
-
-/**
- * Returns the formal type parameters for this method.
- * Returns an empty array if this method has no formal type parameters.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the formal type parameters of this method,
- * in the order declared in the source, an empty array if none
- */
-ITypeParameter[] getTypeParameters() throws JavaScriptModelException;
-/**
- * Returns the number of parameters of this method.
- * This is a handle-only method.
- *
- * @return the number of parameters of this method
- */
-int getNumberOfParameters();
-/**
- * Returns the binding key for this method. A binding key is a key that uniquely
- * identifies this method. It allows access to generic info for parameterized
- * methods.
- *
- * @return the binding key for this method
- * @see org.eclipse.wst.jsdt.core.dom.IBinding#getKey()
- * @see BindingKey
- */
-String getKey();
-/**
- * Returns the names of parameters in this method.
- * Returns an empty array if this method has no parameters.
- *
- * <p>For example, a method declared as <code>function foo( text, length)</code>
- * would return the array <code>{"text","length"}</code>.
- * </p>
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the names of parameters in this method, an empty array if this method has no parameters
- */
-String[] getParameterNames() throws JavaScriptModelException;
-/**
- * Returns the type signatures for the parameters of this method.
- * Returns an empty array if this method has no parameters.
- * This is a handle-only method.
- * <p>
- * The type signatures may be either unresolved (for source types)
- * or resolved (for binary types), and either basic (for basic types)
- * or rich (for parameterized types). See {@link Signature} for details.
- * </p>
- *
- * @return the type signatures for the parameters of this method, an empty array if this method has no parameters
- * @see Signature
- */
-String[] getParameterTypes();
-/**
- * Returns the names of parameters in this method.
- * Returns an empty array if this method has no parameters.
- *
- * <p>For example, a method declared as <code>function foo( text, length)</code>
- * would return the array <code>{"text","length"}</code>. For the same method in a
- * binary, this would return <code>{"arg0", "arg1"}</code>.
- * </p>
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the names of parameters in this method, an empty array if this method has no parameters
- */
-String[] getRawParameterNames() throws JavaScriptModelException;
-/**
- * Returns the type signature of the return value of this method.
- * For constructors, this returns the signature for void.
- * <p>
- * Until EMCAScript 4 is supported, types are inferred by analying the code, and are not necessarily accurate.
- * </p>
- * <p>
- * For example, a source method declared as <code>function getName(){return "abc"}</code>
- * would return <code>"QString;"</code>.
- * </p>
- * <p>
- * The type signature may be either unresolved (for source types)
- * or resolved (for binary types), and either basic (for basic types)
- * or rich (for parameterized types). See {@link Signature} for details.
- * </p>
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the type signature of the return value of this method, void for constructors
- * @see Signature
- */
-String getReturnType() throws JavaScriptModelException;
-/**
- * Returns the signature of this method. This includes the signatures for the
- * parameter types and return type, but does not include the method name,
- * exception types, or type parameters.
- * <p>
- * For example, a source method declared as <code>public void foo(String text, int length)</code>
- * would return <code>"(QString;I)V"</code>.
- * </p>
- * <p>
- * The type signatures embedded in the method signature may be either unresolved
- * (for source types) or resolved (for binary types), and either basic (for
- * basic types) or rich (for parameterized types). See {@link Signature} for
- * details.
- * </p>
- *
- * @return the signature of this method
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @see Signature
- */
-String getSignature() throws JavaScriptModelException;
-/**
- * Returns the type parameter declared in this method with the given name.
- * This is a handle-only method. The type parameter may or may not exist.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param name the given simple name
- * @return the type parameter declared in this method with the given name
- */
-ITypeParameter getTypeParameter(String name);
-/**
- * Returns whether this method is a constructor.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- *
- * @return true if this method is a constructor, false otherwise
- */
-boolean isConstructor() throws JavaScriptModelException;
-
-/*
- * Returns whether this method is a main method.
- * It is a main method if:
- * <ul>
- * <li>its name is equal to <code>"main"</code></li>
- * <li>its return type is <code>void</code></li>
- * <li>it is <code>static</code> and <code>public</code></li>
- * <li>it defines one parameter whose type's simple name is <code>String[]</code></li>
- * </ul>
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return true if this method is a main method, false otherwise
- */
-boolean isMainMethod() throws JavaScriptModelException;
-/**
- * Returns whether this method represents a resolved method.
- * If a method is resoved, its key contains resolved information.
- *
- * @return whether this method represents a resolved method.
- */
-boolean isResolved();
-/**
- * Returns whether this method is similar to the given method.
- * Two methods are similar if:
- * <ul>
- * <li>their element names are equal</li>
- * <li>they have the same number of parameters</li>
- * <li>the simple names of their parameter types are equal</li>
- * </ul>
- * This is a handle-only method.
- *
- * @param method the given method
- * @return true if this method is similar to the given method.
- * @see Signature#getSimpleName(char[])
- */
-boolean isSimilar(IFunction method);
-public IFunction getFunction(String selector, String[] parameterTypeSignatures) ;
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IFunctionContainer.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IFunctionContainer.java
deleted file mode 100644
index 5204caee..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IFunctionContainer.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007, 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-
-
-/**
- * Represents a container of methods and fields/vars (either an <code>IJavaScriptUnit</code>
- * or an <code>IType</code>).
- *
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * <p>
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- * </p>
-
- */
-public interface IFunctionContainer {
-
-
-/**
- * Returns the field with the specified name
- * in this type (for example, <code>"bar"</code>).
- * This is a handle-only method. The field may or may not exist.
- *
- * @param name the given name
- * @return the field with the specified name in this type
- */
-IField getField(String name);
-/**
- * Returns the fields declared by this type or javascript file.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the fields declared by this type or file
- */
-IField[] getFields() throws JavaScriptModelException;
-
-/**
- * Returns the method with the specified name and parameter types
- * in this type (for example, <code>"foo", {"I", "QString;"}</code>).
- * To get the handle for a constructor, the name specified must be the
- * simple name of the enclosing type.
- * This is a handle-only method. The method may or may not be present.
- * <p>
- * The type signatures may be either unresolved (for source types)
- * or resolved (for binary types), and either basic (for basic types)
- * or rich (for parameterized types). See {@link Signature} for details.
- * </p>
- *
- * @param name the given name
- * @param parameterTypeSignatures the given parameter types
- * @return the method with the specified name and parameter types in this type
- */
-IFunction getFunction(String name, String[] parameterTypeSignatures);
-
-/**
- * Returns the methods and constructors declared by this type.
- * For binary types, this may include the special <code>&lt;clinit&gt</code>; method
- * and synthetic methods.
- * If this is a source type, the results are listed in the order
- * in which they appear in the source, otherwise, the results are
- * in no particular order.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the methods and constructors declared by this type
- * @deprecated Use {@link #getFunctions()} instead
- */
-IFunction[] getMethods() throws JavaScriptModelException;
-/**
- * Returns the methods and constructors declared by this type or file.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the methods and constructors declared by this type
- */
-IFunction[] getFunctions() throws JavaScriptModelException;
-
-/**
- * Returns the type with the specified name
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the type with the specified name in this file
- */
-IType getType(String name);
-
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IImportContainer.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IImportContainer.java
deleted file mode 100644
index d89a1416..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IImportContainer.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-/**
- * Represents an import container is a child of a JavaScript unit that contains
- * all (and only) the import declarations. If a JavaScript unit has no import
- * declarations, no import container will be present.
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * <b>This Interface only applies to ECMAScript 4 which is not yet supported</b>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IImportContainer extends IJavaScriptElement, IParent, ISourceReference {
-/**
- * Returns the first import declaration in this import container with the given name.
- * This is a handle-only method. The import declaration may or may not exist.
- *
- * @param name the given name
- *
- * @return the first import declaration in this import container with the given name
- */
-IImportDeclaration getImport(String name);
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IImportDeclaration.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IImportDeclaration.java
deleted file mode 100644
index 179bc32a..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IImportDeclaration.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- * IBM Corporation - added J2SE 1.5 support
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-/**
- * Represents an import declaration in JavaScript unit.
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * <b>This Interface only applies to ECMAScript 4 which is not yet supported</b>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IImportDeclaration extends IJavaScriptElement, ISourceReference, ISourceManipulation {
-/**
- * Returns the name that has been imported.
- *
- * @return the name that has been imported
- */
-String getElementName();
-/**
- * Returns the modifier flags for this import. The flags can be examined using class
- * <code>Flags</code>. Only the static flag is meaningful for import declarations.
- *
- * @return the modifier flags for this import
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @see Flags
- */
-int getFlags() throws JavaScriptModelException;
-
-/*
- * Returns whether the import is on-demand. An import is on-demand if it ends
- * with <code>".*"</code>.
- * @return true if the import is on-demand, false otherwise
- */
-boolean isOnDemand();
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IIncludePathAttribute.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IIncludePathAttribute.java
deleted file mode 100644
index d3d2b92c..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IIncludePathAttribute.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.wst.jsdt.internal.core.ClasspathAttribute;
-
-/**
- * A includepath attribute defines a name/value pair that can be persisted with a includepath entry. Such an attribute
- * can be created using the factory method {@link JavaScriptCore#newIncludepathAttribute(String, String) newClasspathAttribute(String name, String value)}.
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * @see JavaScriptCore#newContainerEntry(
- * org.eclipse.core.runtime.IPath containerPath,
- * IAccessRule[] accessRules,
- * IIncludePathAttribute[] extraAttributes,
- * boolean isExported)
- * @see JavaScriptCore#newLibraryEntry(
- * org.eclipse.core.runtime.IPath path,
- * org.eclipse.core.runtime.IPath sourceAttachmentPath,
- * org.eclipse.core.runtime.IPath sourceAttachmentRootPath,
- * IAccessRule[] accessRules,
- * IIncludePathAttribute[] extraAttributes,
- * boolean isExported)
- * @see JavaScriptCore#newProjectEntry(
- * org.eclipse.core.runtime.IPath path,
- * IAccessRule[] accessRules,
- * boolean combineAccessRestrictions,
- * IIncludePathAttribute[] extraAttributes,
- * boolean isExported)
- * @see JavaScriptCore#newSourceEntry(
- * org.eclipse.core.runtime.IPath path,
- * org.eclipse.core.runtime.IPath[] inclusionPatterns,
- * org.eclipse.core.runtime.IPath[] exclusionPatterns,
- * org.eclipse.core.runtime.IPath specificOutputLocation,
- * IIncludePathAttribute[] extraAttributes)
- * @see JavaScriptCore#newVariableEntry(
- * org.eclipse.core.runtime.IPath variablePath,
- * org.eclipse.core.runtime.IPath variableSourceAttachmentPath,
- * org.eclipse.core.runtime.IPath variableSourceAttachmentRootPath,
- * IAccessRule[] accessRules,
- * IIncludePathAttribute[] extraAttributes,
- * boolean isExported)
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IIncludePathAttribute {
-
- /**
- * Constant for the name of the jsdoc location attribute.
- *
- */
- String JSDOC_LOCATION_ATTRIBUTE_NAME = "javadoc_location"; //$NON-NLS-1$
-
- /**
- * Constant for the name of the optional attribute. The possible values
- * for this attribute are <code>"true"</code> or <code>"false"</code>.
- * When not present, <code>"false"</code> is assumed.
- * If the value of this attribute is <code>"true"</code>, the includepath entry
- * is optional. If the underlying resource or jar file doesn't exist, no error
- * is reported and the includepath entry is ignored.
- */
- String OPTIONAL = "optional"; //$NON-NLS-1$
-
- /**
- * Returns the name of this includepath attribute.
- *
- * @return the name of this includepath attribute.
- */
- String getName();
-
- /**
- * Returns the value of this includepath attribute.
- *
- * @return the value of this includepath attribute.
- */
- String getValue();
-
- public static final ClasspathAttribute HIDE = new ClasspathAttribute("hide","true"); //$NON-NLS-1$ //$NON-NLS-2$
-
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IIncludePathEntry.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IIncludePathEntry.java
deleted file mode 100644
index 96c331ed..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IIncludePathEntry.java
+++ /dev/null
@@ -1,413 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.core.runtime.IPath;
-
-/**
- * An entry on a JavaScript project includepath identifying one or more package fragment
- * roots. A includepath entry has a content kind (either source,
- * {@link IPackageFragmentRoot#K_SOURCE}, or binary, {@link IPackageFragmentRoot#K_BINARY}), which is inherited
- * by each package fragment root and package fragment associated with the entry.
- * <p>
- * A includepath entry can refer to any of the following:<ul>
- *
- * <li>Source code in the current project. In this case, the entry identifies a
- * root folder in the current project containing package fragments and
- * source files with one of the {@link JavaScriptCore#getJavaScriptLikeExtensions()
- * JavaScript-like extensions}. The root folder itself represents a default
- * package, subfolders represent package fragments, and files with a
- * JavaScript-like extension (e.g. <code>.js</code> files)
- * represent javaScript files. All javaScript files will be compiled when
- * the project is built. The includepath entry must specify the
- * absolute path to the root folder. Entries of this kind are
- * associated with the {@link #CPE_SOURCE} constant.
- * Source includepath entries can carry inclusion and exclusion patterns for
- * selecting which source files appear as javaScript
- * units and get compiled when the project is built.
- * </li>
- *
- * <li>A binary library in the current project, in another project, or in the external
- * file system. In this case the entry identifies non-editable files. Entries
- * of this kind are associated with the {@link #CPE_LIBRARY} constant.</li>
- *
- * <li>A required project. In this case the entry identifies another project in
- * the workspace. When performing other
- * "development" operations - such as code assist, code resolve, type hierarchy
- * creation, etc. - the source code of the project is referred to. Thus, development
- * is performed against a required project's source code. The
- * includepath entry must specify the absolute path to the
- * project. Entries of this kind are associated with the {@link #CPE_PROJECT}
- * constant.
- * Note: referencing a required project with a includepath entry refers to the source
- * code or associated <code>.class</code> files located in its output location.
- * It will also automatically include any other libraries or projects that the required project's includepath
- * refers to, iff the corresponding includepath entries are tagged as being exported
- * ({@link IIncludePathEntry#isExported}).
- * Unless exporting some includepath entries, includepaths are not chained by default -
- * each project must specify its own includepath in its entirety.</li>
- *
- * <li> A path beginning in a includepath variable defined globally to the workspace.
- * Entries of this kind are associated with the {@link #CPE_VARIABLE} constant.
- * Includepath variables are created using {@link JavaScriptCore#setIncludepathVariable(String, IPath, org.eclipse.core.runtime.IProgressMonitor)},
- * and gets resolved, to either a project or library entry, using
- * {@link JavaScriptCore#getResolvedIncludepathEntry(IIncludePathEntry)}.
- * It is also possible to register an automatic initializer ({@link JsGlobalScopeVariableInitializer}),
- * which will be invoked through the extension point "org.eclipse.wst.jsdt.core.JsGlobalScopeVariableInitializer".
- * After resolution, a includepath variable entry may either correspond to a project or a library entry. </li>
- *
- * <li> A named includepath container identified by its container path.
- * A includepath container provides a way to indirectly reference a set of includepath entries through
- * a includepath entry of kind {@link #CPE_CONTAINER}. Typically, a includepath container can
- * be used to describe a complex library composed of multiple files, projects or includepath variables,
- * considering also that containers can be mapped differently on each project. Several projects can
- * reference the same generic container path, but have each of them actually bound to a different
- * container object.
- * The container path is a formed by a first ID segment followed with extra segments,
- * which can be used as additional hints for resolving this container reference. If no container was ever
- * recorded for this container path onto this project (using {@link JavaScriptCore#setJsGlobalScopeContainer},
- * then a {@link JsGlobalScopeContainerInitializer} will be activated if any was registered for this
- * container ID onto the extension point "org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer".
- * A includepath container entry can be resolved explicitly using {@link JavaScriptCore#getJsGlobalScopeContainer}
- * and the resulting container entries can contain any non-container entry. In particular, it may contain variable
- * entries, which in turn needs to be resolved before being directly used.
- * <br> Also note that the container resolution APIs include an IJavaScriptProject argument, so as to allow the same
- * container path to be interpreted in different ways for different projects. </li>
- * </ul>
- * </p>
- * The result of {@link IJavaScriptProject#getResolvedClasspath} will have all entries of type
- * {@link #CPE_VARIABLE} and {@link #CPE_CONTAINER} resolved to a set of
- * {@link #CPE_SOURCE}, {@link #CPE_LIBRARY} or {@link #CPE_PROJECT}
- * includepath entries.
- * <p>
- * Any includepath entry other than a source folder (kind {@link #CPE_SOURCE}) can
- * be marked as being exported. Exported entries are automatically contributed to
- * dependent projects, along with the project's default output folder, which is
- * implicitly exported, and any auxiliary output folders specified on source
- * includepath entries. The project's output folder(s) are always listed first,
- * followed by the any exported entries.
- * <p>
- * This interface is not intended to be implemented by clients.
- * Includepath entries can be created via methods on {@link JavaScriptCore}.
- * </p>
- *
- * @see JavaScriptCore#newLibraryEntry(org.eclipse.core.runtime.IPath, org.eclipse.core.runtime.IPath, org.eclipse.core.runtime.IPath)
- * @see JavaScriptCore#newProjectEntry(org.eclipse.core.runtime.IPath)
- * @see JavaScriptCore#newSourceEntry(org.eclipse.core.runtime.IPath)
- * @see JavaScriptCore#newVariableEntry(org.eclipse.core.runtime.IPath, org.eclipse.core.runtime.IPath, org.eclipse.core.runtime.IPath)
- * @see JavaScriptCore#newContainerEntry(org.eclipse.core.runtime.IPath)
- * @see JsGlobalScopeVariableInitializer
- * @see JsGlobalScopeContainerInitializer
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IIncludePathEntry {
-
- /**
- * Entry kind constant describing a includepath entry identifying a
- * library.
- */
- int CPE_LIBRARY = 1;
-
- /**
- * Entry kind constant describing a includepath entry identifying a
- * required project.
- */
- int CPE_PROJECT = 2;
-
- /**
- * Entry kind constant describing a includepath entry identifying a
- * folder containing package fragments with source code
- * to be validated.
- */
- int CPE_SOURCE = 3;
-
- /**
- * Entry kind constant describing a includepath entry defined using
- * a path that begins with a includepath variable reference.
- */
- int CPE_VARIABLE = 4;
-
- /**
- * Entry kind constant describing a includepath entry representing
- * a name includepath container.
- */
- int CPE_CONTAINER = 5;
-
- /**
- * Returns whether the access rules of the project's exported entries should be combined with this entry's access rules.
- * Returns true for container entries.
- * Returns false otherwise.
- *
- * @return whether the access rules of the project's exported entries should be combined with this entry's access rules
- */
- boolean combineAccessRules();
-
- /**
- * Returns the possibly empty list of access rules for this entry.
- *
- * @return the possibly empty list of access rules for this entry
- */
- IAccessRule[] getAccessRules();
- /**
- * Returns the kind of files found in the package fragments identified by this
- * includepath entry.
- *
- * @return {@link IPackageFragmentRoot#K_SOURCE} for files containing
- * source code, and {@link IPackageFragmentRoot#K_BINARY} for binary
- * class files.
- * There is no specified value for an entry denoting a variable ({@link #CPE_VARIABLE})
- * or a includepath container ({@link #CPE_CONTAINER}).
- */
- int getContentKind();
-
- /**
- * Returns the kind of this includepath entry.
- *
- * @return one of:
- * <ul>
- * <li>{@link #CPE_SOURCE} - this entry describes a source root in
- its project
- * <li>{@link #CPE_LIBRARY} - this entry describes a folder
- containing non-editable files
- * <li>{@link #CPE_PROJECT} - this entry describes another project
- *
- * <li>{@link #CPE_VARIABLE} - this entry describes a project or library
- * indirectly via a includepath variable in the first segment of the path
- * *
- * <li>{@link #CPE_CONTAINER} - this entry describes set of entries
- * referenced indirectly via a includepath container
- * </ul>
- */
- int getEntryKind();
-
- /**
- * Returns the set of patterns used to exclude resources or classes associated with
- * this includepath entry.
- * <p>
- * For source includepath entries,
- * exclusion patterns allow specified portions of the resource tree rooted
- * at this source entry's path to be filtered out. If no exclusion patterns
- * are specified, this source entry includes all relevent files. Each path
- * specified must be a relative path, and will be interpreted relative
- * to this source entry's path. File patterns are case-sensitive. A file
- * matched by one or more of these patterns is excluded from the
- * corresponding package fragment root.
- * Exclusion patterns have higher precedence than inclusion patterns;
- * in other words, exclusion patterns can remove files for the ones that
- * are to be included, not the other way around.
- * </p>
- * <p>
- * The pattern mechanism is similar to Ant's. Each pattern is represented as
- * a relative path. The path segments can be regular file or folder names or simple patterns
- * involving standard wildcard characters.
- * </p>
- * <p>
- * '*' matches 0 or more characters within a segment. So
- * <code>*.js</code> matches <code>.js</code>, <code>a.js</code>
- * and <code>Foo.js</code>, but not <code>Foo.properties</code>
- * (does not end with <code>.js</code>).
- * </p>
- * <p>
- * '?' matches 1 character within a segment. So <code>?.js</code>
- * matches <code>a.js</code>, <code>A.js</code>,
- * but not <code>.js</code> or <code>xyz.js</code> (neither have
- * just one character before <code>.js</code>).
- * </p>
- * <p>
- * Combinations of *'s and ?'s are allowed.
- * </p>
- * <p>
- * The special pattern '**' matches zero or more segments. In a source entry,
- * a path like <code>tests/</code> that ends in a trailing separator is interpreted
- * as <code>tests/&#42;&#42;</code>, and would match everything under
- * the folder named <code>tests</code>.
- * </p>
- * <p>
- * Example patterns in source entries (assuming that "js" is the only {@link JavaScriptCore#getJavaScriptLikeExtensions() JavaScript-like extension}):
- * <ul>
- * <li>
- * <code>tests/&#42;&#42;</code> (or simply <code>tests/</code>)
- * matches all files under a root folder
- * named <code>tests</code>. This includes <code>tests/Foo.js</code>
- * and <code>tests/com/example/Foo.js</code>, but not
- * <code>com/example/tests/Foo.js</code> (not under a root folder named
- * <code>tests</code>).
- * </li>
- * <li>
- * <code>tests/&#42;</code> matches all files directly below a root
- * folder named <code>tests</code>. This includes <code>tests/Foo.js</code>
- * and <code>tests/FooHelp.js</code>
- * but not <code>tests/com/example/Foo.js</code> (not directly under
- * a folder named <code>tests</code>) or
- * <code>com/Foo.js</code> (not under a folder named <code>tests</code>).
- * </li>
- * <li>
- * <code>&#42;&#42;/tests/&#42;&#42;</code> matches all files under any
- * folder named <code>tests</code>. This includes <code>tests/Foo.js</code>,
- * <code>com/examples/tests/Foo.js</code>, and
- * <code>com/examples/tests/unit/Foo.js</code>, but not
- * <code>com/example/Foo.js</code> (not under a folder named
- * <code>tests</code>).
- * </li>
- * </ul>
- * </p>
- *
- * @return the possibly empty list of resource exclusion patterns
- * associated with this includepath entry, or <code>null</code> if this kind
- * of includepath entry does not support exclusion patterns
- */
- IPath[] getExclusionPatterns();
-
- /**
- * Returns the extra includepath attributes for this includepath entry. Returns an empty array if this entry
- * has no extra attributes.
- *
- * @return the possibly empty list of extra includepath attributes for this includepath entry
- */
- IIncludePathAttribute[] getExtraAttributes();
-
- /**
- * Returns the set of patterns used to explicitly define resources
- * to be included with this includepath entry.
- * <p>
- * For source includepath entries,
- * when no inclusion patterns are specified, the source entry includes all
- * relevent files in the resource tree rooted at this source entry's path.
- * Specifying one or more inclusion patterns means that only the specified
- * portions of the resource tree are to be included. Each path specified
- * must be a relative path, and will be interpreted relative to this source
- * entry's path. File patterns are case-sensitive. A file matched by one or
- * more of these patterns is included in the corresponding package fragment
- * root unless it is excluded by one or more of this entrie's exclusion
- * patterns. Exclusion patterns have higher precedence than inclusion
- * patterns; in other words, exclusion patterns can remove files for the
- * ones that are to be included, not the other way around.
- * </p>
- * <p>
- * See {@link #getExclusionPatterns()} for a discussion of the syntax and
- * semantics of path patterns. The absence of any inclusion patterns is
- * semantically equivalent to the explicit inclusion pattern
- * <code>&#42;&#42;</code>.
- * </p>
- * <p>
- * Example patterns in source entries:
- * <ul>
- * <li>
- * The inclusion pattern <code>src/&#42;&#42;</code> by itself includes all
- * files under a root folder named <code>src</code>.
- * </li>
- * <li>
- * The inclusion patterns <code>src/&#42;&#42;</code> and
- * <code>tests/&#42;&#42;</code> includes all files under the root folders
- * named <code>src</code> and <code>tests</code>.
- * </li>
- * <li>
- * The inclusion pattern <code>src/&#42;&#42;</code> together with the
- * exclusion pattern <code>src/&#42;&#42;/Foo.js</code> includes all
- * files under a root folder named <code>src</code> except for ones
- * named <code>Foo.js</code>.
- * </li>
- * </ul>
- * </p>
- *
- * @return the possibly empty list of resource inclusion patterns
- * associated with this includepath entry, or <code>null</code> if this kind
- * of includepath entry does not support inclusion patterns
- */
- IPath[] getInclusionPatterns();
-
- /*
- * Returns the full path to the specific location where the builder writes
- * <code>.class</code> files generated for this source entry
- * (entry kind {@link #CPE_SOURCE}).
- * <p>
- * Source entries can optionally be associated with a specific output location.
- * If none is provided, the source entry will be implicitly associated with its project
- * default output location (see {@link IJavaScriptProject#getOutputLocation}).
- * </p><p>
- * NOTE: A specific output location cannot coincidate with another source/library entry.
- * </p>
- *
- * @return the full path to the specific location where the builder writes
- * <code>.class</code> files for this source entry, or <code>null</code>
- * if using default output folder
- */
- IPath getOutputLocation();
-
- /**
- * Returns the path of this includepath entry.
- *
- * The meaning of the path of a includepath entry depends on its entry kind:<ul>
- * <li>Source code in the current project ({@link #CPE_SOURCE}) -
- * The path associated with this entry is the absolute path to the root folder. </li>
- * <li>A binary library in the current project ({@link #CPE_LIBRARY}) - the path
- * associated with this entry is the absolute path to the file.
- * <li>A required project ({@link #CPE_PROJECT}) - the path of the entry denotes the
- * path to the corresponding project resource.</li>
- * <li>A variable entry ({@link #CPE_VARIABLE}) - the first segment of the path
- * is the name of a includepath variable. If this includepath variable
- * is bound to the path <i>P</i>, the path of the corresponding includepath entry
- * is computed by appending to <i>P</i> the segments of the returned
- * path without the variable.</li>
- * <li> A container entry ({@link #CPE_CONTAINER}) - the path of the entry
- * is the name of the includepath container, which can be bound indirectly to a set of includepath
- * entries after resolution. The containerPath is a formed by a first ID segment followed with
- * extra segments that can be used as additional hints for resolving this container
- * reference (also see {@link IJsGlobalScopeContainer}).
- * </li>
- * </ul>
- *
- * @return the path of this includepath entry
- */
- IPath getPath();
-
- /**
- * Returns the path to the source archive or folder associated with this
- * includepath entry, or <code>null</code> if this includepath entry has no
- * source attachment.
- * <p>
- * Only library and variable includepath entries may have source attachments.
- * For library includepath entries, the result path (if present) locates a source
- * archive or folder. This archive or folder can be located in a project of the
- * workspace or outside thr workspace. For variable includepath entries, the
- * result path (if present) has an analogous form and meaning as the
- * variable path, namely the first segment is the name of a includepath variable.
- * </p>
- *
- * @return the path to the source archive or folder, or <code>null</code> if none
- */
- IPath getSourceAttachmentPath();
-
- /**
- * Returns the path within the source archive or folder where package fragments
- * are located. An empty path indicates that packages are located at
- * the root of the source archive or folder. Returns a non-<code>null</code> value
- * if and only if {@link #getSourceAttachmentPath} returns
- * a non-<code>null</code> value.
- *
- * @return the path within the source archive or folder, or <code>null</code> if
- * not applicable
- */
- IPath getSourceAttachmentRootPath();
-
- /**
- * Returns whether this entry is exported to dependent projects.
- * Always returns <code>false</code> for source entries (kind
- * {@link #CPE_SOURCE}), which cannot be exported.
- *
- * @return <code>true</code> if exported, and <code>false</code> otherwise
- */
- boolean isExported();
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IInitializer.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IInitializer.java
deleted file mode 100644
index 2c27d98a..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IInitializer.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-/**
- * Represents a stand-alone instance or class (static) initializer in a type.
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IInitializer extends IMember {
- // interface used as a marker: defines no member
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJarEntryResource.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJarEntryResource.java
deleted file mode 100644
index 512b386c..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJarEntryResource.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.core.resources.IStorage;
-import org.eclipse.core.runtime.IPath;
-
-/**
- * A jar entry corresponding to a non-Java resource in an archive {@link IPackageFragment} or {@link IPackageFragmentRoot}.
- * <p>
- * One can navigate the non-Java resource tree using the {@link #getChildren()} and {@link #getParent()} methods.
- * Jar entry resources are either files ({@link #isFile()} returns true) or directories ({@link #isFile()} returns false).
- * Files don't have any children and the returned array is always empty.
- * </p><p>
- * Jar entry resources that refer to the same element are guaranteed to be equal, but not necessarily identical.
- * <p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IJarEntryResource extends IStorage {
-
- /**
- * Returns the list of children of this jar entry resource.
- * Returns an empty array if this jar entry is a file, or if this jar entry is a directory and it has no children.
- *
- * @return the children of this jar entry resource
- */
- IJarEntryResource[] getChildren();
-
- /**
- * Returns the full, absolute path of this jar entry resource relative to the archive this jar
- * entry belongs to.
- * <p>
- * A jar entry resource's full path indicates the route from the root of the archive
- * to the jar entry resource. Within an archive, there is exactly one such path
- * for any given jar entry resource. The returned path never has a trailing separator.
- * </p>
- *
- * @return the absolute path of this jar entry resource
- */
- IPath getFullPath();
-
- /**
- * Returns the parent of this jar entry resource. This is either an {@link IJarEntryResource}, an {@link IPackageFragment}
- * or an {@link IPackageFragmentRoot}.
- *
- * @return the parent of this jar entry resource
- */
- Object getParent();
-
- /**
- * Returns the package fragment root this jar entry file belongs to.
- *
- * @return the package fragment root this jar entry file belongs to.
- */
- IPackageFragmentRoot getPackageFragmentRoot();
-
- /**
- * Returns <code>true</code> if this jar entry represents a file.
- * Returns <code>false</code> if it is a directory.
- *
- * @return whether this jar entry is a file
- */
- boolean isFile();
-
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptElement.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptElement.java
deleted file mode 100644
index 258776a4..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptElement.java
+++ /dev/null
@@ -1,398 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import java.net.URI;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.jobs.ISchedulingRule;
-
-/**
- * Common protocol for all elements provided by the JavaScript model.
- * JavaScript model elements are exposed to clients as handles to the actual underlying element.
- * The JavaScript model may hand out any number of handles for each element. Handles
- * that refer to the same element are guaranteed to be equal, but not necessarily identical.
- * <p>
- * Methods annotated as "handle-only" do not require underlying elements to exist.
- * Methods that require underlying elements to exist throw
- * a <code>JavaScriptModelException</code> when an underlying element is missing.
- * <code>JavaScriptModelException.isDoesNotExist</code> can be used to recognize
- * this common special case.
- * </p>
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IJavaScriptElement extends IAdaptable, ILookupScope{
-
- /**
- * Constant representing a JavaScript model (workspace level object).
- * A JavaScript element with this type can be safely cast to {@link IJavaScriptModel}.
- */
- int JAVASCRIPT_MODEL = 1;
-
- /**
- * Constant representing a JavaScript project.
- * A JavaScript element with this type can be safely cast to {@link IJavaScriptProject}.
- */
- int JAVASCRIPT_PROJECT = 2;
-
- /**
- * Constant representing a root source folder (package fragment root).
- * A JavaScript element with this type can be safely cast to {@link IPackageFragmentRoot}.
- */
- int PACKAGE_FRAGMENT_ROOT = 3;
-
- /**
- * Constant representing a source folder (package fragment).
- * A JavaScript element with this type can be safely cast to {@link IPackageFragment}.
- */
- int PACKAGE_FRAGMENT = 4;
-
- /**
- * Constant representing a JavaScript file.
- * A JavaScript element with this type can be safely cast to {@link IJavaScriptUnit}.
- */
- int JAVASCRIPT_UNIT = 5;
-
- /**
- * Constant representing a non-editable javaScript file.
- * A JavaScript element with this type can be safely cast to {@link IClassFile}.
- */
- int CLASS_FILE = 6;
-
- /**
- * Constant representing a type (a class or interface).
- * A JavaScript element with this type can be safely cast to {@link IType}.
- */
- int TYPE = 7;
-
- /**
- * Constant representing a field or a var with file scope.
- * A JavaScript element with this type can be safely cast to {@link IField}.
- */
- int FIELD = 8;
-
- /**
- * Constant representing a function, method or constructor.
- * A JavaScript element with this type can be safely cast to {@link IFunction}.
- */
- int METHOD = 9;
-
- /**
- * Constant representing a stand-alone instance or class initializer.
- * A JavaScript element with this type can be safely cast to {@link IInitializer}.
- */
- int INITIALIZER = 10;
-
- /**
- * Constant representing a package declaration within a compilation unit.
- * A JavaScript element with this type can be safely cast to {@link IPackageDeclaration}.
- *
- * <b>This type only applies to ECMAScript 4 which is not yet supported</b>
- */
- int PACKAGE_DECLARATION = 11;
-
- /**
- * Constant representing all import declarations within a compilation unit.
- * A JavaScript element with this type can be safely cast to {@link IImportContainer}.
- *
- * <b>This type only applies to ECMAScript 4 which is not yet supported</b>
- */
- int IMPORT_CONTAINER = 12;
-
- /**
- * Constant representing an import declaration within a compilation unit.
- * A JavaScript element with this type can be safely cast to {@link IImportDeclaration}.
- *
- * <b>This type only applies to ECMAScript 4 which is not yet supported</b>
- */
- int IMPORT_DECLARATION = 13;
-
- /**
- * Constant representing a local variable declaration.
- * A JavaScript element with this type can be safely cast to {@link ILocalVariable}.
- */
- int LOCAL_VARIABLE = 14;
-
- /**
- * Constant representing a type parameter declaration.
- * A JavaScript element with this type can be safely cast to {@link ITypeParameter}.
- *
- * <b>This type only applies to ECMAScript 4 which is not yet supported</b>
- */
- int TYPE_PARAMETER = 15;
-
- /**
- * Returns whether this JavaScript element exists in the model.
- * <p>
- * JavaScript elements are handle objects that may or may not be backed by an
- * actual element. JavaScript elements that are backed by an actual element are
- * said to "exist", and this method returns <code>true</code>. For JavaScript
- * elements that are not working copies, it is always the case that if the
- * element exists, then its parent also exists (provided it has one) and
- * includes the element as one of its children. It is therefore possible
- * to navigated to any existing JavaScript element from the root of the JavaScript model
- * along a chain of existing JavaScript elements. On the other hand, working
- * copies are said to exist until they are destroyed (with
- * <code>IWorkingCopy.destroy</code>). Unlike regular JavaScript elements, a
- * working copy never shows up among the children of its parent element
- * (which may or may not exist).
- * </p>
- *
- * @return <code>true</code> if this element exists in the JavaScript model, and
- * <code>false</code> if this element does not exist
- */
- boolean exists();
-
- /**
- * Returns the first ancestor of this JavaScript element that has the given type.
- * Returns <code>null</code> if no such an ancestor can be found.
- * This is a handle-only method.
- *
- * @param ancestorType the given type
- * @return the first ancestor of this JavaScript element that has the given type, null if no such an ancestor can be found
- */
- IJavaScriptElement getAncestor(int ancestorType);
-
- /**
- * <p>Returns the Jsdoc as an html source if this element has an attached jsdoc,
- * null otherwise.</p>
- * <p>This should be used only for binary elements. Source elements will always return null.</p>
- * <p>The encoding used to read the jsdoc is the one defined by the content type of the
- * file. If none is defined, then the project's encoding of this java element is used. If the project's
- * encoding cannot be retrieved, then the platform encoding is used.</p>
- * <p>In case of the jsdoc doesn't exist for this element, null is returned.</p>
- *
- * <p>The html is extracted from the attached jsdoc and provided as is. No
- * transformation or validation is done.</p>
- *
- * @param monitor the given progress monitor
- * @exception JavaScriptModelException if:<ul>
- * <li>this element does not exist</li>
- * <li>retrieving the attached jsdoc fails (timed-out, invalid URL, ...)</li>
- * <li>the format of the jsdoc doesn't match expected standards (different anchors,...)</li>
- * </ul>
- * @return the extracted jsdoc from the attached jsdoc, null if none
- * @see IIncludePathAttribute#JSDOC_LOCATION_ATTRIBUTE_NAME
- */
- String getAttachedJavadoc(IProgressMonitor monitor) throws JavaScriptModelException;
-
- /**
- * Returns the resource that corresponds directly to this element,
- * or <code>null</code> if there is no resource that corresponds to
- * this element.
- * <p>
- * For example, the corresponding resource for an <code>IJavaScriptUnit</code>
- * is its underlying <code>IFile</code>. The corresponding resource for
- * an <code>IPackageFragment</code> that is not contained in an archive
- * is its underlying <code>IFolder</code>. An <code>IPackageFragment</code>
- * contained in an archive has no corresponding resource. Similarly, there
- * are no corresponding resources for <code>IMethods</code>,
- * <code>IFields</code>, etc.
- * <p>
- *
- * @return the corresponding resource, or <code>null</code> if none
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- */
- IResource getCorrespondingResource() throws JavaScriptModelException;
-
- /**
- * Returns the name of this element. This is a handle-only method.
- *
- * @return the element name
- */
- String getElementName();
-
- /**
- * Returns this element's kind encoded as an integer.
- * This is a handle-only method.
- *
- * @return the kind of element; one of the constants declared in
- * <code>IJavaScriptElement</code>
- * @see IJavaScriptElement
- */
- int getElementType();
-
- /**
- * Returns a string representation of this element handle. The format of
- * the string is not specified; however, the identifier is stable across
- * workspace sessions, and can be used to recreate this handle via the
- * <code>JavaScriptCore.create(String)</code> method.
- *
- * @return the string handle identifier
- * @see JavaScriptCore#create(java.lang.String)
- */
- String getHandleIdentifier();
-
- /**
- * Returns the JavaScript model.
- * This is a handle-only method.
- *
- * @return the JavaScript model
- */
- IJavaScriptModel getJavaScriptModel();
-
- /**
- * Returns the JavaScript project this element is contained in,
- * or <code>null</code> if this element is not contained in any JavaScript project
- * (for instance, the <code>IJavaScriptModel</code> is not contained in any JavaScript
- * project).
- * This is a handle-only method.
- *
- * @return the containing JavaScript project, or <code>null</code> if this element is
- * not contained in a JavaScript project
- */
- IJavaScriptProject getJavaScriptProject();
-
- /**
- * Returns the first openable parent. If this element is openable, the element
- * itself is returned. Returns <code>null</code> if this element doesn't have
- * an openable parent.
- * This is a handle-only method.
- *
- * @return the first openable parent or <code>null</code> if this element doesn't have
- * an openable parent.
- */
- IOpenable getOpenable();
-
- /**
- * Returns the element directly containing this element,
- * or <code>null</code> if this element has no parent.
- * This is a handle-only method.
- *
- * @return the parent element, or <code>null</code> if this element has no parent
- */
- IJavaScriptElement getParent();
-
- /**
- * Returns the path to the innermost resource enclosing this element.
- * If this element is not included in an external archive,
- * the path returned is the full, absolute path to the underlying resource,
- * relative to the workbench.
- * If this element is included in an external archive,
- * the path returned is the absolute path to the archive in the file system.
- * This is a handle-only method.
- *
- * @return the path to the innermost resource enclosing this element
- */
- IPath getPath();
-
- /**
- * Returns the primary element (whose compilation unit is the primary compilation unit)
- * this working copy element was created from, or this element if it is a descendant of a
- * primary javaScript unit or if it is not a descendant of a working copy (e.g. it is a
- * binary member).
- * The returned element may or may not exist.
- *
- * @return the primary element this working copy element was created from, or this
- * element.
- */
- IJavaScriptElement getPrimaryElement();
-
- /**
- * Returns the innermost resource enclosing this element.
- * If this element is included in an archive and this archive is not external,
- * this is the underlying resource corresponding to the archive.
- * If this element is included in an external archive, <code>null</code>
- * is returned.
- * This is a handle-only method.
- *
- * @return the innermost resource enclosing this element, <code>null</code> if this
- * element is included in an external archive
- */
- IResource getResource();
-
- /**
- * Returns the scheduling rule associated with this JavaScript element.
- * This is a handle-only method.
- *
- * @return the scheduling rule associated with this JavaScript element
- */
- ISchedulingRule getSchedulingRule();
-
- /**
- * Returns the smallest underlying resource that contains
- * this element, or <code>null</code> if this element is not contained
- * in a resource.
- *
- * @return the underlying resource, or <code>null</code> if none
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its underlying resource
- */
- IResource getUnderlyingResource() throws JavaScriptModelException;
-
- /**
- * Returns whether this JavaScript element is read-only. An element is read-only
- * if its structure cannot be modified by the java model.
- * <p>
- * Note this is different from IResource.isReadOnly(). For example, .jar
- * files are read-only as the javaScript model doesn't know how to add/remove
- * elements in this file, but the underlying IFile can be writable.
- * <p>
- * This is a handle-only method.
- *
- * @return <code>true</code> if this element is read-only
- */
- boolean isReadOnly();
-
- /**
- * Returns whether the structure of this element is known. For example, for a
- * javaScript file that could not be parsed, <code>false</code> is returned.
- * If the structure of an element is unknown, navigations will return reasonable
- * defaults. For example, <code>getChildren</code> will return an empty collection.
- * <p>
- * Note: This does not imply anything about consistency with the
- * underlying resource/buffer contents.
- * </p>
- *
- * @return <code>true</code> if the structure of this element is known
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- */
- boolean isStructureKnown() throws JavaScriptModelException;
- /**
- * Returns a readable (non mangled) name. In virtual elements this is derived from a JsGlobalScopeContainerInitializer
- *
- * @return a human friendly element name.
- */
- String getDisplayName();
- /**
- * Returns if this is a virtual element (ie actually exists in the model or filesystem).
- *
- * @return if this is a virtual element.
- */
- boolean isVirtual();
-
- /**
- * If a resource is virtual, then return a real host path for the element. (Query the container initializer).
- *
- * @return if this is a virtual element.
- */
- URI getHostPath();
-
- /**
- * Returns the Super type this file is considered to be a member of. For Browser base javaScript, this would be "Window".
- *
- * @return the supertype for the javascript file.
- */
- LibrarySuperType getCommonSuperType();
-
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptElementDelta.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptElementDelta.java
deleted file mode 100644
index 28193cb4..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptElementDelta.java
+++ /dev/null
@@ -1,375 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.core.resources.IResourceDelta;
-import org.eclipse.wst.jsdt.core.dom.JavaScriptUnit;
-
-/**
- * A JavaScript element delta describes changes in JavaScript element between two discrete
- * points in time. Given a delta, clients can access the element that has
- * changed, and any children that have changed.
- * <p>
- * Deltas have a different status depending on the kind of change they represent.
- * The list below summarizes each status (as returned by {@link #getKind})
- * and its meaning (see individual constants for a more detailled description):
- * <ul>
- * <li>{@link #ADDED} - The element described by the delta has been added.</li>
- * <li>{@link #REMOVED} - The element described by the delta has been removed.</li>
- * <li>{@link #CHANGED} - The element described by the delta has been changed in some way.
- * Specification of the type of change is provided by {@link #getFlags} which returns the following values:
- * <ul>
- * <li>{@link #F_ADDED_TO_CLASSPATH} - A includepath entry corresponding to the element
- * has been added to the project's includepath. This flag is only valid if the element is an
- * {@link IPackageFragmentRoot}.</li>
- * <li>{@link #F_ARCHIVE_CONTENT_CHANGED} - The contents of an archive
- * has changed in some way. This flag is only valid if the element is an {@link IPackageFragmentRoot}
- * which is an archive.</li>
- * <li>{@link #F_CHILDREN} - A child of the element has changed in some way. This flag
- * is only valid if the element is an {@link IParent}.</li>
- * <li>{@link #F_INCLUDEPATH_REORDER} - A Includepath entry corresponding to the element
- * has changed position in the project's Includepath. This flag is only valid if the element is an
- * {@link IPackageFragmentRoot}.</li>
- * <li>{@link #F_CLOSED} - The underlying {@link org.eclipse.core.resources.IProject}
- * has been closed. This flag is only valid if the element is an {@link IJavaScriptProject}.</li>
- * <li>{@link #F_CONTENT} - The contents of the element have been altered. This flag
- * is only valid for elements which correspond to files.</li>
- *<li>{@link #F_FINE_GRAINED} - The delta is a fine-grained delta, that is, an analysis down
- * to the members level was done to determine if there were structural changes to members of the element.</li>
- * <li>{@link #F_MODIFIERS} - The modifiers on the element have changed in some way.
- * This flag is only valid if the element is an {@link IMember}.</li>
- * <li>{@link #F_OPENED} - The underlying {@link org.eclipse.core.resources.IProject}
- * has been opened. This flag is only valid if the element is an {@link IJavaScriptProject}.</li>
- * <li>{@link #F_REMOVED_FROM_CLASSPATH} - A includepath entry corresponding to the element
- * has been removed from the project's includepath. This flag is only valid if the element is an
- * {@link IPackageFragmentRoot}.</li>
- * <li>{@link #F_SOURCEATTACHED} - The source attachment path or the source attachment root path
- * of a includepath entry corresponding to the element was added. This flag is only valid if the element is an
- * {@link IPackageFragmentRoot}.</li>
- * <li>{@link #F_SOURCEDETACHED} - The source attachment path or the source attachment root path
- * of a includepath entry corresponding to the element was removed. This flag is only valid if the element is an
- * {@link IPackageFragmentRoot}.</li>
- * <li>{@link #F_SUPER_TYPES} - One of the supertypes of an {@link IType} has changed</li>.
- * </ul>
- * </li>
- * </ul>
- * </p>
- * <p>
- * Move operations are indicated by other change flags, layered on top
- * of the change flags described above. If element A is moved to become B,
- * the delta for the change in A will have status {@link #REMOVED},
- * with change flag {@link #F_MOVED_TO}. In this case,
- * {@link #getMovedToElement} on delta A will return the handle for B.
- * The delta for B will have status {@link #ADDED}, with change flag
- * {@link #F_MOVED_FROM}, and {@link #getMovedFromElement} on delta
- * B will return the handle for A. (Note, the handle to A in this case represents
- * an element that no longer exists).
- * </p>
- * <p>
- * Note that the move change flags only describe the changes to a single element, they
- * do not imply anything about the parent or children of the element.
- * </p>
- * <p>
- * The {@link #F_ADDED_TO_CLASSPATH}, {@link #F_REMOVED_FROM_CLASSPATH} and
- * {@link #F_INCLUDEPATH_REORDER} flags are triggered by changes to a project's includepath. They do not mean that
- * the underlying resource was added, removed or changed. For example, if a project P already contains a folder src, then
- * adding a includepath entry with the 'P/src' path to the project's includepath will result in an {@link IJavaScriptElementDelta}
- * with the {@link #F_ADDED_TO_CLASSPATH} flag for the {@link IPackageFragmentRoot} P/src.
- * On the contrary, if a resource is physically added, removed or changed and this resource corresponds to a includepath
- * entry of the project, then an {@link IJavaScriptElementDelta} with the {@link #ADDED},
- * {@link #REMOVED}, or {@link #CHANGED} kind will be fired.
- * </p>
- * <p>
- * Note that when a source attachment path or a source attachment root path is changed, then the flags of the delta contain
- * both {@link #F_SOURCEATTACHED} and {@link #F_SOURCEDETACHED}.
- * </p>
- * <p>
- * No assumptions should be made on whether the javaScript element delta tree is rooted at the {@link IJavaScriptModel}
- * level or not.
- * </p>
- * <p>
- * {@link IJavaScriptElementDelta} object are not valid outside the dynamic scope
- * of the notification.
- * </p>
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IJavaScriptElementDelta {
-
- /**
- * Status constant indicating that the element has been added.
- * Note that an added javaScript element delta has no children, as they are all implicitely added.
- */
- public int ADDED = 1;
-
- /**
- * Status constant indicating that the element has been removed.
- * Note that a removed javaScript element delta has no children, as they are all implicitely removed.
- */
- public int REMOVED = 2;
-
- /**
- * Status constant indicating that the element has been changed,
- * as described by the change flags.
- *
- * @see #getFlags()
- */
- public int CHANGED = 4;
-
- /**
- * Change flag indicating that the content of the element has changed.
- * This flag is only valid for elements which correspond to files.
- */
- public int F_CONTENT = 0x000001;
-
- /**
- * Change flag indicating that the modifiers of the element have changed.
- * This flag is only valid if the element is an {@link IMember}.
- */
- public int F_MODIFIERS = 0x000002;
-
- /**
- * Change flag indicating that there are changes to the children of the element.
- * This flag is only valid if the element is an {@link IParent}.
- */
- public int F_CHILDREN = 0x000008;
-
- /**
- * Change flag indicating that the element was moved from another location.
- * The location of the old element can be retrieved using {@link #getMovedFromElement}.
- */
- public int F_MOVED_FROM = 0x000010;
-
- /**
- * Change flag indicating that the element was moved to another location.
- * The location of the new element can be retrieved using {@link #getMovedToElement}.
- */
- public int F_MOVED_TO = 0x000020;
-
- /**
- * Change flag indicating that a includepath entry corresponding to the element has been added to the project's includepath.
- * This flag is only valid if the element is an {@link IPackageFragmentRoot}.
- */
- public int F_ADDED_TO_CLASSPATH = 0x000040;
-
- /**
- * Change flag indicating that a includepath entry corresponding to the element has been removed from the project's
- * includepath. This flag is only valid if the element is an {@link IPackageFragmentRoot}.
- */
- public int F_REMOVED_FROM_CLASSPATH = 0x000080;
-
- /**
- * Change flag indicating that the element has changed position relatively to its siblings.
- * If the element is an {@link IPackageFragmentRoot}, a includepath entry corresponding
- * to the element has changed position in the project's includepath.
- *
- */
- public int F_REORDER = 0x000100;
-
- /**
- * Change flag indicating that the underlying {@link org.eclipse.core.resources.IProject} has been
- * opened. This flag is only valid if the element is an {@link IJavaScriptProject}.
- */
- public int F_OPENED = 0x000200;
-
- /**
- * Change flag indicating that the underlying {@link org.eclipse.core.resources.IProject} has been
- * closed. This flag is only valid if the element is an {@link IJavaScriptProject}.
- */
- public int F_CLOSED = 0x000400;
-
- /**
- * Change flag indicating that one of the supertypes of an {@link IType}
- * has changed.
- */
- public int F_SUPER_TYPES = 0x000800;
-
- /**
- * Change flag indicating that the source attachment path or the source attachment root path of a includepath entry
- * corresponding to the element was added. This flag is only valid if the element is an
- * {@link IPackageFragmentRoot}.
- */
- public int F_SOURCEATTACHED = 0x001000;
-
- /**
- * Change flag indicating that the source attachment path or the source attachment root path of a includepath entry
- * corresponding to the element was removed. This flag is only valid if the element is an
- * {@link IPackageFragmentRoot}.
- */
- public int F_SOURCEDETACHED = 0x002000;
-
- /**
- * Change flag indicating that this is a fine-grained delta, that is, an analysis down
- * to the members level was done to determine if there were structural changes to
- * members.
- * <p>
- * Clients can use this flag to find out if a javaScript unit
- * that have a {@link #F_CONTENT} change should assume that there are
- * no finer grained changes ({@link #F_FINE_GRAINED} is set) or if
- * finer grained changes were not considered ({@link #F_FINE_GRAINED}
- * is not set).
- *
- */
- public int F_FINE_GRAINED = 0x004000;
-
- /**
- * Change flag indicating that the element's archive content on the includepath has changed.
- * This flag is only valid if the element is an {@link IPackageFragmentRoot}
- * which is an archive.
- *
- * @see IPackageFragmentRoot#isArchive()
- */
- public int F_ARCHIVE_CONTENT_CHANGED = 0x008000;
-
- /**
- * Change flag indicating that a javaScript unit has become a primary working copy, or that a
- * primary working copy has reverted to a javaScript unit.
- * This flag is only valid if the element is an {@link IJavaScriptUnit}.
- *
- */
- public int F_PRIMARY_WORKING_COPY = 0x010000;
-
- /**
- * Change flag indicating that the raw includepath (or the output folder) of a project has changed.
- * This flag is only valid if the element is an {@link IJavaScriptProject}.
- *
- */
- public int F_INCLUDEPATH_CHANGED = 0x020000;
-
- /**
- * Change flag indicating that the resource of a primary javaScript unit has changed.
- * This flag is only valid if the element is a primary {@link IJavaScriptUnit}.
- *
- */
- public int F_PRIMARY_RESOURCE = 0x040000;
-
- /**
- * Change flag indicating that a reconcile operation has affected the javaScript unit AST created in a
- * previous reconcile operation. Use {@link #getJavaScriptUnitAST()} to retrieve the AST (if any is available).
- * This flag is only valid if the element is an {@link IJavaScriptUnit} in working copy mode.
- *
- */
- public int F_AST_AFFECTED = 0x080000;
-
- /**
- * Change flag indicating that the categories of the element have changed.
- * This flag is only valid if the element is an {@link IMember}.
- *
- */
- public int F_CATEGORIES = 0x100000;
-
- /**
- * Returns deltas for the children that have been added.
- * @return deltas for the children that have been added
- */
- public IJavaScriptElementDelta[] getAddedChildren();
-
- /**
- * Returns deltas for the affected (added, removed, or changed) children.
- * @return deltas for the affected (added, removed, or changed) children
- */
- public IJavaScriptElementDelta[] getAffectedChildren();
-
- /**
- * Returns the javaScript unit AST created by the last reconcile operation on this delta's element.
- * This returns a non-null value if and only if:
- * <ul>
- * <li>the last reconcile operation on this working copy requested an AST</li>
- * <li>this delta's element is an {@link IJavaScriptUnit} in working copy mode</li>
- * <li>the delta comes from a {@link ElementChangedEvent#POST_RECONCILE} event
- * </ul>
- *
- * @return the AST created during the last reconcile operation
- * @see IJavaScriptUnit#reconcile(int, boolean, WorkingCopyOwner, org.eclipse.core.runtime.IProgressMonitor)
- * @see #F_AST_AFFECTED
- */
- public JavaScriptUnit getJavaScriptUnitAST();
-
- /**
- * Returns deltas for the children which have changed.
- * @return deltas for the children which have changed
- */
- public IJavaScriptElementDelta[] getChangedChildren();
-
- /**
- * Returns the element that this delta describes a change to.
- * @return the element that this delta describes a change to
- */
- public IJavaScriptElement getElement();
-
- /**
- * Returns flags that describe how an element has changed.
- * Such flags should be tested using the <code>&</code> operand. For example:
- * <pre>
- * if ((delta.getFlags() & IJavaScriptElementDelta.F_CONTENT) != 0) {
- * // the delta indicates a content change
- * }
- * </pre>
- *
- * @return flags that describe how an element has changed
- */
- public int getFlags();
-
- /**
- * Returns the kind of this delta - one of {@link #ADDED}, {@link #REMOVED},
- * or {@link #CHANGED}.
- *
- * @return the kind of this delta
- */
- public int getKind();
-
- /**
- * Returns an element describing this element before it was moved
- * to its current location, or <code>null</code> if the
- * {@link #F_MOVED_FROM} change flag is not set.
- *
- * @return an element describing this element before it was moved
- * to its current location, or <code>null</code> if the
- * {@link #F_MOVED_FROM} change flag is not set
- */
- public IJavaScriptElement getMovedFromElement();
-
- /**
- * Returns an element describing this element in its new location,
- * or <code>null</code> if the {@link #F_MOVED_TO} change
- * flag is not set.
- *
- * @return an element describing this element in its new location,
- * or <code>null</code> if the {@link #F_MOVED_TO} change
- * flag is not set
- */
- public IJavaScriptElement getMovedToElement();
-
- /**
- * Returns deltas for the children which have been removed.
- *
- * @return deltas for the children which have been removed
- */
- public IJavaScriptElementDelta[] getRemovedChildren();
-
- /**
- * Returns the collection of resource deltas.
- * <p>
- * Note that resource deltas, like JavaScript element deltas, are generally only valid
- * for the dynamic scope of an event notification. Clients must not hang on to
- * these objects.
- * </p>
- *
- * @return the underlying resource deltas, or <code>null</code> if none
- */
- public IResourceDelta[] getResourceDeltas();
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptModel.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptModel.java
deleted file mode 100644
index 0b75e737..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptModel.java
+++ /dev/null
@@ -1,260 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IWorkspace;
-import org.eclipse.core.runtime.IProgressMonitor;
-
-/**
- * Represent the root JavaScript element corresponding to the workspace.
- * Since there is only one such root element, it is commonly referred to as
- * <em>the</em> JavaScript model element.
- * The JavaScript model element needs to be opened before it can be navigated or manipulated.
- * The JavaScript model element has no parent (it is the root of the JavaScript element
- * hierarchy). Its children are <code>IJavaScriptProject</code>s.
- * <p>
- * This interface provides methods for performing copy, move, rename, and
- * delete operations on multiple JavaScript elements.
- * </p>
- * <p>
- * This interface is not intended to be implemented by clients. An instance
- * of one of these handles can be created via
- * <code>JavaScriptCore.create(workspace.getRoot())</code>.
- * </p>
- *
- * @see JavaScriptCore#create(org.eclipse.core.resources.IWorkspaceRoot)
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IJavaScriptModel extends IJavaScriptElement, IOpenable, IParent {
-/**
- * Returns whether this JavaScript model contains an <code>IJavaScriptElement</code> whose
- * resource is the given resource or a non-JavaScript resource which is the given resource.
- * <p>
- * Note: no existency check is performed on the argument resource. If it is not accessible
- * (see <code>IResource.isAccessible()</code>) yet but would be located in JavaScript model
- * range, then it will return <code>true</code>.
- * </p><p>
- * If the resource is accessible, it can be reached by navigating the JavaScript model down using the
- * <code>getChildren()</code> and/or <code>getNonJavaResources()</code> methods.
- * </p>
- * @param resource the resource to check
- * @return true if the resource is accessible through the JavaScript model
- */
-boolean contains(IResource resource);
-/**
- * Copies the given elements to the specified container(s).
- * If one container is specified, all elements are copied to that
- * container. If more than one container is specified, the number of
- * elements and containers must match, and each element is copied to
- * its associated container.
- * <p>
- * Optionally, each copy can positioned before a sibling
- * element. If <code>null</code> is specified for a given sibling, the copy
- * is inserted as the last child of its associated container.
- * </p>
- * <p>
- * Optionally, each copy can be renamed. If
- * <code>null</code> is specified for the new name, the copy
- * is not renamed.
- * </p>
- * <p>
- * Optionally, any existing child in the destination container with
- * the same name can be replaced by specifying <code>true</code> for
- * force. Otherwise an exception is thrown in the event that a name
- * collision occurs.
- * </p>
- *
- * @param elements the elements to copy
- * @param containers the container, or list of containers
- * @param siblings the list of siblings element any of which may be
- * <code>null</code>; or <code>null</code>
- * @param renamings the list of new names any of which may be
- * <code>null</code>; or <code>null</code>
- * @param replace <code>true</code> if any existing child in a target container
- * with the target name should be replaced, and <code>false</code> to throw an
- * exception in the event of a name collision
- * @param monitor a progress monitor
- * @exception JavaScriptModelException if an element could not be copied. Reasons include:
- * <ul>
- * <li> There is no element to process (NO_ELEMENTS_TO_PROCESS). The given elements is null or empty</li>
- * <li> A specified element, container, or sibling does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A <code>CoreException</code> occurred while updating an underlying resource</li>
- * <li> A container is of an incompatible type (<code>INVALID_DESTINATION</code>)</li>
- * <li> A sibling is not a child of it associated container (<code>INVALID_SIBLING</code>)</li>
- * <li> A new name is invalid (<code>INVALID_NAME</code>)</li>
- * <li> A child in its associated container already exists with the same
- * name and <code>replace</code> has been specified as <code>false</code> (<code>NAME_COLLISION</code>)</li>
- * <li> A container or element is read-only (<code>READ_ONLY</code>) </li>
- * </ul>
- */
-void copy(IJavaScriptElement[] elements, IJavaScriptElement[] containers, IJavaScriptElement[] siblings, String[] renamings, boolean replace, IProgressMonitor monitor) throws JavaScriptModelException;
-/**
- * Deletes the given elements, forcing the operation if necessary and specified.
- *
- * @param elements the elements to delete
- * @param force a flag controlling whether underlying resources that are not
- * in sync with the local file system will be tolerated
- * @param monitor a progress monitor
- * @exception JavaScriptModelException if an element could not be deleted. Reasons include:
- * <ul>
- * <li> There is no element to process (NO_ELEMENTS_TO_PROCESS). The given elements is null or empty</li>
- * <li> A specified element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A <code>CoreException</code> occurred while updating an underlying resource</li>
- * <li> An element is read-only (<code>READ_ONLY</code>) </li>
- * </ul>
- */
-void delete(IJavaScriptElement[] elements, boolean force, IProgressMonitor monitor) throws JavaScriptModelException;
-/**
- * Returns the JavaScript project with the given name. This is a handle-only method.
- * The project may or may not exist.
- *
- * @param name the name of the JavaScript project
- * @return the JavaScript project with the given name
- */
-IJavaScriptProject getJavaScriptProject(String name);
-/**
- * Returns the JavaScript projects in this JavaScript model, or an empty array if there
- * are none.
- *
- * @return the JavaScript projects in this JavaScript model, or an empty array if there
- * are none
- * @exception JavaScriptModelException if this request fails.
- */
-IJavaScriptProject[] getJavaScriptProjects() throws JavaScriptModelException;
-/**
- * Returns an array of non-JavaScript resources (that is, non-JavaScript projects) in
- * the workspace.
- * <p>
- * Non-JavaScript projects include all projects that are closed (even if they have the
- * JavaScript nature).
- * </p>
- *
- * @return an array of non-JavaScript projects (<code>IProject</code>s) contained
- * in the workspace.
- * @throws JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- */
-Object[] getNonJavaScriptResources() throws JavaScriptModelException;
-/**
- * Returns the workspace associated with this JavaScript model.
- *
- * @return the workspace associated with this JavaScript model
- */
-IWorkspace getWorkspace();
-/**
- * Moves the given elements to the specified container(s).
- * If one container is specified, all elements are moved to that
- * container. If more than one container is specified, the number of
- * elements and containers must match, and each element is moved to
- * its associated container.
- * <p>
- * Optionally, each element can positioned before a sibling
- * element. If <code>null</code> is specified for sibling, the element
- * is inserted as the last child of its associated container.
- * </p>
- * <p>
- * Optionally, each element can be renamed. If
- * <code>null</code> is specified for the new name, the element
- * is not renamed.
- * </p>
- * <p>
- * Optionally, any existing child in the destination container with
- * the same name can be replaced by specifying <code>true</code> for
- * force. Otherwise an exception is thrown in the event that a name
- * collision occurs.
- * </p>
- *
- * @param elements the elements to move
- * @param containers the container, or list of containers
- * @param siblings the list of siblings element any of which may be
- * <code>null</code>; or <code>null</code>
- * @param renamings the list of new names any of which may be
- * <code>null</code>; or <code>null</code>
- * @param replace <code>true</code> if any existing child in a target container
- * with the target name should be replaced, and <code>false</code> to throw an
- * exception in the event of a name collision
- * @param monitor a progress monitor
- * @exception JavaScriptModelException if an element could not be moved. Reasons include:
- * <ul>
- * <li> There is no element to process (NO_ELEMENTS_TO_PROCESS). The given elements is null or empty</li>
- * <li> A specified element, container, or sibling does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A <code>CoreException</code> occurred while updating an underlying resource</li>
- * <li> A container is of an incompatible type (<code>INVALID_DESTINATION</code>)</li>
- * <li> A sibling is not a child of it associated container (<code>INVALID_SIBLING</code>)</li>
- * <li> A new name is invalid (<code>INVALID_NAME</code>)</li>
- * <li> A child in its associated container already exists with the same
- * name and <code>replace</code> has been specified as <code>false</code> (<code>NAME_COLLISION</code>)</li>
- * <li> A container or element is read-only (<code>READ_ONLY</code>) </li>
- * </ul>
- *
- * @exception IllegalArgumentException any element or container is <code>null</code>
- */
-void move(IJavaScriptElement[] elements, IJavaScriptElement[] containers, IJavaScriptElement[] siblings, String[] renamings, boolean replace, IProgressMonitor monitor) throws JavaScriptModelException;
-
-/**
- * Triggers an update of the JavaScriptModel with respect to the referenced external archives.
- * This operation will issue a JavaScriptModel delta describing the discovered changes, in term
- * of JavaScript element package fragment roots added, removed or changed.
- * Note that a collection of elements can be passed so as to narrow the set of archives
- * to refresh (passing <code>null</code> along is equivalent to refreshing the entire mode).
- * The elements can be:
- * <ul>
- * <li> package fragment roots corresponding to external archives
- * <li> JavaScript projects, which referenced external archives will be refreshed
- * <li> JavaScript model, all referenced external archives will be refreshed.
- * </ul>
- * <p> In case an archive is used by multiple projects, the delta issued will account for
- * all of them. This means that even if a project was not part of the elements scope, it
- * may still be notified of changes if it is referencing a library comprised in the scope.
- * <p>
- * @param elementsScope - a collection of elements defining the scope of the refresh
- * @param monitor - a progress monitor used to report progress
- * @exception JavaScriptModelException in one of the corresponding situation:
- * <ul>
- * <li> an exception occurs while accessing project resources </li>
- * </ul>
- *
- * @see IJavaScriptElementDelta
- */
-void refreshExternalArchives(IJavaScriptElement[] elementsScope, IProgressMonitor monitor) throws JavaScriptModelException;
-
-/**
- * Renames the given elements as specified.
- * If one container is specified, all elements are renamed within that
- * container. If more than one container is specified, the number of
- * elements and containers must match, and each element is renamed within
- * its associated container.
- *
- * @param elements the elements to rename
- * @param destinations the container, or list of containers
- * @param names the list of new names
- * @param replace <code>true</code> if an existing child in a target container
- * with the target name should be replaced, and <code>false</code> to throw an
- * exception in the event of a name collision
- * @param monitor a progress monitor
- * @exception JavaScriptModelException if an element could not be renamed. Reasons include:
- * <ul>
- * <li> There is no element to process (NO_ELEMENTS_TO_PROCESS). The given elements is null or empty</li>
- * <li> A specified element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A <code>CoreException</code> occurred while updating an underlying resource
- * <li> A new name is invalid (<code>INVALID_NAME</code>)
- * <li> A child already exists with the same name and <code>replace</code> has been specified as <code>false</code> (<code>NAME_COLLISION</code>)
- * <li> An element is read-only (<code>READ_ONLY</code>)
- * </ul>
- */
-void rename(IJavaScriptElement[] elements, IJavaScriptElement[] destinations, String[] names, boolean replace, IProgressMonitor monitor) throws JavaScriptModelException;
-
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptModelMarker.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptModelMarker.java
deleted file mode 100644
index 7089373c..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptModelMarker.java
+++ /dev/null
@@ -1,111 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-/**
- * Markers used by the JavaScript model.
- * <p>
- * This interface declares constants only; it is not intended to be implemented
- * or extended.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IJavaScriptModelMarker {
-
- /**
- * JavaScript model problem marker type (value
- * <code>"org.eclipse.wst.jsdt.core.problem"</code>). This can be used to
- * recognize those markers in the workspace that flag problems detected by
- * the JavaScript tooling during validation.
- */
- String JAVASCRIPT_MODEL_PROBLEM_MARKER = JavaScriptCore.PLUGIN_ID + ".problem"; //$NON-NLS-1$
-
- /**
- * JavaScript model transient problem marker type (value
- * <code>"org.eclipse.wst.jsdt.core.transient_problem"</code>). This can be
- * used to recognize those markers in the workspace that flag transient
- * problems detected by the JavaScript tooling (such as a problem detected by the
- * outliner, or a problem detected during a code completion). Since 1.0,
- * transient problems are reported as <code>IProblem</code> through
- * various API. Only the evaluation API is still producing markers for
- * transient problems.
- *
- * @see org.eclipse.wst.jsdt.core.compiler.IProblem
- * @see org.eclipse.wst.jsdt.core.eval.ICodeSnippetRequestor#acceptProblem(org.eclipse.core.resources.IMarker,String,
- * int)
- */
- String TRANSIENT_PROBLEM = JavaScriptCore.PLUGIN_ID + ".transient_problem"; //$NON-NLS-1$
-
- /**
- * JavaScript model task marker type (value
- * <code>"org.eclipse.wst.jsdt.core.task"</code>). This can be used to
- * recognize task markers in the workspace that correspond to tasks
- * specified in JavaScript source comments and detected during compilation (for
- * example, 'TO-DO: ...'). Tasks are identified by a task tag, which can be
- * customized through <code>JavaScriptCore</code> option
- * <code>"org.eclipse.wst.jsdt.core.compiler.taskTag"</code>.
- *
- */
- String TASK_MARKER = JavaScriptCore.PLUGIN_ID + ".task"; //$NON-NLS-1$
-
- /**
- * Id marker attribute (value <code>"arguments"</code>). Arguments are
- * concatenated into one String, prefixed with an argument count (followed
- * with colon separator) and separated with '#' characters. For example: {
- * "foo", "bar" } is encoded as "2:foo#bar", { } is encoded as "0: "
- *
- */
- String ARGUMENTS = "arguments"; //$NON-NLS-1$
-
- /**
- * ID marker attribute (value <code>"id"</code>).
- */
- String ID = "id"; //$NON-NLS-1$
-
- /**
- * ID category marker attribute (value <code>"categoryId"</code>)
- */
- String CATEGORY_ID = "categoryId"; //$NON-NLS-1$
-
- /**
- * Flags marker attribute (value <code>"flags"</code>). Reserved for
- * future use.
- */
- String FLAGS = "flags"; //$NON-NLS-1$
-
- /**
- * Cycle detected marker attribute (value <code>"cycleDetected"</code>).
- * Used only on buildpath problem markers. The value of this attribute is
- * either "true" or "false".
- */
- String CYCLE_DETECTED = "cycleDetected"; //$NON-NLS-1$
-
- /**
- * Include path problem marker type (value
- * <code>"org.eclipse.wst.jsdt.core.buildpath_problem"</code>). This can be
- * used to recognize those markers in the workspace that flag problems
- * detected by the JavaScript tooling during includepath setting.
- */
- String BUILDPATH_PROBLEM_MARKER = JavaScriptCore.PLUGIN_ID
- + ".buildpath_problem"; //$NON-NLS-1$
-
- /**
- * IncludePath file format marker attribute (value
- * <code>"classpathFileFormat"</code>). Used only on includepath problem
- * markers. The value of this attribute is either "true" or "false".
- *
- */
- String INCLUDEPATH_FILE_FORMAT = "classpathFileFormat"; //$NON-NLS-1$
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptModelStatus.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptModelStatus.java
deleted file mode 100644
index 49d7e7ca..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptModelStatus.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
-
-/**
- * Represents the outcome of an JavaScript model operation. Status objects are
- * used inside <code>JavaScriptModelException</code> objects to indicate what went
- * wrong.
- * <p>
- * JavaScript model status object are distinguished by their plug-in id:
- * <code>getPlugin</code> returns <code>"org.eclipse.wst.jsdt.core"</code>.
- * <code>getCode</code> returns one of the status codes declared in
- * <code>IJavaScriptModelStatusConstants</code>.
- * </p>
- * <p>
- * A JavaScript model status may also carry additional information (that is, in
- * addition to the information defined in <code>IStatus</code>):
- * <ul>
- * <li>elements - optional handles to JavaScript elements associated with the failure</li>
- * <li>string - optional string associated with the failure</li>
- * </ul>
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * @see org.eclipse.core.runtime.IStatus
- * @see IJavaScriptModelStatusConstants
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IJavaScriptModelStatus extends IStatus {
-/**
- * Returns any JavaScript elements associated with the failure (see specification
- * of the status code), or an empty array if no elements are related to this
- * particular status code.
- *
- * @return the list of JavaScript element culprits
- * @see IJavaScriptModelStatusConstants
- */
-IJavaScriptElement[] getElements();
-/**
- * Returns the path associated with the failure (see specification
- * of the status code), or <code>null</code> if the failure is not
- * one of <code>DEVICE_PATH</code>, <code>INVALID_PATH</code>,
- * <code>PATH_OUTSIDE_PROJECT</code>, or <code>RELATIVE_PATH</code>.
- *
- * @return the path that caused the failure, or <code>null</code> if none
- * @see IJavaScriptModelStatusConstants#DEVICE_PATH
- * @see IJavaScriptModelStatusConstants#INVALID_PATH
- * @see IJavaScriptModelStatusConstants#PATH_OUTSIDE_PROJECT
- * @see IJavaScriptModelStatusConstants#RELATIVE_PATH
- */
-IPath getPath();
-/**
- * Returns whether this status indicates that a JavaScript model element does not exist.
- * This convenience method is equivalent to
- * <code>getCode() == IJavaScriptModelStatusConstants.ELEMENT_DOES_NOT_EXIST</code>.
- *
- * @return <code>true</code> if the status code indicates that a JavaScript model
- * element does not exist
- * @see IJavaScriptModelStatusConstants#ELEMENT_DOES_NOT_EXIST
- */
-boolean isDoesNotExist();
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptModelStatusConstants.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptModelStatusConstants.java
deleted file mode 100644
index 39e76ac8..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptModelStatusConstants.java
+++ /dev/null
@@ -1,319 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *
- * TODO missing 2.1 and subsequent contributions
- * VALIDATION_FAILURE
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-/**
- * Status codes used with JavaScript model status objects.
- * <p>
- * This interface declares constants only; it is not intended to be implemented
- * or extended.
- * </p>
- *
- * @see IJavaScriptModelStatus
- * @see org.eclipse.core.runtime.IStatus#getCode()
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IJavaScriptModelStatusConstants {
-
- /**
- * Status constant indicating that a container path was resolved
- * to invalid entries (null or container).
- */
- public static final int INVALID_CP_CONTAINER_ENTRY = 962;
-
- /**
- * Status constant indicating that a container path was not resolvable
- * indicating either the referred container is undefined, unbound.
- */
- public static final int CP_CONTAINER_PATH_UNBOUND = 963;
-
- /**
- * Status constant indicating that a includepath entry was invalid
- */
- public static final int INVALID_INCLUDEPATH = 964;
-
- /**
- * Status constant indicating that a variable path was not resolvable
- * indicating either the referred variable is undefined, unbound or the resolved
- * variable path does not correspond to an existing file or folder.
- */
- public static final int CP_VARIABLE_PATH_UNBOUND = 965;
-
- /**
- * Status constant indicating a core exception occurred.
- * Use <code>getException</code> to retrieve a <code>CoreException</code>.
- */
- public static final int CORE_EXCEPTION = 966;
-
- /**
- * Status constant indicating one or more of the elements
- * supplied are not of a valid type for the operation to
- * process.
- * The element(s) can be retrieved using <code>getElements</code> on the status object.
- */
- public static final int INVALID_ELEMENT_TYPES = 967;
-
- /**
- * Status constant indicating that no elements were
- * provided to the operation for processing.
- */
- public static final int NO_ELEMENTS_TO_PROCESS = 968;
-
- /**
- * Status constant indicating that one or more elements
- * supplied do not exist.
- * The element(s) can be retrieved using <code>getElements</code> on the status object.
- *
- * @see IJavaScriptModelStatus#isDoesNotExist()
- */
- public static final int ELEMENT_DOES_NOT_EXIST = 969;
-
- /**
- * Status constant indicating that a <code>null</code> path was
- * supplied to the operation.
- */
- public static final int NULL_PATH = 970;
-
- /**
- * Status constant indicating that a path outside of the
- * project was supplied to the operation. The path can be retrieved using
- * <code>getPath</code> on the status object.
- */
- public static final int PATH_OUTSIDE_PROJECT = 971;
-
- /**
- * Status constant indicating that a relative path
- * was supplied to the operation when an absolute path is
- * required. The path can be retrieved using <code>getPath</code> on the
- * status object.
- */
- public static final int RELATIVE_PATH = 972;
-
- /**
- * Status constant indicating that a path specifying a device
- * was supplied to the operation when a path with no device is
- * required. The path can be retrieved using <code>getPath</code> on the
- * status object.
- */
- public static final int DEVICE_PATH = 973;
-
- /**
- * Status constant indicating that a string
- * was supplied to the operation that was <code>null</code>.
- */
- public static final int NULL_STRING = 974;
-
- /**
- * Status constant indicating that the operation encountered
- * a read-only element.
- * The element(s) can be retrieved using <code>getElements</code> on the status object.
- */
- public static final int READ_ONLY = 976;
-
- /**
- * Status constant indicating that a naming collision would occur
- * if the operation proceeded.
- */
- public static final int NAME_COLLISION = 977;
-
- /**
- * Status constant indicating that a destination provided for a copy/move/rename operation
- * is invalid.
- * The destination element can be retrieved using <code>getElements</code> on the status object.
- */
- public static final int INVALID_DESTINATION = 978;
-
- /**
- * Status constant indicating that a path provided to an operation
- * is invalid. The path can be retrieved using <code>getPath</code> on the
- * status object.
- */
- public static final int INVALID_PATH = 979;
-
- /**
- * Status constant indicating the given source position is out of bounds.
- */
- public static final int INDEX_OUT_OF_BOUNDS = 980;
-
- /**
- * Status constant indicating there is an update conflict
- * for a working copy. The compilation unit on which the
- * working copy is based has changed since the working copy
- * was created.
- */
- public static final int UPDATE_CONFLICT = 981;
-
- /**
- * Status constant indicating that <code>null</code> was specified
- * as a name argument.
- */
- public static final int NULL_NAME = 982;
-
- /**
- * Status constant indicating that a name provided is not syntactically correct.
- * The name can be retrieved from <code>getString</code>.
- */
- public static final int INVALID_NAME = 983;
-
- /**
- * Status constant indicating that the specified contents
- * are not valid.
- */
- public static final int INVALID_CONTENTS = 984;
-
- /**
- * Status constant indicating that an <code>java.io.IOException</code>
- * occurred.
- */
- public static final int IO_EXCEPTION = 985;
-
- /**
- * Status constant indicating that a <code>DOMException</code>
- * occurred.
- */
- public static final int DOM_EXCEPTION = 986;
-
- /**
- * Status constant indicating that a <code>TargetException</code>
- * occurred.
- */
- public static final int TARGET_EXCEPTION = 987;
-
- /**
- * Status constant indicating that the JavaScript validator
- * could not be initialized.
- */
- public static final int BUILDER_INITIALIZATION_ERROR = 990;
-
- /**
- * Status constant indicating that the JavaScript validator's last built state
- * could not be serialized or deserialized.
- */
- public static final int BUILDER_SERIALIZATION_ERROR = 991;
-
- /**
- * Status constant indicating that an error was encountered while
- * trying to evaluate a code snippet, or other item.
- */
- public static final int EVALUATION_ERROR = 992;
-
- /**
- * Status constant indicating that a sibling specified is not valid.
- */
- public static final int INVALID_SIBLING = 993;
-
- /**
- * Status indicating that a JavaScript element could not be created because
- * the underlying resource is invalid.
- * @see JavaScriptCore
- */
- public static final int INVALID_RESOURCE = 995;
-
- /**
- * Status indicating that a JavaScript element could not be created because
- * the underlying resource is not of an appropriate type.
- * @see JavaScriptCore
- */
- public static final int INVALID_RESOURCE_TYPE = 996;
-
- /**
- * Status indicating that a JavaScript element could not be created because
- * the project owning underlying resource does not have the JavaScript nature.
- * @see JavaScriptCore
- */
- public static final int INVALID_PROJECT = 997;
-
- /**
- * Status indicating that the package declaration in a <code>IJavaScriptUnit</code>
- * does not correspond to the <code>IPackageFragment</code> it belongs to.
- * The <code>getString</code> method of the associated status object
- * gives the name of the package in which the <code>IJavaScriptUnit</code> is
- * declared.
- */
- public static final int INVALID_PACKAGE = 998;
-
- /**
- * Status indicating that the corresponding resource has no local contents yet.
- * This might happen when attempting to use a resource before its contents
- * has been made locally available.
- */
- public static final int NO_LOCAL_CONTENTS = 999;
-
- /**
- * Status indicating that a .jsdtScope file is ill-formed, and thus cannot
- * be read/written successfully.
- */
- public static final int INVALID_INCLUDEPATH_FILE_FORMAT = 1000;
-
- /**
- * Status indicating that a project is involved in a build path cycle.
- */
- public static final int INCLUDEPATH_CYCLE = 1001;
-
- /**
- * Status constant indicating that an inclusion or an exclusion pattern got specified
- * on a includepath source entry, though it was explicitely disabled
- * according to its project preference settings.
- * @see org.eclipse.wst.jsdt.core.IJavaScriptProject#getOptions(boolean)
- */
- public static final int DISABLED_CP_EXCLUSION_PATTERNS = 1002;
-
- /**
- * Status constant indicating that a specific output location got associated
- * with a source entry, though it was explicitely disabled according to its project
- * preference settings.
- * @see org.eclipse.wst.jsdt.core.IJavaScriptProject#getOptions(boolean)
- */
- public static final int DISABLED_CP_MULTIPLE_OUTPUT_LOCATIONS = 1003;
-
- /*
- * Status constant indicating that a project is prerequisiting some library for which the
- * classfile JDK version level is more recent than the project JDK target level setting.
- * This can indicate some binary incompatibility issues later on.
- */
- public static final int INCOMPATIBLE_JDK_LEVEL = 1004;
-
- /**
- * Status constant indicating that a validation failure occurred.
- */
- public static final int VALIDATION_FAILURE = 1005;
- /**
- * Status constant indicating that an element is not on its project's includepath.
- */
- public static final int ELEMENT_NOT_ON_CLASSPATH = 1006;
- /*
- * Status constant indicating that a compiler option is invalid.
- */
-// public static final int INVALID_COMPILER_OPTION = 1007;
- /**
- * <p>Status constant indicating that the attached jsdoc content cannot be retrieved due to multiple reasons:
- * invalid url, timed-out,...</p>
- *
- */
- public static final int CANNOT_RETRIEVE_ATTACHED_JSDOC = 1008;
- /**
- * <p>Status constant indicating that the attached jsdoc content format is unrecognized.</p>
- *
- */
- public static final int UNKNOWN_JSDOC_FORMAT = 1009;
- /**
- * <p>Status constant indicating that the variable is deprecated.</p>
- *
- */
- public static final int DEPRECATED_VARIABLE = 1010;
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptProject.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptProject.java
deleted file mode 100644
index 98a1b67e..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptProject.java
+++ /dev/null
@@ -1,979 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- * IBM Corporation - added getOption(String, boolean), getOptions(boolean) and setOptions(Map)
- * IBM Corporation - deprecated getPackageFragmentRoots(IIncludePathEntry) and
- * added findPackageFragmentRoots(IIncludePathEntry)
- * IBM Corporation - added isOnClasspath(IResource)
- * IBM Corporation - added setOption(String, String)
- * IBM Corporation - added forceClasspathReload(IProgressMonitor)
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import java.util.Map;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.wst.jsdt.core.eval.IEvaluationContext;
-
-/**
- * A JavaScript project represents a view of a project resource in terms of JavaScript
- * elements such as package fragments, types, methods and fields.
- * A project may contain several source folders (package roots), which contain source folders (package fragments).
- * A package root corresponds to an underlying folder.
- * <p>
- * Each JavaScript project has a includepath, defining which folders contain source code and
- * where required libraries are located. A project that
- * references packages in another project can access the packages by including
- * the required project in a includepath entry. The JavaScript model will present the
- * source elements in the required project. The includepath format is a sequence of includepath entries
- * describing the location and contents of package fragment roots.
- * </p>
- * JavaScript project elements need to be opened before they can be navigated or manipulated.
- * The children of a JavaScript project are the package fragment roots that are
- * defined by the includepath and contained in this project (in other words, it
- * does not include package fragment roots for other projects).
- * </p>
- * <p>
- * This interface is not intended to be implemented by clients. An instance
- * of one of these handles can be created via
- * <code>JavaScriptCore.create(project)</code>.
- * </p>
- *
- * @see JavaScriptCore#create(org.eclipse.core.resources.IProject)
- * @see IIncludePathEntry
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IJavaScriptProject extends IParent, IJavaScriptElement, IOpenable {
-
- /* returns the projects scope file */
- IFile getJSDTScopeFile();
-
- /* returns the projects scope file */
- IFile getJSDTScopeFile(boolean forceCreate);
-
- /**
- * Decodes the includepath entry that has been encoded in the given string
- * in the context of this project.
- * Returns null if the encoded entry is malformed.
- *
- * @param encodedEntry the encoded includepath entry
- * @return the decoded includepath entry, or <code>null</code> if unable to decode it
- */
- IIncludePathEntry decodeIncludepathEntry(String encodedEntry);
-
- /**
- * Encodes the given includepath entry into a string in the context of this project.
- *
- * @param includepathEntry the includepath entry to encode
- * @return the encoded includepath entry
- */
- String encodeIncludepathEntry(IIncludePathEntry includepathEntry);
-
- /**
- * Returns the <code>IJavaScriptElement</code> corresponding to the given
- * includepath-relative path, or <code>null</code> if no such
- * <code>IJavaScriptElement</code> is found. The result is one of an
- * <code>IJavaScriptUnit</code>, <code>IClassFile</code>, or
- * <code>IPackageFragment</code>.
- * <p>
- * When looking for a package fragment, there might be several potential
- * matches; only one of them is returned.
- *
- * <p>For example, the path "java/lang/Object.js", would result in the
- * <code>IJavaScriptUnit</code> or <code>IClassFile</code> corresponding to
- * "java.lang.Object". The path "java/lang" would result in the
- * <code>IPackageFragment</code> for "java.lang".
- * @param path the given includepath-relative path
- * @exception JavaScriptModelException if the given path is <code>null</code>
- * or absolute
- * @return the <code>IJavaScriptElement</code> corresponding to the given
- * includepath-relative path, or <code>null</code> if no such
- * <code>IJavaScriptElement</code> is found
- */
- IJavaScriptElement findElement(IPath path) throws JavaScriptModelException;
-
- /**
- * Returns the <code>IJavaScriptElement</code> corresponding to the given
- * includepath-relative path, or <code>null</code> if no such
- * <code>IJavaScriptElement</code> is found. The result is one of an
- * <code>IJavaScriptUnit</code>, <code>IClassFile</code>, or
- * <code>IPackageFragment</code>. If it is an <code>IJavaScriptUnit</code>,
- * its owner is the given owner.
- * <p>
- * When looking for a package fragment, there might be several potential
- * matches; only one of them is returned.
- *
- * <p>For example, the path "java/lang/Object.js", would result in the
- * <code>IJavaScriptUnit</code> or <code>IClassFile</code> corresponding to
- * "java.lang.Object". The path "java/lang" would result in the
- * <code>IPackageFragment</code> for "java.lang".
- * @param path the given includepath-relative path
- * @param owner the owner of the returned javaScript unit, ignored if it is
- * not a javaScript unit.
- * @exception JavaScriptModelException if the given path is <code>null</code>
- * or absolute
- * @return the <code>IJavaScriptElement</code> corresponding to the given
- * includepath-relative path, or <code>null</code> if no such
- * <code>IJavaScriptElement</code> is found
- */
- IJavaScriptElement findElement(IPath path, WorkingCopyOwner owner) throws JavaScriptModelException;
-
- /**
- * Returns the first existing package fragment on this project's includepath
- * whose path matches the given (absolute) path, or <code>null</code> if none
- * exist.
- * The path can be:
- * - internal to the workbench: "/Project/src"
- * - external to the workbench: "c:/jdk/classes.zip/java/lang"
- * @param path the given absolute path
- * @exception JavaScriptModelException if this project does not exist or if an
- * exception occurs while accessing its corresponding resource
- * @return the first existing package fragment on this project's includepath
- * whose path matches the given (absolute) path, or <code>null</code> if none
- * exist
- */
- IPackageFragment findPackageFragment(IPath path) throws JavaScriptModelException;
-
- /**
- * Returns the existing package fragment root on this project's includepath
- * whose path matches the given (absolute) path, or <code>null</code> if
- * one does not exist.
- * The path can be:
- * - internal to the workbench: "/Compiler/src"
- * - external to the workbench: "c:/jdk/classes.zip"
- * @param path the given absolute path
- * @exception JavaScriptModelException if this project does not exist or if an
- * exception occurs while accessing its corresponding resource
- * @return the existing package fragment root on this project's includepath
- * whose path matches the given (absolute) path, or <code>null</code> if
- * one does not exist
- */
- IPackageFragmentRoot findPackageFragmentRoot(IPath path)
- throws JavaScriptModelException;
- /**
- * Returns the existing package fragment roots identified by the given entry.
- * Note that a includepath entry that refers to another project may
- * have more than one root (if that project has more than on root
- * containing source), and includepath entries within the current
- * project identify a single root.
- * <p>
- * If the includepath entry denotes a variable, it will be resolved and return
- * the roots of the target entry (empty if not resolvable).
- * <p>
- * If the includepath entry denotes a container, it will be resolved and return
- * the roots corresponding to the set of container entries (empty if not resolvable).
- *
- * @param entry the given entry
- * @return the existing package fragment roots identified by the given entry
- * @see IJsGlobalScopeContainer
- */
- IPackageFragmentRoot[] findPackageFragmentRoots(IIncludePathEntry entry);
- /**
- * Returns the first type found following this project's includepath
- * with the given fully qualified name or <code>null</code> if none is found.
- * The fully qualified name is a dot-separated name. For example,
- * a class B defined as a member type of a class A in package x.y should have a
- * the fully qualified name "x.y.A.B".
- *
- * Note that in order to be found, a type name (or its toplevel enclosing
- * type name) must match its corresponding javaScript unit name. As a
- * consequence, secondary types cannot be found using this functionality.
- * To find secondary types use {@link #findType(String, IProgressMonitor)} instead.
- *
- * @param fullyQualifiedName the given fully qualified name
- * @exception JavaScriptModelException if this project does not exist or if an
- * exception occurs while accessing its corresponding resource
- * @return the first type found following this project's includepath
- * with the given fully qualified name or <code>null</code> if none is found
- * @see IType#getFullyQualifiedName(char)
- */
- IType findType(String fullyQualifiedName) throws JavaScriptModelException;
- /**
- * Same functionality as {@link #findType(String)} but also look for secondary
- * types if given name does not match a javaScript unit name.
- *
- * @param fullyQualifiedName the given fully qualified name
- * @param progressMonitor the progress monitor to report progress to,
- * or <code>null</code> if no progress monitor is provided
- * @exception JavaScriptModelException if this project does not exist or if an
- * exception occurs while accessing its corresponding resource
- * @return the first type found following this project's includepath
- * with the given fully qualified name or <code>null</code> if none is found
- * @see IType#getFullyQualifiedName(char)
- */
- IType findType(String fullyQualifiedName, IProgressMonitor progressMonitor) throws JavaScriptModelException;
- /**
- * Returns the first type found following this project's includepath
- * with the given fully qualified name or <code>null</code> if none is found.
- * The fully qualified name is a dot-separated name. For example,
- * a class B defined as a member type of a class A in package x.y should have a
- * the fully qualified name "x.y.A.B".
- * If the returned type is part of a javaScript unit, its owner is the given
- * owner.
- *
- * Note that in order to be found, a type name (or its toplevel enclosing
- * type name) must match its corresponding javaScript unit name. As a
- * consequence, secondary types cannot be found using this functionality.
- * To find secondary types use {@link #findType(String, WorkingCopyOwner, IProgressMonitor)}
- * instead.
- *
- * @param fullyQualifiedName the given fully qualified name
- * @param owner the owner of the returned type's javaScript unit
- * @exception JavaScriptModelException if this project does not exist or if an
- * exception occurs while accessing its corresponding resource
- * @return the first type found following this project's includepath
- * with the given fully qualified name or <code>null</code> if none is found
- * @see IType#getFullyQualifiedName(char)
- */
- IType findType(String fullyQualifiedName, WorkingCopyOwner owner) throws JavaScriptModelException;
- /**
- * Same functionality as {@link #findType(String, WorkingCopyOwner)}
- * but also look for secondary types if given name does not match
- * a javaScript unit name.
- *
- * @param fullyQualifiedName the given fully qualified name
- * @param owner the owner of the returned type's javaScript unit
- * @param progressMonitor the progress monitor to report progress to,
- * or <code>null</code> if no progress monitor is provided
- * @exception JavaScriptModelException if this project does not exist or if an
- * exception occurs while accessing its corresponding resource
- * @return the first type found following this project's includepath
- * with the given fully qualified name or <code>null</code> if none is found
- * @see IType#getFullyQualifiedName(char)
- */
- IType findType(String fullyQualifiedName, WorkingCopyOwner owner, IProgressMonitor progressMonitor) throws JavaScriptModelException;
- /**
- * Returns the first type found following this project's includepath
- * with the given package name and type qualified name
- * or <code>null</code> if none is found.
- * The package name is a dot-separated name.
- * The type qualified name is also a dot-separated name. For example,
- * a class B defined as a member type of a class A should have the
- * type qualified name "A.B".
- *
- * Note that in order to be found, a type name (or its toplevel enclosing
- * type name) must match its corresponding javaScript unit name. As a
- * consequence, secondary types cannot be found using this functionality.
- * To find secondary types use {@link #findType(String, String, IProgressMonitor)}
- * instead.
- *
- * @param packageName the given package name
- * @param typeQualifiedName the given type qualified name
- * @exception JavaScriptModelException if this project does not exist or if an
- * exception occurs while accessing its corresponding resource
- * @return the first type found following this project's includepath
- * with the given package name and type qualified name
- * or <code>null</code> if none is found
- * @see IType#getTypeQualifiedName(char)
- */
- IType findType(String packageName, String typeQualifiedName) throws JavaScriptModelException;
- /**
- * Same functionality as {@link #findType(String, String)} but also look for
- * secondary types if given name does not match a javaScript unit name.
- *
- * @param packageName the given package name
- * @param typeQualifiedName the given type qualified name
- * @param progressMonitor the progress monitor to report progress to,
- * or <code>null</code> if no progress monitor is provided
- * @exception JavaScriptModelException if this project does not exist or if an
- * exception occurs while accessing its corresponding resource
- * @return the first type found following this project's includepath
- * with the given fully qualified name or <code>null</code> if none is found
- * @see IType#getFullyQualifiedName(char)
- */
- IType findType(String packageName, String typeQualifiedName, IProgressMonitor progressMonitor) throws JavaScriptModelException;
- /**
- * Returns the first type found following this project's includepath
- * with the given package name and type qualified name
- * or <code>null</code> if none is found.
- * The package name is a dot-separated name.
- * The type qualified name is also a dot-separated name. For example,
- * a class B defined as a member type of a class A should have the
- * type qualified name "A.B".
- * If the returned type is part of a javaScript unit, its owner is the given
- * owner.
- *
- * Note that in order to be found, a type name (or its toplevel enclosing
- * type name) must match its corresponding javaScript unit name. As a
- * consequence, secondary types cannot be found using this functionality.
- * To find secondary types use {@link #findType(String, String, WorkingCopyOwner, IProgressMonitor)}
- * instead.
- *
- * @param packageName the given package name
- * @param typeQualifiedName the given type qualified name
- * @param owner the owner of the returned type's javaScript unit
- * @exception JavaScriptModelException if this project does not exist or if an
- * exception occurs while accessing its corresponding resource
- * @return the first type found following this project's includepath
- * with the given package name and type qualified name
- * or <code>null</code> if none is found
- * @see IType#getTypeQualifiedName(char)
- */
- IType findType(String packageName, String typeQualifiedName, WorkingCopyOwner owner) throws JavaScriptModelException;
- /**
- * Same functionality as {@link #findType(String, String, WorkingCopyOwner)}
- * but also look for secondary types if given name does not match a javaScript unit name.
- *
- * @param packageName the given package name
- * @param typeQualifiedName the given type qualified name
- * @param owner the owner of the returned type's javaScript unit
- * @param progressMonitor the progress monitor to report progress to,
- * or <code>null</code> if no progress monitor is provided
- * @exception JavaScriptModelException if this project does not exist or if an
- * exception occurs while accessing its corresponding resource
- * @return the first type found following this project's includepath
- * with the given fully qualified name or <code>null</code> if none is found
- * @see IType#getFullyQualifiedName(char)
- */
- IType findType(String packageName, String typeQualifiedName, WorkingCopyOwner owner, IProgressMonitor progressMonitor) throws JavaScriptModelException;
-
- /**
- * Returns all of the existing package fragment roots that exist
- * on the includepath, in the order they are defined by the includepath.
- *
- * @return all of the existing package fragment roots that exist
- * on the includepath
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- */
- IPackageFragmentRoot[] getAllPackageFragmentRoots() throws JavaScriptModelException;
-
- /**
- * Returns an array of non-JavaScript resources directly contained in this project.
- * It does not transitively answer non-JavaScript resources contained in folders;
- * these would have to be explicitly iterated over.
- * <p>
- * Non-JavaScript resources includes other files and folders located in the
- * project not accounted for by any of it source or binary package fragment
- * roots. If the project is a source folder itself, resources excluded from the
- * corresponding source includepath entry by one or more exclusion patterns
- * are considered non-JavaScript resources and will appear in the result
- * (possibly in a folder)
- * </p>
- *
- * @return an array of non-JavaScript resources (<code>IFile</code>s and/or
- * <code>IFolder</code>s) directly contained in this project
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- */
- Object[] getNonJavaScriptResources() throws JavaScriptModelException;
-
- /**
- * Helper method for returning one option value only. Equivalent to <code>(String)this.getOptions(inheritJavaCoreOptions).get(optionName)</code>
- * Note that it may answer <code>null</code> if this option does not exist, or if there is no custom value for it.
- * <p>
- * For a complete description of the configurable options, see <code>JavaScriptCore#getDefaultOptions</code>.
- * </p>
- *
- * @param optionName the name of an option
- * @param inheritJavaCoreOptions - boolean indicating whether JavaScriptCore options should be inherited as well
- * @return the String value of a given option
- * @see JavaScriptCore#getDefaultOptions()
- */
- String getOption(String optionName, boolean inheritJavaCoreOptions);
-
- /**
- * Returns the table of the current custom options for this project. Projects remember their custom options,
- * in other words, only the options different from the the JavaScriptCore global options for the workspace.
- * A boolean argument allows to directly merge the project options with global ones from <code>JavaScriptCore</code>.
- * <p>
- * For a complete description of the configurable options, see <code>JavaScriptCore#getDefaultOptions</code>.
- * </p>
- *
- * @param inheritJavaCoreOptions - boolean indicating whether JavaScriptCore options should be inherited as well
- * @return table of current settings of all options
- * (key type: <code>String</code>; value type: <code>String</code>)
- * @see JavaScriptCore#getDefaultOptions()
- */
- Map getOptions(boolean inheritJavaCoreOptions);
-
- /**
- * Returns the default output location for this project as a workspace-
- * relative absolute path.
- * <p>
- * The default output location is where class files are ordinarily generated
- * (and resource files, copied). Each source includepath entry can also
- * specify an output location for the generated class files (and copied
- * resource files) corresponding to javaScript units under that source
- * folder. This makes it possible to arrange generated class files for
- * different source folders in different output folders, and not
- * necessarily the default output folder. This means that the generated
- * class files for the project may end up scattered across several folders,
- * rather than all in the default output folder (which is more standard).
- * </p>
- *
- * @return the workspace-relative absolute path of the default output folder
- * @exception JavaScriptModelException if this element does not exist
- * @see #setOutputLocation(org.eclipse.core.runtime.IPath, IProgressMonitor)
- * @see IIncludePathEntry#getOutputLocation()
- */
- IPath getOutputLocation() throws JavaScriptModelException;
-
- /**
- * Returns a package fragment root for the file at the specified file system path.
- * This is a handle-only method. The underlying <code>java.io.File</code>
- * may or may not exist. No resource is associated with this local file
- * package fragment root.
- *
- * @param filePath the file system path
- * @return a package fragment root for the file at the specified file system path
- */
- IPackageFragmentRoot getPackageFragmentRoot(String filePath);
-
- /**
- * Returns a package fragment root for the given resource, which
- * must either be a folder representing the top of a package hierarchy,
- * or a javaScript file.
- * This is a handle-only method. The underlying resource may or may not exist.
- *
- * @param resource the given resource
- * @return a package fragment root for the given resource, which
- * must either be a folder representing the top of a package hierarchy,
- * or a javaScript file
- */
- IPackageFragmentRoot getPackageFragmentRoot(IResource resource);
-
- /**
- * Returns all of the package fragment roots contained in this
- * project, identified on this project's resolved includepath. The result
- * does not include package fragment roots in other projects referenced
- * on this project's includepath.
- *
- * <p>NOTE: This is equivalent to <code>getChildren()</code>.
- *
- * @return all of the package fragment roots contained in this
- * project, identified on this project's resolved includepath
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- */
- IPackageFragmentRoot[] getPackageFragmentRoots() throws JavaScriptModelException;
-
- /**
- * Returns all package fragments in all package fragment roots contained
- * in this project. This is a convenience method.
- *
- * Note that the package fragment roots corresponds to the resolved
- * includepath of the project.
- *
- * @return all package fragments in all package fragment roots contained
- * in this project
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- */
- IPackageFragment[] getPackageFragments() throws JavaScriptModelException;
-
- /**
- * Returns the <code>IProject</code> on which this <code>IJavaScriptProject</code>
- * was created. This is handle-only method.
- *
- * @return the <code>IProject</code> on which this <code>IJavaScriptProject</code>
- * was created
- */
- IProject getProject();
-
- /**
- * Returns the raw includepath for the project, as a list of includepath
- * entries. This corresponds to the exact set of entries which were assigned
- * using <code>setRawIncludepath</code>, in particular such a includepath may
- * contain includepath variable and includepath container entries. Includepath
- * variable and includepath container entries can be resolved using the
- * helper method <code>getResolvedIncludepath</code>; includepath variable
- * entries also can be resolved individually using
- * <code>JavaScriptCore#getIncludepathVariable</code>).
- * <p>
- * Both includepath containers and includepath variables provides a level of
- * indirection that can make the <code>.jsdtScope</code> file stable across
- * workspaces.
- * </p>
- * <p>
- * Note that in case the project isn't yet opened, the includepath will
- * be read directly from the associated <tt>.jsdtScope</tt> file.
- * </p>
- *
- * @return the raw includepath for the project, as a list of includepath entries
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- * @see IIncludePathEntry
- */
- IIncludePathEntry[] getRawIncludepath() throws JavaScriptModelException;
-
- /**
- * Returns the names of the projects that are directly required by this
- * project. A project is required if it is in its includepath.
- * <p>
- * The project names are returned in the order they appear on the includepath.
- *
- * @return the names of the projects that are directly required by this
- * project in includepath order
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- */
- String[] getRequiredProjectNames() throws JavaScriptModelException;
-
- /**
- * This is a helper method returning the resolved includepath for the project
- * as a list of simple (non-variable, non-container) includepath entries.
- * All includepath variable and includepath container entries in the project's
- * raw includepath will be replaced by the simple includepath entries they
- * resolve to.
- * <p>
- * The resulting resolved includepath is accurate for the given point in time.
- * If the project's raw includepath is later modified, or if includepath
- * variables are changed, the resolved includepath can become out of date.
- * Because of this, hanging on resolved includepath is not recommended.
- * </p>
- *
- * @param ignoreUnresolvedEntry indicates how to handle unresolvable
- * variables and containers; <code>true</code> indicates that missing
- * variables and unresolvable includepath containers should be silently
- * ignored, and that the resulting list should consist only of the
- * entries that could be successfully resolved; <code>false</code> indicates
- * that a <code>JavaScriptModelException</code> should be thrown for the first
- * unresolved variable or container
- * @return the resolved includepath for the project as a list of simple
- * includepath entries, where all includepath variable and container entries
- * have been resolved and substituted with their final target entries
- * @exception JavaScriptModelException in one of the corresponding situation:
- * <ul>
- * <li>this element does not exist</li>
- * <li>an exception occurs while accessing its corresponding resource</li>
- * <li>a includepath variable or includepath container was not resolvable
- * and <code>ignoreUnresolvedEntry</code> is <code>false</code>.</li>
- * </ul>
- * @see IIncludePathEntry
- */
- IIncludePathEntry[] getResolvedIncludepath(boolean ignoreUnresolvedEntry)
- throws JavaScriptModelException;
-
- /**
- * Returns whether this project has been built at least once and thus whether it has a build state.
- * @return true if this project has been built at least once, false otherwise
- */
- boolean hasBuildState();
-
- /**
- * Returns whether setting this project's includepath to the given includepath entries
- * would result in a cycle.
- *
- * If the set of entries contains some variables, those are resolved in order to determine
- * cycles.
- *
- * @param entries the given includepath entries
- * @return true if the given includepath entries would result in a cycle, false otherwise
- */
- boolean hasIncludepathCycle(IIncludePathEntry[] entries);
- /**
- * Returns whether the given element is on the includepath of this project,
- * that is, referenced from a includepath entry and not explicitly excluded
- * using an exclusion pattern.
- *
- * @param element the given element
- * @return <code>true</code> if the given element is on the includepath of
- * this project, <code>false</code> otherwise
- * @see IIncludePathEntry#getInclusionPatterns()
- * @see IIncludePathEntry#getExclusionPatterns()
- */
- boolean isOnIncludepath(IJavaScriptElement element);
- /**
- * Returns whether the given resource is on the includepath of this project,
- * that is, referenced from a includepath entry and not explicitly excluded
- * using an exclusion pattern.
- *
- * @param resource the given resource
- * @return <code>true</code> if the given resource is on the includepath of
- * this project, <code>false</code> otherwise
- * @see IIncludePathEntry#getInclusionPatterns()
- * @see IIncludePathEntry#getExclusionPatterns()
- */
- boolean isOnIncludepath(IResource resource);
-
- /**
- * Creates a new evaluation context.
- * @return a new evaluation context.
- */
- IEvaluationContext newEvaluationContext();
-
- /**
- * Creates and returns a type hierarchy for all types in the given
- * region, considering subtypes within that region.
- *
- * @param monitor the given progress monitor
- * @param region the given region
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- * @exception IllegalArgumentException if region is <code>null</code>
- * @return a type hierarchy for all types in the given
- * region, considering subtypes within that region
- */
- ITypeHierarchy newTypeHierarchy(IRegion region, IProgressMonitor monitor)
- throws JavaScriptModelException;
-
- /**
- * Creates and returns a type hierarchy for all types in the given
- * region, considering subtypes within that region and considering types in the
- * working copies with the given owner.
- * In other words, the owner's working copies will take
- * precedence over their original javaScript units in the workspace.
- * <p>
- * Note that if a working copy is empty, it will be as if the original javaScript
- * unit had been deleted.
- * <p>
- *
- * @param monitor the given progress monitor
- * @param region the given region
- * @param owner the owner of working copies that take precedence over their original javaScript units
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- * @exception IllegalArgumentException if region is <code>null</code>
- * @return a type hierarchy for all types in the given
- * region, considering subtypes within that region
- */
- ITypeHierarchy newTypeHierarchy(IRegion region, WorkingCopyOwner owner, IProgressMonitor monitor)
- throws JavaScriptModelException;
-
- /**
- * Creates and returns a type hierarchy for the given type considering
- * subtypes in the specified region.
- *
- * @param type the given type
- * @param region the given region
- * @param monitor the given monitor
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- *
- * @exception IllegalArgumentException if type or region is <code>null</code>
- * @return a type hierarchy for the given type considering
- * subtypes in the specified region
- */
- ITypeHierarchy newTypeHierarchy(
- IType type,
- IRegion region,
- IProgressMonitor monitor)
- throws JavaScriptModelException;
-
- /**
- * Creates and returns a type hierarchy for the given type considering
- * subtypes in the specified region and considering types in the
- * working copies with the given owner.
- * In other words, the owner's working copies will take
- * precedence over their original javaScript units in the workspace.
- * <p>
- * Note that if a working copy is empty, it will be as if the original javaScript
- * unit had been deleted.
- * <p>
- *
- * @param type the given type
- * @param region the given region
- * @param monitor the given monitor
- * @param owner the owner of working copies that take precedence over their original javaScript units
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- *
- * @exception IllegalArgumentException if type or region is <code>null</code>
- * @return a type hierarchy for the given type considering
- * subtypes in the specified region
- */
- ITypeHierarchy newTypeHierarchy(
- IType type,
- IRegion region,
- WorkingCopyOwner owner,
- IProgressMonitor monitor)
- throws JavaScriptModelException;
-
- /**
- * Returns the default output location for the project as defined by its <code>.jsdtScope</code> file from disk, or <code>null</code>
- * if unable to read the file.
- * <p>
- * This output location may differ from the in-memory one returned by <code>getOutputLocation</code>, in case the
- * automatic reconciliation mechanism has not been performed yet. Usually, any change to the <code>.classpath</code> file
- * is automatically noticed and reconciled at the next resource change notification event.
- * However, if the file is modified within an operation, where this change needs to be taken into account before the
- * operation ends, then the output location from disk can be read using this method, and further assigned to the project
- * using <code>setRawIncludepath(...)</code>.
- * <p>
- * The default output location is where class files are ordinarily generated
- * (and resource files, copied). Each source includepath entry can also
- * specify an output location for the generated class files (and copied
- * resource files) corresponding to javaScript units under that source
- * folder. This makes it possible to arrange generated class files for
- * different source folders in different output folders, and not
- * necessarily the default output folder. This means that the generated
- * class files for the project may end up scattered across several folders,
- * rather than all in the default output folder (which is more standard).
- * <p>
- * In order to manually force a project includepath refresh, one can simply assign the project includepath using the result of this
- * method, as follows:
- * <code>proj.setRawIncludepath(proj.readRawIncludepath(), proj.readOutputLocation(), monitor)</code>
- * (note that the <code>readRawIncludepath/readOutputLocation</code> methods could return <code>null</code>).
- * <p>
- * @return the workspace-relative absolute path of the default output folder
- * @see #getOutputLocation()
- */
- IPath readOutputLocation();
-
- /**
- * Returns the raw includepath for the project as defined by its
- * <code>.jsdtScope</code> file from disk, or <code>null</code>
- * if unable to read the file.
- * <p>
- * This includepath may differ from the in-memory includepath returned by
- * <code>getRawIncludepath</code>, in case the automatic reconciliation
- * mechanism has not been performed yet. Usually, any change to the
- * <code>.jsdtScope</code> file is automatically noticed and reconciled at
- * the next resource change notification event. However, if the file is
- * modified within an operation, where this change needs to be taken into
- * account before the operation ends, then the includepath from disk can be
- * read using this method, and further assigned to the project using
- * <code>setRawIncludepath(...)</code>.
- * </p>
- * <p>
- * Includepath variable and includepath container entries can be resolved using
- * the helper method <code>getResolvedIncludepath</code>; includepath variable
- * entries also can be resolved individually using
- * <code>JavaScriptCore#getIncludepathVariable</code>).
- * </p>
- * <p>
- * Note that no check is performed whether the project has the JavaScript nature
- * set, allowing an existing <code>.jsdtScope</code> file to be considered
- * independantly (unlike <code>getRawIncludepath</code> which requires the
- * JavaScript nature to be associated with the project).
- * </p>
- * <p>
- * In order to manually force a project includepath refresh, one can simply
- * assign the project includepath using the result of this method, as follows:
- * <code>proj.setRawIncludepath(proj.readRawIncludepath(), proj.readOutputLocation(), monitor)</code>
- * (note that the <code>readRawIncludepath/readOutputLocation</code> methods
- * could return <code>null</code>).
- * </p>
- *
- * @return the raw includepath from disk for the project, as a list of
- * includepath entries
- * @see #getRawIncludepath()
- * @see IIncludePathEntry
- */
- IIncludePathEntry[] readRawIncludepath();
-
- /**
- * Helper method for setting one option value only. Equivalent to <code>Map options = this.getOptions(false); map.put(optionName, optionValue); this.setOptions(map)</code>
- * <p>
- * For a complete description of the configurable options, see <code>JavaScriptCore#getDefaultOptions</code>.
- * </p>
- *
- * @param optionName the name of an option
- * @param optionValue the value of the option to set
- * @see JavaScriptCore#getDefaultOptions()
- */
- void setOption(String optionName, String optionValue);
-
- /**
- * Sets the project custom options. All and only the options explicitly included in the given table
- * are remembered; all previous option settings are forgotten, including ones not explicitly
- * mentioned.
- * <p>
- * For a complete description of the configurable options, see <code>JavaScriptCore#getDefaultOptions</code>.
- * </p>
- *
- * @param newOptions the new options (key type: <code>String</code>; value type: <code>String</code>),
- * or <code>null</code> to flush all custom options (clients will automatically get the global JavaScriptCore options).
- * @see JavaScriptCore#getDefaultOptions()
- */
- void setOptions(Map newOptions);
-
- /**
- * Sets the default output location of this project to the location
- * described by the given workspace-relative absolute path.
- * <p>
- * The default output location is where class files are ordinarily generated
- * (and resource files, copied). Each source includepath entries can also
- * specify an output location for the generated class files (and copied
- * resource files) corresponding to javaScript units under that source
- * folder. This makes it possible to arrange that generated class files for
- * different source folders to end up in different output folders, and not
- * necessarily the default output folder. This means that the generated
- * class files for the project may end up scattered across several folders,
- * rather than all in the default output folder (which is more standard).
- * </p>
- *
- * @param path the workspace-relative absolute path of the default output
- * folder
- * @param monitor the progress monitor
- *
- * @exception JavaScriptModelException if the includepath could not be set. Reasons include:
- * <ul>
- * <li> This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> The path refers to a location not contained in this project (<code>PATH_OUTSIDE_PROJECT</code>)
- * <li> The path is not an absolute path (<code>RELATIVE_PATH</code>)
- * <li> The path is nested inside a package fragment root of this project (<code>INVALID_PATH</code>)
- * <li> The output location is being modified during resource change event notification (CORE_EXCEPTION)
- * </ul>
- * @see #getOutputLocation()
- * @see IIncludePathEntry#getOutputLocation()
- */
- void setOutputLocation(IPath path, IProgressMonitor monitor)
- throws JavaScriptModelException;
-
- /**
- * Sets both the includepath of this project and its default output
- * location at once. The includepath is defined using a list of includepath
- * entries. In particular such a includepath may contain includepath variable entries.
- * Includepath variable entries can be resolved individually ({@link JavaScriptCore#getIncludepathVariable(String)}),
- * or the full includepath can be resolved at once using the helper method {@link #getResolvedIncludepath(boolean)}.
- * <p>
- * </p><p>
- * If it is specified that this operation cannot modify resources, the .jsdtScope file will not be written to disk
- * and no error marker will be generated. To synchronize the .jsdtScope with the in-memory includepath,
- * one can use <code>setRawIncludepath(readRawIncludepath(), true, monitor)</code>.
- * </p><p>
- * Setting the includepath to <code>null</code> specifies a default includepath
- * (the project root). Setting the includepath to an empty array specifies an
- * empty includepath.
- * </p><p>
- * If a cycle is detected while setting this includepath (and if resources can be modified), an error marker will be added
- * to the project closing the cycle.
- * To avoid this problem, use {@link #hasIncludepathCycle(IIncludePathEntry[])}
- * before setting the includepath.
- * <p>
- * This operation acquires a lock on the workspace's root.
- *
- * @param entries a list of includepath entries
- * @param outputLocation the default output location
- * @param canModifyResources whether resources should be written to disk if needed
- * @param monitor the given progress monitor
- * @exception JavaScriptModelException if the includepath could not be set. Reasons include:
- * <ul>
- * <li> This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> The includepath is being modified during resource change event notification (CORE_EXCEPTION)
- * <li> The includepath failed the validation check as defined by {@link JavaScriptConventions#validateIncludepath(IJavaScriptProject, IIncludePathEntry[], IPath)}
- * </ul>
- * @see IIncludePathEntry
- */
- void setRawIncludepath(IIncludePathEntry[] entries, IPath outputLocation, boolean canModifyResources, IProgressMonitor monitor) throws JavaScriptModelException;
-
- /**
- * Sets the includepath of this project using a list of includepath entries. In particular such a includepath may contain
- * includepath variable entries. Includepath variable entries can be resolved individually ({@link JavaScriptCore#getIncludepathVariable(String)}),
- * or the full includepath can be resolved at once using the helper method {@link #getResolvedIncludepath(boolean)}.
- * <p>
- * </p><p>
- * If it is specified that this operation cannot modify resources, the .jsdtScope file will not be written to disk
- * and no error marker will be generated. To synchronize the .jsdtScope with the in-memory includepath,
- * one can use <code>setRawIncludepath(readRawIncludepath(), true, monitor)</code>.
- * </p><p>
- * Setting the includepath to <code>null</code> specifies a default includepath
- * (the project root). Setting the includepath to an empty array specifies an
- * empty includepath.
- * </p><p>
- * If a cycle is detected while setting this includepath (and if resources can be modified), an error marker will be added
- * to the project closing the cycle.
- * To avoid this problem, use {@link #hasIncludepathCycle(IIncludePathEntry[])}
- * before setting the includepath.
- * <p>
- * This operation acquires a lock on the workspace's root.
- *
- * @param entries a list of includepath entries
- * @param canModifyResources whether resources should be written to disk if needed
- * @param monitor the given progress monitor
- * @exception JavaScriptModelException if the includepath could not be set. Reasons include:
- * <ul>
- * <li> This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> The includepath is being modified during resource change event notification (CORE_EXCEPTION)
- * <li> The includepath failed the validation check as defined by {@link JavaScriptConventions#validateIncludepath(IJavaScriptProject, IIncludePathEntry[], IPath)}
- * </ul>
- * @see IIncludePathEntry
- */
- void setRawIncludepath(IIncludePathEntry[] entries, boolean canModifyResources, IProgressMonitor monitor) throws JavaScriptModelException;
-
- /**
- * Sets the includepath of this project using a list of includepath entries. In particular such a includepath may contain
- * includepath variable entries. Includepath variable entries can be resolved individually ({@link JavaScriptCore#getIncludepathVariable(String)}),
- * or the full includepath can be resolved at once using the helper method {@link #getResolvedIncludepath(boolean)}.
- * <p>
- * <p>
- * Setting the includepath to <code>null</code> specifies a default includepath
- * (the project root). Setting the includepath to an empty array specifies an
- * empty includepath.
- * <p>
- * If a cycle is detected while setting this includepath, an error marker will be added
- * to the project closing the cycle.
- * To avoid this problem, use {@link #hasIncludepathCycle(IIncludePathEntry[])}
- * before setting the includepath.
- * <p>
- * This operation acquires a lock on the workspace's root.
- *
- * @param entries a list of includepath entries
- * @param monitor the given progress monitor
- * @exception JavaScriptModelException if the includepath could not be set. Reasons include:
- * <ul>
- * <li> This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> The includepath is being modified during resource change event notification (CORE_EXCEPTION)
- * <li> The includepath failed the validation check as defined by {@link JavaScriptConventions#validateIncludepath(IJavaScriptProject, IIncludePathEntry[], IPath)}
- * </ul>
- * @see IIncludePathEntry
- */
- void setRawIncludepath(IIncludePathEntry[] entries, IProgressMonitor monitor)
- throws JavaScriptModelException;
-
- /**
- * Sets the both the includepath of this project and its default output
- * location at once. The includepath is defined using a list of includepath
- * entries. In particular, such a includepath may contain includepath variable
- * entries. Includepath variable entries can be resolved individually (see
- * ({@link JavaScriptCore#getIncludepathVariable(String)}), or the full includepath can be
- * resolved at once using the helper method
- * {@link #getResolvedIncludepath(boolean)}.
- * <p>
- * </p>
- * <p>
- * Setting the includepath to <code>null</code> specifies a default includepath
- * (the project root). Setting the includepath to an empty array specifies an
- * empty includepath.
- * </p>
- * <p>
- * If a cycle is detected while setting this includepath, an error marker will
- * be added to the project closing the cycle. To avoid this problem, use
- * {@link #hasIncludepathCycle(IIncludePathEntry[])} before setting
- * the includepath.
- * </p>
- * <p>
- * This operation acquires a lock on the workspace's root.
- * </p>
- *
- * @param entries a list of includepath entries
- * @param monitor the progress monitor
- * @param outputLocation the default output location
- * @exception JavaScriptModelException if the includepath could not be set. Reasons
- * include:
- * <ul>
- * <li> This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> Two or more entries specify source roots with the same or overlapping paths (NAME_COLLISION)
- * <li> A entry of kind <code>CPE_PROJECT</code> refers to this project (INVALID_PATH)
- * <li>This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li>The output location path refers to a location not contained in this project (<code>PATH_OUTSIDE_PROJECT</code>)
- * <li>The output location path is not an absolute path (<code>RELATIVE_PATH</code>)
- * <li>The output location path is nested inside a package fragment root of this project (<code>INVALID_PATH</code>)
- * <li> The includepath is being modified during resource change event notification (CORE_EXCEPTION)
- * </ul>
- * @see IIncludePathEntry
- */
- void setRawIncludepath(IIncludePathEntry[] entries, IPath outputLocation, IProgressMonitor monitor)
- throws JavaScriptModelException;
-
- ITypeRoot findTypeRoot(String fullyQualifiedName) throws JavaScriptModelException;
-
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptUnit.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptUnit.java
deleted file mode 100644
index 51c0b969..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJavaScriptUnit.java
+++ /dev/null
@@ -1,797 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- * IBM Corporation - added J2SE 1.5 support
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.wst.jsdt.core.dom.JavaScriptUnit;
-
-
-/**
- * Represents an entire JavaScript file (source file with one of the
- * {@link JavaScriptCore#getJavaScriptLikeExtensions() JavaScript-like extensions}).
- * JavaScriptUnit elements need to be opened before they can be navigated or manipulated.
- * The children are of type {@link IPackageDeclaration},
- * {@link IImportContainer},{@link IFunction},{@link IField}, and {@link IType},
- * and appear in the order in which they are declared in the source.
- * If a source file cannot be parsed, its structure remains unknown.
- * Use {@link IJavaScriptElement#isStructureKnown} to determine whether this is
- * the case.
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IJavaScriptUnit extends ITypeRoot, IWorkingCopy, ISourceManipulation {
-/**
- * Constant indicating that a reconcile operation should not return an AST.
- */
-public static final int NO_AST = 0;
-
-/**
- * Constant indicating that a reconcile operation should recompute the problems
- * even if the source hasn't changed.
- */
-public static final int FORCE_PROBLEM_DETECTION = 0x01;
-
-/**
- * Constant indicating that a reconcile operation should enable the statements recovery.
- * @see org.eclipse.wst.jsdt.core.dom.ASTParser#setStatementsRecovery(boolean)
- */
-public static final int ENABLE_STATEMENTS_RECOVERY = 0x02;
-
-/**
- * Constant indicating that a reconcile operation should enable the bindings recovery
- * @see org.eclipse.wst.jsdt.core.dom.ASTParser#setBindingsRecovery(boolean)
- * @see org.eclipse.wst.jsdt.core.dom.IBinding#isRecovered()
- */
-public static final int ENABLE_BINDINGS_RECOVERY = 0x04;
-
-
-/**
- * Changes this javaScript file handle into a working copy. A new {@link IBuffer} is
- * created using this javaScript file handle's owner. Uses the primary owner is none was
- * specified when this javaScript file handle was created.
- * <p>
- * When switching to working copy mode, problems are reported to given
- * {@link IProblemRequestor}. Note that once in working copy mode, the given
- * {@link IProblemRequestor} is ignored. Only the original {@link IProblemRequestor}
- * is used to report subsequent problems.
- * </p>
- * <p>
- * Once in working copy mode, changes to this javaScript file or its children are done in memory.
- * Only the new buffer is affected. Using {@link #commitWorkingCopy(boolean, IProgressMonitor)}
- * will bring the underlying resource in sync with this javaScript file.
- * </p>
- * <p>
- * If this javaScript file was already in working copy mode, an internal counter is incremented and no
- * other action is taken on this javaScript file. To bring this javaScript file back into the original mode
- * (where it reflects the underlying resource), {@link #discardWorkingCopy} must be call as many
- * times as {@link #becomeWorkingCopy(IProblemRequestor, IProgressMonitor)}.
- * </p>
- *
- * @param problemRequestor a requestor which will get notified of problems detected during
- * reconciling as they are discovered. The requestor can be set to <code>null</code> indicating
- * that the client is not interested in problems.
- * @param monitor a progress monitor used to report progress while opening this javaScript file
- * or <code>null</code> if no progress should be reported
- * @throws JavaScriptModelException if this javaScript file could not become a working copy.
- * @see #discardWorkingCopy()
- *
- * @deprecated Use {@link #becomeWorkingCopy(IProgressMonitor)} instead.
- * Note that if this deprecated method is used, problems will be reported to the given problem requestor
- * as well as the problem requestor returned by the working copy owner (if not null).
-*/
-void becomeWorkingCopy(IProblemRequestor problemRequestor, IProgressMonitor monitor) throws JavaScriptModelException;
-/**
- * Changes this javaScript file handle into a working copy. A new {@link IBuffer} is
- * created using this javaScript file handle's owner. Uses the primary owner if none was
- * specified when this javaScript file handle was created.
- * <p>
- * When switching to working copy mode, problems are reported to the {@link IProblemRequestor
- * problem requestor} of the {@link WorkingCopyOwner working copy owner}.
- * </p><p>
- * Once in working copy mode, changes to this javaScript file or its children are done in memory.
- * Only the new buffer is affected. Using {@link #commitWorkingCopy(boolean, IProgressMonitor)}
- * will bring the underlying resource in sync with this javaScript file.
- * </p><p>
- * If this javaScript file was already in working copy mode, an internal counter is incremented and no
- * other action is taken on this javaScript file. To bring this javaScript file back into the original mode
- * (where it reflects the underlying resource), {@link #discardWorkingCopy} must be call as many
- * times as {@link #becomeWorkingCopy(IProblemRequestor, IProgressMonitor)}.
- * </p>
- *
- * @param monitor a progress monitor used to report progress while opening this javaScript file
- * or <code>null</code> if no progress should be reported
- * @throws JavaScriptModelException if this javaScript file could not become a working copy.
- * @see #discardWorkingCopy()
- */
-void becomeWorkingCopy(IProgressMonitor monitor) throws JavaScriptModelException;
-/**
- * Commits the contents of this working copy to its underlying resource.
- *
- * <p>It is possible that the contents of the original resource have changed
- * since this working copy was created, in which case there is an update conflict.
- * The value of the <code>force</code> parameter effects the resolution of
- * such a conflict:<ul>
- * <li> <code>true</code> - in this case the contents of this working copy are applied to
- * the underlying resource even though this working copy was created before
- * a subsequent change in the resource</li>
- * <li> <code>false</code> - in this case a {@link JavaScriptModelException} is thrown</li>
- * </ul>
- * @param force a flag to handle the cases when the contents of the original resource have changed
- * since this working copy was created
- * @param monitor the given progress monitor
- * @throws JavaScriptModelException if this working copy could not commit. Reasons include:
- * <ul>
- * <li> A {@link org.eclipse.core.runtime.CoreException} occurred while updating an underlying resource
- * <li> This element is not a working copy (INVALID_ELEMENT_TYPES)
- * <li> A update conflict (described above) (UPDATE_CONFLICT)
- * </ul>
- */
-void commitWorkingCopy(boolean force, IProgressMonitor monitor) throws JavaScriptModelException;
-/**
- * Creates and returns an non-static import declaration in this javaScript file
- * with the given name. This method is equivalent to
- * <code>createImport(name, Flags.AccDefault, sibling, monitor)</code>.
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param name the name of the import declaration to add
- * @param sibling the existing element which the import declaration will be inserted immediately before (if
- * <code> null </code>, then this import will be inserted as the last import declaration.
- * @param monitor the progress monitor to notify
- * @return the newly inserted import declaration (or the previously existing one in case attempting to create a duplicate)
- *
- * @throws JavaScriptModelException if the element could not be created. Reasons include:
- * <ul>
- * <li> This JavaScript element does not exist or the specified sibling does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A {@link org.eclipse.core.runtime.CoreException} occurred while updating an underlying resource
- * <li> The specified sibling is not a child of this javaScript file (INVALID_SIBLING)
- * <li> The name is not a valid import name (INVALID_NAME)
- * </ul>
- * @see #createImport(String, IJavaScriptElement, int, IProgressMonitor)
- *
- */
-IImportDeclaration createImport(String name, IJavaScriptElement sibling, IProgressMonitor monitor) throws JavaScriptModelException;
-
-/**
- * Creates and returns an import declaration in this javaScript file
- * with the given name.
- * <p>
- * Optionally, the new element can be positioned before the specified
- * sibling. If no sibling is specified, the element will be inserted
- * as the last import declaration in this javaScript file.
- * <p>
- * If the javaScript file already includes the specified import declaration,
- * the import is not generated (it does not generate duplicates).
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param name the name of the import declaration
- * @param sibling the existing element which the import declaration will be inserted immediately before (if
- * <code> null </code>, then this import will be inserted as the last import declaration.
- * @param flags {@link Flags#AccStatic} for static imports, or
- * {@link Flags#AccDefault} for regular imports; other modifier flags
- * are ignored
- * @param monitor the progress monitor to notify
- * @return the newly inserted import declaration (or the previously existing one in case attempting to create a duplicate)
- *
- * @throws JavaScriptModelException if the element could not be created. Reasons include:
- * <ul>
- * <li> This JavaScript element does not exist or the specified sibling does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A {@link org.eclipse.core.runtime.CoreException} occurred while updating an underlying resource
- * <li> The specified sibling is not a child of this javaScript file (INVALID_SIBLING)
- * <li> The name is not a valid import name (INVALID_NAME)
- * </ul>
- * @see Flags
- */
-IImportDeclaration createImport(String name, IJavaScriptElement sibling, int flags, IProgressMonitor monitor) throws JavaScriptModelException;
-
-/**
- * Creates and returns a package declaration in this javaScript file
- * with the given package name.
- *
- * <p>If the javaScript file already includes the specified package declaration,
- * it is not generated (it does not generate duplicates).
- *
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param name the name of the package declaration to add
- * @param monitor the progress monitor to notify
- * @return the newly inserted package declaration (or the previously existing one in case attempting to create a duplicate)
- *
- * @throws JavaScriptModelException if the element could not be created. Reasons include:
- * <ul>
- * <li>This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A {@link org.eclipse.core.runtime.CoreException} occurred while updating an underlying resource
- * <li> The name is not a valid package name (INVALID_NAME)
- * </ul>
- */
- IPackageDeclaration createPackageDeclaration(String name, IProgressMonitor monitor) throws JavaScriptModelException;
-/**
- * Creates and returns a type in this javaScript file with the
- * given contents. If this javaScript file does not exist, one
- * will be created with an appropriate package declaration.
- * <p>
- * Optionally, the new type can be positioned before the specified
- * sibling. If <code>sibling</code> is <code>null</code>, the type will be appended
- * to the end of this javaScript file.
- *
- * <p>It is possible that a type with the same name already exists in this javaScript file.
- * The value of the <code>force</code> parameter effects the resolution of
- * such a conflict:<ul>
- * <li> <code>true</code> - in this case the type is created with the new contents</li>
- * <li> <code>false</code> - in this case a {@link JavaScriptModelException} is thrown</li>
- * </ul>
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- *
- * @param contents the source contents of the type declaration to add.
- * @param sibling the existing element which the type will be inserted immediately before (if
- * <code>null</code>, then this type will be inserted as the last type declaration.
- * @param force a <code>boolean</code> flag indicating how to deal with duplicates
- * @param monitor the progress monitor to notify
- * @return the newly inserted type
- *
- * @throws JavaScriptModelException if the element could not be created. Reasons include:
- * <ul>
- * <li>The specified sibling element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A {@link org.eclipse.core.runtime.CoreException} occurred while updating an underlying resource
- * <li> The specified sibling is not a child of this javaScript file (INVALID_SIBLING)
- * <li> The contents could not be recognized as a type declaration (INVALID_CONTENTS)
- * <li> There was a naming collision with an existing type (NAME_COLLISION)
- * </ul>
- */
-IType createType(String contents, IJavaScriptElement sibling, boolean force, IProgressMonitor monitor) throws JavaScriptModelException;
-
-/**
- * Creates and returns a var in this javaScript file with the
- * given contents. If this javaScript file does not exist, one
- * will be created with an appropriate package declaration.
- * <p>
- * Optionally, the new var can be positioned before the specified
- * sibling. If <code>sibling</code> is <code>null</code>, the var will be appended
- * to the end of this javaScript file.
- *
- * <p>It is possible that a var with the same name already exists in this javaScript file.
- * The value of the <code>force</code> parameter effects the resolution of
- * such a conflict:<ul>
- * <li> <code>true</code> - in this case the var is created with the new contents</li>
- * <li> <code>false</code> - in this case a {@link JavaScriptModelException} is thrown</li>
- * </ul>
- *
- * @param contents the source contents of the var declaration to add.
- * @param sibling the existing element which the var will be inserted immediately before (if
- * <code>null</code>, then this var will be inserted as the last var declaration.
- * @param force a <code>boolean</code> flag indicating how to deal with duplicates
- * @param monitor the progress monitor to notify
- * @return the newly inserted var
- *
- * @throws JavaScriptModelException if the element could not be created. Reasons include:
- * <ul>
- * <li>The specified sibling element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A {@link org.eclipse.core.runtime.CoreException} occurred while updating an underlying resource
- * <li> The specified sibling is not a child of this javaScript file (INVALID_SIBLING)
- * <li> The contents could not be recognized as a var declaration (INVALID_CONTENTS)
- * <li> There was a naming collision with an existing var (NAME_COLLISION)
- * </ul>
- */
-IField createField(String contents, IJavaScriptElement sibling, boolean force, IProgressMonitor monitor)
-throws JavaScriptModelException;
-
-
-/**
- * Creates and returns a function in this javaScript file with the
- * given contents. If this javaScript file does not exist, one
- * will be created with an appropriate package declaration.
- * <p>
- * Optionally, the new function can be positioned before the specified
- * sibling. If <code>sibling</code> is <code>null</code>, the function will be appended
- * to the end of this javaScript file.
- *
- * <p>It is possible that a function with the same name already exists in this javaScript file.
- * The value of the <code>force</code> parameter effects the resolution of
- * such a conflict:<ul>
- * <li> <code>true</code> - in this case the function is created with the new contents</li>
- * <li> <code>false</code> - in this case a {@link JavaScriptModelException} is thrown</li>
- * </ul>
- *
- * @param contents the source contents of the function declaration to add.
- * @param sibling the existing element which the function will be inserted immediately before (if
- * <code>null</code>, then this function will be inserted as the last function declaration.
- * @param force a <code>boolean</code> flag indicating how to deal with duplicates
- * @param monitor the progress monitor to notify
- * @return the newly inserted function
- *
- * @throws JavaScriptModelException if the element could not be created. Reasons include:
- * <ul>
- * <li>The specified sibling element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A {@link org.eclipse.core.runtime.CoreException} occurred while updating an underlying resource
- * <li> The specified sibling is not a child of this javaScript file (INVALID_SIBLING)
- * <li> The contents could not be recognized as a function declaration (INVALID_CONTENTS)
- * <li> There was a naming collision with an existing function (NAME_COLLISION)
- * </ul>
- */
-IFunction createMethod(String contents, IJavaScriptElement sibling, boolean force, IProgressMonitor monitor)
-throws JavaScriptModelException;
-
-/**
- * Changes this javaScript file in working copy mode back to its original mode.
- * <p>
- * This has no effect if this javaScript file was not in working copy mode.
- * </p>
- * <p>
- * If {@link #becomeWorkingCopy} was called several times on this
- * javaScript file, {@link #discardWorkingCopy} must be called as
- * many times before it switches back to the original mode.
- * </p>
- *
- * @throws JavaScriptModelException if this working copy could not return in its original mode.
- * @see #becomeWorkingCopy(IProblemRequestor, IProgressMonitor)
- */
-void discardWorkingCopy() throws JavaScriptModelException;
-/**
- * Finds the elements in this javaScript file that correspond to
- * the given element.
- * An element A corresponds to an element B if:
- * <ul>
- * <li>A has the same element name as B.
- * <li>If A is a method, A must have the same number of arguments as
- * B and the simple names of the argument types must be equals.
- * <li>The parent of A corresponds to the parent of B recursively up to
- * their respective javaScript files.
- * <li>A exists.
- * </ul>
- * Returns <code>null</code> if no such javaScript elements can be found
- * or if the given element is not included in a javaScript file.
- *
- * @param element the given element
- * @return the found elements in this javaScript file that correspond to the given element
- */
-IJavaScriptElement[] findElements(IJavaScriptElement element);
-/**
- * Finds the working copy for this javaScript file, given a {@link WorkingCopyOwner}.
- * If no working copy has been created for this javaScript file associated with this
- * working copy owner, returns <code>null</code>.
- * <p>
- * Users of this method must not destroy the resulting working copy.
- *
- * @param owner the given {@link WorkingCopyOwner}
- * @return the found working copy for this javaScript file, <code>null</code> if none
- * @see WorkingCopyOwner
- */
-IJavaScriptUnit findWorkingCopy(WorkingCopyOwner owner);
-/**
- * Returns all types declared in this javaScript file in the order
- * in which they appear in the source.
- * This includes all top-level types and nested member types.
- * It does NOT include local types (types defined in methods).
- *
- * @return the array of top-level and member types defined in a javaScript file, in declaration order.
- * @throws JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- */
-IType[] getAllTypes() throws JavaScriptModelException;
-/**
- * Returns the first import declaration in this javaScript file with the given name.
- * This is a handle-only method. The import declaration may or may not exist. This
- * is a convenience method - imports can also be accessed from a javaScript file's
- * import container.
- *
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param name the name of the import to find
- * @return a handle onto the corresponding import declaration. The import declaration may or may not exist.
- */
-IImportDeclaration getImport(String name) ;
-/**
- * Returns the import container for this javaScript file.
- * This is a handle-only method. The import container may or
- * may not exist. The import container can used to access the
- * imports.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @return a handle onto the corresponding import container. The
- * import contain may or may not exist.
- */
-IImportContainer getImportContainer();
-/**
- * Returns the import declarations in this javaScript file
- * in the order in which they appear in the source. This is
- * a convenience method - import declarations can also be
- * accessed from a javaScript file's import container.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @return the import declarations in this javaScript file
- * @throws JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- */
-IImportDeclaration[] getImports() throws JavaScriptModelException;
-/**
- * Returns the primary javaScript file (whose owner is the primary owner)
- * this working copy was created from, or this javaScript file if this a primary
- * javaScript file.
- * <p>
- * Note that the returned primary javaScript file can be in working copy mode.
- * </p>
- *
- * @return the primary javaScript file this working copy was created from,
- * or this javaScript file if it is primary
- */
-IJavaScriptUnit getPrimary();
-/**
- * Returns the working copy owner of this working copy.
- * Returns null if it is not a working copy or if it has no owner.
- *
- * @return WorkingCopyOwner the owner of this working copy or <code>null</code>
- */
-WorkingCopyOwner getOwner();
-/**
- * Returns the first package declaration in this javaScript file with the given package name
- * (there normally is at most one package declaration).
- * This is a handle-only method. The package declaration may or may not exist.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param name the name of the package declaration
- * @return the first package declaration in this javaScript file with the given package name
- */
-IPackageDeclaration getPackageDeclaration(String name);
-/**
- * Returns the package declarations in this javaScript file
- * in the order in which they appear in the source.
- * There normally is at most one package declaration.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @return an array of package declaration (normally of size one)
- *
- * @throws JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- */
-IPackageDeclaration[] getPackageDeclarations() throws JavaScriptModelException;
-/**
- * Returns the top-level types declared in this javaScript file
- * in the order in which they appear in the source.
- *
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @return the top-level types declared in this javaScript file
- * @throws JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- */
-IType[] getTypes() throws JavaScriptModelException;
-/**
- * Returns a new working copy of this javaScript file if it is a primary javaScript file,
- * or this javaScript file if it is already a non-primary working copy.
- * <p>
- * Note: if intending to share a working copy amongst several clients, then
- * {@link #getWorkingCopy(WorkingCopyOwner, IProblemRequestor, IProgressMonitor)}
- * should be used instead.
- * </p><p>
- * When the working copy instance is created, an ADDED IJavaScriptElementDelta is
- * reported on this working copy.
- * </p><p>
- * Once done with the working copy, users of this method must discard it using
- * {@link #discardWorkingCopy()}.
- * </p><p>
- * Since 2.1, a working copy can be created on a not-yet existing compilation
- * unit. In particular, such a working copy can then be committed in order to create
- * the corresponding javaScript file.
- * </p>
- * @param monitor a progress monitor used to report progress while opening this javaScript file
- * or <code>null</code> if no progress should be reported
- * @throws JavaScriptModelException if the contents of this element can
- * not be determined.
- * @return a new working copy of this element if this element is not
- * a working copy, or this element if this element is already a working copy
- */
-IJavaScriptUnit getWorkingCopy(IProgressMonitor monitor) throws JavaScriptModelException;
-/**
- * Returns a shared working copy on this javaScript file using the given working copy owner to create
- * the buffer, or this javaScript file if it is already a non-primary working copy.
- * This API can only answer an already existing working copy if it is based on the same
- * original javaScript file AND was using the same working copy owner (that is, as defined by {@link Object#equals}).
- * <p>
- * The life time of a shared working copy is as follows:
- * <ul>
- * <li>The first call to {@link #getWorkingCopy(WorkingCopyOwner, IProblemRequestor, IProgressMonitor)}
- * creates a new working copy for this element</li>
- * <li>Subsequent calls increment an internal counter.</li>
- * <li>A call to {@link #discardWorkingCopy()} decrements the internal counter.</li>
- * <li>When this counter is 0, the working copy is discarded.
- * </ul>
- * So users of this method must discard exactly once the working copy.
- * <p>
- * Note that the working copy owner will be used for the life time of this working copy, that is if the
- * working copy is closed then reopened, this owner will be used.
- * The buffer will be automatically initialized with the original's javaScript file content
- * upon creation.
- * <p>
- * When the shared working copy instance is created, an ADDED IJavaScriptElementDelta is reported on this
- * working copy.
- * </p><p>
- * Since 2.1, a working copy can be created on a not-yet existing compilation
- * unit. In particular, such a working copy can then be committed in order to create
- * the corresponding javaScript file.
- * </p>
- * @param owner the working copy owner that creates a buffer that is used to get the content
- * of the working copy
- * @param problemRequestor a requestor which will get notified of problems detected during
- * reconciling as they are discovered. The requestor can be set to <code>null</code> indicating
- * that the client is not interested in problems.
- * @param monitor a progress monitor used to report progress while opening this javaScript file
- * or <code>null</code> if no progress should be reported
- * @throws JavaScriptModelException if the contents of this element can
- * not be determined.
- * @return a new working copy of this element using the given factory to create
- * the buffer, or this element if this element is already a working copy
- * @deprecated Use {@link ITypeRoot#getWorkingCopy(WorkingCopyOwner, IProgressMonitor)} instead.
- * Note that if this deprecated method is used, problems will be reported on the passed problem requester
- * as well as on the problem requestor returned by the working copy owner (if not null).
-*/
-IJavaScriptUnit getWorkingCopy(WorkingCopyOwner owner, IProblemRequestor problemRequestor, IProgressMonitor monitor) throws JavaScriptModelException;
-/**
- * Returns whether the resource of this working copy has changed since the
- * inception of this working copy.
- * Returns <code>false</code> if this javaScript file is not in working copy mode.
- *
- * @return whether the resource has changed
- */
-public boolean hasResourceChanged();
-/**
- * Returns whether this element is a working copy.
- *
- * @return true if this element is a working copy, false otherwise
- */
-boolean isWorkingCopy();
-
-/**
- * Reconciles the contents of this working copy, sends out a JavaScript delta
- * notification indicating the nature of the change of the working copy since
- * the last time it was either reconciled or made consistent
- * ({@link IOpenable#makeConsistent(IProgressMonitor)}), and returns a
- * javaScript file AST if requested.
- * <p>
- * It performs the reconciliation by locally caching the contents of
- * the working copy, updating the contents, then creating a delta
- * over the cached contents and the new contents, and finally firing
- * this delta.
- * <p>
- * The boolean argument allows to force problem detection even if the
- * working copy is already consistent.
- * </p>
- * <p>
- * This functionality allows to specify a working copy owner which is used
- * during problem detection. All references contained in the working copy are
- * resolved against other units; for which corresponding owned working copies
- * are going to take precedence over their original javaScript files. If
- * <code>null</code> is passed in, then the primary working copy owner is used.
- * </p>
- * <p>
- * Compilation problems found in the new contents are notified through the
- * {@link IProblemRequestor} interface which was passed at
- * creation, and no longer as transient markers.
- * </p>
- * <p>
- * Note: Since 3.0, added/removed/changed inner types generate change deltas.
- * </p>
- * <p>
- * If requested, a DOM AST representing the javaScript file is returned.
- * Its bindings are computed only if the problem requestor is active, or if the
- * problem detection is forced. This method returns <code>null</code> if the
- * creation of the DOM AST was not requested, or if the requested level of AST
- * API is not supported, or if the working copy was already consistent.
- * </p>
- *
- * <p>
- * This method doesn't perform statements recovery. To recover statements with syntax
- * errors, {@link #reconcile(int, boolean, boolean, WorkingCopyOwner, IProgressMonitor)} must be use.
- * </p>
- *
- * @param astLevel either {@link #NO_AST} if no AST is wanted,
- * or the {@linkplain AST#newAST(int) AST API level} of the AST if one is wanted
- * @param forceProblemDetection boolean indicating whether problem should be
- * recomputed even if the source hasn't changed
- * @param owner the owner of working copies that take precedence over the
- * original javaScript files, or <code>null</code> if the primary working
- * copy owner should be used
- * @param monitor a progress monitor
- * @return the javaScript file AST or <code>null</code> if not requested,
- * or if the requested level of AST API is not supported,
- * or if the working copy was consistent
- * @throws JavaScriptModelException if the contents of the original element
- * cannot be accessed. Reasons include:
- * <ul>
- * <li> The original JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * </ul>
- */
-JavaScriptUnit reconcile(int astLevel, boolean forceProblemDetection, WorkingCopyOwner owner, IProgressMonitor monitor) throws JavaScriptModelException;
-
-/**
- * Reconciles the contents of this working copy, sends out a JavaScript delta
- * notification indicating the nature of the change of the working copy since
- * the last time it was either reconciled or made consistent
- * ({@link IOpenable#makeConsistent(IProgressMonitor)}), and returns a
- * javaScript file AST if requested.
- * <p>
- * It performs the reconciliation by locally caching the contents of
- * the working copy, updating the contents, then creating a delta
- * over the cached contents and the new contents, and finally firing
- * this delta.
- * <p>
- * The boolean argument allows to force problem detection even if the
- * working copy is already consistent.
- * </p>
- * <p>
- * This functionality allows to specify a working copy owner which is used
- * during problem detection. All references contained in the working copy are
- * resolved against other units; for which corresponding owned working copies
- * are going to take precedence over their original javaScript files. If
- * <code>null</code> is passed in, then the primary working copy owner is used.
- * </p>
- * <p>
- * Compilation problems found in the new contents are notified through the
- * {@link IProblemRequestor} interface which was passed at
- * creation, and no longer as transient markers.
- * </p>
- * <p>
- * Note: Since 3.0, added/removed/changed inner types generate change deltas.
- * </p>
- * <p>
- * If requested, a DOM AST representing the javaScript file is returned.
- * Its bindings are computed only if the problem requestor is active, or if the
- * problem detection is forced. This method returns <code>null</code> if the
- * creation of the DOM AST was not requested, or if the requested level of AST
- * API is not supported, or if the working copy was already consistent.
- * </p>
- *
- * <p>
- * If statements recovery is enabled then this method tries to rebuild statements
- * with syntax error. Otherwise statements with syntax error won't be present in
- * the returning DOM AST.
- * </p>
- *
- * @param astLevel either {@link #NO_AST} if no AST is wanted,
- * or the {@linkplain org.eclipse.wst.jsdt.core.dom.AST#newAST(int) AST API level} of the AST if one is wanted
- * @param forceProblemDetection boolean indicating whether problem should be
- * recomputed even if the source hasn't changed
- * @param enableStatementsRecovery if <code>true</code> statements recovery is enabled.
- * @param owner the owner of working copies that take precedence over the
- * original javaScript files, or <code>null</code> if the primary working
- * copy owner should be used
- * @param monitor a progress monitor
- * @return the javaScript file AST or <code>null</code> if not requested,
- * or if the requested level of AST API is not supported,
- * or if the working copy was consistent
- * @throws JavaScriptModelException if the contents of the original element
- * cannot be accessed. Reasons include:
- * <ul>
- * <li> The original JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * </ul>
- */
-JavaScriptUnit reconcile(int astLevel, boolean forceProblemDetection, boolean enableStatementsRecovery, WorkingCopyOwner owner, IProgressMonitor monitor) throws JavaScriptModelException;
-
-/**
- * Reconciles the contents of this working copy, sends out a JavaScript delta
- * notification indicating the nature of the change of the working copy since
- * the last time it was either reconciled or made consistent
- * ({@link IOpenable#makeConsistent(IProgressMonitor)}), and returns a
- * javaScript file AST if requested.
- *
- * <p>
- * If the problem detection is forced by passing the {@link #FORCE_PROBLEM_DETECTION} bit in the given reconcile flag,
- * problem detection is run even if the working copy is already consistent.
- * </p>
- *
- * <p>
- * It performs the reconciliation by locally caching the contents of
- * the working copy, updating the contents, then creating a delta
- * over the cached contents and the new contents, and finally firing
- * this delta.</p>
- *
- * <p>
- * This functionality allows to specify a working copy owner which is used
- * during problem detection. All references contained in the working copy are
- * resolved against other units; for which corresponding owned working copies
- * are going to take precedence over their original javaScript files. If
- * <code>null</code> is passed in, then the primary working copy owner is used.
- * </p>
- * <p>
- * Compilation problems found in the new contents are notified through the
- * {@link IProblemRequestor} interface which was passed at
- * creation, and no longer as transient markers.
- * </p>
- * <p>
- * Note: Since 3.0, added/removed/changed inner types generate change deltas.
- * </p>
- * <p>
- * If requested, a DOM AST representing the javaScript file is returned.
- * Its bindings are computed only if the problem requestor is active, or if the
- * problem detection is forced. This method returns <code>null</code> if the
- * creation of the DOM AST was not requested, or if the requested level of AST
- * API is not supported, or if the working copy was already consistent.
- * </p>
- *
- * <p>
- * If statements recovery is enabled by passing the {@link #ENABLE_STATEMENTS_RECOVERY} bit in the given reconcile flag
- * then this method tries to rebuild statements with syntax error. Otherwise statements with syntax error won't be
- * present in the returning DOM AST.</p>
- * <p>
- * If bindings recovery is enabled by passing the {@link #ENABLE_BINDINGS_RECOVERY} bit in the given reconcile flag
- * then this method tries to resolve bindings even if the type resolution contains errors.</p>
- * <p>
- * The given reconcile flags is a bit-mask of the different constants ({@link #ENABLE_BINDINGS_RECOVERY},
- * {@link #ENABLE_STATEMENTS_RECOVERY}, {@link #FORCE_PROBLEM_DETECTION}). Unspecified values are left for future use.
- * </p>
- *
- * @param astLevel either {@link #NO_AST} if no AST is wanted,
- * or the {@linkplain org.eclipse.wst.jsdt.core.dom.AST#newAST(int) AST API level} of the AST if one is wanted
- * @param reconcileFlags the given reconcile flags
- * @param owner the owner of working copies that take precedence over the
- * original javaScript files, or <code>null</code> if the primary working
- * copy owner should be used
- * @param monitor a progress monitor
- * @return the javaScript file AST or <code>null</code> if not requested,
- * or if the requested level of AST API is not supported,
- * or if the working copy was consistent
- * @throws JavaScriptModelException if the contents of the original element
- * cannot be accessed. Reasons include:
- * <ul>
- * <li> The original JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * </ul>
- * @see #FORCE_PROBLEM_DETECTION
- * @see #ENABLE_BINDINGS_RECOVERY
- * @see #ENABLE_STATEMENTS_RECOVERY
- */
-JavaScriptUnit reconcile(int astLevel, int reconcileFlags, WorkingCopyOwner owner, IProgressMonitor monitor) throws JavaScriptModelException;
-
-/**
- * Restores the contents of this working copy to the current contents of
- * this working copy's original element. Has no effect if this element
- * is not a working copy.
- *
- * <p>Note: This is the inverse of committing the content of the
- * working copy to the original element with {@link #commitWorkingCopy(boolean, IProgressMonitor)}.
- *
- * @throws JavaScriptModelException if the contents of the original element
- * cannot be accessed. Reasons include:
- * <ul>
- * <li> The original JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * </ul>
- */
-void restore() throws JavaScriptModelException;
-
-/**
- * Finds the function in this javaScript file that correspond to
- * the given function.
- * Returns <code>null</code> if no such function can be found
- * or if the given element is not included in a javaScript file.
- *
- * @param function the given function
- * @return the found functions in this javaScript file that correspond to the given function
- */
-IFunction[] findFunctions(IFunction function);
-
-
-
-
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.java
deleted file mode 100644
index dbecc910..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.java
+++ /dev/null
@@ -1,183 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.core.runtime.IPath;
-
-/**
- * Interface of a includepath container.
- * A includepath container provides a way to indirectly reference a set of includepath entries through
- * a includepath entry of kind <code>CPE_CONTAINER</code>. Typically, a includepath container can
- * be used to describe a complex library composed of filess or projects, considering also
- * that containers can map to different set of entries on each project, in other words, several
- * projects can reference the same generic container path, but have each of them actually bound
- * to a different container object.
- * <p>
- * The set of entries associated with a includepath container may contain any of the following:
- * <ul>
- * <li> library entries (<code>CPE_LIBRARY</code>) </li>
- * <li> project entries (<code>CPE_PROJECT</code>) </li>
- * </ul>
- * In particular, a includepath container can neither reference further includepath containers or includepath variables.
- * <p>
- * Classpath container values are persisted locally to the workspace, but are not preserved from a
- * session to another. It is thus highly recommended to register a <code>JsGlobalScopeContainerInitializer</code>
- * for each referenced container (through the extension point "org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer").
- * <p>
- * @see IIncludePathEntry
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-
-public interface IJsGlobalScopeContainer {
-
- /**
- * Kind for a container mapping to an application library
- */
- int K_APPLICATION = 1;
-
- /**
- * Kind for a container mapping to a system library
- */
- int K_SYSTEM = 2;
-
- /**
- * Kind for a container mapping to a default system library, implicitly contributed by the runtime
- */
- int K_DEFAULT_SYSTEM = 3;
-
- /**
- * Answers the set of includepath entries this container is mapping to.
- * <p>
- * The set of entries associated with a includepath container may contain any of the following:
- * <ul>
- * <li> library entries (<code>CPE_LIBRARY</code>) </li>
- * <li> project entries (<code>CPE_PROJECT</code>) </li>
- * </ul>
- * A includepath container can neither reference further includepath containers
- * or includepath variables.
- * </p>
- * <p>
- * This method is called by the JavaScript model when it needs to resolve this
- * includepath container entry into a list of library and project entries.
- * The method is typically called exactly once for a given JavaScript project,
- * and the resulting list of entries cached internally by the JavaScript model.
- * This method must not be called by other clients.
- * <p>
- * There are a wide variety of conditions under which this method may be
- * invoked. To ensure that the implementation does not interfere with
- * correct functioning of the JavaScript model, the implementation should use
- * only the following JavaScript model APIs:
- * <ul>
- * <li>{@link JavaScriptCore#newLibraryEntry(IPath, IPath, IPath, boolean)} and variants</li>
- * <li>{@link JavaScriptCore#newProjectEntry(IPath, boolean)} and variants</li>
- * <li>{@link JavaScriptCore#create(org.eclipse.core.resources.IWorkspaceRoot)}</li>
- * <li>{@link JavaScriptCore#create(org.eclipse.core.resources.IProject)}</li>
- * <li>{@link IJavaScriptModel#getJavaScriptProjects()}</li>
- * <li>{@link IJavaScriptProject#getRawIncludepath()}</li>
- * <li>{@link IJavaScriptProject#readRawIncludepath()}</li>
- * <li>{@link IJavaScriptProject#getOutputLocation()}</li>
- * <li>{@link IJavaScriptProject#readOutputLocation()}</li>
- * <li>JavaScript element operations marked as "handle-only"</li>
- * </ul>
- * The effects of using other JavaScript model APIs are unspecified.
- * </p>
- *
- * @return IIncludePathEntry[] - the includepath entries this container represents
- * @see IIncludePathEntry
- * @deprecated Use {@link #getIncludepathEntries()} instead
- */
- IIncludePathEntry[] getClasspathEntries();
-
- /**
- * Answers the set of includepath entries this container is mapping to.
- * <p>
- * The set of entries associated with a includepath container may contain any of the following:
- * <ul>
- * <li> library entries (<code>CPE_LIBRARY</code>) </li>
- * <li> project entries (<code>CPE_PROJECT</code>) </li>
- * </ul>
- * A includepath container can neither reference further includepath containers
- * or includepath variables.
- * </p>
- * <p>
- * This method is called by the JavaScript model when it needs to resolve this
- * includepath container entry into a list of library and project entries.
- * The method is typically called exactly once for a given JavaScript project,
- * and the resulting list of entries cached internally by the JavaScript model.
- * This method must not be called by other clients.
- * <p>
- * There are a wide variety of conditions under which this method may be
- * invoked. To ensure that the implementation does not interfere with
- * correct functioning of the JavaScript model, the implementation should use
- * only the following JavaScript model APIs:
- * <ul>
- * <li>{@link JavaScriptCore#newLibraryEntry(IPath, IPath, IPath, boolean)} and variants</li>
- * <li>{@link JavaScriptCore#newProjectEntry(IPath, boolean)} and variants</li>
- * <li>{@link JavaScriptCore#create(org.eclipse.core.resources.IWorkspaceRoot)}</li>
- * <li>{@link JavaScriptCore#create(org.eclipse.core.resources.IProject)}</li>
- * <li>{@link IJavaScriptModel#getJavaScriptProjects()}</li>
- * <li>{@link IJavaScriptProject#getRawIncludepath()}</li>
- * <li>{@link IJavaScriptProject#readRawIncludepath()}</li>
- * <li>{@link IJavaScriptProject#getOutputLocation()}</li>
- * <li>{@link IJavaScriptProject#readOutputLocation()}</li>
- * <li>JavaScript element operations marked as "handle-only"</li>
- * </ul>
- * The effects of using other JavaScript model APIs are unspecified.
- * </p>
- *
- * @return IIncludePathEntry[] - the includepath entries this container represents
- * @see IIncludePathEntry
- */
- IIncludePathEntry[] getIncludepathEntries();
-
- /**
- * Answers a readable description of this container
- *
- * @return String - a string description of the container
- */
- String getDescription();
-
- /**
- * Answers the kind of this container. Can be either:
- * <ul>
- * <li><code>K_APPLICATION</code> if this container maps to an application library</li>
- * <li><code>K_SYSTEM</code> if this container maps to a system library</li>
- * <li><code>K_DEFAULT_SYSTEM</code> if this container maps to a default system library (library
- * implicitly contributed by the runtime).</li>
- * </ul>
- * Typically, system containers should be placed first on a build path.
- * @return the kind of this container
- */
- int getKind();
-
- /**
- * Answers the container path identifying this container.
- * A container path is formed by a first ID segment followed with extra segments, which
- * can be used as additional hints for resolving to this container.
- * <p>
- * The container ID is also used to identify a<code>JsGlobalScopeContainerInitializer</code>
- * registered on the extension point "org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer", which can
- * be invoked if needing to resolve the container before it is explicitly set.
- * <p>
- * @return IPath - the container path that is associated with this container
- */
- IPath getPath();
-
- /* allows mapping between HTML imports and a toolkits actual page imports. Implementers
- * should ensure the validity of the imports before returning a value.
- */
- String[] resolvedLibraryImport(String a);
-}
-
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.java
deleted file mode 100644
index 3b47c5e2..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.java
+++ /dev/null
@@ -1,186 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/**
- *
- */
-package org.eclipse.wst.jsdt.core;
-
-import java.net.URI;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.wst.jsdt.core.compiler.libraries.LibraryLocation;
-
-/**
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IJsGlobalScopeContainerInitializer {
- /**
- * Binds a includepath container to a <code>IJsGlobalScopeContainer</code> for a given project,
- * or silently fails if unable to do so.
- * <p>
- * A container is identified by a container path, which must be formed of two segments.
- * The first segment is used as a unique identifier (which this initializer did register onto), and
- * the second segment can be used as an additional hint when performing the resolution.
- * <p>
- * The initializer is invoked if a container path needs to be resolved for a given project, and no
- * value for it was recorded so far. The implementation of the initializer would typically set the
- * corresponding container using <code>JavaScriptCore#setJsGlobalScopeContainer</code>.
- * <p>
- * A container initialization can be indirectly performed while attempting to resolve a project
- * includepath using <code>IJavaScriptProject#getResolvedClasspath(</code>; or directly when using
- * <code>JavaScriptCore#getJsGlobalScopeContainer</code>. During the initialization process, any attempt
- * to further obtain the same container will simply return <code>null</code> so as to avoid an
- * infinite regression of initializations.
- * <p>
- * A container initialization may also occur indirectly when setting a project includepath, as the operation
- * needs to resolve the includepath for validation purpose. While the operation is in progress, a referenced
- * container initializer may be invoked. If the initializer further tries to access the referring project includepath,
- * it will not see the new assigned includepath until the operation has completed. Note that once the JavaScript
- * change notification occurs (at the end of the operation), the model has been updated, and the project
- * includepath can be queried normally.
- * <p>
- * This method is called by the JavaScript model to give the party that defined
- * this particular kind of includepath container the chance to install
- * includepath container objects that will be used to convert includepath
- * container entries into simpler includepath entries. The method is typically
- * called exactly once for a given JavaScript project and includepath container
- * entry. This method must not be called by other clients.
- * <p>
- * There are a wide variety of conditions under which this method may be
- * invoked. To ensure that the implementation does not interfere with
- * correct functioning of the JavaScript model, the implementation should use
- * only the following JavaScript model APIs:
- * <ul>
- * <li>{@link JavaScriptCore#setJsGlobalScopeContainer(IPath, IJavaScriptProject[], IJsGlobalScopeContainer[], org.eclipse.core.runtime.IProgressMonitor)}</li>
- * <li>{@link JavaScriptCore#getJsGlobalScopeContainer(IPath, IJavaScriptProject)}</li>
- * <li>{@link JavaScriptCore#create(org.eclipse.core.resources.IWorkspaceRoot)}</li>
- * <li>{@link JavaScriptCore#create(org.eclipse.core.resources.IProject)}</li>
- * <li>{@link IJavaScriptModel#getJavaScriptProjects()}</li>
- * <li>JavaScript element operations marked as "handle-only"</li>
- * </ul>
- * The effects of using other JavaScript model APIs are unspecified.
- * </p>
- *
- * @param containerPath a two-segment path (ID/hint) identifying the container that needs
- * to be resolved
- * @param project the JavaScript project in which context the container is to be resolved.
- * This allows generic containers to be bound with project specific values.
- * @throws CoreException if an exception occurs during the initialization
- *
- * @see JavaScriptCore#getJsGlobalScopeContainer(IPath, IJavaScriptProject)
- * @see JavaScriptCore#setJsGlobalScopeContainer(IPath, IJavaScriptProject[], IJsGlobalScopeContainer[], org.eclipse.core.runtime.IProgressMonitor)
- * @see IJsGlobalScopeContainer
- */
- public abstract void initialize(IPath containerPath, IJavaScriptProject project) throws CoreException;
-
- /**
- * Returns <code>true</code> if this container initializer can be requested to perform updates
- * on its own container values. If so, then an update request will be performed using
- * <code>JsGlobalScopeContainerInitializer#requestJsGlobalScopeContainerUpdate</code>/
- * <p>
- * @param containerPath the path of the container which requires to be updated
- * @param project the project for which the container is to be updated
- * @return returns <code>true</code> if the container can be updated
- */
- public abstract boolean canUpdateJsGlobalScopeContainer(IPath containerPath, IJavaScriptProject project);
-
- /**
- * Request a registered container definition to be updated according to a container suggestion. The container suggestion
- * only acts as a place-holder to pass along the information to update the matching container definition(s) held by the
- * container initializer. In particular, it is not expected to store the container suggestion as is, but rather adjust
- * the actual container definition based on suggested changes.
- * <p>
- * IMPORTANT: In reaction to receiving an update request, a container initializer will update the corresponding
- * container definition (after reconciling changes) at its earliest convenience, using
- * <code>JavaScriptCore#setJsGlobalScopeContainer(IPath, IJavaScriptProject[], IJsGlobalScopeContainer[], IProgressMonitor)</code>.
- * Until it does so, the update will not be reflected in the JavaScript Model.
- * <p>
- * In order to anticipate whether the container initializer allows to update its containers, the predicate
- * <code>JavaScriptCore#canUpdateJsGlobalScopeContainer</code> should be used.
- * <p>
- * @param containerPath the path of the container which requires to be updated
- * @param project the project for which the container is to be updated
- * @param containerSuggestion a suggestion to update the corresponding container definition
- * @throws CoreException when <code>JavaScriptCore#setJsGlobalScopeContainer</code> would throw any.
- * @see JavaScriptCore#setJsGlobalScopeContainer(IPath, IJavaScriptProject[], IJsGlobalScopeContainer[], org.eclipse.core.runtime.IProgressMonitor)
- * @see JsGlobalScopeContainerInitializer#canUpdateJsGlobalScopeContainer(IPath, IJavaScriptProject)
- */
- public abstract void requestJsGlobalScopeContainerUpdate(IPath containerPath, IJavaScriptProject project, IJsGlobalScopeContainer containerSuggestion)
- throws CoreException;
-
- /**
- * Returns a readable description for a container path. A readable description for a container path can be
- * used for improving the display of references to container, without actually needing to resolve them.
- * A good implementation should answer a description consistent with the description of the associated
- * target container (see <code>IJsGlobalScopeContainer.getDescription()</code>).
- *
- * @param containerPath the path of the container which requires a readable description
- * @param project the project from which the container is referenced
- * @return a string description of the container
- */
- public abstract String getDescription(IPath containerPath, IJavaScriptProject project);
-
- /**
- * Returns a includepath container that is used after this initializer failed to bind a includepath container
- * to a <code>IJsGlobalScopeContainer</code> for the given project. A non-<code>null</code>
- * failure container indicates that there will be no more request to initialize the given container
- * for the given project.
- * <p>
- * By default a non-<code>null</code> failure container with no includepath entries is returned.
- * Clients wishing to get a chance to run the initializer again should override this method
- * and return <code>null</code>.
- * </p>
- *
- * @param containerPath the path of the container which failed to initialize
- * @param project the project from which the container is referenced
- * @return the default failure container, or <code>null</code> if wishing to run the initializer again
- */
- public abstract IJsGlobalScopeContainer getFailureContainer(final IPath containerPath, IJavaScriptProject project);
-
- /**
- * Returns an object which identifies a container for comparison purpose. This allows
- * to eliminate redundant containers when accumulating includepath entries (e.g.
- * runtime includepath computation). When requesting a container comparison ID, one
- * should ensure using its corresponding container initializer. Indeed, a random container
- * initializer cannot be held responsible for determining comparison IDs for arbitrary
- * containers.
- * <p>
- * @param containerPath the path of the container which is being checked
- * @param project the project for which the container is to being checked
- * @return returns an Object identifying the container for comparison
- */
- public abstract Object getComparisonID(IPath containerPath, IJavaScriptProject project);
-
- public abstract URI getHostPath(IPath path, IJavaScriptProject project);
-
- LibraryLocation getLibraryLocation();
- /*
- * Returns if this library allows attachment of external JsDoc
- */
- boolean allowAttachJsDoc();
- /**
- * returns a String of all SuperTypes provided by this library.
- */
- String[] containerSuperTypes();
-
- /**
- * Get the id of the inference provider for this library
- * @return inference provider id
- */
- String getInferenceID();
-
- void removeFromProject(IJavaScriptProject project);
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ILocalVariable.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ILocalVariable.java
deleted file mode 100644
index 316d042a..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ILocalVariable.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-/**
- * Represents a local variable declared in a method..
- * <code>ILocalVariable</code> are pseudo-elements created as the result of a <code>ICodeAssist.codeSelect(...)</code>
- * operation. They are not part of the JavaScript model (<code>exists()</code> returns whether the parent exists rather than
- * whether the local variable exists in the parent) and they are not included in the children of an <code>IFunction</code>
- * or an <code>IInitializer</code>.
- * <p>
- * In particular such a pseudo-element should not be used as a handle. For example its name range won't be updated
- * if the underlying source changes.
- * </p><p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface ILocalVariable extends IJavaScriptElement, ISourceReference {
-
- /**
- * Returns the name of this local variable.
- *
- * @return the name of this local variable.
- */
- String getElementName();
-
- /**
- * Returns the source range of this local variable's name.
- *
- * @return the source range of this local variable's name
- */
- ISourceRange getNameRange();
-
- /**
- * Returns the type signature of this local variable.
- * <p>
- * The type signature may be either unresolved (for source types)
- * or resolved (for binary types), and either basic (for basic types)
- * or rich (for parameterized types). See {@link Signature} for details.
- * </p>
- *
- * @return the type signature of this local variable.
- * @see Signature
- */
- String getTypeSignature();
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ILookupScope.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ILookupScope.java
deleted file mode 100644
index 0abb85e2..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ILookupScope.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.wst.jsdt.internal.core.NameLookup;
-import org.eclipse.wst.jsdt.internal.core.SearchableEnvironment;
-
-/**
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-
-public interface ILookupScope {
- /*
- * Returns a new name lookup. This name lookup first looks in the given working copies.
- */
- public NameLookup newNameLookup(IJavaScriptUnit[] workingCopies) throws JavaScriptModelException;
-
- /*
- * Returns a new name lookup. This name lookup first looks in the working copies of the given owner.
- */
- public NameLookup newNameLookup(WorkingCopyOwner owner) throws JavaScriptModelException ;
-
- /*
- * Returns a new search name environment for this project. This name environment first looks in the given working copies.
- */
- public SearchableEnvironment newSearchableNameEnvironment(IJavaScriptUnit[] workingCopies) throws JavaScriptModelException ;
-
- /*
- * Returns a new search name environment for this project. This name environment first looks in the working copies
- * of the given owner.
- */
- public SearchableEnvironment newSearchableNameEnvironment(WorkingCopyOwner owner) throws JavaScriptModelException;
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IMember.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IMember.java
deleted file mode 100644
index eeae683a..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IMember.java
+++ /dev/null
@@ -1,166 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-/**
- * Common protocol for JavaScript elements that can be members of javaScript files or types.
- * This set consists of <code>IType</code>, <code>IFunction</code>,
- * <code>IField</code>, and <code>IInitializer</code>.
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IMember extends IJavaScriptElement, ISourceReference, ISourceManipulation, IParent {
-/**
- * Returns the categories defined by this member's JSDoc. A category is the identifier
- * following the tag <code>@category</code> in the member's JSDoc.
- * Returns an empty array if no category is defined in this member's JSDoc.
- *
- * @return the categories defined by this member's doc
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- */
-String[] getCategories() throws JavaScriptModelException;
-/*
- * Returns the class file in which this member is declared, or <code>null</code>
- * if this member is not declared in a class file (for example, a source type).
- * This is a handle-only method.
- *
- * @return the class file in which this member is declared, or <code>null</code>
- * if this member is not declared in a class file (for example, a source type)
- */
-IClassFile getClassFile();
-/**
- * Returns the javaScript unit in which this member is declared, or <code>null</code>
- * if this member is not declared in a javaScript unit .
- * This is a handle-only method.
- *
- * @return the javaScript unit in which this member is declared, or <code>null</code>
- * if this member is not declared in a javaScript unit
- * @deprecated Use {@link #getJavaScriptUnit()} instead
- */
-IJavaScriptUnit getCompilationUnit();
-/**
- * Returns the javaScript unit in which this member is declared, or <code>null</code>
- * if this member is not declared in a javaScript unit.
- * This is a handle-only method.
- *
- * @return the javaScript unit in which this member is declared, or <code>null</code>
- * if this member is not declared in a javaScript unit (for example, a binary type)
- */
-IJavaScriptUnit getJavaScriptUnit();
-/**
- * Returns the type in which this member is declared, or <code>null</code>
- * if this member is not declared in a type (for example, a top-level type).
- * This is a handle-only method.
- *
- * @return the type in which this member is declared, or <code>null</code>
- * if this member is not declared in a type (for example, a top-level type)
- */
-IType getDeclaringType();
-/**
- * Returns the modifier flags for this member. The flags can be examined using class
- * <code>Flags</code>.
- * <p>
- * Note that only flags as indicated in the source are returned. Thus if an interface
- * defines a method <code>void myMethod();</code> the flags don't include the
- * 'public' flag.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the modifier flags for this member
- * @see Flags
- */
-int getFlags() throws JavaScriptModelException;
-/**
- * Returns the JSDoc range if this element is from source or if this element
- * is a binary element with an attached source, null otherwise.
- *
- * <p>If this element is from source, the jsdoc range is
- * extracted from the corresponding source.</p>
- * <p>If this element is from a binary, the jsdoc is extracted from the
- * attached source if present.</p>
- * <p>If this element's openable is not consistent, then null is returned.</p>
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return a source range corresponding to the jsdoc source or <code>null</code>
- * if no source is available, this element has no jsdoc comment or
- * this element's openable is not consistent
- * @see IOpenable#isConsistent()
- */
-ISourceRange getJSdocRange() throws JavaScriptModelException;
-/**
- * Returns the source range of this member's simple name,
- * or <code>null</code> if this member does not have a name
- * (for example, an initializer), or if this member does not have
- * associated source code (for example, a binary type).
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the source range of this member's simple name,
- * or <code>null</code> if this member does not have a name
- * (for example, an initializer), or if this member does not have
- * associated source code (for example, a binary type)
- */
-ISourceRange getNameRange() throws JavaScriptModelException;
-/**
- * Returns the position relative to the order this member is defined in the source.
- * Numbering starts at 1 (thus the first occurrence is occurrence 1, not occurrence 0).
- * <p>
- * Two members m1 and m2 that are equal (e.g. 2 fields with the same name in
- * the same type) can be distinguished using their occurrence counts. If member
- * m1 appears first in the source, it will have an occurrence count of 1. If member
- * m2 appears right after member m1, it will have an occurrence count of 2.
- * </p><p>
- * The occurrence count can be used to distinguish initializers inside a type
- * or anonymous types inside a method.
- * </p><p>
- * This is a handle-only method. The member may or may not be present.
- * </p>
- *
- * @return the position relative to the order this member is defined in the source
- */
-int getOccurrenceCount();
-/**
- * Returns the JavaScript type root in which this member is declared.
- * This is a handle-only method.
- *
- * @return the JavaScript type root in which this member is declared.
- */
-ITypeRoot getTypeRoot();
-/**
- * Returns the local or anonymous type declared in this source member with the given simple name and/or
- * with the specified position relative to the order they are defined in the source.
- * The name is empty if it is an anonymous type.
- * Numbering starts at 1 (thus the first occurrence is occurrence 1, not occurrence 0).
- * This is a handle-only method. The type may or may not exist.
- * Throws a <code>RuntimeException</code> if this member is not a source member.
- *
- * @param name the given simple name
- * @param occurrenceCount the specified position
- * @return the type with the given name and/or with the specified position relative to the order they are defined in the source
- */
-IType getType(String name, int occurrenceCount);
-/**
- * Returns whether this member is from a non-editable file.
- * This is a handle-only method.
- *
- * @return <code>true</code> if from a non-editable file, and <code>false</code> if
- * from a javaScript unit
- */
-boolean isBinary();
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IOpenable.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IOpenable.java
deleted file mode 100644
index 2b282860..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IOpenable.java
+++ /dev/null
@@ -1,193 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-
-/**
- * Common protocol for JavaScript elements that must be opened before they can be
- * navigated or modified. Opening a textual element (such as a javaScript file)
- * involves opening a buffer on its contents. While open, any changes to the buffer
- * can be reflected in the element's structure;
- * see {@link #isConsistent} and {@link #makeConsistent(IProgressMonitor)}.
- * <p>
- * To reduce complexity in clients, elements are automatically opened
- * by the JavaScript model as element properties are accessed. The JavaScript model maintains
- * an LRU cache of open elements, and automatically closes elements as they
- * are swapped out of the cache to make room for other elements. Elements with
- * unsaved changes are never removed from the cache, and thus, if the client
- * maintains many open elements with unsaved
- * changes, the LRU cache can grow in size (in this case the cache is not
- * bounded). However, as elements are saved, the cache will shrink back to its
- * original bounded size.
- * </p>
- * <p>
- * To open an element, all openable parent elements must be open.
- * The JavaScript model automatically opens parent elements, as it automatically opens elements.
- * Opening an element may provide access to direct children and other descendants,
- * but does not automatically open any descendents which are themselves {@link IOpenable}.
- * For example, opening a compilation unit provides access to all its constituent elements,
- * but opening a package fragment does not open all compilation units in the package fragment.
- * </p>
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IOpenable {
-
-/**
- * Closes this element and its buffer (if any).
- * Closing an element which is not open has no effect.
- *
- * <p>Note: although {@link #close} is exposed in the API, clients are
- * not expected to open and close elements - the JavaScript model does this automatically
- * as elements are accessed.
- *
- * @exception JavaScriptModelException if an error occurs closing this element
- */
-public void close() throws JavaScriptModelException;
-/**
- * Finds and returns the recommended line separator for this element.
- * The element's buffer is first searched and the first line separator in this buffer is returned if any.
- * Otherwise the preference {@link org.eclipse.core.runtime.Platform#PREF_LINE_SEPARATOR}
- * on this element's project or workspace is returned.
- * Finally if no such preference is set, the system line separator is returned.
- *
- * @return the recommended line separator for this element
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- */
-public String findRecommendedLineSeparator() throws JavaScriptModelException;
-/**
- * Returns the buffer opened for this element, or <code>null</code>
- * if this element does not have a buffer.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the buffer opened for this element, or <code>null</code>
- * if this element does not have a buffer
- */
-public IBuffer getBuffer() throws JavaScriptModelException;
-/**
- * Returns <code>true</code> if this element is open and:
- * <ul>
- * <li>its buffer has unsaved changes, or
- * <li>one of its descendants has unsaved changes, or
- * <li>a working copy has been created on one of this
- * element's children and has not yet destroyed
- * </ul>
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return <code>true</code> if this element is open and:
- * <ul>
- * <li>its buffer has unsaved changes, or
- * <li>one of its descendants has unsaved changes, or
- * <li>a working copy has been created on one of this
- * element's children and has not yet destroyed
- * </ul>
- */
-boolean hasUnsavedChanges() throws JavaScriptModelException;
-/**
- * Returns whether the element is consistent with its underlying resource or buffer.
- * The element is consistent when opened, and is consistent if the underlying resource
- * or buffer has not been modified since it was last consistent.
- *
- * <p>NOTE: Child consistency is not considered. For example, a package fragment
- * responds <code>true</code> when it knows about all of its
- * compilation units present in its underlying folder. However, one or more of
- * the compilation units could be inconsistent.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return true if the element is consistent with its underlying resource or buffer, false otherwise.
- * @see IOpenable#makeConsistent(IProgressMonitor)
- */
-boolean isConsistent() throws JavaScriptModelException;
-/**
- * Returns whether this openable is open. This is a handle-only method.
- * @return true if this openable is open, false otherwise
- */
-boolean isOpen();
-/**
- * Makes this element consistent with its underlying resource or buffer
- * by updating the element's structure and properties as necessary.
- *<p>
- * Note: Using this functionality on a working copy will interfere with any
- * subsequent reconciling operation. Indeed, the next
- * {@link IJavaScriptUnit#reconcile(int, boolean, WorkingCopyOwner, IProgressMonitor)} or
- * {@link IJavaScriptUnit#reconcile(int, boolean, boolean, WorkingCopyOwner, IProgressMonitor)}
- * operation will not account for changes which occurred before an
- * explicit use of {@link #makeConsistent(IProgressMonitor)}
- * <p>
- * @param progress the given progress monitor
- * @exception JavaScriptModelException if the element is unable to access the contents
- * of its underlying resource. Reasons include:
- * <ul>
- * <li>This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * </ul>
- * @see IOpenable#isConsistent()
- * @see IJavaScriptUnit#reconcile(int, boolean, WorkingCopyOwner, IProgressMonitor)
- */
-void makeConsistent(IProgressMonitor progress) throws JavaScriptModelException;
-/**
- * Opens this element and all parent elements that are not already open.
- * For compilation units, a buffer is opened on the contents of the underlying resource.
- *
- * <p>Note: although {@link #open} is exposed in the API, clients are
- * not expected to open and close elements - the JavaScript model does this automatically
- * as elements are accessed.
- *
- * @param progress the given progress monitor
- * @exception JavaScriptModelException if an error occurs accessing the contents
- * of its underlying resource. Reasons include:
- * <ul>
- * <li>This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * </ul>
- */
-public void open(IProgressMonitor progress) throws JavaScriptModelException;
-/**
- * Saves any changes in this element's buffer to its underlying resource
- * via a workspace resource operation. This has no effect if the element has no underlying
- * buffer, or if there are no unsaved changed in the buffer.
- * <p>
- * The <code>force</code> parameter controls how this method deals with
- * cases where the workbench is not completely in sync with the local file system.
- * If <code>false</code> is specified, this method will only attempt
- * to overwrite a corresponding file in the local file system provided
- * it is in sync with the workbench. This option ensures there is no
- * unintended data loss; it is the recommended setting.
- * However, if <code>true</code> is specified, an attempt will be made
- * to write a corresponding file in the local file system,
- * overwriting any existing one if need be.
- * In either case, if this method succeeds, the resource will be marked
- * as being local (even if it wasn't before).
- * <p>
- * As a result of this operation, the element is consistent with its underlying
- * resource or buffer.
- *
- * @param progress the given progress monitor
- * @param force it controls how this method deals with
- * cases where the workbench is not completely in sync with the local file system
- * @exception JavaScriptModelException if an error occurs accessing the contents
- * of its underlying resource. Reasons include:
- * <ul>
- * <li>This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li>This JavaScript element is read-only (READ_ONLY)</li>
- * </ul>
- */
-public void save(IProgressMonitor progress, boolean force) throws JavaScriptModelException;
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IPackageDeclaration.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IPackageDeclaration.java
deleted file mode 100644
index 1165301d..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IPackageDeclaration.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-
-/**
- * Represents a package declaration in JavaScript compilation unit.
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * <p><b>Note: This Interface only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IPackageDeclaration extends IJavaScriptElement, ISourceReference {
-/**
- * Returns the name of the package the statement refers to.
- * This is a handle-only method.
- *
- * @return the name of the package the statement
- */
-String getElementName();
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IPackageFragment.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IPackageFragment.java
deleted file mode 100644
index edfd33bf..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IPackageFragment.java
+++ /dev/null
@@ -1,202 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-
-/**
- * A package fragment (or source folder) is a portion of the workspace corresponding to an entire package,
- * or to a portion thereof. The distinction between a package fragment and a package
- * is that a package with some name is the union of all package fragments in the includepath
- * which have the same name.
- * <p>
- * Package fragments elements need to be opened before they can be navigated or manipulated.
- * The children are of type <code>IJavaScriptUnit</code> (representing a source file) or
- * <code>IClassFile</code> (representing a read-only file).
- * The children are listed in no particular order.
- * </p>
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IPackageFragment extends IParent, IJavaScriptElement, IOpenable, ISourceManipulation {
-
- /**
- * <p>
- * The name of package fragment for the default package (value: the empty
- * string, <code>""</code>).
- * </p>
- */
- public static final String DEFAULT_PACKAGE_NAME = ""; //$NON-NLS-1$
- /**
- * Returns whether this fragment contains at least one JavaScript resource.
- * @return true if this fragment contains at least one JavaScript resource, false otherwise
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- */
- boolean containsJavaResources() throws JavaScriptModelException;
- /**
- * Creates and returns a javaScript unit in this package fragment
- * with the specified name and contents. No verification is performed
- * on the contents.
- *
- * <p>It is possible that a javaScript unit with the same name already exists in this
- * package fragment.
- * The value of the <code>force</code> parameter effects the resolution of
- * such a conflict:<ul>
- * <li> <code>true</code> - in this case the compilation is created with the new contents</li>
- * <li> <code>false</code> - in this case a <code>JavaScriptModelException</code> is thrown</li>
- * </ul>
- *
- * @param contents the given contents
- * @param force specify how to handle conflict is the same name already exists
- * @param monitor the given progress monitor
- * @param name the given name
- * @exception JavaScriptModelException if the element could not be created. Reasons include:
- * <ul>
- * <li> This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A <code>CoreException</code> occurred while creating an underlying resource
- * <li> The name is not a valid javaScript unit name (INVALID_NAME)
- * <li> The contents are <code>null</code> (INVALID_CONTENTS)
- * </ul>
- * @return a javaScript unit in this package fragment
- * with the specified name and contents
- */
- IJavaScriptUnit createCompilationUnit(String name, String contents, boolean force, IProgressMonitor monitor) throws JavaScriptModelException;
- /**
- * Returns the non-editable file with the specified name
- * in this folder .
- * This is a handle-only method. The file may or may not be present.
- * @param name the given name
- * @return the file with the specified name in this package
- */
- IClassFile getClassFile(String name);
- /**
- * Returns all of the non-editable files in this source folder.
- *
- * <p>Note: it is possible that a package fragment contains only
- * javaScript units (in other words, its kind is <code>K_SOURCE</code>), in
- * which case this method returns an empty collection.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return all of the files in this source folder
- */
- IClassFile[] getClassFiles() throws JavaScriptModelException;
- /**
- * Returns the javaScript unit with the specified name
- * in this package (for example, <code>"Object.js"</code>).
- * The name has to be a valid javaScript unit name.
- * This is a handle-only method. The javaScript unit may or may not be present.
- *
- * @param name the given name
- * @return the javaScript unit with the specified name in this package
- * @see JavaScriptConventions#validateCompilationUnitName(String name, String sourceLevel, String complianceLevel)
- */
- IJavaScriptUnit getJavaScriptUnit(String name);
- /**
- * Returns all of the javaScript units in this source folder.
- *
- * <p>Note: it is possible that a source folder contains only
- * read-only files (in other words, its kind is <code>K_BINARY</code>), in which
- * case this method returns an empty collection.
- * </p>
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return all of the javaScript units in this source folder
- */
- IJavaScriptUnit[] getJavaScriptUnits() throws JavaScriptModelException;
- /**
- * Returns all of the javaScript units in this source folder that are
- * in working copy mode and that have the given owner.
- * <p>
- * Only existing working copies are returned. So a javaScript unit handle that has no
- * corresponding resource on disk will be included if and only if is in working copy mode.
- * </p>
- * <p>Note: it is possible that a source folder contains only
- * read-only files (in other words, its kind is <code>K_BINARY</code>), in which
- * case this method returns an empty collection.
- * </p>
- *
- * @param owner the owner of the returned javaScript units
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return all of the javaScript units in this source folder
- */
- IJavaScriptUnit[] getJavaScriptUnits(WorkingCopyOwner owner) throws JavaScriptModelException;
- /**
- * Returns the dot-separated package name of this fragment, for example
- * <code>"java.lang"</code>, or <code>""</code> (the empty string),
- * for the default package.
- *
- * @return the dot-separated package name of this fragment
- */
- String getElementName();
- /**
- * Returns this package fragment's root kind encoded as an integer.
- * A package fragment can contain source files (i.e. files with one of
- * the {@link JavaScriptCore#getJavaScriptLikeExtensions() JavaScript-like extensions}),
- * or <code>.class</code> files. This is a convenience method.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return this package fragment's root kind encoded as an integer
- * @see IPackageFragmentRoot#K_SOURCE
- * @see IPackageFragmentRoot#K_BINARY
- */
- int getKind() throws JavaScriptModelException;
- /**
- * Returns an array of non-JavaScript resources contained in this source folder.
- * <p>
- * Non-JavaScript resources includes other files and folders located in the same
- * directory as the javaScript units for this package
- * fragment. Source files excluded from this package by virtue of
- * inclusion/exclusion patterns on the corresponding source includepath entry
- * are considered non-JavaScript resources and will appear in the result
- * (possibly in a folder).
- * </p>
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return an array of non-JavaScript resources (<code>IFile</code>s,
- * <code>IFolder</code>s, or <code>IStorage</code>s if the
- * package fragment is in an archive) contained in this package
- * fragment
- * @see IIncludePathEntry#getInclusionPatterns()
- * @see IIncludePathEntry#getExclusionPatterns()
- */
- Object[] getNonJavaScriptResources() throws JavaScriptModelException;
- /**
- * Returns whether this package fragment's name is
- * a prefix of other package fragments in this package fragment's
- * root.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return true if this package fragment's name is a prefix of other package fragments in this package fragment's root, false otherwise
- */
- boolean hasSubpackages() throws JavaScriptModelException;
- /**
- * Returns whether this package fragment is a default package.
- * This is a handle-only method.
- *
- * @return true if this package fragment is a default package
- */
- boolean isDefaultPackage();
-
- boolean isSource();
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IPackageFragmentRoot.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IPackageFragmentRoot.java
deleted file mode 100644
index 16790491..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IPackageFragmentRoot.java
+++ /dev/null
@@ -1,432 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- * IBM Corporation - specified that a source archive or a source folder can be attached to a binary
- * package fragment root.
- * IBM Corporation - added root manipulation APIs: copy, delete, move
- * IBM Corporation - added DESTINATION_PROJECT_INCLUDEPATH
- * IBM Corporation - added OTHER_REFERRING_PROJECTS_INCLUDEPATH
- * IBM Corporation - added NO_RESOURCE_MODIFICATION
- * IBM Corporation - added REPLACE
- * IBM Corporation - added ORIGINATING_PROJECT_INCLUDEPATH
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-
-/**
- * A package fragment root (or source folder root) contains a set of source folders (package fragments).
- * It corresponds to an underlying resource which is either folder. All descendant folders represent
- * package fragments. For a given child folder representing a package fragment,
- * the corresponding package name is composed of the folder names between the folder
- * for this root and the child folder representing the package, separated by '.'.
- * Package fragment roots need to be opened before they can be navigated or manipulated.
- * The children are of type <code>IPackageFragment</code>, and are in no particular order.
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IPackageFragmentRoot
- extends IParent, IJavaScriptElement, IOpenable {
- /**
- * Kind constant for a source path root. Indicates this root
- * only contains source files.
- */
- int K_SOURCE = 1;
- /**
- * Kind constant for a binary path root. Indicates this
- * root only contains binary (non-editable) files.
- */
- int K_BINARY = 2;
- /**
- * Empty root path
- */
- String DEFAULT_PACKAGEROOT_PATH = ""; //$NON-NLS-1$
- /**
- * Update model flag constant (bit mask value 1) indicating that the operation
- * is to not copy/move/delete the package fragment root resource.
- */
- int NO_RESOURCE_MODIFICATION = 1;
- /**
- * Update model flag constant (bit mask value 2) indicating that the operation
- * is to update the includepath of the originating project.
- */
- int ORIGINATING_PROJECT_INCLUDEPATH = 2;
- /**
- * Update model flag constant (bit mask value 4) indicating that the operation
- * is to update the includepath of all referring projects except the originating project.
- */
- int OTHER_REFERRING_PROJECTS_INCLUDEPATH = 4;
- /**
- * Update model flag constant (bit mask value 8) indicating that the operation
- * is to update the includepath of the destination project.
- */
- int DESTINATION_PROJECT_INCLUDEPATH = 8;
- /**
- * Update model flag constant (bit mask value 16) indicating that the operation
- * is to replace the resource and the destination project's includepath entry.
- */
- int REPLACE = 16;
- /*
- * Attaches the source archive identified by the given absolute path to this
- * binary package fragment root. <code>rootPath</code> specifies the location
- * of the root within the archive or folder (empty specifies the default root
- * and <code>null</code> specifies the root path should be detected).
- * Once a source archive or folder is attached to the package fragment root,
- * the <code>getSource</code> and <code>getSourceRange</code>
- * methods become operational for binary types/members.
- * To detach a source archive or folder from a package fragment root, specify
- * <code>null</code> as the source path.
- *
- * @param sourcePath the given absolute path to the source archive or folder
- * @param rootPath specifies the location of the root within the archive
- * (empty specifies the default root and <code>null</code> specifies
- * automatic detection of the root path)
- * @param monitor the given progress monitor
- * @exception JavaScriptModelException if this operation fails. Reasons include:
- * <ul>
- * <li> This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A <code>CoreException</code> occurred while updating a server property
- * <li> This package fragment root is not of kind binary (INVALID_ELEMENT_TYPES)
- * <li> The path provided is not absolute (RELATIVE_PATH)
- * </ul>
- */
- void attachSource(IPath sourcePath, IPath rootPath, IProgressMonitor monitor)
- throws JavaScriptModelException;
-
- /**
- * Copies the resource of this package fragment root to the destination path
- * as specified by <code>IResource.copy(IPath, int, IProgressMonitor)</code>
- * but excluding nested source folders.
- * <p>
- * If <code>NO_RESOURCE_MODIFICATION</code> is specified in
- * <code>updateModelFlags</code> or if this package fragment root is external,
- * this operation doesn't copy the resource. <code>updateResourceFlags</code>
- * is then ignored.
- * </p><p>
- * If <code>DESTINATION_PROJECT_INCLUDEPATH</code> is specified in
- * <code>updateModelFlags</code>, updates the includepath of the
- * destination's project (if it is a JavaScript project). If a non-<code>null</code>
- * sibling is specified, a copy of this root's includepath entry is inserted before the
- * sibling on the destination project's raw includepath. If <code>null</code> is
- * specified, the includepath entry is added at the end of the raw includepath.
- * </p><p>
- * If <code>REPLACE</code> is specified in <code>updateModelFlags</code>,
- * overwrites the resource at the destination path if any.
- * If the same includepath entry already exists on the destination project's raw
- * includepath, then the sibling is ignored and the new includepath entry replaces the
- * existing one.
- * </p><p>
- * If no flags is specified in <code>updateModelFlags</code> (using
- * <code>IResource.NONE</code>), the default behavior applies: the
- * resource is copied (if this package fragment root is not external) and the
- * includepath is not updated.
- * </p>
- *
- * @param destination the destination path
- * @param updateResourceFlags bit-wise or of update resource flag constants
- * (<code>IResource.FORCE</code> and <code>IResource.SHALLOW</code>)
- * @param updateModelFlags bit-wise or of update resource flag constants
- * (<code>DESTINATION_PROJECT_INCLUDEPATH</code> and
- * <code>NO_RESOURCE_MODIFICATION</code>)
- * @param sibling the includepath entry before which a copy of the includepath
- * entry should be inserted or <code>null</code> if the includepath entry should
- * be inserted at the end
- * @param monitor a progress monitor
- *
- * @exception JavaScriptModelException if this root could not be copied. Reasons
- * include:
- * <ul>
- * <li> This root does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A <code>CoreException</code> occurred while copying the
- * resource or updating a includepath</li>
- * <li>
- * The destination is not inside an existing project and <code>updateModelFlags</code>
- * has been specified as <code>DESTINATION_PROJECT_INCLUDEPATH</code>
- * (INVALID_DESTINATION)</li>
- * <li> The sibling is not a includepath entry on the destination project's
- * raw includepath (INVALID_SIBLING)</li>
- * <li> The same includepath entry already exists on the destination project's
- * includepath (NAME_COLLISION) and <code>updateModelFlags</code>
- * has not been specified as <code>REPLACE</code></li>
- * </ul>
- * @see org.eclipse.core.resources.IResource#copy(IPath, boolean, IProgressMonitor)
- */
- void copy(IPath destination, int updateResourceFlags, int updateModelFlags, IIncludePathEntry sibling, IProgressMonitor monitor) throws JavaScriptModelException;
- /**
- * Creates and returns a package fragment in this root with the
- * given dot-separated package name. An empty string specifies the default package.
- * This has the side effect of creating all package
- * fragments that are a prefix of the new package fragment which
- * do not exist yet. If the package fragment already exists, this
- * has no effect.
- *
- * For a description of the <code>force</code> flag, see <code>IFolder.create</code>.
- *
- * @param name the given dot-separated package name
- * @param force a flag controlling how to deal with resources that
- * are not in sync with the local file system
- * @param monitor the given progress monitor
- * @exception JavaScriptModelException if the element could not be created. Reasons include:
- * <ul>
- * <li> This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A <code>CoreException</code> occurred while creating an underlying resource
- * <li> This package fragment root is read only (READ_ONLY)
- * <li> The name is not a valid package name (INVALID_NAME)
- * </ul>
- * @return a package fragment in this root with the given dot-separated package name
- * @see org.eclipse.core.resources.IFolder#create(boolean, boolean, IProgressMonitor)
- */
- IPackageFragment createPackageFragment(
- String name,
- boolean force,
- IProgressMonitor monitor)
- throws JavaScriptModelException;
- /**
- * Deletes the resource of this package fragment root as specified by
- * <code>IResource.delete(int, IProgressMonitor)</code> but excluding nested
- * source folders.
- * <p>
- * If <code>NO_RESOURCE_MODIFICATION</code> is specified in
- * <code>updateModelFlags</code> or if this package fragment root is external,
- * this operation doesn't delete the resource. <code>updateResourceFlags</code>
- * is then ignored.
- * </p><p>
- * If <code>ORIGINATING_PROJECT_INCLUDEPATH</code> is specified in
- * <code>updateModelFlags</code>, update the raw includepath of this package
- * fragment root's project by removing the corresponding includepath entry.
- * </p><p>
- * If <code>OTHER_REFERRING_PROJECTS_INCLUDEPATH</code> is specified in
- * <code>updateModelFlags</code>, update the raw includepaths of all other JavaScript
- * projects referring to this root's resource by removing the corresponding includepath
- * entries.
- * </p><p>
- * If no flags is specified in <code>updateModelFlags</code> (using
- * <code>IResource.NONE</code>), the default behavior applies: the
- * resource is deleted (if this package fragment root is not external) and no
- * includepaths are updated.
- * </p>
- *
- * @param updateResourceFlags bit-wise or of update resource flag constants
- * (<code>IResource.FORCE</code> and <code>IResource.KEEP_HISTORY</code>)
- * @param updateModelFlags bit-wise or of update resource flag constants
- * (<code>ORIGINATING_PROJECT_INCLUDEPATH</code>,
- * <code>OTHER_REFERRING_PROJECTS_INCLUDEPATH</code> and
- * <code>NO_RESOURCE_MODIFICATION</code>)
- * @param monitor a progress monitor
- *
- * @exception JavaScriptModelException if this root could not be deleted. Reasons
- * include:
- * <ul>
- * <li> This root does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A <code>CoreException</code> occurred while deleting the resource
- * or updating a includepath
- * </li>
- * </ul>
- * @see org.eclipse.core.resources.IResource#delete(boolean, IProgressMonitor)
- */
- void delete(int updateResourceFlags, int updateModelFlags, IProgressMonitor monitor) throws JavaScriptModelException;
- /**
- * Returns this package fragment root's kind encoded as an integer.
- * A package fragment root can contain source files (i.e. files with one
- * of the {@link JavaScriptCore#getJavaScriptLikeExtensions() JavaScript-like extensions},
- * or <code>.class</code> files, but not both.
- * If the underlying folder or archive contains other kinds of files, they are ignored.
- * In particular, <code>.class</code> files are ignored under a source package fragment root,
- * and source files are ignored under a binary package fragment root.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return this package fragment root's kind encoded as an integer
- * @see IPackageFragmentRoot#K_SOURCE
- * @see IPackageFragmentRoot#K_BINARY
- */
- int getKind() throws JavaScriptModelException;
-
- /**
- * Returns an array of non-JavaScript resources contained in this package fragment root.
- * <p>
- * Non-JavaScript resources includes other files and folders located in the same
- * directories as the compilation units or class files under this package
- * fragment root. Resources excluded from this package fragment root
- * by virtue of inclusion/exclusion patterns on the corresponding source includepath
- * entry are considered non-JavaScript resources and will appear in the result
- * (possibly in a folder). Thus when a nested source folder is excluded, it will appear
- * in the non-JavaScript resources of the outer folder.
- * </p>
- * @return an array of non-JavaScript resources (<code>IFile</code>s,
- * <code>IFolder</code>s, or <code>IStorage</code>s if the
- * package fragment root is in archive) contained in this package
- * fragment root
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @see IIncludePathEntry#getInclusionPatterns()
- * @see IIncludePathEntry#getExclusionPatterns()
- */
- Object[] getNonJavaScriptResources() throws JavaScriptModelException;
-
- /**
- * Returns the package fragment with the given package name.
- * An empty string indicates the default package.
- * This is a handle-only operation. The package fragment
- * may or may not exist.
- *
- * @param packageName the given package name
- * @return the package fragment with the given package name
- */
- IPackageFragment getPackageFragment(String packageName);
-
-
- /**
- * Returns the first raw includepath entry that corresponds to this package
- * fragment root.
- * A raw includepath entry corresponds to a package fragment root if once resolved
- * this entry's path is equal to the root's path.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the first raw includepath entry that corresponds to this package fragment root
- */
- IIncludePathEntry getRawIncludepathEntry() throws JavaScriptModelException;
-
- /**
- * Returns the absolute path to the source archive attached to
- * this package fragment root's binary archive.
- *
- * @return the absolute path to the corresponding source archive,
- * or <code>null</code> if this package fragment root's binary archive
- * has no corresponding source archive, or if this package fragment root
- * is not a binary archive
- * @exception JavaScriptModelException if this operation fails
- */
- IPath getSourceAttachmentPath() throws JavaScriptModelException;
-
- /**
- * Returns the path within this package fragment root's source archive.
- * An empty path indicates that packages are located at the root of the
- * source archive.
- *
- * @return the path within the corresponding source archive,
- * or <code>null</code> if this package fragment root's binary archive
- * has no corresponding source archive, or if this package fragment root
- * is not a binary archive
- * @exception JavaScriptModelException if this operation fails
- */
- IPath getSourceAttachmentRootPath() throws JavaScriptModelException;
-
- /**
- * Returns whether this package fragment root's underlying
- * resource is a binary archive (a JAR or zip file).
- * <p>
- * This is a handle-only method.
- * </p>
- *
- * @return true if this package fragment root's underlying resource is a binary archive, false otherwise
- */
- public boolean isArchive();
-
- public boolean isLanguageRuntime();
- /**
- * Returns whether this package fragment root is external
- * to the workbench (that is, a local file), and has no
- * underlying resource.
- * <p>
- * This is a handle-only method.
- * </p>
- *
- * @return true if this package fragment root is external
- * to the workbench (that is, a local file), and has no
- * underlying resource, false otherwise
- */
- boolean isExternal();
-
- /**
- * Moves the resource of this package fragment root to the destination path
- * as specified by <code>IResource.move(IPath,int,IProgressMonitor)</code>
- * but excluding nested source folders.
- * <p>
- * If <code>NO_RESOURCE_MODIFICATION</code> is specified in
- * <code>updateModelFlags</code> or if this package fragment root is external,
- * this operation doesn't move the resource. <code>updateResourceFlags</code>
- * is then ignored.
- * </p><p>
- * If <code>DESTINATION_PROJECT_INCLUDEPATH</code> is specified in
- * <code>updateModelFlags</code>, updates the includepath of the
- * destination's project (if it is a JavaScript project). If a non-<code>null</code>
- * sibling is specified, a copy of this root's includepath entry is inserted before the
- * sibling on the destination project's raw includepath. If <code>null</code> is
- * specified, the includepath entry is added at the end of the raw includepath.
- * </p><p>
- * If <code>ORIGINATING_PROJECT_INCLUDEPATH</code> is specified in
- * <code>updateModelFlags</code>, update the raw includepath of this package
- * fragment root's project by removing the corresponding includepath entry.
- * </p><p>
- * If <code>OTHER_REFERRING_PROJECTS_INCLUDEPATH</code> is specified in
- * <code>updateModelFlags</code>, update the raw includepaths of all other JavaScript
- * projects referring to this root's resource by removing the corresponding includepath
- * entries.
- * </p><p>
- * If <code>REPLACE</code> is specified in <code>updateModelFlags</code>,
- * overwrites the resource at the destination path if any.
- * If the same includepath entry already exists on the destination project's raw
- * includepath, then the sibling is ignored and the new includepath entry replaces the
- * existing one.
- * </p><p>
- * If no flags is specified in <code>updateModelFlags</code> (using
- * <code>IResource.NONE</code>), the default behavior applies: the
- * resource is moved (if this package fragment root is not external) and no
- * includepaths are updated.
- * </p>
- *
- * @param destination the destination path
- * @param updateResourceFlags bit-wise or of update flag constants
- * (<code>IResource.FORCE</code>, <code>IResource.KEEP_HISTORY</code>
- * and <code>IResource.SHALLOW</code>)
- * @param updateModelFlags bit-wise or of update resource flag constants
- * (<code>DESTINATION_PROJECT_INCLUDEPATH</code>,
- * <code>ORIGINATING_PROJECT_INCLUDEPATH</code>,
- * <code>OTHER_REFERRING_PROJECTS_INCLUDEPATH</code> and
- * <code>NO_RESOURCE_MODIFICATION</code>)
- * @param sibling the includepath entry before which a copy of the includepath
- * entry should be inserted or <code>null</code> if the includepath entry should
- * be inserted at the end
- * @param monitor a progress monitor
- *
- * @exception JavaScriptModelException if this root could not be moved. Reasons
- * include:
- * <ul>
- * <li> This root does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A <code>CoreException</code> occurred while copying the
- * resource or updating a includepath</li>
- * <li>
- * The destination is not inside an existing project and <code>updateModelFlags</code>
- * has been specified as <code>DESTINATION_PROJECT_INCLUDEPATH</code>
- * (INVALID_DESTINATION)</li>
- * <li> The sibling is not a includepath entry on the destination project's
- * raw includepath (INVALID_SIBLING)</li>
- * <li> The same includepath entry already exists on the destination project's
- * includepath (NAME_COLLISION) and <code>updateModelFlags</code>
- * has not been specified as <code>REPLACE</code></li>
- * </ul>
- * @see org.eclipse.core.resources.IResource#move(IPath, boolean, IProgressMonitor)
- */
- void move(IPath destination, int updateResourceFlags, int updateModelFlags, IIncludePathEntry sibling, IProgressMonitor monitor) throws JavaScriptModelException;
-
- public IIncludePathAttribute[] getIncludepathAttributes();
-
- public IIncludePathEntry getResolvedIncludepathEntry() throws JavaScriptModelException;
-
- public boolean isLibrary();
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IParent.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IParent.java
deleted file mode 100644
index dfd7622f..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IParent.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-/**
- * Common protocol for JavaScript elements that contain other JavaScript elements.
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IParent {
-/**
- * Returns the immediate children of this element.
- * Unless otherwise specified by the implementing element,
- * the children are in no particular order.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- * @return the immediate children of this element
- */
-IJavaScriptElement[] getChildren() throws JavaScriptModelException;
-/**
- * Returns whether this element has one or more immediate children.
- * This is a convenience method, and may be more efficient than
- * testing whether <code>getChildren</code> is an empty array.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- * @return true if the immediate children of this element, false otherwise
- */
-boolean hasChildren() throws JavaScriptModelException;
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IProblemRequestor.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IProblemRequestor.java
deleted file mode 100644
index 09027526..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IProblemRequestor.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.wst.jsdt.core.compiler.IProblem;
-
-/**
- * A callback interface for receiving javaScript problem as they are discovered
- * by some JavaScript operation.
- *
- * @see IProblem
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IProblemRequestor {
-
- /**
- * Notification of a JavaScript problem.
- *
- * @param problem IProblem - The discovered JavaScript problem.
- */
- void acceptProblem(IProblem problem);
-
- /**
- * Notification sent before starting the problem detection process.
- * Typically, this would tell a problem collector to clear previously recorded problems.
- */
- void beginReporting();
-
- /**
- * Notification sent after having completed problem detection process.
- * Typically, this would tell a problem collector that no more problems should be expected in this
- * iteration.
- */
- void endReporting();
-
- /**
- * Predicate allowing the problem requestor to signal whether or not it is currently
- * interested by problem reports. When answering <code>false</code>, problem will
- * not be discovered any more until the next iteration.
- *
- * This predicate will be invoked once prior to each problem detection iteration.
- *
- * @return boolean - indicates whether the requestor is currently interested by problems.
- */
- boolean isActive();
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IRegion.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IRegion.java
deleted file mode 100644
index 71646520..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IRegion.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-/**
- * A JavaScript model region describes a hierarchical set of elements.
- * Regions are often used to describe a set of elements to be considered
- * when performing operations; for example, the set of elements to be
- * considered during a search. A region may include elements from different
- * projects.
- * <p>
- * When an element is included in a region, all of its children
- * are considered to be included. Children of an included element
- * <b>cannot</b> be selectively excluded.
- * </p>
- * <p>
- * This interface is not intended to be implemented by clients.
- * Instances can be created via the <code>JavaScriptCore.newRegion</code>.
- * </p>
- *
- * @see JavaScriptCore#newRegion()
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IRegion {
- /**
- * Adds the given element and all of its descendents to this region.
- * If the specified element is already included, or one of its
- * ancestors is already included, this has no effect. If the element
- * being added is an ancestor of an element already contained in this
- * region, the ancestor subsumes the descendent.
- *
- * @param element the given element
- */
- void add(IJavaScriptElement element);
- /**
- * Returns whether the given element is contained in this region.
- *
- * @param element the given element
- * @return true if the given element is contained in this region, false otherwise
- */
- boolean contains(IJavaScriptElement element);
- /**
- * Returns the top level elements in this region.
- * All descendents of these elements are also included in this region.
- *
- * @return the top level elements in this region
- */
- IJavaScriptElement[] getElements();
- /**
- * Removes the specified element from the region and returns
- * <code>true</code> if successful, <code>false</code> if the remove
- * fails. If an ancestor of the given element is included, the
- * remove fails (in other words, it is not possible to selectively
- * exclude descendants of included ancestors).
- *
- * @param element the given element
- * @return <code>true</code> if successful, <code>false</code> if the remove fails
- */
- boolean remove(IJavaScriptElement element);
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ISourceManipulation.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ISourceManipulation.java
deleted file mode 100644
index 2a237bd6..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ISourceManipulation.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-
-/**
- * Common protocol for JavaScript elements that support source code manipulations such
- * as copy, move, rename, and delete.
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface ISourceManipulation {
-/**
- * Copies this element to the given container.
- *
- * @param container the container
- * @param sibling the sibling element before which the copy should be inserted,
- * or <code>null</code> if the copy should be inserted as the last child of
- * the container
- * @param rename the new name for the element, or <code>null</code> if the copy
- * retains the name of this element
- * @param replace <code>true</code> if any existing child in the container with
- * the target name should be replaced, and <code>false</code> to throw an
- * exception in the event of a name collision
- * @param monitor a progress monitor
- * @exception JavaScriptModelException if this element could not be copied. Reasons include:
- * <ul>
- * <li> This JavaScript element, container element, or sibling does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A <code>CoreException</code> occurred while updating an underlying resource
- * <li> The container is of an incompatible type (INVALID_DESTINATION)
- * <li> The sibling is not a child of the given container (INVALID_SIBLING)
- * <li> The new name is invalid (INVALID_NAME)
- * <li> A child in the container already exists with the same name (NAME_COLLISION)
- * and <code>replace</code> has been specified as <code>false</code>
- * <li> The container or this element is read-only (READ_ONLY)
- * </ul>
- *
- * @exception IllegalArgumentException if container is <code>null</code>
- */
-void copy(IJavaScriptElement container, IJavaScriptElement sibling, String rename, boolean replace, IProgressMonitor monitor) throws JavaScriptModelException;
-/**
- * Deletes this element, forcing if specified and necessary.
- *
- * @param force a flag controlling whether underlying resources that are not
- * in sync with the local file system will be tolerated (same as the force flag
- * in IResource operations).
- * @param monitor a progress monitor
- * @exception JavaScriptModelException if this element could not be deleted. Reasons include:
- * <ul>
- * <li> This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A <code>CoreException</code> occurred while updating an underlying resource (CORE_EXCEPTION)</li>
- * <li> This element is read-only (READ_ONLY)</li>
- * </ul>
- */
-void delete(boolean force, IProgressMonitor monitor) throws JavaScriptModelException;
-/**
- * Moves this element to the given container.
- *
- * @param container the container
- * @param sibling the sibling element before which the element should be inserted,
- * or <code>null</code> if the element should be inserted as the last child of
- * the container
- * @param rename the new name for the element, or <code>null</code> if the
- * element retains its name
- * @param replace <code>true</code> if any existing child in the container with
- * the target name should be replaced, and <code>false</code> to throw an
- * exception in the event of a name collision
- * @param monitor a progress monitor
- * @exception JavaScriptModelException if this element could not be moved. Reasons include:
- * <ul>
- * <li> This JavaScript element, container element, or sibling does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A <code>CoreException</code> occurred while updating an underlying resource
- * <li> The container is of an incompatible type (INVALID_DESTINATION)
- * <li> The sibling is not a child of the given container (INVALID_SIBLING)
- * <li> The new name is invalid (INVALID_NAME)
- * <li> A child in the container already exists with the same name (NAME_COLLISION)
- * and <code>replace</code> has been specified as <code>false</code>
- * <li> The container or this element is read-only (READ_ONLY)
- * </ul>
- *
- * @exception IllegalArgumentException if container is <code>null</code>
- */
-void move(IJavaScriptElement container, IJavaScriptElement sibling, String rename, boolean replace, IProgressMonitor monitor) throws JavaScriptModelException;
-/**
- * Renames this element to the given name.
- *
- * @param name the new name for the element
- * @param replace <code>true</code> if any existing element with the target name
- * should be replaced, and <code>false</code> to throw an exception in the
- * event of a name collision
- * @param monitor a progress monitor
- * @exception JavaScriptModelException if this element could not be renamed. Reasons include:
- * <ul>
- * <li> This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A <code>CoreException</code> occurred while updating an underlying resource
- * <li> The new name is invalid (INVALID_NAME)
- * <li> A child in the container already exists with the same name (NAME_COLLISION)
- * and <code>replace</code> has been specified as <code>false</code>
- * <li> This element is read-only (READ_ONLY)
- * </ul>
- */
-void rename(String name, boolean replace, IProgressMonitor monitor) throws JavaScriptModelException;
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ISourceRange.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ISourceRange.java
deleted file mode 100644
index cfe0677d..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ISourceRange.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-/**
- * A source range defines an element's source coordinates relative to
- * its source buffer.
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface ISourceRange {
-
-/**
- * Returns the number of characters of the source code for this element,
- * relative to the source buffer in which this element is contained.
- *
- * @return the number of characters of the source code for this element,
- * relative to the source buffer in which this element is contained
- */
-int getLength();
-/**
- * Returns the 0-based index of the first character of the source code for this element,
- * relative to the source buffer in which this element is contained.
- *
- * @return the 0-based index of the first character of the source code for this element,
- * relative to the source buffer in which this element is contained
- */
-int getOffset();
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ISourceReference.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ISourceReference.java
deleted file mode 100644
index 7f84bad9..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ISourceReference.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-/**
- * Common protocol for JavaScript elements that have associated source code.
- * This set consists of <code>IClassFile</code>, <code>IJavaScriptUnit</code>,
- * <code>IPackageDeclaration</code>, <code>IImportDeclaration</code>,
- * <code>IImportContainer</code>, <code>IType</code>, <code>IField</code>,
- * <code>IFunction</code>, and <code>IInitializer</code>.
- * <p>
- * Source reference elements may be working copies if they were created from
- * a compilation unit that is a working copy.
- * </p>
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * @see IPackageFragmentRoot#attachSource(org.eclipse.core.runtime.IPath, org.eclipse.core.runtime.IPath, org.eclipse.core.runtime.IProgressMonitor)
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface ISourceReference {
-/**
- * Returns whether this element exists in the model.
- *
- * @return <code>true</code> if this element exists in the JavaScript model
- */
-boolean exists();
-
-/**
- * Returns the source code associated with this element.
- * This extracts the substring from the source buffer containing this source
- * element. This corresponds to the source range that would be returned by
- * <code>getSourceRange</code>.
- *
- * @return the source code, or <code>null</code> if this element has no
- * associated source code
- * @exception JavaScriptModelException if an exception occurs while accessing its corresponding resource
- */
-String getSource() throws JavaScriptModelException;
-/**
- * Returns the source range associated with this element.
- *
- * @return the source range, or <code>null</code> if this element has no
- * associated source code
- * @exception JavaScriptModelException if an exception occurs while accessing its corresponding resource
- */
-ISourceRange getSourceRange() throws JavaScriptModelException;
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IType.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IType.java
deleted file mode 100644
index b6f0e80f..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IType.java
+++ /dev/null
@@ -1,892 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- * IBM Corporation - added J2SE 1.5 support
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import java.io.InputStream;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-
-/**
- * Represents a source type in a JavaScript file (either a top-level
- * type, a member type, or a local type)
- * </p>
- * <p>
- * The children are of type <code>IMember</code>, which includes <code>IField</code>,
- * <code>IFunction</code>, <code>IInitializer</code> and <code>IType</code>.
- * The children are listed in the order in which they appear in the source file.
- * </p>
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- * <p>
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- * </p>
- *
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IType extends IMember, IFunctionContainer {
-
- /**
- * Do code completion inside a code snippet in the context of the current type.
- *
- * If the type can access to his source code and the insertion position is valid,
- * then completion is performed against source. Otherwise the completion is performed
- * against type structure and given locals variables.
- *
- * @param snippet the code snippet
- * @param insertion the position with in source where the snippet
- * is inserted. This position must not be in comments.
- * A possible value is -1, if the position is not known.
- * @param position the position within snippet where the user
- * is performing code assist.
- * @param localVariableTypeNames an array (possibly empty) of fully qualified
- * type names of local variables visible at the current scope
- * @param localVariableNames an array (possibly empty) of local variable names
- * that are visible at the current scope
- * @param localVariableModifiers an array (possible empty) of modifiers for
- * local variables
- * @param isStatic whether the current scope is in a static context
- * @param requestor the completion requestor
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- */
- void codeComplete(
- char[] snippet,
- int insertion,
- int position,
- char[][] localVariableTypeNames,
- char[][] localVariableNames,
- int[] localVariableModifiers,
- boolean isStatic,
- CompletionRequestor requestor)
- throws JavaScriptModelException;
-
- /**
- * Do code completion inside a code snippet in the context of the current type.
- * It considers types in the working copies with the given owner first. In other words,
- * the owner's working copies will take precedence over their original compilation units
- * in the workspace.
- * <p>
- * Note that if a working copy is empty, it will be as if the original compilation
- * unit had been deleted.
- * </p><p>
- * If the type can access to his source code and the insertion position is valid,
- * then completion is performed against source. Otherwise the completion is performed
- * against type structure and given locals variables.
- * </p>
- *
- * @param snippet the code snippet
- * @param insertion the position with in source where the snippet
- * is inserted. This position must not be in comments.
- * A possible value is -1, if the position is not known.
- * @param position the position with in snippet where the user
- * is performing code assist.
- * @param localVariableTypeNames an array (possibly empty) of fully qualified
- * type names of local variables visible at the current scope
- * @param localVariableNames an array (possibly empty) of local variable names
- * that are visible at the current scope
- * @param localVariableModifiers an array (possible empty) of modifiers for
- * local variables
- * @param isStatic whether the current scope is in a static context
- * @param requestor the completion requestor
- * @param owner the owner of working copies that take precedence over their original compilation units
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- */
- void codeComplete(
- char[] snippet,
- int insertion,
- int position,
- char[][] localVariableTypeNames,
- char[][] localVariableNames,
- int[] localVariableModifiers,
- boolean isStatic,
- CompletionRequestor requestor,
- WorkingCopyOwner owner)
- throws JavaScriptModelException;
-
-
- /**
- * Creates and returns a field in this type with the
- * given contents.
- * <p>
- * Optionally, the new element can be positioned before the specified
- * sibling. If no sibling is specified, the element will be inserted
- * as the last field declaration in this type.</p>
- *
- * <p>It is possible that a field with the same name already exists in this type.
- * The value of the <code>force</code> parameter effects the resolution of
- * such a conflict:<ul>
- * <li> <code>true</code> - in this case the field is created with the new contents</li>
- * <li> <code>false</code> - in this case a <code>JavaScriptModelException</code> is thrown</li>
- * </ul></p>
- *
- * @param contents the given contents
- * @param sibling the given sibling
- * @param force a flag in case the same name already exists in this type
- * @param monitor the given progress monitor
- * @exception JavaScriptModelException if the element could not be created. Reasons include:
- * <ul>
- * <li> This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A <code>CoreException</code> occurred while updating an underlying resource
- * <li> The specified sibling is not a child of this type (INVALID_SIBLING)
- * <li> The contents could not be recognized as a field declaration (INVALID_CONTENTS)
- * <li> This type is read-only (binary) (READ_ONLY)
- * <li> There was a naming collision with an existing field (NAME_COLLISION)
- * </ul>
- * @return a field in this type with the given contents
- */
- IField createField(String contents, IJavaScriptElement sibling, boolean force, IProgressMonitor monitor)
- throws JavaScriptModelException;
-
-
- /**
- * Creates and returns a method or constructor in this type with the
- * given contents.
- * <p>
- * Optionally, the new element can be positioned before the specified
- * sibling. If no sibling is specified, the element will be appended
- * to this type.
- *
- * <p>It is possible that a method with the same signature already exists in this type.
- * The value of the <code>force</code> parameter effects the resolution of
- * such a conflict:<ul>
- * <li> <code>true</code> - in this case the method is created with the new contents</li>
- * <li> <code>false</code> - in this case a <code>JavaScriptModelException</code> is thrown</li>
- * </ul></p>
- *
- * @param contents the given contents
- * @param sibling the given sibling
- * @param force a flag in case the same name already exists in this type
- * @param monitor the given progress monitor
- * @exception JavaScriptModelException if the element could not be created. Reasons include:
- * <ul>
- * <li> This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A <code>CoreException</code> occurred while updating an underlying resource
- * <li> The specified sibling is not a child of this type (INVALID_SIBLING)
- * <li> The contents could not be recognized as a method or constructor
- * declaration (INVALID_CONTENTS)
- * <li> This type is read-only (binary) (READ_ONLY)
- * <li> There was a naming collision with an existing method (NAME_COLLISION)
- * </ul>
- * @return a method or constructor in this type with the given contents
- */
- IFunction createMethod(String contents, IJavaScriptElement sibling, boolean force, IProgressMonitor monitor)
- throws JavaScriptModelException;
-
- /**
- * Creates and returns a type in this type with the
- * given contents.
- * <p>
- * Optionally, the new type can be positioned before the specified
- * sibling. If no sibling is specified, the type will be appended
- * to this type.</p>
- *
- * <p>It is possible that a type with the same name already exists in this type.
- * The value of the <code>force</code> parameter effects the resolution of
- * such a conflict:<ul>
- * <li> <code>true</code> - in this case the type is created with the new contents</li>
- * <li> <code>false</code> - in this case a <code>JavaScriptModelException</code> is thrown</li>
- * </ul></p>
- *
- * @param contents the given contents
- * @param sibling the given sibling
- * @param force a flag in case the same name already exists in this type
- * @param monitor the given progress monitor
- * @exception JavaScriptModelException if the element could not be created. Reasons include:
- * <ul>
- * <li> This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * <li> A <code>CoreException</code> occurred while updating an underlying resource
- * <li> The specified sibling is not a child of this type (INVALID_SIBLING)
- * <li> The contents could not be recognized as a type declaration (INVALID_CONTENTS)
- * <li> This type is read-only (binary) (READ_ONLY)
- * <li> There was a naming collision with an existing field (NAME_COLLISION)
- * </ul>
- * @return a type in this type with the given contents
- */
- IType createType(String contents, IJavaScriptElement sibling, boolean force, IProgressMonitor monitor)
- throws JavaScriptModelException;
-
- /**
- * Finds the methods in this type that correspond to
- * the given method.
- * A method m1 corresponds to another method m2 if:
- * <ul>
- * <li>m1 has the same element name as m2.
- * <li>m1 has the same number of arguments as m2 and
- * the simple names of the argument types must be equals.
- * <li>m1 exists.
- * </ul>
- * @param method the given method
- * @return the found method or <code>null</code> if no such methods can be found.
- *
- */
- IFunction[] findMethods(IFunction method);
-
- /**
- * Returns the children of this type that have the given category as a <code>@category</code> tag.
- * Returns an empty array if no children with this category exist.
- *
- * @return the children for the given category.
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- */
- IJavaScriptElement[] getChildrenForCategory(String category) throws JavaScriptModelException;
-
- /**
- * Returns the simple name of this type, unqualified by package or enclosing type.
- * This is a handle-only method.
- *
- * @return the simple name of this type
- */
- String getElementName();
-
- /**
- * Returns the field with the specified name
- * in this type (for example, <code>"bar"</code>).
- * This is a handle-only method. The field may or may not exist.
- *
- * @param name the given name
- * @return the field with the specified name in this type
- */
- IField getField(String name);
-
- /**
- * Returns the fields declared by this type.
- * If this is a source type, the results are listed in the order
- * in which they appear in the source, otherwise, the results are
- * in no particular order. For binary types, this includes synthetic fields.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the fields declared by this type
- */
- IField[] getFields() throws JavaScriptModelException;
-
- /**
- * Returns the fully qualified name of this type,
- * including qualification for any containing types and packages.
- * This is the name of the package, followed by <code>'.'</code>,
- * followed by the type-qualified name.
- * This is a handle-only method.
- *
- * @see IType#getTypeQualifiedName()
- * @return the fully qualified name of this type
- */
- String getFullyQualifiedName();
-
- /**
- * Returns the fully qualified name of this type,
- * including qualification for any containing types and packages.
- * This is the name of the package, followed by <code>'.'</code>,
- * followed by the type-qualified name using the <code>enclosingTypeSeparator</code>.
- *
- *
- * This is a handle-only method.
- *
- * @param enclosingTypeSeparator the given enclosing type separator
- * @return the fully qualified name of this type, including qualification for any containing types and packages
- * @see IType#getTypeQualifiedName(char)
- */
- String getFullyQualifiedName(char enclosingTypeSeparator);
-
- /**
- * Returns this type's fully qualified name
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the fully qualified parameterized representation of this type
- */
- String getFullyQualifiedParameterizedName() throws JavaScriptModelException;
-
- /**
- * Returns the initializer with the specified position relative to
- * the order they are defined in the source.
- * Numbering starts at 1 (thus the first occurrence is occurrence 1, not occurrence 0).
- * This is a handle-only method. The initializer may or may not be present.
- *
- * @param occurrenceCount the specified position
- * @return the initializer with the specified position relative to the order they are defined in the source
- */
- IInitializer getInitializer(int occurrenceCount);
-
- /**
- * Returns the initializers declared by this type.
- * For binary types this is an empty collection.
- * If this is a source type, the results are listed in the order
- * in which they appear in the source.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the initializers declared by this type
- */
- IInitializer[] getInitializers() throws JavaScriptModelException;
-
- /**
- * Returns the binding key for this type. A binding key is a key that uniquely
- * identifies this type. It allows access to generic info for parameterized
- * types.
- *
- * @return the binding key for this type
- * @see org.eclipse.wst.jsdt.core.dom.IBinding#getKey()
- * @see BindingKey
- */
- String getKey();
-
- /**
- * Returns the method with the specified name and parameter types
- * in this type (for example, <code>"foo", {"I", "QString;"}</code>).
- * To get the handle for a constructor, the name specified must be the
- * simple name of the enclosing type.
- * This is a handle-only method. The method may or may not be present.
- * <p>
- * The type signatures may be either unresolved (for source types)
- * or resolved (for binary types), and either basic (for basic types)
- * or rich (for parameterized types). See {@link Signature} for details.
- * </p>
- *
- * @param name the given name
- * @param parameterTypeSignatures the given parameter types
- * @return the method with the specified name and parameter types in this type
- */
- IFunction getFunction(String name, String[] parameterTypeSignatures);
-
- /**
- * Returns the methods and constructors declared by this type.
- * For binary types, this may include the special <code>&lt;clinit&gt;</code>; method
- * and synthetic methods.
- * If this is a source type, the results are listed in the order
- * in which they appear in the source, otherwise, the results are
- * in no particular order.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the methods and constructors declared by this type
- * @deprecated Use {@link #getFunctions()} instead
- */
- IFunction[] getMethods() throws JavaScriptModelException;
-
- /**
- * Returns the methods and constructors declared by this type.
- * For binary types, this may include the special <code>&lt;clinit&gt;</code>; method
- * and synthetic methods.
- * If this is a source type, the results are listed in the order
- * in which they appear in the source, otherwise, the results are
- * in no particular order.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the methods and constructors declared by this type
- */
- IFunction[] getFunctions() throws JavaScriptModelException;
-
- /**
- * Returns the source folder (package fragment) in which this element is defined.
- * This is a handle-only method.
- *
- * @return the package fragment in which this element is defined
- */
- IPackageFragment getPackageFragment();
-
- /**
- * Returns the name of this type's superclass, or <code>null</code>
- * for source types that do not specify a superclass.
- * <p>
- * For interfaces, the superclass name is always <code>"java.lang.Object"</code>.
- * For source types, the name as declared is returned, for binary types,
- * the resolved, qualified name is returned.
- * For anonymous types, the superclass name is the name appearing after the 'new' keyword'.
- * If the superclass is a parameterized type, the string
- * may include its type arguments enclosed in "&lt;&gt;".
- * If the returned string is needed for anything other than display
- * purposes, use {@link #getSuperclassTypeSignature()} which returns
- * a structured type signature string containing more precise information.
- * </p>
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the name of this type's superclass, or <code>null</code> for source types that do not specify a superclass
- */
- String getSuperclassName() throws JavaScriptModelException;
-
- /**
- * Returns the type signature of this type's superclass, or
- * <code>null</code> if none.
- * <p>
- * The type signature may be either unresolved (for source types)
- * or resolved (for binary types), and either basic (for basic types)
- * or rich (for parameterized types). See {@link Signature} for details.
- * </p>
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the type signature of this type's superclass, or
- * <code>null</code> if none
- */
- String getSuperclassTypeSignature() throws JavaScriptModelException;
-
- /**
- * Returns the type signatures of the interfaces that this type
- * implements or extends, in the order in which they are listed in the
- * source.
- * <p>
- * For classes and enum types, this gives the interfaces that this
- * class implements. For interfaces and annotation types,
- * this gives the interfaces that this interface extends.
- * An empty collection is returned if this type does not implement or
- * extend any interfaces. For anonymous types, an empty collection is
- * always returned.
- * </p>
- * <p>
- * The type signatures may be either unresolved (for source types)
- * or resolved (for binary types), and either basic (for basic types)
- * or rich (for parameterized types). See {@link Signature} for details.
- * </p>
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the type signatures of interfaces that this type implements
- * or extends, in the order in which they are listed in the source,
- * an empty collection if none
- */
- String[] getSuperInterfaceTypeSignatures() throws JavaScriptModelException;
-
- /**
- * Returns the names of interfaces that this type implements or extends,
- * in the order in which they are listed in the source.
- * <p>
- * For classes, this gives the interfaces that this class implements.
- * For interfaces, this gives the interfaces that this interface extends.
- * An empty collection is returned if this type does not implement or
- * extend any interfaces. For source types, simple names are returned,
- * for binary types, qualified names are returned.
- * For anonymous types, an empty collection is always returned.
- * If the list of supertypes includes parameterized types,
- * the string may include type arguments enclosed in "&lt;&gt;".
- * If the result is needed for anything other than display
- * purposes, use {@link #getSuperInterfaceTypeSignatures()} which returns
- * structured signature strings containing more precise information.
- * </p>
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the names of interfaces that this type implements or extends, in the order in which they are listed in the source,
- * an empty collection if none
- */
- String[] getSuperInterfaceNames() throws JavaScriptModelException;
-
- /**
- * Returns the formal type parameter signatures for this type.
- * Returns an empty array if this type has no formal type parameters.
- * <p>
- * The formal type parameter signatures may be either unresolved (for source
- * types) or resolved (for binary types). See {@link Signature} for details.
- * </p>
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the formal type parameter signatures of this type,
- * in the order declared in the source, an empty array if none
- * @see Signature
- */
- String[] getTypeParameterSignatures() throws JavaScriptModelException;
-
- /**
- * Returns the formal type parameters for this type.
- * Returns an empty array if this type has no formal type parameters.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the formal type parameters of this type,
- * in the order declared in the source, an empty array if none
- */
- ITypeParameter[] getTypeParameters() throws JavaScriptModelException;
-
- /**
- * Returns the member type declared in this type with the given simple name.
- * This is a handle-only method. The type may or may not exist.
- *
- * @param name the given simple name
- * @return the member type declared in this type with the given simple name
- */
- IType getType(String name);
-
- /**
- * Returns the type parameter declared in this type with the given name.
- * This is a handle-only method. The type parameter may or may not exist.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param name the given simple name
- * @return the type parameter declared in this type with the given name
- */
- ITypeParameter getTypeParameter(String name);
-
- /**
- * Returns the type-qualified name of this type,
- * including qualification for any enclosing types,
- * but not including package qualification.
- * This is a handle-only method.
- *
- * @return the type-qualified name of this type
- */
- String getTypeQualifiedName();
-
- /**
- * Returns the type-qualified name of this type,
- * including qualification for any enclosing types,
- * but not including package qualification.
- *
- * This is a handle-only method.
- *
- * @param enclosingTypeSeparator the specified enclosing type separator
- * @return the type-qualified name of this type
- */
- String getTypeQualifiedName(char enclosingTypeSeparator);
-
- /**
- * Returns the immediate member types declared by this type.
- * The results are listed in the order in which they appear in the source or class file.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the immediate member types declared by this type
- */
- IType[] getTypes() throws JavaScriptModelException;
-
- /**
- * Returns whether this type represents an anonymous type.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return true if this type represents an anonymous type, false otherwise
- */
- boolean isAnonymous() throws JavaScriptModelException;
-
- /**
- * Returns whether this type is read-only.
- * <p>
- * Note that a class can neither be an interface, an enumeration class, nor an annotation type.
- * </p>
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return true if this type represents a class, false otherwise
- */
- boolean isClass() throws JavaScriptModelException;
-
- /*
- * Returns whether this type represents an enumeration class.
- * <p>
- * Note that an enumeration class can neither be a class, an interface, nor an annotation type.
- * </p>
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return true if this type represents an enumeration class,
- * false otherwise
- */
- boolean isEnum() throws JavaScriptModelException;
-
- /**
- * Returns whether this type represents an interface.
- * <p>
- * Note that an interface can also be an annotation type, but it can neither be a class nor an enumeration class.
- * </p>
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return true if this type represents an interface, false otherwise
- */
- boolean isInterface() throws JavaScriptModelException;
-
- /*
- * Returns whether this type represents an annotation type.
- * <p>
- * Note that an annotation type is also an interface, but it can neither be a class nor an enumeration class.
- * </p>
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return true if this type represents an annotation type,
- * false otherwise
- */
- boolean isAnnotation() throws JavaScriptModelException;
-
- /**
- * Returns whether this type represents a local type.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return true if this type represents a local type, false otherwise
- */
- boolean isLocal() throws JavaScriptModelException;
-
- /**
- * Returns whether this type represents a member type.
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return true if this type represents a member type, false otherwise
- */
- boolean isMember() throws JavaScriptModelException;
- /**
- * Returns whether this type represents a resolved type.
- * If a type is resolved, its key contains resolved information.
- *
- * @return whether this type represents a resolved type.
- */
- boolean isResolved();
- /**
- * Loads a previously saved ITypeHierarchy from an input stream. A type hierarchy can
- * be stored using ITypeHierachy#store(OutputStream).
- *
- * Only hierarchies originally created by the following methods can be loaded:
- * <ul>
- * <li>IType#newSupertypeHierarchy(IProgressMonitor)</li>
- * <li>IType#newTypeHierarchy(IJavaScriptProject, IProgressMonitor)</li>
- * <li>IType#newTypeHierarchy(IProgressMonitor)</li>
- * </ul>
- *
- * @param input stream where hierarchy will be read
- * @param monitor the given progress monitor
- * @return the stored hierarchy
- * @exception JavaScriptModelException if the hierarchy could not be restored, reasons include:
- * - type is not the focus of the hierarchy or
- * - unable to read the input stream (wrong format, IOException during reading, ...)
- * @see ITypeHierarchy#store(java.io.OutputStream, IProgressMonitor)
- */
- ITypeHierarchy loadTypeHierachy(InputStream input, IProgressMonitor monitor) throws JavaScriptModelException;
- /**
- * Creates and returns a type hierarchy for this type containing
- * this type and all of its supertypes.
- *
- * @param monitor the given progress monitor
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return a type hierarchy for this type containing this type and all of its supertypes
- */
- ITypeHierarchy newSupertypeHierarchy(IProgressMonitor monitor) throws JavaScriptModelException;
-
- /**
- * Creates and returns a type hierarchy for this type containing
- * this type and all of its supertypes, considering types in the given
- * working copies. In other words, the list of working copies will take
- * precedence over their original compilation units in the workspace.
- * <p>
- * Note that passing an empty working copy will be as if the original compilation
- * unit had been deleted.
- * </p>
- *
- * @param workingCopies the working copies that take precedence over their original compilation units
- * @param monitor the given progress monitor
- * @return a type hierarchy for this type containing this type and all of its supertypes
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- */
- ITypeHierarchy newSupertypeHierarchy(IJavaScriptUnit[] workingCopies, IProgressMonitor monitor)
- throws JavaScriptModelException;
-
- /**
- * Creates and returns a type hierarchy for this type containing
- * this type and all of its supertypes, considering types in the
- * working copies with the given owner.
- * In other words, the owner's working copies will take
- * precedence over their original compilation units in the workspace.
- * <p>
- * Note that if a working copy is empty, it will be as if the original compilation
- * unit had been deleted.
- * <p>
- *
- * @param owner the owner of working copies that take precedence over their original compilation units
- * @param monitor the given progress monitor
- * @return a type hierarchy for this type containing this type and all of its supertypes
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- */
- ITypeHierarchy newSupertypeHierarchy(WorkingCopyOwner owner, IProgressMonitor monitor)
- throws JavaScriptModelException;
-
- /**
- * Creates and returns a type hierarchy for this type containing
- * this type, all of its supertypes, and all its subtypes
- * in the context of the given project.
- *
- * @param project the given project
- * @param monitor the given progress monitor
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return a type hierarchy for this type containing
- * this type, all of its supertypes, and all its subtypes
- * in the context of the given project
- */
- ITypeHierarchy newTypeHierarchy(IJavaScriptProject project, IProgressMonitor monitor) throws JavaScriptModelException;
-
- /**
- * Creates and returns a type hierarchy for this type containing
- * this type, all of its supertypes, and all its subtypes
- * in the context of the given project, considering types in the
- * working copies with the given owner.
- * In other words, the owner's working copies will take
- * precedence over their original compilation units in the workspace.
- * <p>
- * Note that if a working copy is empty, it will be as if the original compilation
- * unit had been deleted.
- * <p>
- *
- * @param project the given project
- * @param owner the owner of working copies that take precedence over their original compilation units
- * @param monitor the given progress monitor
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return a type hierarchy for this type containing
- * this type, all of its supertypes, and all its subtypes
- * in the context of the given project
- */
- ITypeHierarchy newTypeHierarchy(IJavaScriptProject project, WorkingCopyOwner owner, IProgressMonitor monitor) throws JavaScriptModelException;
-
- /**
- * Creates and returns a type hierarchy for this type containing
- * this type, all of its supertypes, and all its subtypes in the workspace.
- *
- * @param monitor the given progress monitor
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return a type hierarchy for this type containing
- * this type, all of its supertypes, and all its subtypes in the workspace
- */
- ITypeHierarchy newTypeHierarchy(IProgressMonitor monitor) throws JavaScriptModelException;
-
- /**
- * Creates and returns a type hierarchy for this type containing
- * this type, all of its supertypes, and all its subtypes in the workspace,
- * considering types in the given working copies. In other words, the list of working
- * copies that will take precedence over their original compilation units in the workspace.
- * <p>
- * Note that passing an empty working copy will be as if the original compilation
- * unit had been deleted.
- *
- * @param workingCopies the working copies that take precedence over their original compilation units
- * @param monitor the given progress monitor
- * @return a type hierarchy for this type containing
- * this type, all of its supertypes, and all its subtypes in the workspace
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- */
- ITypeHierarchy newTypeHierarchy(IJavaScriptUnit[] workingCopies, IProgressMonitor monitor) throws JavaScriptModelException;
-
- /**
- * Creates and returns a type hierarchy for this type containing
- * this type, all of its supertypes, and all its subtypes in the workspace,
- * considering types in the given working copies. In other words, the list of working
- * copies that will take precedence over their original compilation units in the workspace.
- * <p>
- * Note that passing an empty working copy will be as if the original compilation
- * unit had been deleted.
- *
- * @param workingCopies the working copies that take precedence over their original compilation units
- * @param monitor the given progress monitor
- * @return a type hierarchy for this type containing
- * this type, all of its supertypes, and all its subtypes in the workspace
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @deprecated Use {@link #newTypeHierarchy(IJavaScriptUnit[], IProgressMonitor)} instead
- */
- ITypeHierarchy newTypeHierarchy(IWorkingCopy[] workingCopies, IProgressMonitor monitor) throws JavaScriptModelException;
-
- /**
- * Creates and returns a type hierarchy for this type containing
- * this type, all of its supertypes, and all its subtypes in the workspace,
- * considering types in the working copies with the given owner.
- * In other words, the owner's working copies will take
- * precedence over their original compilation units in the workspace.
- * <p>
- * Note that if a working copy is empty, it will be as if the original compilation
- * unit had been deleted.
- * <p>
- *
- * @param owner the owner of working copies that take precedence over their original compilation units
- * @param monitor the given progress monitor
- * @return a type hierarchy for this type containing
- * this type, all of its supertypes, and all its subtypes in the workspace
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- */
- ITypeHierarchy newTypeHierarchy(WorkingCopyOwner owner, IProgressMonitor monitor) throws JavaScriptModelException;
-
- /**
- * Resolves the given type name within the context of this type (depending on the type hierarchy
- * and its imports).
- * <p>
- * Multiple answers might be found in case there are ambiguous matches.
- * </p>
- * <p>
- * Each matching type name is decomposed as an array of two strings, the first denoting the package
- * name (dot-separated) and the second being the type name. The package name is empty if it is the
- * default package. The type name is the type qualified name using a '.' enclosing type separator.
- * </p>
- * <p>
- * Returns <code>null</code> if unable to find any matching type.
- * </p>
- *
- * @param typeName the given type name
- * @exception JavaScriptModelException if code resolve could not be performed.
- * @return the resolved type names or <code>null</code> if unable to find any matching type
- * @see #getTypeQualifiedName(char)
- */
- String[][] resolveType(String typeName) throws JavaScriptModelException;
-
- /**
- * Resolves the given type name within the context of this type (depending on the type hierarchy
- * and its imports) and using the given owner's working copies, considering types in the
- * working copies with the given owner. In other words, the owner's working copies will take
- * precedence over their original compilation units in the workspace.
- * <p>
- * Note that if a working copy is empty, it will be as if the original compilation
- * unit had been deleted.
- * </p>
- * <p>Multiple answers might be found in case there are ambiguous matches.
- * </p>
- * <p>
- * Each matching type name is decomposed as an array of two strings, the first denoting the package
- * name (dot-separated) and the second being the type name. The package name is empty if it is the
- * default package. The type name is the type qualified name using a '.' enclosing type separator.
- * </p>
- * <p>
- * Returns <code>null</code> if unable to find any matching type.
- *</p>
- *
- * @param typeName the given type name
- * @param owner the owner of working copies that take precedence over their original compilation units
- * @exception JavaScriptModelException if code resolve could not be performed.
- * @return the resolved type names or <code>null</code> if unable to find any matching type
- * @see #getTypeQualifiedName(char)
- */
- String[][] resolveType(String typeName, WorkingCopyOwner owner) throws JavaScriptModelException;
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeHierarchy.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeHierarchy.java
deleted file mode 100644
index 25db6ec7..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeHierarchy.java
+++ /dev/null
@@ -1,309 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import java.io.OutputStream;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-
-/**
- * A type hierarchy provides navigations between a type and its resolved
- * supertypes and subtypes for a specific type or for all types within a region.
- * Supertypes may extend outside of the type hierarchy's region in which it was
- * created such that the root of the hierarchy is always included.
- * <p>
- * A type hierarchy is static and can become stale. Although consistent when
- * created, it does not automatically track changes in the model.
- * As changes in the model potentially invalidate the hierarchy, change notifications
- * are sent to registered <code>ITypeHierarchyChangedListener</code>s. Listeners should
- * use the <code>exists</code> method to determine if the hierarchy has become completely
- * invalid (for example, when the type or project the hierarchy was created on
- * has been removed). To refresh a hierarchy, use the <code>refresh</code> method.
- * </p>
- * <p>
- * The type hierarchy may contain cycles due to malformed supertype declarations.
- * Most type hierarchy queries are oblivious to cycles; the <code>getAll* </code>
- * methods are implemented such that they are unaffected by cycles.
- * </p>
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface ITypeHierarchy {
-/**
- * Adds the given listener for changes to this type hierarchy. Listeners are
- * notified when this type hierarchy changes and needs to be refreshed.
- * Has no effect if an identical listener is already registered.
- *
- * @param listener the listener
- */
-void addTypeHierarchyChangedListener(ITypeHierarchyChangedListener listener);
-/**
- * Returns whether the given type is part of this hierarchy.
- *
- * @param type the given type
- * @return true if the given type is part of this hierarchy, false otherwise
- */
-boolean contains(IType type);
-/**
- * Returns whether the type and project this hierarchy was created on exist.
- * @return true if the type and project this hierarchy was created on exist, false otherwise
- */
-boolean exists();
-/**
- * Returns all classes in this type hierarchy's graph, in no particular
- * order. Any classes in the creation region which were not resolved to
- * have any subtypes or supertypes are not included in the result.
- *
- * @return all classes in this type hierarchy's graph
- */
-IType[] getAllClasses();
-/**
- * Returns all interfaces in this type hierarchy's graph, in no particular
- * order. Any interfaces in the creation region which were not resolved to
- * have any subtypes or supertypes are not included in the result.
- *
- * @return all interfaces in this type hierarchy's graph
- */
-IType[] getAllInterfaces();
-/**
- * Returns all resolved subtypes (direct and indirect) of the
- * given type, in no particular order, limited to the
- * types in this type hierarchy's graph. An empty array
- * is returned if there are no resolved subtypes for the
- * given type.
- *
- * @param type the given type
- * @return all resolved subtypes (direct and indirect) of the given type
- */
-IType[] getAllSubtypes(IType type);
-/**
- * Returns all resolved superclasses of the
- * given class, in bottom-up order. An empty array
- * is returned if there are no resolved superclasses for the
- * given class.
- *
- * <p>NOTE: once a type hierarchy has been created, it is more efficient to
- * query the hierarchy for superclasses than to query a class recursively up
- * the superclass chain. Querying an element performs a dynamic resolution,
- * whereas the hierarchy returns a pre-computed result.
- *
- * @param type the given type
- * @return all resolved superclasses of the given class, in bottom-up order, an empty
- * array if none.
- */
-IType[] getAllSuperclasses(IType type);
-/**
- * Returns all resolved superinterfaces (direct and indirect) of the given type.
- * If the given type is a class, this includes all superinterfaces of all superclasses.
- * An empty array is returned if there are no resolved superinterfaces for the
- * given type.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * <p>NOTE: once a type hierarchy has been created, it is more efficient to
- * query the hierarchy for superinterfaces than to query a type recursively.
- * Querying an element performs a dynamic resolution,
- * whereas the hierarchy returns a pre-computed result.
- *
- * @param type the given type
- * @return all resolved superinterfaces (direct and indirect) of the given type, an empty array if none
- */
-IType[] getAllSuperInterfaces(IType type);
-/**
- * Returns all resolved supertypes of the
- * given type, in bottom-up order. An empty array
- * is returned if there are no resolved supertypes for the
- * given type.
- * </p><p>NOTE: once a type hierarchy has been created, it is more efficient to
- * query the hierarchy for supertypes than to query a type recursively up
- * the supertype chain. Querying an element performs a dynamic resolution,
- * whereas the hierarchy returns a pre-computed result.
- *
- * @param type the given type
- * @return all resolved supertypes of the given class, in bottom-up order, an empty array
- * if none
- */
-IType[] getAllSupertypes(IType type);
-/**
- * Returns all types in this type hierarchy's graph, in no particular
- * order. Any types in the creation region which were not resolved to
- * have any subtypes or supertypes are not included in the result.
- *
- * @return all types in this type hierarchy's grap
- */
-IType[] getAllTypes();
-
-/**
- * Return the flags associated with the given type (would be equivalent to <code>IMember.getFlags()</code>),
- * or <code>-1</code> if this information wasn't cached on the hierarchy during its computation.
- *
- * @param type the given type
- * @return the modifier flags for this member
- * @see Flags
- */
-int getCachedFlags(IType type);
-
-/**
- * Returns all interfaces resolved to extend the given interface,
- * in no particular order, limited to the interfaces in this
- * hierarchy's graph.
- * Returns an empty collection if the given type is a class, or
- * if no interfaces were resolved to extend the given interface.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param type the given type
- * @return all interfaces resolved to extend the given interface limited to the interfaces in this
- * hierarchy's graph, an empty array if none.
- */
-IType[] getExtendingInterfaces(IType type);
-/**
- * Returns all classes resolved to implement the given interface,
- * in no particular order, limited to the classes in this type
- * hierarchy's graph. Returns an empty collection if the given type is a
- * class, or if no classes were resolved to implement the given
- * interface.
- *
- * @param type the given type
- * @return all classes resolved to implement the given interface limited to the classes in this type
- * hierarchy's graph, an empty array if none
- */
-IType[] getImplementingClasses(IType type);
-/**
- * Returns all classes in the graph which have no resolved superclass,
- * in no particular order.
- *
- * @return all classes in the graph which have no resolved superclass
- */
-IType[] getRootClasses();
-/**
- * Returns all interfaces in the graph which have no resolved superinterfaces,
- * in no particular order.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @return all interfaces in the graph which have no resolved superinterfaces
- */
-IType[] getRootInterfaces();
-/**
- * Returns the direct resolved subclasses of the given class,
- * in no particular order, limited to the classes in this
- * type hierarchy's graph.
- * Returns an empty collection if the given type is an interface,
- * or if no classes were resolved to be subclasses of the given
- * class.
- *
- * @param type the given type
- * @return the direct resolved subclasses of the given class limited to the classes in this
- * type hierarchy's graph, an empty collection if none.
- */
-IType[] getSubclasses(IType type);
-/**
- * Returns the direct resolved subtypes of the given type,
- * in no particular order, limited to the types in this
- * type hierarchy's graph.
- * If the type is a class, this returns the resolved subclasses.
- * If the type is an interface, this returns both the classes which implement
- * the interface and the interfaces which extend it.
- *
- * @param type the given type
- * @return the direct resolved subtypes of the given type limited to the types in this
- * type hierarchy's graph
- */
-IType[] getSubtypes(IType type);
-/**
- * Returns the resolved superclass of the given class,
- * or <code>null</code> if the given class has no superclass,
- * the superclass could not be resolved, or if the given
- * type is an interface.
- *
- * @param type the given type
- * @return the resolved superclass of the given class,
- * or <code>null</code> if the given class has no superclass,
- * the superclass could not be resolved, or if the given
- * type is an interface
- */
-IType getSuperclass(IType type);
-/**
- * Returns the direct resolved interfaces that the given type implements or extends,
- * in no particular order, limited to the interfaces in this type
- * hierarchy's graph.
- * For classes, this gives the interfaces that the class implements.
- * For interfaces, this gives the interfaces that the interface extends.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param type the given type
- * @return the direct resolved interfaces that the given type implements or extends limited to the interfaces in this type
- * hierarchy's graph
- */
-IType[] getSuperInterfaces(IType type);
-/**
- * Returns the resolved supertypes of the given type,
- * in no particular order, limited to the types in this
- * type hierarchy's graph.
- * For classes, this returns its superclass and the interfaces that the class implements.
- * For interfaces, this returns the interfaces that the interface extends. As a consequence
- * <code>java.lang.Object</code> is NOT considered to be a supertype of any interface
- * type.
- *
- * @param type the given type
- * @return the resolved supertypes of the given type limited to the types in this
- * type hierarchy's graph
- */
-IType[] getSupertypes(IType type);
-/**
- * Returns the type this hierarchy was computed for.
- * Returns <code>null</code> if this hierarchy was computed for a region.
- *
- * @return the type this hierarchy was computed for
- */
-IType getType();
-/**
- * Re-computes the type hierarchy reporting progress.
- *
- * @param monitor the given progress monitor
- * @exception JavaScriptModelException if unable to refresh the hierarchy
- */
-void refresh(IProgressMonitor monitor) throws JavaScriptModelException;
-/**
- * Removes the given listener from this type hierarchy.
- * Has no affect if an identical listener is not registered.
- *
- * @param listener the listener
- */
-void removeTypeHierarchyChangedListener(ITypeHierarchyChangedListener listener);
-/**
- * Stores the type hierarchy in an output stream. This stored hierarchy can be load by
- * IType#loadTypeHierachy(IJavaScriptProject, InputStream, IProgressMonitor).
- * Listeners of this hierarchy are not stored.
- *
- * Only hierarchies created by the following methods can be store:
- * <ul>
- * <li>IType#newSupertypeHierarchy(IProgressMonitor)</li>
- * <li>IType#newTypeHierarchy(IJavaScriptProject, IProgressMonitor)</li>
- * <li>IType#newTypeHierarchy(IProgressMonitor)</li>
- * </ul>
- *
- * @param outputStream output stream where the hierarchy will be stored
- * @param monitor the given progress monitor
- * @exception JavaScriptModelException if unable to store the hierarchy in the ouput stream
- * @see IType#loadTypeHierachy(java.io.InputStream, IProgressMonitor)
- * @since 2.1
- */
-void store(OutputStream outputStream, IProgressMonitor monitor) throws JavaScriptModelException;
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeHierarchyChangedListener.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeHierarchyChangedListener.java
deleted file mode 100644
index a831f143..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeHierarchyChangedListener.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-/**
- * A listener which gets notified when a particular type hierarchy object
- * changes.
- * <p>
- * This interface may be implemented by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface ITypeHierarchyChangedListener {
- /**
- * Notifies that the given type hierarchy has changed in some way and should
- * be refreshed at some point to make it consistent with the current state of
- * the JavaScript model.
- *
- * @param typeHierarchy the given type hierarchy
- */
- void typeHierarchyChanged(ITypeHierarchy typeHierarchy);
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeParameter.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeParameter.java
deleted file mode 100644
index a52e506d..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeParameter.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-
-/**
- * Represents a type parameter defined by a type of a method
- * in a compilation unit or a class file.
- * <p>
- * Type parameters are obtained using {@link IType#getTypeParameter(String)} and
- * {@link IFunction#getTypeParameter(String)}.
- * </p><p>
- * Note that type parameters are not children of their declaring type or method. To get a list
- * of the type parameters use {@link IType#getTypeParameters()} for a type and use
- * {@link IFunction#getTypeParameters()} for a method.
- * </p>
- * <p><b>Note: This Interface only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface ITypeParameter extends IJavaScriptElement, ISourceReference {
-
- /**
- * Returns the names of the class and interface bounds of this type parameter. Returns an empty
- * array if this type parameter has no bounds. A bound name is the name as it appears in the
- * source (without the <code>extends</code> keyword) if the type parameter comes from a
- * compilation unit. It is the dot-separated fully qualified name of the bound if the type
- * parameter comes from a class file.
- *
- * @return the names of the bounds
- * @throws JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource
- */
- String[] getBounds() throws JavaScriptModelException;
-
- /**
- * Returns the declaring member of this type parameter. This can be either an <code>IType</code>
- * or an <code>IFunction</code>.
- * <p>
- * This is a handle-only method.
- * </p>
- *
- * @return the declaring member of this type parameter.
- */
- IMember getDeclaringMember();
-
- /**
- * Returns the source range of this type parameter's name,
- * or <code>null</code> if this type parameter does not have
- * associated source code (for example, in a binary type).
- *
- * @exception JavaScriptModelException if this element does not exist or if an
- * exception occurs while accessing its corresponding resource.
- * @return the source range of this type parameter's name,
- * or <code>null</code> if this type parameter does not have
- * associated source code (for example, in a binary type)
- */
- ISourceRange getNameRange() throws JavaScriptModelException;
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeRoot.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeRoot.java
deleted file mode 100644
index 01a99be1..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/ITypeRoot.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007, 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-
-
-/**
- * Represents an entire JavaScript type root (either an <code>IJavaScriptUnit</code>
- * or an <code>IClassFile</code>).
- *
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- *
- * @see IJavaScriptUnit Note that methods {@link #findPrimaryType()} and {@link #getElementAt(int)}
- * were already implemented in this interface respectively since version 3.0 and version 1.0.
- * @see IClassFile Note that method {@link #getWorkingCopy(WorkingCopyOwner, IProgressMonitor)}
- * was already implemented in this interface since version 3.0.
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface ITypeRoot extends IJavaScriptElement, IParent, IOpenable, ISourceReference, ICodeAssist, IFunctionContainer {
-
-/**
- * Finds the primary type of this JavaScript type root (that is, the type with the same name as the
- * javascript file), or <code>null</code> if no such a type exists.
- *
- * @return the found primary type of this JavaScript type root, or <code>null</code> if no such a type exists
- */
-IType findPrimaryType();
-
-/**
- * Returns the smallest element within this JavaScript type root that
- * includes the given source position (that is, a method, field, etc.), or
- * <code>null</code> if there is no element other than the JavaScript type root
- * itself at the given position, or if the given position is not
- * within the source range of the source of this JavaScript type root.
- *
- * @param position a source position inside the JavaScript type root
- * @return the innermost JavaScript element enclosing a given source position or <code>null</code>
- * if none (excluding the JavaScript type root).
- * @throws JavaScriptModelException if the JavaScript type root does not exist or if an
- * exception occurs while accessing its corresponding resource
- */
-IJavaScriptElement getElementAt(int position) throws JavaScriptModelException;
-
-/**
- * Returns a shared working copy on this javaScirpt file using the given working copy owner to create
- * the buffer. If this is already a working copy of the given owner, the element itself is returned.
- * This API can only answer an already existing working copy if it is based on the same
- * original JavaScript type root AND was using the same working copy owner (that is, as defined by {@link Object#equals}).
- * <p>
- * The life time of a shared working copy is as follows:
- * <ul>
- * <li>The first call to {@link #getWorkingCopy(WorkingCopyOwner, IProgressMonitor)}
- * creates a new working copy for this element</li>
- * <li>Subsequent calls increment an internal counter.</li>
- * <li>A call to {@link IJavaScriptUnit#discardWorkingCopy()} decrements the internal counter.</li>
- * <li>When this counter is 0, the working copy is discarded.
- * </ul>
- * So users of this method must discard exactly once the working copy.
- * <p>
- * Note that the working copy owner will be used for the life time of the shared working copy, that is if the
- * working copy is closed then reopened, this owner will be used.
- * The buffer will be automatically initialized with the original's JavaScript type root content upon creation.
- * <p>
- * When the shared working copy instance is created, an ADDED IJavaScriptElementDelta is reported on this
- * working copy.
- * </p><p>
- * A working copy can be created on a not-yet existing compilation unit.
- * In particular, such a working copy can then be committed in order to create
- * the corresponding compilation unit.
- * </p><p>
- * Note that possible problems of this working copy are reported using this method. only
- * if the given working copy owner returns a problem requestor for this working copy
- * (see {@link WorkingCopyOwner#getProblemRequestor(IJavaScriptUnit)}).
- * </p>
- *
- * @param owner the working copy owner that creates a buffer that is used to get the content
- * of the working copy
- * @param monitor a progress monitor used to report progress while opening this compilation unit
- * or <code>null</code> if no progress should be reported
- * @throws JavaScriptModelException if the contents of this element can
- * not be determined.
- * @return a new working copy of this JavaScript type root using the given owner to create
- * the buffer, or this JavaScript type root if it is already a working copy
- */
-IJavaScriptUnit getWorkingCopy(WorkingCopyOwner owner, IProgressMonitor monitor) throws JavaScriptModelException;
-
-
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IWorkingCopy.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IWorkingCopy.java
deleted file mode 100644
index 3e175662..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/IWorkingCopy.java
+++ /dev/null
@@ -1,381 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.core.resources.IMarker;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IProgressMonitor;
-
-/**
- * Common protocol for JavaScript elements that support working copies.
- * <p>
- * A working copy of a JavaScript element acts just like a regular element (handle),
- * except it is not attached to an underlying resource. A working copy is not
- * visible to the rest of the JavaScript model. Changes in a working copy's
- * buffer are not realized in a resource. To bring the JavaScript model up-to-date with a working
- * copy's contents, an explicit commit must be performed on the working copy.
- * Other operations performed on a working copy update the
- * contents of the working copy's buffer but do not commit the contents
- * of the working copy.
- * </p>
- * <p>
- * Note: The contents of a working copy is determined when a working
- * copy is created, based on the current content of the element the working
- * copy is created from. If a working copy is an <code>IOpenable</code> and is explicitly
- * closed, the working copy's buffer will be thrown away. However, clients should not
- * explicitly open and close working copies.
- * </p>
- * <p>
- * The client that creates a working copy is responsible for
- * destroying the working copy. The JavaScript model will never automatically
- * destroy or close a working copy. (Note that destroying a working copy
- * does not commit it to the model, it only frees up the memory occupied by
- * the element). After a working copy is destroyed, the working copy cannot
- * be accessed again. Non-handle methods will throw a
- * <code>JavaScriptModelException</code> indicating the JavaScript element does not exist.
- * </p>
- * <p>
- * A working copy cannot be created from another working copy.
- * Calling <code>getWorkingCopy</code> on a working copy returns the receiver.
- * </p>
- * <p>
- * This interface is not intended to be implemented by clients.
- * </p>
- * @deprecated Use {@link IJavaScriptUnit} instead
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public interface IWorkingCopy {
-
- /**
- * Commits the contents of this working copy to its original element
- * and underlying resource, bringing the JavaScript model up-to-date with
- * the current contents of the working copy.
- *
- * <p>It is possible that the contents of the original resource have changed
- * since this working copy was created, in which case there is an update conflict.
- * The value of the <code>force</code> parameter effects the resolution of
- * such a conflict:<ul>
- * <li> <code>true</code> - in this case the contents of this working copy are applied to
- * the underlying resource even though this working copy was created before
- * a subsequent change in the resource</li>
- * <li> <code>false</code> - in this case a <code>JavaScriptModelException</code> is thrown</li>
- * </ul>
- * <p>
- * A working copy can be created on a not-yet existing compilation
- * unit. In particular, such a working copy can then be committed in order to create
- * the corresponding javaScript unit.
- * </p>
- * @param force a flag to handle the cases when the contents of the original resource have changed
- * since this working copy was created
- * @param monitor the given progress monitor
- * @exception JavaScriptModelException if this working copy could not commit. Reasons include:
- * <ul>
- * <li> A <code>CoreException</code> occurred while updating an underlying resource
- * <li> This element is not a working copy (INVALID_ELEMENT_TYPES)
- * <li> A update conflict (described above) (UPDATE_CONFLICT)
- * </ul>
- * @deprecated Use {@link IJavaScriptUnit#commitWorkingCopy(boolean, IProgressMonitor)} instead.
- */
- void commit(boolean force, IProgressMonitor monitor) throws JavaScriptModelException;
-
- /**
- * Destroys this working copy, closing its buffer and discarding
- * its structure. Subsequent attempts to access non-handle information
- * for this working copy will result in <code>IJavaModelException</code>s. Has
- * no effect if this element is not a working copy.
- * <p>
- * If this working copy is shared, it is destroyed only when the number of calls to
- * <code>destroy()</code> is the same as the number of calls to <code>
- * getSharedWorkingCopy(IProgressMonitor, IBufferFactory)</code>.
- * </p><p>
- * When it is destroyed, a REMOVED IJavaScriptElementDelta is reported on this
- * working copy.
- * </p>
- * @deprecated Use {@link IJavaScriptUnit#discardWorkingCopy()} instead.
- */
- void destroy();
-
- /**
- * Finds the shared working copy for this element, given a <code>IBuffer</code> factory.
- * If no working copy has been created for this element associated with this
- * buffer factory, returns <code>null</code>.
- * <p>
- * Users of this method must not destroy the resulting working copy.
- *
- * @param bufferFactory the given <code>IBuffer</code> factory
- * @return the found shared working copy for this element, <code>null</code> if none
- * @see IBufferFactory
- *
- * @deprecated Use {@link IJavaScriptUnit#findWorkingCopy(WorkingCopyOwner)} instead.
- */
- IJavaScriptElement findSharedWorkingCopy(IBufferFactory bufferFactory);
-
- /**
- * Returns the original element the specified working copy element was created from,
- * or <code>null</code> if this is not a working copy element. This is a handle
- * only method, the returned element may or may not exist.
- *
- * @param workingCopyElement the specified working copy element
- * @return the original element the specified working copy element was created from,
- * or <code>null</code> if this is not a working copy element
- *
- * @deprecated Use {@link IJavaScriptElement#getPrimaryElement()} instead.
- */
- IJavaScriptElement getOriginal(IJavaScriptElement workingCopyElement);
-
- /**
- * Returns the original element this working copy was created from,
- * or <code>null</code> if this is not a working copy.
- *
- * @return the original element this working copy was created from,
- * or <code>null</code> if this is not a working copy
- *
- * @deprecated Use {@link IJavaScriptUnit#findPrimaryType()} instead.
- */
- IJavaScriptElement getOriginalElement();
-
- /**
- * Finds the elements in this javaScript unit that correspond to
- * the given element.
- * An element A corresponds to an element B if:
- * <ul>
- * <li>A has the same element name as B.
- * <li>If A is a method, A must have the same number of arguments as
- * B and the simple names of the argument types must be equals.
- * <li>The parent of A corresponds to the parent of B recursively up to
- * their respective javaScript units.
- * <li>A exists.
- * </ul>
- * Returns <code>null</code> if no such javaScript elements can be found
- * or if the given element is not included in a javaScript unit.
- *
- * @param element the given element
- * @return the found elements in this javaScript unit that correspond to the given element
- *
- * @deprecated Use {@link IJavaScriptUnit#findElements(IJavaScriptElement)} instead.
- */
- IJavaScriptElement[] findElements(IJavaScriptElement element);
-
- /**
- * Finds the primary type of this javaScript unit (that is, the type with the same name as the
- * javaScript unit), or <code>null</code> if no such a type exists.
- *
- * @return the found primary type of this javaScript unit, or <code>null</code> if no such a type exists
- *
- * @deprecated Use {@link ITypeRoot#findPrimaryType()} instead.
- */
- IType findPrimaryType();
-
- /**
- * Returns a shared working copy on this element using the given factory to create
- * the buffer, or this element if this element is already a working copy.
- * This API can only answer an already existing working copy if it is based on the same
- * original javaScript unit AND was using the same buffer factory (that is, as defined by <code>Object.equals</code>).
- * <p>
- * The life time of a shared working copy is as follows:
- * <ul>
- * <li>The first call to <code>getSharedWorkingCopy(...)</code> creates a new working copy for this
- * element</li>
- * <li>Subsequent calls increment an internal counter.</li>
- * <li>A call to <code>destroy()</code> decrements the internal counter.</li>
- * <li>When this counter is 0, the working copy is destroyed.
- * </ul>
- * So users of this method must destroy exactly once the working copy.
- * <p>
- * Note that the buffer factory will be used for the life time of this working copy, that is if the
- * working copy is closed then reopened, this factory will be used.
- * The buffer will be automatically initialized with the original's javaScript unit content
- * upon creation.
- * <p>
- * When the shared working copy instance is created, an ADDED IJavaScriptElementDelta is reported on this
- * working copy.
- *
- * @param monitor a progress monitor used to report progress while opening this javaScript unit
- * or <code>null</code> if no progress should be reported
- * @param factory the factory that creates a buffer that is used to get the content of the working copy
- * or <code>null</code> if the internal factory should be used
- * @param problemRequestor a requestor which will get notified of problems detected during
- * reconciling as they are discovered. The requestor can be set to <code>null</code> indicating
- * that the client is not interested in problems.
- * @exception JavaScriptModelException if the contents of this element can
- * not be determined.
- * @return a shared working copy on this element using the given factory to create
- * the buffer, or this element if this element is already a working copy
- * @see IBufferFactory
- * @see IProblemRequestor
- *
- * @deprecated Use {@link IJavaScriptUnit#getWorkingCopy(WorkingCopyOwner, IProblemRequestor, IProgressMonitor)} instead.
- */
- IJavaScriptElement getSharedWorkingCopy(
- IProgressMonitor monitor,
- IBufferFactory factory,
- IProblemRequestor problemRequestor)
- throws JavaScriptModelException;
-
- /**
- * Returns a new working copy of this element if this element is not
- * a working copy, or this element if this element is already a working copy.
- * <p>
- * Note: if intending to share a working copy amongst several clients, then
- * <code>#getSharedWorkingCopy</code> should be used instead.
- * </p><p>
- * When the working copy instance is created, an ADDED IJavaScriptElementDelta is
- * reported on this working copy.
- * </p><p>
- * A working copy can be created on a not-yet existing compilation
- * unit. In particular, such a working copy can then be committed in order to create
- * the corresponding javaScript unit.
- * </p>
- * @exception JavaScriptModelException if the contents of this element can
- * not be determined.
- * @return a new working copy of this element if this element is not
- * a working copy, or this element if this element is already a working copy
- *
- * @deprecated Use {@link IJavaScriptUnit#getWorkingCopy(IProgressMonitor)} instead.
- */
- IJavaScriptElement getWorkingCopy() throws JavaScriptModelException;
-
- /**
- * Returns a new working copy of this element using the given factory to create
- * the buffer, or this element if this element is already a working copy.
- * Note that this factory will be used for the life time of this working copy, that is if the
- * working copy is closed then reopened, this factory will be reused.
- * The buffer will be automatically initialized with the original's javaScript unit content
- * upon creation.
- * <p>
- * Note: if intending to share a working copy amongst several clients, then
- * <code>#getSharedWorkingCopy</code> should be used instead.
- * </p><p>
- * When the working copy instance is created, an ADDED IJavaScriptElementDelta is
- * reported on this working copy.
- * </p><p>
- * A working copy can be created on a not-yet existing compilation
- * unit. In particular, such a working copy can then be committed in order to create
- * the corresponding javaScript unit.
- * </p>
- * @param monitor a progress monitor used to report progress while opening this javaScript unit
- * or <code>null</code> if no progress should be reported
- * @param factory the factory that creates a buffer that is used to get the content of the working copy
- * or <code>null</code> if the internal factory should be used
- * @param problemRequestor a requestor which will get notified of problems detected during
- * reconciling as they are discovered. The requestor can be set to <code>null</code> indicating
- * that the client is not interested in problems.
- * @exception JavaScriptModelException if the contents of this element can
- * not be determined.
- * @return a new working copy of this element using the given factory to create
- * the buffer, or this element if this element is already a working copy
- *
- * @deprecated Use {@link IJavaScriptUnit#getWorkingCopy(WorkingCopyOwner, IProblemRequestor, IProgressMonitor)} instead.
- */
- IJavaScriptElement getWorkingCopy(
- IProgressMonitor monitor,
- IBufferFactory factory,
- IProblemRequestor problemRequestor)
- throws JavaScriptModelException;
-
- /**
- * Returns whether this working copy's original element's content
- * has not changed since the inception of this working copy.
- *
- * @param resource this working copy's resource
- * @return true if this working copy's original element's content
- * has not changed since the inception of this working copy, false otherwise
- *
- * @deprecated Use {@link IJavaScriptUnit#hasResourceChanged()} instead.
- */
- boolean isBasedOn(IResource resource);
-
- /**
- * Returns whether this element is a working copy.
- *
- * @return true if this element is a working copy, false otherwise
- *
- * @deprecated Use {@link IJavaScriptUnit#isWorkingCopy()} instead.
- */
- boolean isWorkingCopy();
-
- /**
- * Reconciles the contents of this working copy.
- * It performs the reconciliation by locally caching the contents of
- * the working copy, updating the contents, then creating a delta
- * over the cached contents and the new contents, and finally firing
- * this delta.
- * <p>
- * If the working copy hasn't changed, then no problem will be detected,
- * this is equivalent to <code>IWorkingCopy#reconcile(false, null)</code>.</p>
- * <p>
- * Compilation problems found in the new contents are notified through the
- * <code>IProblemRequestor</code> interface which was passed at
- * creation, and no longer as transient markers. Therefore this API will
- * return <code>null</code>.</p>
- * <p>
- *
- * @exception JavaScriptModelException if the contents of the original element
- * cannot be accessed. Reasons include:
- * <ul>
- * <li> The original JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * </ul>
- * @return <code>null</code>
- *
- * @deprecated Use {@link IJavaScriptUnit#reconcile(int, boolean, WorkingCopyOwner, IProgressMonitor)} instead.
- */
- IMarker[] reconcile() throws JavaScriptModelException;
-
- /**
- * Reconciles the contents of this working copy.
- * It performs the reconciliation by locally caching the contents of
- * the working copy, updating the contents, then creating a delta
- * over the cached contents and the new contents, and finally firing
- * this delta.
- * <p>
- * The boolean argument allows to force problem detection even if the
- * working copy is already consistent.</p>
- * <p>
- * Compilation problems found in the new contents are notified through the
- * <code>IProblemRequestor</code> interface which was passed at
- * creation, and no longer as transient markers. Therefore this API answers
- * nothing.</p>
- * <p>
- *
- * @param forceProblemDetection boolean indicating whether problem should be recomputed
- * even if the source hasn't changed.
- * @param monitor a progress monitor
- * @exception JavaScriptModelException if the contents of the original element
- * cannot be accessed. Reasons include:
- * <ul>
- * <li> The original JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * </ul>
- *
- * @deprecated Use {@link IJavaScriptUnit#reconcile(int, boolean, WorkingCopyOwner, IProgressMonitor)} instead.
- */
- void reconcile(boolean forceProblemDetection, IProgressMonitor monitor) throws JavaScriptModelException;
-
- /**
- * Restores the contents of this working copy to the current contents of
- * this working copy's original element. Has no effect if this element
- * is not a working copy.
- *
- * <p>Note: This is the inverse of committing the content of the
- * working copy to the original element with <code>commit(boolean, IProgressMonitor)</code>.
- *
- * @exception JavaScriptModelException if the contents of the original element
- * cannot be accessed. Reasons include:
- * <ul>
- * <li> The original JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
- * </ul>
- * @deprecated Use {@link IJavaScriptUnit#restore()} instead.
- */
- void restore() throws JavaScriptModelException;
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JSDScopeUtil.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JSDScopeUtil.java
deleted file mode 100644
index 9fc632e0..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JSDScopeUtil.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/**
- *
- */
-package org.eclipse.wst.jsdt.core;
-
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.wst.jsdt.internal.core.ClassFile;
-
-/**
- * (mostly) static methods to figure out includepath entries and container initializers *
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-
-public class JSDScopeUtil {
-
-
-
-
-
- public static JsGlobalScopeContainerInitializer getContainerInitializer(IPath classPathEntry) {
- if(classPathEntry==null ) return null;
- JsGlobalScopeContainerInitializer initializer= JavaScriptCore.getJsGlobalScopeContainerInitializer(classPathEntry.segment(0));
- return initializer ;
- }
-
- public IIncludePathEntry[] getIncludepathEntries(IJsGlobalScopeContainer container) {
-
-
- if(container!=null) return container.getIncludepathEntries();
-
- return new IIncludePathEntry[0];
- }
-
- public IJsGlobalScopeContainer getLibraryContainer(IPath cpEntry, IJavaScriptProject javaProject) {
- IJsGlobalScopeContainer container=null;
- try {
- container = JavaScriptCore.getJsGlobalScopeContainer(cpEntry, javaProject);
- } catch (JavaScriptModelException ex) {
- // TODO Auto-generated catch block
- ex.printStackTrace();
- }
- return container;
- }
-
- public static JsGlobalScopeContainerInitializer findLibraryInitializer(IPath compUnitPath, IJavaScriptProject javaProject) {
- IPackageFragmentRoot[] roots = new IPackageFragmentRoot[0];
- try {
- roots = javaProject.getAllPackageFragmentRoots();
- } catch (JavaScriptModelException ex) {
- // TODO Auto-generated catch block
- ex.printStackTrace();
- }
- for (int i = 0;i<roots.length;i++) {
- IPackageFragment frag = roots[i].getPackageFragment(""); //$NON-NLS-1$
-
- try {
- IClassFile classfile = frag.getClassFile(compUnitPath.toString());
- if(classfile.exists()) {
- return ((ClassFile)classfile).getContainerInitializer();
- }
- } catch (Exception ex) {
- // Do nothing since CU may be invalid and thats what w're tryingto figure out.
- // TODO Auto-generated catch block
- // ex.printStackTrace();
- }
-
-
- }
-
- return null;
- }
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JavaScriptConventions.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JavaScriptConventions.java
deleted file mode 100644
index 8d79295d..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JavaScriptConventions.java
+++ /dev/null
@@ -1,734 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import java.util.StringTokenizer;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IWorkspace;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.jsdt.core.compiler.CharOperation;
-import org.eclipse.wst.jsdt.core.compiler.InvalidInputException;
-import org.eclipse.wst.jsdt.internal.compiler.classfmt.ClassFileConstants;
-import org.eclipse.wst.jsdt.internal.compiler.impl.CompilerOptions;
-import org.eclipse.wst.jsdt.internal.compiler.parser.Scanner;
-import org.eclipse.wst.jsdt.internal.compiler.parser.ScannerHelper;
-import org.eclipse.wst.jsdt.internal.compiler.parser.TerminalTokens;
-import org.eclipse.wst.jsdt.internal.core.ClasspathEntry;
-import org.eclipse.wst.jsdt.internal.core.JavaModelStatus;
-import org.eclipse.wst.jsdt.internal.core.util.Messages;
-
-/**
- * Provides methods for checking JavaScript-specific conventions such as name syntax.
- * <p>
- * This class provides static methods and constants only; it is not intended to be
- * instantiated or subclassed by clients.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
-*/
-public final class JavaScriptConventions {
-
- private static final char DOT= '.';
-// private static final String PACKAGE_INFO = new String(TypeConstants.PACKAGE_INFO_NAME);
- private static final Scanner SCANNER = new Scanner(false /*comment*/, true /*whitespace*/, false /*nls*/, ClassFileConstants.JDK1_3 /*sourceLevel*/, null/*taskTag*/, null/*taskPriorities*/, true /*taskCaseSensitive*/);
-
- private JavaScriptConventions() {
- // Not instantiable
- }
-
- /*
- * Returns the current identifier extracted by the scanner (without unicode
- * escapes) from the given id and for the given source and compliance levels.
- * Returns <code>null</code> if the id was not valid
- */
- private static synchronized char[] scannedIdentifier(String id, String sourceLevel, String complianceLevel) {
- if (id == null) {
- return null;
- }
- // Set scanner for given source and compliance levels
- SCANNER.sourceLevel = sourceLevel == null ? ClassFileConstants.JDK1_3 : CompilerOptions.versionToJdkLevel(sourceLevel);
- SCANNER.complianceLevel = complianceLevel == null ? ClassFileConstants.JDK1_3 : CompilerOptions.versionToJdkLevel(complianceLevel);
-
- try {
- SCANNER.setSource(id.toCharArray());
- int token = SCANNER.scanIdentifier();
- if (token != TerminalTokens.TokenNameIdentifier) return null;
- if (SCANNER.currentPosition == SCANNER.eofPosition) { // to handle case where we had an ArrayIndexOutOfBoundsException
- try {
- return SCANNER.getCurrentIdentifierSource();
- } catch (ArrayIndexOutOfBoundsException e) {
- return null;
- }
- } else {
- return null;
- }
- }
- catch (InvalidInputException e) {
- return null;
- }
- }
-
- /**
- * Validate the given javaScript unit name.
- * <p>
- * A javaScript unit name must obey the following rules:
- * <ul>
- * <li> it must not be null
- * <li> it must be suffixed by a dot ('.') followed by one of the
- * {@link JavaScriptCore#getJavaScriptLikeExtensions() JavaScript-like extensions}
- * <li> its prefix must be a valid identifier
- * <li> it must not contain any characters or substrings that are not valid
- * on the file system on which workspace root is located.
- * </ul>
- * </p>
- * @param name the name of a javaScript unit
- * @return a status object with code <code>IStatus.OK</code> if
- * the given name is valid as a javaScript unit name, otherwise a status
- * object indicating what is wrong with the name
- * @deprecated Use {@link #validateCompilationUnitName(String id, String sourceLevel, String complianceLevel)} instead
- */
- public static IStatus validateCompilationUnitName(String name) {
- return validateCompilationUnitName(name,CompilerOptions.VERSION_1_3,CompilerOptions.VERSION_1_3);
- }
-
- /**
- * Validate the given javaScript unit name for the given source and compliance levels.
- * <p>
- * A javaScript unit name must obey the following rules:
- * <ul>
- * <li> it must not be null
- * <li> it must be suffixed by a dot ('.') followed by one of the
- * {@link JavaScriptCore#getJavaScriptLikeExtensions() JavaScript-like extensions}
- * <li> its prefix must be a valid identifier
- * <li> it must not contain any characters or substrings that are not valid
- * on the file system on which workspace root is located.
- * </ul>
- * </p>
- * @param name the name of a javaScript unit
- * @param sourceLevel the source level
- * @param complianceLevel the compliance level
- * @return a status object with code <code>IStatus.OK</code> if
- * the given name is valid as a javaScript unit name, otherwise a status
- * object indicating what is wrong with the name
- */
- public static IStatus validateCompilationUnitName(String name, String sourceLevel, String complianceLevel) {
- if (name == null) {
- return new Status(IStatus.ERROR, JavaScriptCore.PLUGIN_ID, -1, Messages.convention_unit_nullName, null);
- }
- if (!org.eclipse.wst.jsdt.internal.core.util.Util.isJavaLikeFileName(name)) {
- return new Status(IStatus.ERROR, JavaScriptCore.PLUGIN_ID, -1, Messages.convention_unit_notJavaName, null);
- }
-// String identifier;
- int index;
- index = name.lastIndexOf('.');
- if (index == -1) {
- return new Status(IStatus.ERROR, JavaScriptCore.PLUGIN_ID, -1, Messages.convention_unit_notJavaName, null);
- }
-// identifier = name.substring(0, index);
- // JSR-175 metadata strongly recommends "package-info.js" as the
- // file in which to store package annotations and
- // the package-level spec (replaces package.html)
-// if (!identifier.equals(PACKAGE_INFO)) {
-// IStatus status = validateIdentifier(identifier, sourceLevel, complianceLevel);
-// if (!status.isOK()) {
-// return status;
-// }
-// }
-// IStatus status = ResourcesPlugin.getWorkspace().validateName(name, IResource.FILE);
-// if (!status.isOK()) {
-// return status;
-// }
- return JavaModelStatus.VERIFIED_OK;
- }
-
- /*
- * Validate the given .class file name for the given source and compliance levels.
- * <p>
- * A .class file name must obey the following rules:
- * <ul>
- * <li> it must not be null
- * <li> it must include the <code>".class"</code> suffix
- * <li> its prefix must be a valid identifier
- * <li> it must not contain any characters or substrings that are not valid
- * on the file system on which workspace root is located.
- * </ul>
- * </p>
- * @param name the name of a .class file
- * @param sourceLevel the source level
- * @param complianceLevel the compliance level
- * @return a status object with code <code>IStatus.OK</code> if
- * the given name is valid as a .class file name, otherwise a status
- * object indicating what is wrong with the name
- */
- public static IStatus validateClassFileName(String name, String sourceLevel, String complianceLevel) {
- if (name == null) {
- return new Status(IStatus.ERROR, JavaScriptCore.PLUGIN_ID, -1, Messages.convention_classFile_nullName, null); }
- if (!org.eclipse.wst.jsdt.internal.compiler.util.Util.isClassFileName(name)) {
- return new Status(IStatus.ERROR, JavaScriptCore.PLUGIN_ID, -1, Messages.convention_classFile_notClassFileName, null);
- }
-// String identifier;
- int index;
- index = name.lastIndexOf('.');
- if (index == -1) {
- return new Status(IStatus.ERROR, JavaScriptCore.PLUGIN_ID, -1, Messages.convention_classFile_notClassFileName, null);
- }
-// identifier = name.substring(0, index);
- // JSR-175 metadata strongly recommends "package-info.js" as the
- // file in which to store package annotations and
- // the package-level spec (replaces package.html)
-// if (!identifier.equals(PACKAGE_INFO)) {
-// IStatus status = validateIdentifier(identifier, sourceLevel, complianceLevel);
-// if (!status.isOK()) {
-// return status;
-// }
-// }
- IStatus status = ResourcesPlugin.getWorkspace().validateName(name, IResource.FILE);
- if (!status.isOK()) {
- return status;
- }
- return JavaModelStatus.VERIFIED_OK;
- }
-
- /**
- * Validate the given var or field name.
- * <p>
- * Syntax of a field name corresponds to VariableDeclaratorId (JLS2 8.3).
- * For example, <code>"x"</code>.
- *
- * @param name the name of a field
- * @return a status object with code <code>IStatus.OK</code> if
- * the given name is valid as a field name, otherwise a status
- * object indicating what is wrong with the name
- * @deprecated Use {@link #validateFieldName(String id, String sourceLevel, String complianceLevel)} instead
- */
- public static IStatus validateFieldName(String name) {
- return validateIdentifier(name, CompilerOptions.VERSION_1_3,CompilerOptions.VERSION_1_3);
- }
-
- /**
- * Validate the given var or field name for the given source and compliance levels.
- * <p>
- * Syntax of a field name corresponds to VariableDeclaratorId (JLS2 8.3).
- * For example, <code>"x"</code>.
- *
- * @param name the name of a field
- * @param sourceLevel the source level
- * @param complianceLevel the compliance level
- * @return a status object with code <code>IStatus.OK</code> if
- * the given name is valid as a field name, otherwise a status
- * object indicating what is wrong with the name
- */
- public static IStatus validateFieldName(String name, String sourceLevel, String complianceLevel) {
- return validateIdentifier(name, sourceLevel, complianceLevel);
- }
-
- /**
- * Validate the given JavaScript identifier.
- * The identifier must not have the same spelling as a JavaScript keyword,
- * boolean literal (<code>"true"</code>, <code>"false"</code>), or null literal (<code>"null"</code>).
- * A valid identifier can act as a simple type name, method name or field name.
- *
- * @param id the JavaScript identifier
- * @return a status object with code <code>IStatus.OK</code> if
- * the given identifier is a valid JavaScript identifier, otherwise a status
- * object indicating what is wrong with the identifier
- * @deprecated Use {@link #validateIdentifier(String id, String sourceLevel, String complianceLevel)} instead
- */
- public static IStatus validateIdentifier(String id) {
- return validateIdentifier(id,CompilerOptions.VERSION_1_3,CompilerOptions.VERSION_1_3);
- }
-
- /**
- * Validate the given JavaScript identifier for the given source and compliance levels
- * The identifier must not have the same spelling as a JavaScript keyword,
- * boolean literal (<code>"true"</code>, <code>"false"</code>), or null literal (<code>"null"</code>).
- * A valid identifier can act as a simple type name, method name or field name.
- *
- * @param id the JavaScript identifier
- * @param sourceLevel the source level
- * @param complianceLevel the compliance level
- * @return a status object with code <code>IStatus.OK</code> if
- * the given identifier is a valid JavaScript identifier, otherwise a status
- * object indicating what is wrong with the identifier
- */
- public static IStatus validateIdentifier(String id, String sourceLevel, String complianceLevel) {
- if (scannedIdentifier(id, sourceLevel, complianceLevel) != null) {
- return JavaModelStatus.VERIFIED_OK;
- } else {
- return new Status(IStatus.ERROR, JavaScriptCore.PLUGIN_ID, -1, Messages.bind(Messages.convention_illegalIdentifier, id), null);
- }
- }
-
- /**
- * Validate the given import declaration name for the given source and compliance levels.
- * <p>
- * The name of an import corresponds to a fully qualified type name.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param name the import declaration
- * @param sourceLevel the source level
- * @param complianceLevel the compliance level
- * @return a status object with code <code>IStatus.OK</code> if
- * the given name is valid as an import declaration, otherwise a status
- * object indicating what is wrong with the name
- */
- public static IStatus validateImportDeclaration(String name, String sourceLevel, String complianceLevel) {
- if (name == null || name.length() == 0) {
- return new Status(IStatus.ERROR, JavaScriptCore.PLUGIN_ID, -1, Messages.convention_import_nullImport, null);
- }
- if (name.charAt(name.length() - 1) == '*') {
- if (name.charAt(name.length() - 2) == '.') {
- return validatePackageName(name.substring(0, name.length() - 2), sourceLevel, complianceLevel);
- } else {
- return new Status(IStatus.ERROR, JavaScriptCore.PLUGIN_ID, -1, Messages.convention_import_unqualifiedImport, null);
- }
- }
- return validatePackageName(name, sourceLevel, complianceLevel);
- }
-
- /**
- * Validate the given JavaScript type name, either simple or qualified.
- * <p>
- *
- * @param name the name of a type
- * @return a status object with code <code>IStatus.OK</code> if
- * the given name is valid as a JavaScript type name,
- * a status with code <code>IStatus.WARNING</code>
- * indicating why the given name is discouraged,
- * otherwise a status object indicating what is wrong with
- * the name
- * @deprecated Use {@link #validateJavaScriptTypeName(String id, String sourceLevel, String complianceLevel)} instead
- */
- public static IStatus validateJavaScriptTypeName(String name) {
- return validateJavaScriptTypeName(name, CompilerOptions.VERSION_1_3,CompilerOptions.VERSION_1_3);
- }
-
- /**
- * Validate the given JavaScript type name, either simple or qualified, for the given source and compliance levels.
- * <p>
- *
- * @param name the name of a type
- * @param sourceLevel the source level
- * @param complianceLevel the compliance level
- * @return a status object with code <code>IStatus.OK</code> if
- * the given name is valid as a JavaScript type name,
- * a status with code <code>IStatus.WARNING</code>
- * indicating why the given name is discouraged,
- * otherwise a status object indicating what is wrong with
- * the name
- */
- public static IStatus validateJavaScriptTypeName(String name, String sourceLevel, String complianceLevel) {
- if (name == null) {
- return new Status(IStatus.ERROR, JavaScriptCore.PLUGIN_ID, -1, Messages.convention_type_nullName, null);
- }
- String trimmed = name.trim();
- if (!name.equals(trimmed)) {
- return new Status(IStatus.ERROR, JavaScriptCore.PLUGIN_ID, -1, Messages.convention_type_nameWithBlanks, null);
- }
- int index = name.lastIndexOf('.');
- char[] scannedID;
- if (index == -1) {
- // simple name
- scannedID = scannedIdentifier(name, sourceLevel, complianceLevel);
- } else {
- // qualified name
- String pkg = name.substring(0, index).trim();
- IStatus status = validatePackageName(pkg, sourceLevel, complianceLevel);
- if (!status.isOK()) {
- return status;
- }
- String type = name.substring(index + 1).trim();
- scannedID = scannedIdentifier(type, sourceLevel, complianceLevel);
- }
-
- if (scannedID != null) {
- IStatus status = ResourcesPlugin.getWorkspace().validateName(new String(scannedID), IResource.FILE);
- if (!status.isOK()) {
- return status;
- }
- if (CharOperation.contains('$', scannedID)) {
- return new Status(IStatus.WARNING, JavaScriptCore.PLUGIN_ID, -1, Messages.convention_type_dollarName, null);
- }
- if ((scannedID.length > 0 && ScannerHelper.isLowerCase(scannedID[0]))) {
- return new Status(IStatus.WARNING, JavaScriptCore.PLUGIN_ID, -1, Messages.convention_type_lowercaseName, null);
- }
- return JavaModelStatus.VERIFIED_OK;
- } else {
- return new Status(IStatus.ERROR, JavaScriptCore.PLUGIN_ID, -1, Messages.bind(Messages.convention_type_invalidName, name), null);
- }
- }
-
- /**
- * Validate the given function name.
- * <p>
- *
- * @param name the name of a method
- * @return a status object with code <code>IStatus.OK</code> if
- * the given name is valid as a method name, otherwise a status
- * object indicating what is wrong with the name
- * @deprecated Use {@link #validateFunctionName(String id, String sourceLevel, String complianceLevel)} instead
- */
- public static IStatus validateFunctionName(String name) {
- return validateFunctionName(name, CompilerOptions.VERSION_1_3,CompilerOptions.VERSION_1_3);
- }
-
-
- /**
- * Validate the given function name for the given source and compliance levels.
- * <p>
- *
- * @param name the name of a method
- * @param sourceLevel the source level
- * @param complianceLevel the compliance level
- * @return a status object with code <code>IStatus.OK</code> if
- * the given name is valid as a method name, otherwise a status
- * object indicating what is wrong with the name
- */
- public static IStatus validateFunctionName(String name, String sourceLevel, String complianceLevel) {
- return validateIdentifier(name, sourceLevel,complianceLevel);
- }
-
- /**
- * Validate the given package name.
- * <p>
- * The syntax of a package name corresponds to PackageName as
- * defined by PackageDeclaration.
- * <p>
- * Note that the given name must be a non-empty package name (that is, attempting to
- * validate the default package will return an error status.)
- * Also it must not contain any characters or substrings that are not valid
- * on the file system on which workspace root is located.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param name the name of a package
- * @return a status object with code <code>IStatus.OK</code> if
- * the given name is valid as a package name, otherwise a status
- * object indicating what is wrong with the name
- * @deprecated Use {@link #validatePackageName(String id, String sourceLevel, String complianceLevel)} instead
- */
- public static IStatus validatePackageName(String name) {
- return validatePackageName(name, CompilerOptions.VERSION_1_3,CompilerOptions.VERSION_1_3);
- }
-
- /**
- * Validate the given package name for the given source and compliance levels.
- * <p>
- * The syntax of a package name corresponds to PackageName as
- * defined by PackageDeclaration.
- * <p>
- * Note that the given name must be a non-empty package name (that is, attempting to
- * validate the default package will return an error status.)
- * Also it must not contain any characters or substrings that are not valid
- * on the file system on which workspace root is located.
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param name the name of a package
- * @param sourceLevel the source level
- * @param complianceLevel the compliance level
- * @return a status object with code <code>IStatus.OK</code> if
- * the given name is valid as a package name, otherwise a status
- * object indicating what is wrong with the name
- */
- public static IStatus validatePackageName(String name, String sourceLevel, String complianceLevel) {
-
- if (name == null) {
- return new Status(IStatus.ERROR, JavaScriptCore.PLUGIN_ID, -1, Messages.convention_package_nullName, null);
- }
- int length;
- if ((length = name.length()) == 0) {
- return new Status(IStatus.ERROR, JavaScriptCore.PLUGIN_ID, -1, Messages.convention_package_emptyName, null);
- }
- if (name.charAt(0) == DOT || name.charAt(length-1) == DOT) {
- return new Status(IStatus.ERROR, JavaScriptCore.PLUGIN_ID, -1, Messages.convention_package_dotName, null);
- }
- if (CharOperation.isWhitespace(name.charAt(0)) || CharOperation.isWhitespace(name.charAt(name.length() - 1))) {
- return new Status(IStatus.ERROR, JavaScriptCore.PLUGIN_ID, -1, Messages.convention_package_nameWithBlanks, null);
- }
- int dot = 0;
- while (dot != -1 && dot < length-1) {
- if ((dot = name.indexOf(DOT, dot+1)) != -1 && dot < length-1 && name.charAt(dot+1) == DOT) {
- return new Status(IStatus.ERROR, JavaScriptCore.PLUGIN_ID, -1, Messages.convention_package_consecutiveDotsName, null);
- }
- }
- IWorkspace workspace = ResourcesPlugin.getWorkspace();
- StringTokenizer st = new StringTokenizer(name, "."); //$NON-NLS-1$
- boolean firstToken = true;
- IStatus warningStatus = null;
- while (st.hasMoreTokens()) {
- String typeName = st.nextToken();
- typeName = typeName.trim(); // grammar allows spaces
- char[] scannedID = scannedIdentifier(typeName, sourceLevel, complianceLevel);
- if (scannedID == null) {
- return new Status(IStatus.ERROR, JavaScriptCore.PLUGIN_ID, -1, Messages.bind(Messages.convention_illegalIdentifier, typeName), null);
- }
- IStatus status = workspace.validateName(new String(scannedID), IResource.FOLDER);
- if (!status.isOK()) {
- return status;
- }
- if (firstToken && scannedID.length > 0 && ScannerHelper.isUpperCase(scannedID[0])) {
- if (warningStatus == null) {
- warningStatus = new Status(IStatus.WARNING, JavaScriptCore.PLUGIN_ID, -1, Messages.convention_package_uppercaseName, null);
- }
- }
- firstToken = false;
- }
- if (warningStatus != null) {
- return warningStatus;
- }
- return JavaModelStatus.VERIFIED_OK;
- }
-
- /**
- * Validate a given includepath and output location for a project, using the following rules:
- * <ul>
- * <li> Includepath entries cannot collide with each other; that is, all entry paths must be unique.
- * <li> The project output location path cannot be null, must be absolute and located inside the project.
- * <li> Specific output locations (specified on source entries) can be null, if not they must be located inside the project,
- * <li> A project entry cannot refer to itself directly (that is, a project cannot prerequisite itself).
- * <li> Includepath entries or output locations cannot coincidate or be nested in each other, except for the following scenarii listed below:
- * <ul><li> A source folder can coincidate with its own output location, in which case this output can then contain library archives.
- * However, a specific output location cannot coincidate with any library or a distinct source folder than the one referring to it. </li>
- * <li> A source/library folder can be nested in any source folder as long as the nested folder is excluded from the enclosing one. </li>
- * <li> An output location can be nested in a source folder, if the source folder coincidates with the project itself, or if the output
- * location is excluded from the source folder.
- * </ul>
- * </ul>
- *
- * Note that the includepath entries are not validated automatically. Only bound variables or containers are considered
- * in the checking process (this allows to perform a consistency check on a includepath which has references to
- * yet non existing projects, folders, ...).
- * <p>
- * This validation is intended to anticipate includepath issues prior to assigning it to a project. In particular, it will automatically
- * be performed during the includepath setting operation (if validation fails, the includepath setting will not complete).
- * <p>
- * @param javaProject the given javaScript project
- * @param rawClasspath the given includepath
- * @param projectOutputLocation the given output location
- * @return a status object with code <code>IStatus.OK</code> if
- * the given includepath and output location are compatible, otherwise a status
- * object indicating what is wrong with the includepath or output location
- */
- public static IJavaScriptModelStatus validateClasspath(IJavaScriptProject javaProject, IIncludePathEntry[] rawClasspath, IPath projectOutputLocation) {
-
- return ClasspathEntry.validateClasspath(javaProject, rawClasspath, projectOutputLocation);
- }
-
- /**
- * Returns a JavaScript model status describing the problem related to this includepath entry if any,
- * a status object with code <code>IStatus.OK</code> if the entry is fine (that is, if the
- * given includepath entry denotes a valid element to be referenced onto a includepath).
- *
- * @param project the given javaScript project
- * @param entry the given includepath entry
- * @param checkSourceAttachment a flag to determine if source attachement should be checked
- * @return a javaScript model status describing the problem related to this includepath entry if any, a status object with code <code>IStatus.OK</code> if the entry is fine
- */
- public static IJavaScriptModelStatus validateClasspathEntry(IJavaScriptProject project, IIncludePathEntry entry, boolean checkSourceAttachment){
- IJavaScriptModelStatus status = ClasspathEntry.validateClasspathEntry(project, entry, checkSourceAttachment, true/*recurse in container*/);
- if (status.getCode() == IJavaScriptModelStatusConstants.INVALID_INCLUDEPATH && ((ClasspathEntry) entry).isOptional())
- return JavaModelStatus.VERIFIED_OK;
- return status;
- }
-
- /**
- * Validate the given type variable name.
- * <p>
- *
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param name the name of a type variable
- * @return a status object with code <code>IStatus.OK</code> if
- * the given name is valid as a type variable name, otherwise a status
- * object indicating what is wrong with the name
- * @deprecated Use {@link #validateTypeVariableName(String id, String sourceLevel, String complianceLevel)} instead
- */
- public static IStatus validateTypeVariableName(String name) {
- return validateIdentifier(name, CompilerOptions.VERSION_1_3,CompilerOptions.VERSION_1_3);
- }
-
- /**
- * Validate the given type variable name for the given source and compliance levels.
- * <p>
- * <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p>
- *
- * @param name the name of a type variable
- * @param sourceLevel the source level
- * @param complianceLevel the compliance level
- * @return a status object with code <code>IStatus.OK</code> if
- * the given name is valid as a type variable name, otherwise a status
- * object indicating what is wrong with the name
- */
- public static IStatus validateTypeVariableName(String name, String sourceLevel, String complianceLevel) {
- return validateIdentifier(name, sourceLevel, complianceLevel);
- }
-
- /*
- * Validate that all compiler options of the given project match keys and values
- * described in {@link JavaScriptCore#getDefaultOptions()} method.
- *
- * @param javaProject the given javaScript project
- * @param inheritJavaCoreOptions inherit project options from JavaScriptCore or not.
- * @return a status object with code <code>IStatus.OK</code> if all project
- * compiler options are valid, otherwise a status object indicating what is wrong
- * with the keys and their value.
- */
- /*
- public static IStatus validateCompilerOptions(IJavaScriptProject javaProject, boolean inheritJavaCoreOptions) {
- return validateCompilerOptions(javaProject.getOptions(inheritJavaCoreOptions));
- }
- */
-
- /*
- * Validate that all compiler options of the given project match keys and values
- * described in {@link JavaScriptCore#getDefaultOptions()} method.
- *
- * @param compilerOptions Map of options
- * @return a status object with code <code>IStatus.OK</code> if all
- * compiler options are valid, otherwise a status object indicating what is wrong
- * with the keys and their value.
- */
- /*
- public static IStatus validateCompilerOptions(Map compilerOptions) {
-
- // Get current options
- String compliance = (String) compilerOptions.get(JavaScriptCore.COMPILER_COMPLIANCE);
- String source = (String) compilerOptions.get(JavaScriptCore.COMPILER_SOURCE);
- String target = (String) compilerOptions.get(JavaScriptCore.COMPILER_CODEGEN_TARGET_PLATFORM);
- if (compliance == null && source == null && target == null) {
- return JavaModelStatus.VERIFIED_OK; // default is OK
- }
-
- // Initialize multi-status
- List errors = new ArrayList();
-
- // Set default for compliance if necessary (not set on project and not inherited...)
- if (compliance == null) {
- compliance = JavaScriptCore.getOption(JavaScriptCore.COMPILER_COMPLIANCE);
- }
-
- // Verify compliance level value and set source and target default if necessary
- long complianceLevel = 0;
- long sourceLevel = 0;
- long targetLevel = 0;
- if (JavaScriptCore.VERSION_1_3.equals(compliance)) {
- complianceLevel = ClassFileConstants.JDK1_3;
- if (source == null) {
- source = JavaScriptCore.VERSION_1_3;
- sourceLevel = ClassFileConstants.JDK1_3;
- }
- if (target == null) {
- target = JavaScriptCore.VERSION_1_1;
- targetLevel = ClassFileConstants.JDK1_1;
- }
- } else if (JavaScriptCore.VERSION_1_4.equals(compliance)) {
- complianceLevel = ClassFileConstants.JDK1_4;
- if (source == null) {
- source = JavaScriptCore.VERSION_1_3;
- sourceLevel = ClassFileConstants.JDK1_3;
- }
- if (target == null) {
- target = JavaScriptCore.VERSION_1_2;
- targetLevel = ClassFileConstants.JDK1_2;
- }
- } else if (JavaScriptCore.VERSION_1_5.equals(compliance)) {
- complianceLevel = ClassFileConstants.JDK1_5;
- if (source == null) {
- source = JavaScriptCore.VERSION_1_5;
- sourceLevel = ClassFileConstants.JDK1_5;
- }
- if (target == null) {
- target = JavaScriptCore.VERSION_1_5;
- targetLevel = ClassFileConstants.JDK1_5;
- }
- } else {
- // compliance is not valid
- errors.add(new JavaModelStatus(IStatus.ERROR, Util.bind("convention.compiler.invalidCompilerOption", compliance==null?"":compliance, JavaScriptCore.COMPILER_COMPLIANCE))); //$NON-NLS-1$ //$NON-NLS-2$
- }
-
- // Verify source value and set default for target if necessary
- if (JavaScriptCore.VERSION_1_4.equals(source)) {
- sourceLevel = ClassFileConstants.JDK1_4;
- if (target == null) {
- target = JavaScriptCore.VERSION_1_4;
- targetLevel = ClassFileConstants.JDK1_4;
- }
- } else if (JavaScriptCore.VERSION_1_5.equals(source)) {
- sourceLevel = ClassFileConstants.JDK1_5;
- if (target == null) {
- target = JavaScriptCore.VERSION_1_5;
- targetLevel = ClassFileConstants.JDK1_5;
- }
- } else if (JavaScriptCore.VERSION_1_3.equals(source)) {
- sourceLevel = ClassFileConstants.JDK1_3;
- } else {
- // source is not valid
- errors.add(new JavaModelStatus(IStatus.ERROR, Util.bind("convention.compiler.invalidCompilerOption", source==null?"":source, JavaScriptCore.COMPILER_SOURCE))); //$NON-NLS-1$ //$NON-NLS-2$
- }
-
- // Verify target value
- if (targetLevel == 0) {
- targetLevel = CompilerOptions.versionToJdkLevel(target);
- if (targetLevel == 0) {
- // target is not valid
- errors.add(new JavaModelStatus(IStatus.ERROR, Util.bind("convention.compiler.invalidCompilerOption", target==null?"":target, JavaScriptCore.COMPILER_CODEGEN_TARGET_PLATFORM))); //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
-
- // Check and set compliance/source/target compatibilities (only if they have valid values)
- if (complianceLevel != 0 && sourceLevel != 0 && targetLevel != 0) {
- // target must be 1.5 if source is 1.5
- if (sourceLevel >= ClassFileConstants.JDK1_5 && targetLevel < ClassFileConstants.JDK1_5) {
- errors.add(new JavaModelStatus(IStatus.ERROR, Util.bind("convention.compiler.incompatibleTargetForSource", target, JavaScriptCore.VERSION_1_5))); //$NON-NLS-1$
- }
- else
- // target must be 1.4 if source is 1.4
- if (sourceLevel >= ClassFileConstants.JDK1_4 && targetLevel < ClassFileConstants.JDK1_4) {
- errors.add(new JavaModelStatus(IStatus.ERROR, Util.bind("convention.compiler.incompatibleTargetForSource", target, JavaScriptCore.VERSION_1_4))); //$NON-NLS-1$
- }
- // target cannot be greater than compliance level
- if (complianceLevel < targetLevel){
- errors.add(new JavaModelStatus(IStatus.ERROR, Util.bind("convention.compiler.incompatibleComplianceForTarget", compliance, JavaScriptCore.VERSION_1_4))); //$NON-NLS-1$
- }
- // compliance must be 1.5 if source is 1.5
- if (source.equals(JavaScriptCore.VERSION_1_5) && complianceLevel < ClassFileConstants.JDK1_5) {
- errors.add(new JavaModelStatus(IStatus.ERROR, Util.bind("convention.compiler.incompatibleComplianceForSource", compliance, JavaScriptCore.VERSION_1_5))); //$NON-NLS-1$
- } else
- // compliance must be 1.4 if source is 1.4
- if (source.equals(JavaScriptCore.VERSION_1_4) && complianceLevel < ClassFileConstants.JDK1_4) {
- errors.add(new JavaModelStatus(IStatus.ERROR, Util.bind("convention.compiler.incompatibleComplianceForSource", compliance, JavaScriptCore.VERSION_1_4))); //$NON-NLS-1$
- }
- }
-
- // Return status
- int size = errors.size();
- switch (size) {
- case 0:
- return JavaModelStatus.VERIFIED_OK;
- case 1:
- return (IStatus) errors.get(0);
- default:
- IJavaScriptModelStatus[] allStatus = new IJavaScriptModelStatus[size];
- errors.toArray(allStatus);
- return JavaModelStatus.newMultiStatus(allStatus);
- }
- }
- */
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JavaScriptCore.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JavaScriptCore.java
deleted file mode 100644
index 4637bb1b..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JavaScriptCore.java
+++ /dev/null
@@ -1,4244 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- * IBM Corporation - added the following constants:
- * COMPILER_PB_DEPRECATION_IN_DEPRECATED_CODE
- * COMPILER_PB_STATIC_ACCESS_RECEIVER
- * COMPILER_TASK_TAGS
- * CORE_CIRCULAR_CLASSPATH
- * CORE_INCOMPLETE_CLASSPATH
- * IBM Corporation - added run(IWorkspaceRunnable, IProgressMonitor)
- * IBM Corporation - added exclusion patterns to source includepath entries
- * IBM Corporation - added specific output location to source includepath entries
- * IBM Corporation - added the following constants:
- * CORE_JAVA_BUILD_CLEAN_OUTPUT_FOLDER
- * CORE_JAVA_BUILD_RECREATE_MODIFIED_CLASS_FILES_IN_OUTPUT_FOLDER
- * CLEAN
- * IBM Corporation - added getJsGlobalScopeContainerInitializer(String)
- * IBM Corporation - added the following constants:
- * CODEASSIST_ARGUMENT_PREFIXES
- * CODEASSIST_ARGUMENT_SUFFIXES
- * CODEASSIST_FIELD_PREFIXES
- * CODEASSIST_FIELD_SUFFIXES
- * CODEASSIST_LOCAL_PREFIXES
- * CODEASSIST_LOCAL_SUFFIXES
- * CODEASSIST_STATIC_FIELD_PREFIXES
- * CODEASSIST_STATIC_FIELD_SUFFIXES
- * COMPILER_PB_CHAR_ARRAY_IN_STRING_CONCATENATION
- * IBM Corporation - added the following constants:
- * COMPILER_PB_LOCAL_VARIABLE_HIDING
- * COMPILER_PB_SPECIAL_PARAMETER_HIDING_FIELD
- * COMPILER_PB_FIELD_HIDING
- * COMPILER_PB_POSSIBLE_ACCIDENTAL_BOOLEAN_ASSIGNMENT
- * CORE_INCOMPATIBLE_JDK_LEVEL
- * VERSION_1_5
- * COMPILER_PB_EMPTY_STATEMENT
- * IBM Corporation - added the following constants:
- * COMPILER_PB_INDIRECT_STATIC_ACCESS
- * COMPILER_PB_BOOLEAN_METHOD_THROWING_EXCEPTION
- * COMPILER_PB_UNNECESSARY_CAST
- * IBM Corporation - added the following constants:
- * COMPILER_PB_INVALID_JAVADOC
- * COMPILER_PB_INVALID_JAVADOC_TAGS
- * COMPILER_PB_INVALID_JAVADOC_TAGS_VISIBILITY
- * COMPILER_PB_MISSING_JAVADOC_TAGS
- * COMPILER_PB_MISSING_JAVADOC_TAGS_VISIBILITY
- * COMPILER_PB_MISSING_JAVADOC_TAGS_OVERRIDING
- * COMPILER_PB_MISSING_JAVADOC_COMMENTS
- * COMPILER_PB_MISSING_JAVADOC_COMMENTS_VISIBILITY
- * COMPILER_PB_MISSING_JAVADOC_COMMENTS_OVERRIDING
- * COMPILER_PB_DEPRECATION_WHEN_OVERRIDING_DEPRECATED_METHOD
- * COMPILER_PB_UNUSED_DECLARED_THROWN_EXCEPTION_WHEN_OVERRIDING
- * IBM Corporation - added the following constants:
- * TIMEOUT_FOR_PARAMETER_NAME_FROM_ATTACHED_JAVADOC
- * IBM Corporation - added the following constants:
- * COMPILER_PB_FALLTHROUGH_CASE
- * COMPILER_PB_PARAMETER_ASSIGNMENT
- * COMPILER_PB_NULL_REFERENCE
- * IBM Corporation - added the following constants:
- * CODEASSIST_DEPRECATION_CHECK
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import java.io.File;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Hashtable;
-import java.util.Map;
-
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IMarker;
-import org.eclipse.core.resources.IMarkerDelta;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IResourceChangeEvent;
-import org.eclipse.core.resources.IResourceChangeListener;
-import org.eclipse.core.resources.IWorkspace;
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.resources.IWorkspaceRunnable;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.FileLocator;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtension;
-import org.eclipse.core.runtime.IExtensionPoint;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.OperationCanceledException;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Plugin;
-import org.eclipse.core.runtime.QualifiedName;
-import org.eclipse.core.runtime.SubProgressMonitor;
-import org.eclipse.core.runtime.jobs.ISchedulingRule;
-import org.eclipse.wst.jsdt.core.compiler.CharOperation;
-import org.eclipse.wst.jsdt.core.search.IJavaScriptSearchConstants;
-import org.eclipse.wst.jsdt.core.search.IJavaScriptSearchScope;
-import org.eclipse.wst.jsdt.core.search.SearchEngine;
-import org.eclipse.wst.jsdt.core.search.SearchPattern;
-import org.eclipse.wst.jsdt.core.search.TypeNameRequestor;
-import org.eclipse.wst.jsdt.internal.compiler.classfmt.ClassFileConstants;
-import org.eclipse.wst.jsdt.internal.compiler.impl.CompilerOptions;
-import org.eclipse.wst.jsdt.internal.compiler.util.SuffixConstants;
-import org.eclipse.wst.jsdt.internal.core.BatchOperation;
-import org.eclipse.wst.jsdt.internal.core.BufferFactoryWrapper;
-import org.eclipse.wst.jsdt.internal.core.BufferManager;
-import org.eclipse.wst.jsdt.internal.core.ClasspathAccessRule;
-import org.eclipse.wst.jsdt.internal.core.ClasspathAttribute;
-import org.eclipse.wst.jsdt.internal.core.ClasspathEntry;
-import org.eclipse.wst.jsdt.internal.core.CreateTypeHierarchyOperation;
-import org.eclipse.wst.jsdt.internal.core.DefaultWorkingCopyOwner;
-import org.eclipse.wst.jsdt.internal.core.JavaModel;
-import org.eclipse.wst.jsdt.internal.core.JavaModelManager;
-import org.eclipse.wst.jsdt.internal.core.JavaProject;
-import org.eclipse.wst.jsdt.internal.core.Region;
-import org.eclipse.wst.jsdt.internal.core.SetContainerOperation;
-import org.eclipse.wst.jsdt.internal.core.SetVariablesOperation;
-import org.eclipse.wst.jsdt.internal.core.UserLibraryManager;
-import org.eclipse.wst.jsdt.internal.core.builder.JavaBuilder;
-import org.eclipse.wst.jsdt.internal.core.builder.State;
-import org.eclipse.wst.jsdt.internal.core.util.MementoTokenizer;
-import org.eclipse.wst.jsdt.internal.core.util.Messages;
-import org.eclipse.wst.jsdt.internal.core.util.Util;
-import org.osgi.framework.BundleContext;
-
-/**
- * The plug-in runtime class for the JavaScript model plug-in containing the core
- * (UI-free) support for JavaScript projects.
- * <p>
- * Like all plug-in runtime classes (subclasses of <code>Plugin</code>), this
- * class is automatically instantiated by the platform when the plug-in gets
- * activated. Clients must not attempt to instantiate plug-in runtime classes
- * directly.
- * </p>
- * <p>
- * The single instance of this class can be accessed from any plug-in declaring
- * the JavaScript model plug-in as a prerequisite via
- * <code>JavaScriptCore.getJavaCore()</code>. The JavaScript model plug-in will be activated
- * automatically if not already active.
- * </p>
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public final class JavaScriptCore extends Plugin {
-
- public static final boolean IS_ECMASCRIPT4=false;
-
- private static final IResource[] NO_GENERATED_RESOURCES = new IResource[0];
-
-
- private static Plugin JAVA_CORE_PLUGIN = null;
- /**
- * The plug-in identifier of the JavaScript core support
- * (value <code>"org.eclipse.wst.jsdt.core"</code>).
- */
- public static final String PLUGIN_ID = "org.eclipse.wst.jsdt.core" ; //$NON-NLS-1$
-
- /**
- * The identifier for the JavaScript validator
- * (value <code>"org.eclipse.wst.jsdt.core.javascriptValidator"</code>).
- */
- public static final String BUILDER_ID = PLUGIN_ID + ".javascriptValidator" ; //$NON-NLS-1$
-
- /**
- * The identifier for the JavaScript model
- * (value <code>"org.eclipse.wst.jsdt.core.jsmodel"</code>).
- */
- public static final String MODEL_ID = PLUGIN_ID + ".jsmodel" ; //$NON-NLS-1$
-
- /**
- * The identifier for the JavaScript nature
- * (value <code>"org.eclipse.wst.jsdt.core.jsnature"</code>).
- * The presence of this nature on a project indicates that it is
- * JavaScript-capable.
- *
- * @see org.eclipse.core.resources.IProject#hasNature(java.lang.String)
- */
- public static final String NATURE_ID = PLUGIN_ID + ".jsNature" ; //$NON-NLS-1$
-
- /**
- * Name of the handle id attribute in a JavaScript marker.
- */
- protected static final String ATT_HANDLE_ID =
- "org.eclipse.wst.jsdt.internal.core.JavaModelManager.handleId" ; //$NON-NLS-1$
-
- /**
- * Name of the User Library Container id.
- */
- public static final String USER_LIBRARY_CONTAINER_ID= "org.eclipse.wst.jsdt.USER_LIBRARY"; //$NON-NLS-1$
-
- // *************** Possible IDs for configurable options. ********************
-
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_LOCAL_VARIABLE_ATTR = PLUGIN_ID + ".compiler.debug.localVariable"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_LINE_NUMBER_ATTR = PLUGIN_ID + ".compiler.debug.lineNumber"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_SOURCE_FILE_ATTR = PLUGIN_ID + ".compiler.debug.sourceFile"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_CODEGEN_UNUSED_LOCAL = PLUGIN_ID + ".compiler.codegen.unusedLocal"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_CODEGEN_TARGET_PLATFORM = PLUGIN_ID + ".compiler.codegen.targetPlatform"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_CODEGEN_INLINE_JSR_BYTECODE = PLUGIN_ID + ".compiler.codegen.inlineJsrBytecode"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_DOC_COMMENT_SUPPORT = PLUGIN_ID + ".compiler.doc.comment.support"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- * @deprecated - discontinued since turning off would violate language specs
- */
- public static final String COMPILER_PB_UNREACHABLE_CODE = PLUGIN_ID + ".compiler.problem.unreachableCode"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- * @deprecated - discontinued since turning off would violate language specs
- */
- public static final String COMPILER_PB_INVALID_IMPORT = PLUGIN_ID + ".compiler.problem.invalidImport"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_UNDEFINED_FIELD = PLUGIN_ID + ".compiler.problem.undefinedField"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_METHOD_WITH_CONSTRUCTOR_NAME = PLUGIN_ID + ".compiler.problem.methodWithConstructorName"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_DEPRECATION = PLUGIN_ID + ".compiler.problem.deprecation"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_DEPRECATION_IN_DEPRECATED_CODE = PLUGIN_ID + ".compiler.problem.deprecationInDeprecatedCode"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_DEPRECATION_WHEN_OVERRIDING_DEPRECATED_METHOD = "org.eclipse.wst.jsdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_HIDDEN_CATCH_BLOCK = PLUGIN_ID + ".compiler.problem.hiddenCatchBlock"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_UNUSED_LOCAL = PLUGIN_ID + ".compiler.problem.unusedLocal"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_UNUSED_PARAMETER = PLUGIN_ID + ".compiler.problem.unusedParameter"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_UNUSED_PARAMETER_WHEN_IMPLEMENTING_ABSTRACT = PLUGIN_ID + ".compiler.problem.unusedParameterWhenImplementingAbstract"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_UNUSED_PARAMETER_WHEN_OVERRIDING_CONCRETE = PLUGIN_ID + ".compiler.problem.unusedParameterWhenOverridingConcrete"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_UNUSED_PARAMETER_INCLUDE_DOC_COMMENT_REFERENCE = PLUGIN_ID + ".compiler.problem.unusedParameterIncludeDocCommentReference"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_UNUSED_IMPORT = PLUGIN_ID + ".compiler.problem.unusedImport"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_SYNTHETIC_ACCESS_EMULATION = PLUGIN_ID + ".compiler.problem.syntheticAccessEmulation"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_NON_NLS_STRING_LITERAL = PLUGIN_ID + ".compiler.problem.nonExternalizedStringLiteral"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_ASSERT_IDENTIFIER = PLUGIN_ID + ".compiler.problem.assertIdentifier"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_ENUM_IDENTIFIER = PLUGIN_ID + ".compiler.problem.enumIdentifier"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_STATIC_ACCESS_RECEIVER = PLUGIN_ID + ".compiler.problem.staticAccessReceiver"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_INDIRECT_STATIC_ACCESS = PLUGIN_ID + ".compiler.problem.indirectStaticAccess"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_NO_EFFECT_ASSIGNMENT = PLUGIN_ID + ".compiler.problem.noEffectAssignment"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_INCOMPATIBLE_NON_INHERITED_INTERFACE_METHOD = PLUGIN_ID + ".compiler.problem.incompatibleNonInheritedInterfaceMethod"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_UNUSED_PRIVATE_MEMBER = PLUGIN_ID + ".compiler.problem.unusedPrivateMember"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_LOCAL_VARIABLE_HIDING = PLUGIN_ID + ".compiler.problem.localVariableHiding"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_SPECIAL_PARAMETER_HIDING_FIELD = PLUGIN_ID + ".compiler.problem.specialParameterHidingField"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_FIELD_HIDING = PLUGIN_ID + ".compiler.problem.fieldHiding"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_TYPE_PARAMETER_HIDING = PLUGIN_ID + ".compiler.problem.typeParameterHiding"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_POSSIBLE_ACCIDENTAL_BOOLEAN_ASSIGNMENT = PLUGIN_ID + ".compiler.problem.possibleAccidentalBooleanAssignment"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_FALLTHROUGH_CASE = PLUGIN_ID + ".compiler.problem.fallthroughCase"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_EMPTY_STATEMENT = PLUGIN_ID + ".compiler.problem.emptyStatement"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_BOOLEAN_METHOD_THROWING_EXCEPTION = PLUGIN_ID + ".compiler.problem.booleanMethodThrowingException"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_UNNECESSARY_TYPE_CHECK = PLUGIN_ID + ".compiler.problem.unnecessaryTypeCheck"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_UNNECESSARY_ELSE = PLUGIN_ID + ".compiler.problem.unnecessaryElse"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_UNDOCUMENTED_EMPTY_BLOCK = PLUGIN_ID + ".compiler.problem.undocumentedEmptyBlock"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_FINALLY_BLOCK_NOT_COMPLETING = PLUGIN_ID + ".compiler.problem.finallyBlockNotCompletingNormally"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_UNUSED_DECLARED_THROWN_EXCEPTION = PLUGIN_ID + ".compiler.problem.unusedDeclaredThrownException"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_UNUSED_DECLARED_THROWN_EXCEPTION_WHEN_OVERRIDING = PLUGIN_ID + ".compiler.problem.unusedDeclaredThrownExceptionWhenOverriding"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_UNQUALIFIED_FIELD_ACCESS = PLUGIN_ID + ".compiler.problem.unqualifiedFieldAccess"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- * @deprecated - got renamed into {@link #COMPILER_PB_UNCHECKED_TYPE_OPERATION}
- */
- public static final String COMPILER_PB_UNSAFE_TYPE_OPERATION = PLUGIN_ID + ".compiler.problem.uncheckedTypeOperation"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_UNCHECKED_TYPE_OPERATION = PLUGIN_ID + ".compiler.problem.uncheckedTypeOperation"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_RAW_TYPE_REFERENCE = PLUGIN_ID + ".compiler.problem.rawTypeReference"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_FINAL_PARAMETER_BOUND = PLUGIN_ID + ".compiler.problem.finalParameterBound"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_MISSING_SERIAL_VERSION = PLUGIN_ID + ".compiler.problem.missingSerialVersion"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_VARARGS_ARGUMENT_NEED_CAST = PLUGIN_ID + ".compiler.problem.varargsArgumentNeedCast"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_AUTOBOXING = PLUGIN_ID + ".compiler.problem.autoboxing"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_ANNOTATION_SUPER_INTERFACE = PLUGIN_ID + ".compiler.problem.annotationSuperInterface"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_MISSING_OVERRIDE_ANNOTATION = PLUGIN_ID + ".compiler.problem.missingOverrideAnnotation"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_MISSING_DEPRECATED_ANNOTATION = PLUGIN_ID + ".compiler.problem.missingDeprecatedAnnotation"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_INCOMPLETE_ENUM_SWITCH = PLUGIN_ID + ".compiler.problem.incompleteEnumSwitch"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @deprecated use {@link #COMPILER_PB_NULL_REFERENCE} instead
- */
- public static final String COMPILER_PB_INCONSISTENT_NULL_CHECK = PLUGIN_ID + ".compiler.problem.inconsistentNullCheck"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_UNUSED_LABEL = PLUGIN_ID + ".compiler.problem.unusedLabel"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_INVALID_JAVADOC = PLUGIN_ID + ".compiler.problem.invalidJavadoc"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_INVALID_JAVADOC_TAGS = PLUGIN_ID + ".compiler.problem.invalidJavadocTags"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_INVALID_JAVADOC_TAGS__DEPRECATED_REF = PLUGIN_ID + ".compiler.problem.invalidJavadocTagsDeprecatedRef"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_INVALID_JAVADOC_TAGS__NOT_VISIBLE_REF = PLUGIN_ID + ".compiler.problem.invalidJavadocTagsNotVisibleRef"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_INVALID_JAVADOC_TAGS_VISIBILITY = PLUGIN_ID + ".compiler.problem.invalidJavadocTagsVisibility"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_MISSING_JAVADOC_TAGS = PLUGIN_ID + ".compiler.problem.missingJavadocTags"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_MISSING_JAVADOC_TAGS_VISIBILITY = PLUGIN_ID + ".compiler.problem.missingJavadocTagsVisibility"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_MISSING_JAVADOC_TAGS_OVERRIDING = PLUGIN_ID + ".compiler.problem.missingJavadocTagsOverriding"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_MISSING_JAVADOC_COMMENTS = PLUGIN_ID + ".compiler.problem.missingJavadocComments"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_MISSING_JAVADOC_COMMENTS_VISIBILITY = PLUGIN_ID + ".compiler.problem.missingJavadocCommentsVisibility"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_MISSING_JAVADOC_COMMENTS_OVERRIDING = PLUGIN_ID + ".compiler.problem.missingJavadocCommentsOverriding"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_CHAR_ARRAY_IN_STRING_CONCATENATION = PLUGIN_ID + ".compiler.problem.noImplicitStringConversion"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_MAX_PER_UNIT = PLUGIN_ID + ".compiler.maxProblemPerUnit"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_FATAL_OPTIONAL_ERROR = PLUGIN_ID + ".compiler.problem.fatalOptionalError"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_PARAMETER_ASSIGNMENT = PLUGIN_ID + ".compiler.problem.parameterAssignment"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_SOURCE = PLUGIN_ID + ".compiler.source"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_COMPLIANCE = PLUGIN_ID + ".compiler.compliance"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_TASK_PRIORITIES = PLUGIN_ID + ".compiler.taskPriorities"; //$NON-NLS-1$
- /**
- * Possible configurable option value for COMPILER_TASK_PRIORITIES.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_TASK_PRIORITY_HIGH = "HIGH"; //$NON-NLS-1$
- /**
- * Possible configurable option value for COMPILER_TASK_PRIORITIES.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_TASK_PRIORITY_LOW = "LOW"; //$NON-NLS-1$
- /**
- * Possible configurable option value for COMPILER_TASK_PRIORITIES.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_TASK_PRIORITY_NORMAL = "NORMAL"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_TASK_TAGS = PLUGIN_ID + ".compiler.taskTags"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_TASK_CASE_SENSITIVE = PLUGIN_ID + ".compiler.taskCaseSensitive"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_FORBIDDEN_REFERENCE = PLUGIN_ID + ".compiler.problem.forbiddenReference"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_DISCOURAGED_REFERENCE = PLUGIN_ID + ".compiler.problem.discouragedReference"; //$NON-NLS-1$
-
- /* START -------------------------------- Bug 203292 Type/Method/Filed resolution error configuration --------------------- */
- public static final String UNRESOLVED_TYPE_REFERENCE = PLUGIN_ID + ".compiler.problem.unresolvedTypeReference"; //$NON-NLS-1$
- public static final String UNRESOLVED_FIELD_REFERENCE = PLUGIN_ID + ".compiler.problem.unresolvedFieldReference"; //$NON-NLS-1$
- public static final String UNRESOLVED_METHOD_REFERENCE = PLUGIN_ID + ".compiler.problem.unresolvedMethodReference"; //$NON-NLS-1$
- /* END -------------------------------- Bug 203292 Type/Method/Filed resolution error configuration --------------------- */
-
- /* START -------------------------------- Bug 197884 Loosly defined var (for statement) and optional semi-colon --------------------- */
- public static final String LOOSE_VAR_DECL = PLUGIN_ID + ".compiler.problem.looseVarDecleration"; //$NON-NLS-1$
- public static final String OPTIONAL_SEMICOLON = PLUGIN_ID + ".compiler.problem.optionalSemicolon"; //$NON-NLS-1$
- /* END -------------------------------- Bug 197884 Loosly defined var (for statement) and optional semi-colon --------------------- */
-
-
- /**
-
- *
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_SUPPRESS_WARNINGS = PLUGIN_ID + ".compiler.problem.suppressWarnings"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_UNHANDLED_WARNING_TOKEN = PLUGIN_ID + ".compiler.problem.unhandledWarningToken"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_NULL_REFERENCE = PLUGIN_ID + ".compiler.problem.nullReference"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_POTENTIAL_NULL_REFERENCE = PLUGIN_ID + ".compiler.problem.potentialNullReference"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_DUPLICATE_LOCAL_VARIABLES = PLUGIN_ID + ".compiler.problem.duplicateLocalVariables"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_REDUNDANT_NULL_CHECK = PLUGIN_ID + ".compiler.problem.redundantNullCheck"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String COMPILER_PB_OVERRIDING_METHOD_WITHOUT_SUPER_INVOCATION = PLUGIN_ID + ".compiler.problem.overridingMethodWithoutSuperInvocation"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CORE_JAVA_BUILD_ORDER = PLUGIN_ID + ".computeJavaBuildOrder"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CORE_JAVA_BUILD_RESOURCE_COPY_FILTER = PLUGIN_ID + ".builder.resourceCopyExclusionFilter"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CORE_JAVA_BUILD_DUPLICATE_RESOURCE = PLUGIN_ID + ".builder.duplicateResourceTask"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CORE_JAVA_BUILD_CLEAN_OUTPUT_FOLDER = PLUGIN_ID + ".builder.cleanOutputFolder"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CORE_JAVA_BUILD_RECREATE_MODIFIED_CLASS_FILES_IN_OUTPUT_FOLDER = PLUGIN_ID + ".builder.recreateModifiedClassFileInOutputFolder"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CORE_INCOMPLETE_CLASSPATH = PLUGIN_ID + ".incompleteClasspath"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CORE_CIRCULAR_CLASSPATH = PLUGIN_ID + ".circularClasspath"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CORE_INCOMPATIBLE_JDK_LEVEL = PLUGIN_ID + ".incompatibleJDKLevel"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CORE_JAVA_BUILD_INVALID_CLASSPATH = PLUGIN_ID + ".builder.invalidClasspath"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CORE_ENCODING = PLUGIN_ID + ".encoding"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CORE_ENABLE_CLASSPATH_EXCLUSION_PATTERNS = PLUGIN_ID + ".classpath.exclusionPatterns"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CORE_ENABLE_CLASSPATH_MULTIPLE_OUTPUT_LOCATIONS = PLUGIN_ID + ".classpath.multipleOutputLocations"; //$NON-NLS-1$
- /**
- * Default task tag
- * @deprecated Use {@link #DEFAULT_TASK_TAGS} instead
- */
- public static final String DEFAULT_TASK_TAG = "TODO"; //$NON-NLS-1$
- /**
- * Default task priority
- * @deprecated Use {@link #DEFAULT_TASK_PRIORITIES} instead
- */
- public static final String DEFAULT_TASK_PRIORITY = "NORMAL"; //$NON-NLS-1$
- /**
- * Default task tag
- */
- public static final String DEFAULT_TASK_TAGS = "TODO,FIXME,XXX"; //$NON-NLS-1$
- /**
- * Default task priority
- */
- public static final String DEFAULT_TASK_PRIORITIES = "NORMAL,HIGH,NORMAL"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CODEASSIST_VISIBILITY_CHECK = PLUGIN_ID + ".codeComplete.visibilityCheck"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CODEASSIST_DEPRECATION_CHECK = PLUGIN_ID + ".codeComplete.deprecationCheck"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CODEASSIST_CAMEL_CASE_MATCH = PLUGIN_ID + ".codeComplete.camelCaseMatch"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CODEASSIST_IMPLICIT_QUALIFICATION = PLUGIN_ID + ".codeComplete.forceImplicitQualification"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CODEASSIST_FIELD_PREFIXES = PLUGIN_ID + ".codeComplete.fieldPrefixes"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CODEASSIST_STATIC_FIELD_PREFIXES = PLUGIN_ID + ".codeComplete.staticFieldPrefixes"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CODEASSIST_LOCAL_PREFIXES = PLUGIN_ID + ".codeComplete.localPrefixes"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CODEASSIST_ARGUMENT_PREFIXES = PLUGIN_ID + ".codeComplete.argumentPrefixes"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CODEASSIST_FIELD_SUFFIXES = PLUGIN_ID + ".codeComplete.fieldSuffixes"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CODEASSIST_STATIC_FIELD_SUFFIXES = PLUGIN_ID + ".codeComplete.staticFieldSuffixes"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CODEASSIST_LOCAL_SUFFIXES = PLUGIN_ID + ".codeComplete.localSuffixes"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CODEASSIST_ARGUMENT_SUFFIXES = PLUGIN_ID + ".codeComplete.argumentSuffixes"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CODEASSIST_FORBIDDEN_REFERENCE_CHECK= PLUGIN_ID + ".codeComplete.forbiddenReferenceCheck"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CODEASSIST_DISCOURAGED_REFERENCE_CHECK= PLUGIN_ID + ".codeComplete.discouragedReferenceCheck"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String CODEASSIST_SUGGEST_STATIC_IMPORTS= PLUGIN_ID + ".codeComplete.suggestStaticImports"; //$NON-NLS-1$
- /**
- * Possible configurable option ID.
- * @see #getDefaultOptions()
- */
- public static final String TIMEOUT_FOR_PARAMETER_NAME_FROM_ATTACHED_JAVADOC = PLUGIN_ID + ".timeoutForParameterNameFromAttachedJavadoc"; //$NON-NLS-1$
-
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String GENERATE = "generate"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String DO_NOT_GENERATE = "do not generate"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String PRESERVE = "preserve"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String OPTIMIZE_OUT = "optimize out"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String VERSION_1_1 = "1.1"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String VERSION_1_2 = "1.2"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String VERSION_1_3 = "1.3"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String VERSION_1_4 = "1.4"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String VERSION_1_5 = "1.5"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String VERSION_1_6 = "1.6"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String VERSION_1_7 = "1.7"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String ABORT = "abort"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String ERROR = "error"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String WARNING = "warning"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String IGNORE = "ignore"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String COMPUTE = "compute"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String INSERT = "insert"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String DO_NOT_INSERT = "do not insert"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String PRESERVE_ONE = "preserve one"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String CLEAR_ALL = "clear all"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String NORMAL = "normal"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String COMPACT = "compact"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String TAB = "tab"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String SPACE = "space"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String ENABLED = "enabled"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String DISABLED = "disabled"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String CLEAN = "clean"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String PUBLIC = "public"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String PROTECTED = "protected"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String DEFAULT = "default"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String PRIVATE = "private"; //$NON-NLS-1$
- /**
- * Possible configurable option value.
- * @see #getDefaultOptions()
- */
- public static final String NEVER = "never"; //$NON-NLS-1$
-
- /**
- * Value of the content-type for JavaScript source files. Use this value to retrieve the JavaScript content type
- * from the content type manager, and to add new JavaScript-like extensions to this content type.
- *
- * @see org.eclipse.core.runtime.content.IContentTypeManager#getContentType(String)
- * @see #getJavaScriptLikeExtensions()
- */
- public static final String JAVA_SOURCE_CONTENT_TYPE = JavaScriptCore.PLUGIN_ID+".jsSource" ; //$NON-NLS-1$
-
-
- public static final String READ_ONLY_SOURCE_PROPERTY = "readOnlyResource" ; //$NON-NLS-1$
-
- /**
- * Creates the JavaScript core plug-in.
- * <p>
- * The plug-in instance is created automatically by the
- * Eclipse platform. Clients must not call.
- * </p>
- *
- */
- public JavaScriptCore() {
- super();
- JAVA_CORE_PLUGIN = this;
- }
-
- /**
- * Adds the given listener for changes to JavaScript elements.
- * Has no effect if an identical listener is already registered.
- *
- * This listener will only be notified during the POST_CHANGE resource change notification
- * and any reconcile operation (POST_RECONCILE).
- * For finer control of the notification, use <code>addElementChangedListener(IElementChangedListener,int)</code>,
- * which allows to specify a different eventMask.
- *
- * @param listener the listener
- * @see ElementChangedEvent
- */
- public static void addElementChangedListener(IElementChangedListener listener) {
- addElementChangedListener(listener, ElementChangedEvent.POST_CHANGE | ElementChangedEvent.POST_RECONCILE);
- }
-
- /**
- * Adds the given listener for changes to JavaScript elements.
- * Has no effect if an identical listener is already registered.
- * After completion of this method, the given listener will be registered for exactly
- * the specified events. If they were previously registered for other events, they
- * will be deregistered.
- * <p>
- * Once registered, a listener starts receiving notification of changes to
- * javaScript elements in the model. The listener continues to receive
- * notifications until it is replaced or removed.
- * </p>
- * <p>
- * Listeners can listen for several types of event as defined in <code>ElementChangeEvent</code>.
- * Clients are free to register for any number of event types however if they register
- * for more than one, it is their responsibility to ensure they correctly handle the
- * case where the same javaScript element change shows up in multiple notifications.
- * Clients are guaranteed to receive only the events for which they are registered.
- * </p>
- *
- * @param listener the listener
- * @param eventMask the bit-wise OR of all event types of interest to the listener
- * @see IElementChangedListener
- * @see ElementChangedEvent
- * @see #removeElementChangedListener(IElementChangedListener)
- */
- public static void addElementChangedListener(IElementChangedListener listener, int eventMask) {
- JavaModelManager.getJavaModelManager().deltaState.addElementChangedListener(listener, eventMask);
- }
-
- /**
- * Configures the given marker attribute map for the given JavaScript element.
- * Used for markers, which denote a JavaScript element rather than a resource.
- *
- * @param attributes the mutable marker attribute map (key type: <code>String</code>,
- * value type: <code>String</code>)
- * @param element the JavaScript element for which the marker needs to be configured
- */
- public static void addJavaScriptElementMarkerAttributes(
- Map attributes,
- IJavaScriptElement element) {
- if (element instanceof IMember)
- element = ((IMember) element).getClassFile();
- if (attributes != null && element != null)
- attributes.put(ATT_HANDLE_ID, element.getHandleIdentifier());
- }
-
- private static void addNonJavaScriptResources(Object[] nonJavaResources,
- IContainer container,
- int rootPathSegmentCounts,
- ArrayList collector) {
- for (int i = 0, max = nonJavaResources.length; i < max; i++) {
- Object nonJavaResource = nonJavaResources[i];
- if (nonJavaResource instanceof IFile) {
- IFile file = (IFile) nonJavaResource;
- IPath path = file.getFullPath().removeFirstSegments(rootPathSegmentCounts);
- IResource member = container.findMember(path);
- if (member != null && member.exists()) {
- collector.add(member);
- }
- } else if (nonJavaResource instanceof IFolder) {
- IFolder folder = (IFolder) nonJavaResource;
- IResource[] members = null;
- try {
- members = folder.members();
- } catch (CoreException e) {
- // ignore
- }
- if (members != null) {
- addNonJavaScriptResources(members, container, rootPathSegmentCounts, collector);
- }
- }
- }
- }
-
-
-
- /**
- * Adds the given listener for resource change events of the given types to the JavaScript core.
- * The listener is guaranteed to be notified of the resource change event before
- * the JavaScript core starts processing the resource change event itself.
- * <p>
- * If an identical listener is already registered, the given event types are added to the event types
- * of interest to the listener.
- * </p>
- * <p>
- * Supported event types are:
- * <ul>
- * <li>{@link IResourceChangeEvent#PRE_BUILD}</li>
- * <li>{@link IResourceChangeEvent#POST_BUILD}</li>
- * <li>{@link IResourceChangeEvent#POST_CHANGE}</li>
- * <li>{@link IResourceChangeEvent#PRE_DELETE}</li>
- * <li>{@link IResourceChangeEvent#PRE_CLOSE}</li>
- * </ul>
- * This list may increase in the future.
- * </p>
- *
- * @param listener the listener
- * @param eventMask the bit-wise OR of all event types of interest to the
- * listener
- * @see #removePreProcessingResourceChangedListener(IResourceChangeListener)
- * @see IResourceChangeEvent
- */
- public static void addPreProcessingResourceChangedListener(IResourceChangeListener listener, int eventMask) {
- JavaModelManager.getJavaModelManager().deltaState.addPreResourceChangedListener(listener, eventMask);
- }
-
- /**
- * Configures the given marker for the given JavaScript element.
- * Used for markers, which denote a JavaScript element rather than a resource.
- *
- * @param marker the marker to be configured
- * @param element the JavaScript element for which the marker needs to be configured
- * @exception CoreException if the <code>IMarker.setAttribute</code> on the marker fails
- */
- public void configureJavaScriptElementMarker(IMarker marker, IJavaScriptElement element)
- throws CoreException {
- if (element instanceof IMember)
- element = ((IMember) element).getClassFile();
- if (marker != null && element != null)
- marker.setAttribute(ATT_HANDLE_ID, element.getHandleIdentifier());
- }
-
- /**
- * Returns the JavaScript model element corresponding to the given handle identifier
- * generated by <code>IJavaScriptElement.getHandleIdentifier()</code>, or
- * <code>null</code> if unable to create the associated element.
- *
- * @param handleIdentifier the given handle identifier
- * @return the JavaScript element corresponding to the handle identifier
- */
- public static IJavaScriptElement create(String handleIdentifier) {
- return create(handleIdentifier, DefaultWorkingCopyOwner.PRIMARY);
- }
-
- /**
- * Returns the JavaScript model element corresponding to the given handle identifier
- * generated by <code>IJavaScriptElement.getHandleIdentifier()</code>, or
- * <code>null</code> if unable to create the associated element.
- * If the returned JavaScript element is an <code>IJavaScriptUnit</code>, its owner
- * is the given owner if such a working copy exists, otherwise the javaScript unit
- * is a primary javaScript unit.
- *
- * @param handleIdentifier the given handle identifier
- * @param owner the owner of the returned javaScript unit, ignored if the returned
- * element is not a javaScript unit
- * @return the JavaScript element corresponding to the handle identifier
- */
- public static IJavaScriptElement create(String handleIdentifier, WorkingCopyOwner owner) {
- if (handleIdentifier == null) {
- return null;
- }
- MementoTokenizer memento = new MementoTokenizer(handleIdentifier);
- JavaModel model = JavaModelManager.getJavaModelManager().getJavaModel();
- return model.getHandleFromMemento(memento, owner);
- }
-
- /**
- * Returns the JavaScript element corresponding to the given file, or
- * <code>null</code> if unable to associate the given file
- * with a JavaScript element.
- *
- * <p>The file must be one of:<ul>
- * <li>a file with one of the {@link JavaScriptCore#getJavaScriptLikeExtensions()
- * JavaScript-like extensions} - the element returned is the corresponding <code>IJavaScriptUnit</code></li>
- * <li>a <code>.class</code> file - the element returned is the corresponding <code>IClassFile</code></li>
- * <li>a <code>.jar</code> file - the element returned is the corresponding <code>IPackageFragmentRoot</code></li>
- * </ul>
- * <p>
- * Creating a JavaScript element has the side effect of creating and opening all of the
- * element's parents if they are not yet open.
- *
- * @param file the given file
- * @return the JavaScript element corresponding to the given file, or
- * <code>null</code> if unable to associate the given file
- * with a JavaScript element
- */
- public static IJavaScriptElement create(IFile file) {
- return JavaModelManager.create(file, null/*unknown javaScript project*/);
- }
- /**
- * Returns the source folder (package fragment or package fragment root) corresponding to the given folder, or
- * <code>null</code> if unable to associate the given folder with a JavaScript element.
- * <p>
- * Note that a package fragment root is returned rather than a default package.
- * <p>
- * Creating a JavaScript element has the side effect of creating and opening all of the
- * element's parents if they are not yet open.
- *
- * @param folder the given folder
- * @return the package fragment or package fragment root corresponding to the given folder, or
- * <code>null</code> if unable to associate the given folder with a JavaScript element
- */
- public static IJavaScriptElement create(IFolder folder) {
- return JavaModelManager.create(folder, null/*unknown javaScript project*/);
- }
- /**
- * Returns the JavaScript project corresponding to the given project.
- * <p>
- * Creating a JavaScript Project has the side effect of creating and opening all of the
- * project's parents if they are not yet open.
- * <p>
- * Note that no check is done at this time on the existence or the javaScript nature of this project.
- *
- * @param project the given project
- * @return the JavaScript project corresponding to the given project, null if the given project is null
- */
- public static IJavaScriptProject create(IProject project) {
- if (project == null) {
- return null;
- }
- JavaModel javaModel = JavaModelManager.getJavaModelManager().getJavaModel();
- return javaModel.getJavaProject(project);
- }
- /**
- * Returns the JavaScript element corresponding to the given resource, or
- * <code>null</code> if unable to associate the given resource
- * with a JavaScript element.
- * <p>
- * The resource must be one of:<ul>
- * <li>a project - the element returned is the corresponding <code>IJavaScriptProject</code></li>
- * <li>a file with one of the {@link JavaScriptCore#getJavaScriptLikeExtensions()
- * JavaScript-like extensions} - the element returned is the corresponding <code>IJavaScriptUnit</code></li>
- * <li>a folder - the element returned is the corresponding <code>IPackageFragmentRoot</code>
- * or <code>IPackageFragment</code></li>
- * <li>the workspace root resource - the element returned is the <code>IJavaScriptModel</code></li>
- * </ul>
- * <p>
- * Creating a JavaScript element has the side effect of creating and opening all of the
- * element's parents if they are not yet open.
- *
- * @param resource the given resource
- * @return the JavaScript element corresponding to the given resource, or
- * <code>null</code> if unable to associate the given resource
- * with a JavaScript element
- */
- public static IJavaScriptElement create(IResource resource) {
- return JavaModelManager.create(resource, null/*unknown javaScript project*/);
- }
- /**
- * Returns the JavaScript element corresponding to the given file, its project being the given
- * project. Returns <code>null</code> if unable to associate the given resource
- * with a JavaScript element.
- *<p>
- * The resource must be one of:<ul>
- * <li>a project - the element returned is the corresponding <code>IJavaScriptProject</code></li>
- * <li>a file with one of the {@link JavaScriptCore#getJavaScriptLikeExtensions()
- * JavaScript-like extensions} - the element returned is the corresponding <code>IJavaScriptUnit</code></li>
- * <li>a folder - the element returned is the corresponding <code>IPackageFragmentRoot</code>
- * or <code>IPackageFragment</code></li>
- * <li>the workspace root resource - the element returned is the <code>IJavaScriptModel</code></li>
- * </ul>
- * <p>
- * Creating a JavaScript element has the side effect of creating and opening all of the
- * element's parents if they are not yet open.
- *
- * @param resource the given resource
- * @return the JavaScript element corresponding to the given file, or
- * <code>null</code> if unable to associate the given file
- * with a JavaScript element
- */
- public static IJavaScriptElement create(IResource resource, IJavaScriptProject project) {
- return JavaModelManager.create(resource, project);
- }
- /**
- * Returns the JavaScript model.
- *
- * @param root the given root
- * @return the JavaScript model, or <code>null</code> if the root is null
- */
- public static IJavaScriptModel create(IWorkspaceRoot root) {
- if (root == null) {
- return null;
- }
- return JavaModelManager.getJavaModelManager().getJavaModel();
- }
- /*
- * Creates and returns a class file element for
- * the given <code>.class</code> file. Returns <code>null</code> if unable
- * to recognize the class file.
- *
- * @param file the given <code>.class</code> file
- * @return a class file element for the given <code>.class</code> file, or <code>null</code> if unable
- * to recognize the class file
- */
- public static IClassFile createClassFileFrom(IFile file) {
- return JavaModelManager.createClassFileFrom(file, null);
- }
- /**
- * Creates and returns a javaScript unit element for
- * the given source file (i.e. a file with one of the {@link JavaScriptCore#getJavaScriptLikeExtensions()
- * JavaScript-like extensions}). Returns <code>null</code> if unable
- * to recognize the javaScript unit.
- *
- * @param file the given source file
- * @return a javaScript unit element for the given source file, or <code>null</code> if unable
- * to recognize the javaScript unit
- */
- public static IJavaScriptUnit createCompilationUnitFrom(IFile file) {
- return JavaModelManager.createCompilationUnitFrom(file, null/*unknown javaScript project*/);
- }
- /*
- * Creates and returns a handle for the given JAR file.
- * The JavaScript model associated with the JAR's project may be
- * created as a side effect.
- *
- * @param file the given JAR file
- * @return a handle for the given JAR file, or <code>null</code> if unable to create a JAR package fragment root.
- * (for example, if the JAR file represents a non-JavaScript resource)
- */
- public static IPackageFragmentRoot createJarPackageFragmentRootFrom(IFile file) {
- return JavaModelManager.createJarPackageFragmentRootFrom(file, null/*unknown javaScript project*/);
- }
-
- /**
- * Answers the project specific value for a given includepath container.
- * In case this container path could not be resolved, then will answer <code>null</code>.
- * Both the container path and the project context are supposed to be non-null.
- * <p>
- * The containerPath is a formed by a first ID segment followed with extra segments, which can be
- * used as additional hints for resolution. If no container was ever recorded for this container path
- * onto this project (using <code>setJsGlobalScopeContainer</code>, then a
- * <code>JsGlobalScopeContainerInitializer</code> will be activated if any was registered for this container
- * ID onto the extension point "org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer".
- * <p>
- * There is no assumption that the returned container must answer the exact same containerPath
- * when requested <code>IJsGlobalScopeContainer#getPath</code>.
- * Indeed, the containerPath is just an indication for resolving it to an actual container object.
- * <p>
- * Includepath container values are persisted locally to the workspace, but
- * are not preserved from a session to another. It is thus highly recommended to register a
- * <code>JsGlobalScopeContainerInitializer</code> for each referenced container
- * (through the extension point "org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer").
- * <p>
- * @param containerPath the name of the container, which needs to be resolved
- * @param project a specific project in which the container is being resolved
- * @return the corresponding includepath container or <code>null</code> if unable to find one.
- *
- * @exception JavaScriptModelException if an exception occurred while resolving the container, or if the resolved container
- * contains illegal entries (contains CPE_CONTAINER entries or null entries).
- *
- * @see JsGlobalScopeContainerInitializer
- * @see IJsGlobalScopeContainer
- * @see #setJsGlobalScopeContainer(IPath, IJavaScriptProject[], IJsGlobalScopeContainer[], IProgressMonitor)
- */
- public static IJsGlobalScopeContainer getJsGlobalScopeContainer(IPath containerPath, IJavaScriptProject project) throws JavaScriptModelException {
-
- JavaModelManager manager = JavaModelManager.getJavaModelManager();
- IJsGlobalScopeContainer container = manager.getJsGlobalScopeContainer(containerPath, project);
- if (container == JavaModelManager.CONTAINER_INITIALIZATION_IN_PROGRESS) {
- return manager.getPreviousSessionContainer(containerPath, project);
- }
- return container;
- }
-
- /**
- * Helper method finding the includepath container initializer registered for a given includepath container ID
- * or <code>null</code> if none was found while iterating over the contributions to extension point to
- * the extension point "org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer".
- * <p>
- * A containerID is the first segment of any container path, used to identify the registered container initializer.
- * <p>
- * @param containerID - a containerID identifying a registered initializer
- * @return JsGlobalScopeContainerInitializer - the registered includepath container initializer or <code>null</code> if
- * none was found.
- */
- public static JsGlobalScopeContainerInitializer getJsGlobalScopeContainerInitializer(String containerID) {
- HashMap containerInitializersCache = JavaModelManager.getJavaModelManager().containerInitializersCache;
- JsGlobalScopeContainerInitializer initializer = (JsGlobalScopeContainerInitializer) containerInitializersCache.get(containerID);
- if (initializer == null) {
- initializer = computeJsGlobalScopeContainerInitializer(containerID);
- if (initializer == null)
- return null;
- containerInitializersCache.put(containerID, initializer);
- }
- return initializer;
- }
-
- private static JsGlobalScopeContainerInitializer computeJsGlobalScopeContainerInitializer(String containerID) {
- Plugin jdtCorePlugin = JavaScriptCore.getPlugin();
- if (jdtCorePlugin == null) return null;
-
- IExtensionPoint extension = Platform.getExtensionRegistry().getExtensionPoint(JavaScriptCore.PLUGIN_ID, JavaModelManager.CPCONTAINER_INITIALIZER_EXTPOINT_ID);
- if (extension != null) {
- IExtension[] extensions = extension.getExtensions();
- for(int i = 0; i < extensions.length; i++){
- IConfigurationElement [] configElements = extensions[i].getConfigurationElements();
- for(int j = 0; j < configElements.length; j++){
- IConfigurationElement configurationElement = configElements[j];
- String initializerID = configurationElement.getAttribute("id"); //$NON-NLS-1$
- if (initializerID != null && initializerID.equals(containerID)){
- if (JavaModelManager.CP_RESOLVE_VERBOSE_ADVANCED)
- verbose_found_container_initializer(containerID, configurationElement);
- try {
- Object execExt = configurationElement.createExecutableExtension("class"); //$NON-NLS-1$
- if (execExt instanceof JsGlobalScopeContainerInitializer){
- return (JsGlobalScopeContainerInitializer)execExt;
- }
- } catch(CoreException e) {
- // executable extension could not be created: ignore this initializer
- if (JavaModelManager.CP_RESOLVE_VERBOSE) {
- verbose_failed_to_instanciate_container_initializer(containerID, configurationElement);
- e.printStackTrace();
- }
- }
- }
- }
- }
- }
- return null;
- }
-
- private static void verbose_failed_to_instanciate_container_initializer(String containerID, IConfigurationElement configurationElement) {
- Util.verbose(
- "CPContainer INIT - failed to instanciate initializer\n" + //$NON-NLS-1$
- " container ID: " + containerID + '\n' + //$NON-NLS-1$
- " class: " + configurationElement.getAttribute("class"), //$NON-NLS-1$ //$NON-NLS-2$
- System.err);
- }
-
- private static void verbose_found_container_initializer(String containerID, IConfigurationElement configurationElement) {
- Util.verbose(
- "CPContainer INIT - found initializer\n" + //$NON-NLS-1$
- " container ID: " + containerID + '\n' + //$NON-NLS-1$
- " class: " + configurationElement.getAttribute("class")); //$NON-NLS-1$ //$NON-NLS-2$
- }
-
-
- /**
- * Returns the path held in the given includepath variable.
- * Returns <code>null</code> if unable to bind.
- * <p>
- * Includepath variable values are persisted locally to the workspace, and
- * are preserved from session to session.
- * <p>
- * Note that includepath variables can be contributed registered initializers for,
- * using the extension point "org.eclipse.wst.jsdt.core.JsGlobalScopeVariableInitializer".
- * If an initializer is registered for a variable, its persisted value will be ignored:
- * its initializer will thus get the opportunity to rebind the variable differently on
- * each session.
- *
- * @param variableName the name of the includepath variable
- * @return the path, or <code>null</code> if none
- * @see #setClasspathVariable(String, IPath)
- */
- /**
- * Returns the path held in the given includepath variable.
- * Returns <code>null</code> if unable to bind.
- * <p>
- * Includepath variable values are persisted locally to the workspace, and
- * are preserved from session to session.
- * <p>
- * Note that includepath variables can be contributed registered initializers for,
- * using the extension point "org.eclipse.wst.jsdt.core.JsGlobalScopeVariableInitializer".
- * If an initializer is registered for a variable, its persisted value will be ignored:
- * its initializer will thus get the opportunity to rebind the variable differently on
- * each session.
- *
- * @param variableName the name of the includepath variable
- * @return the path, or <code>null</code> if none
- * @see #setIncludepathVariable(String, IPath)
- */
- public static IPath getIncludepathVariable(final String variableName) {
-
- JavaModelManager manager = JavaModelManager.getJavaModelManager();
- IPath variablePath = manager.variableGet(variableName);
- if (variablePath == JavaModelManager.VARIABLE_INITIALIZATION_IN_PROGRESS){
- return manager.getPreviousSessionVariable(variableName);
- }
-
- if (variablePath != null) {
- if (variablePath == JavaModelManager.CP_ENTRY_IGNORE_PATH)
- return null;
- return variablePath;
- }
-
- // even if persisted value exists, initializer is given priority, only if no initializer is found the persisted value is reused
- final JsGlobalScopeVariableInitializer initializer = JavaScriptCore.getJsGlobalScopeVariableInitializer(variableName);
- if (initializer != null){
- if (JavaModelManager.CP_RESOLVE_VERBOSE)
- verbose_triggering_variable_initialization(variableName, initializer);
- if (JavaModelManager.CP_RESOLVE_VERBOSE_ADVANCED)
- verbose_triggering_variable_initialization_invocation_trace();
- manager.variablePut(variableName, JavaModelManager.VARIABLE_INITIALIZATION_IN_PROGRESS); // avoid initialization cycles
- boolean ok = false;
- try {
- // let OperationCanceledException go through
- // (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=59363)
- initializer.initialize(variableName);
-
- variablePath = manager.variableGet(variableName); // initializer should have performed side-effect
- if (variablePath == JavaModelManager.VARIABLE_INITIALIZATION_IN_PROGRESS) return null; // break cycle (initializer did not init or reentering call)
- if (JavaModelManager.CP_RESOLVE_VERBOSE_ADVANCED)
- verbose_variable_value_after_initialization(variableName, variablePath);
- manager.variablesWithInitializer.add(variableName);
- ok = true;
- } catch (RuntimeException e) {
- if (JavaModelManager.CP_RESOLVE_VERBOSE)
- e.printStackTrace();
- throw e;
- } catch (Error e) {
- if (JavaModelManager.CP_RESOLVE_VERBOSE)
- e.printStackTrace();
- throw e;
- } finally {
- if (!ok) JavaModelManager.getJavaModelManager().variablePut(variableName, null); // flush cache
- }
- } else {
- if (JavaModelManager.CP_RESOLVE_VERBOSE_ADVANCED)
- verbose_no_variable_initializer_found(variableName);
- }
- return variablePath;
- }
-
- private static void verbose_no_variable_initializer_found(String variableName) {
- Util.verbose(
- "CPVariable INIT - no initializer found\n" + //$NON-NLS-1$
- " variable: " + variableName); //$NON-NLS-1$
- }
-
- private static void verbose_variable_value_after_initialization(String variableName, IPath variablePath) {
- Util.verbose(
- "CPVariable INIT - after initialization\n" + //$NON-NLS-1$
- " variable: " + variableName +'\n' + //$NON-NLS-1$
- " variable path: " + variablePath); //$NON-NLS-1$
- }
-
- private static void verbose_triggering_variable_initialization(String variableName, JsGlobalScopeVariableInitializer initializer) {
- Util.verbose(
- "CPVariable INIT - triggering initialization\n" + //$NON-NLS-1$
- " variable: " + variableName + '\n' + //$NON-NLS-1$
- " initializer: " + initializer); //$NON-NLS-1$
- }
-
- private static void verbose_triggering_variable_initialization_invocation_trace() {
- Util.verbose(
- "CPVariable INIT - triggering initialization\n" + //$NON-NLS-1$
- " invocation trace:"); //$NON-NLS-1$
- new Exception("<Fake exception>").printStackTrace(System.out); //$NON-NLS-1$
- }
-
-
-
- /**
- * Returns deprecation message of a given includepath variable.
- *
- * @param variableName
- * @return A string if the includepath variable is deprecated, <code>null</code> otherwise.
- */
- public static String getIncludepathVariableDeprecationMessage(String variableName) {
- return (String) JavaModelManager.getJavaModelManager().deprecatedVariables.get(variableName);
- }
-
- /**
- * Helper method finding the includepath variable initializer registered for a given includepath variable name
- * or <code>null</code> if none was found while iterating over the contributions to extension point to
- * the extension point "org.eclipse.wst.jsdt.core.JsGlobalScopeVariableInitializer".
- * <p>
- * @param variable the given variable
- * @return JsGlobalScopeVariableInitializer - the registered includepath variable initializer or <code>null</code> if
- * none was found.
- */
- public static JsGlobalScopeVariableInitializer getJsGlobalScopeVariableInitializer(String variable){
-
- Plugin jdtCorePlugin = JavaScriptCore.getPlugin();
- if (jdtCorePlugin == null) return null;
-
- IExtensionPoint extension = Platform.getExtensionRegistry().getExtensionPoint(JavaScriptCore.PLUGIN_ID, JavaModelManager.CPVARIABLE_INITIALIZER_EXTPOINT_ID);
- if (extension != null) {
- IExtension[] extensions = extension.getExtensions();
- for(int i = 0; i < extensions.length; i++){
- IConfigurationElement [] configElements = extensions[i].getConfigurationElements();
- for(int j = 0; j < configElements.length; j++){
- IConfigurationElement configElement = configElements[j];
- try {
- String varAttribute = configElement.getAttribute("variable"); //$NON-NLS-1$
- if (variable.equals(varAttribute)) {
- if (JavaModelManager.CP_RESOLVE_VERBOSE_ADVANCED)
- verbose_found_variable_initializer(variable, configElement);
- Object execExt = configElement.createExecutableExtension("class"); //$NON-NLS-1$
- if (execExt instanceof JsGlobalScopeVariableInitializer){
- JsGlobalScopeVariableInitializer initializer = (JsGlobalScopeVariableInitializer)execExt;
- String deprecatedAttribute = configElement.getAttribute("deprecated"); //$NON-NLS-1$
- if (deprecatedAttribute != null) {
- JavaModelManager.getJavaModelManager().deprecatedVariables.put(variable, deprecatedAttribute);
- }
- String readOnlyAttribute = configElement.getAttribute("readOnly"); //$NON-NLS-1$
- if (JavaModelManager.TRUE.equals(readOnlyAttribute)) {
- JavaModelManager.getJavaModelManager().readOnlyVariables.add(variable);
- }
- return initializer;
- }
- }
- } catch(CoreException e){
- // executable extension could not be created: ignore this initializer
- if (JavaModelManager.CP_RESOLVE_VERBOSE) {
- verbose_failed_to_instanciate_variable_initializer(variable, configElement);
- e.printStackTrace();
- }
- }
- }
- }
- }
- return null;
- }
-
- private static void verbose_failed_to_instanciate_variable_initializer(String variable, IConfigurationElement configElement) {
- Util.verbose(
- "CPContainer INIT - failed to instanciate initializer\n" + //$NON-NLS-1$
- " variable: " + variable + '\n' + //$NON-NLS-1$
- " class: " + configElement.getAttribute("class"), //$NON-NLS-1$ //$NON-NLS-2$
- System.err);
- }
-
- private static void verbose_found_variable_initializer(String variable, IConfigurationElement configElement) {
- Util.verbose(
- "CPVariable INIT - found initializer\n" + //$NON-NLS-1$
- " variable: " + variable + '\n' + //$NON-NLS-1$
- " class: " + configElement.getAttribute("class")); //$NON-NLS-1$ //$NON-NLS-2$
- }
-
- /**
- * Returns the names of all known includepath variables.
- * <p>
- * Includepath variable values are persisted locally to the workspace, and
- * are preserved from session to session.
- * <p>
- *
- * @return the list of includepath variable names
- * @see #setIncludepathVariable(String, IPath)
- */
- public static String[] getIncludepathVariableNames() {
- return JavaModelManager.getJavaModelManager().variableNames();
- }
-
- /**
- * Returns a table of all known configurable options with their default values.
- * These options allow to configure the behaviour of the underlying components.
- * The client may safely use the result as a template that they can modify and
- * then pass to <code>setOptions</code>.
- *
- * Helper constants have been defined on JavaScriptCore for each of the option ID and
- * their possible constant values.
- *
- * Note: more options might be added in further releases.
- * <pre>
- * RECOGNIZED OPTIONS:
- *
- * VALIDATOR / Setting Compliance Level
- * Select the compliance level for the validator. In "1.3" mode, source and target settings
- * should not go beyond "1.3" level.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.compliance"
- * - possible values: { "1.3", "1.4", "1.5", "1.6", "1.7" }
- * - default: "1.4"
- *
- * VALIDATOR / Setting Source Compatibility Mode
- * Specify whether which source level compatibility is used. From 1.4 on, 'assert' is a keyword
- * reserved for assertion support. Also note, than when toggling to 1.4 mode, the target VM
- * level should be set to "1.4" and the compliance mode should be "1.4".
- * Source level 1.5 is necessary to enable generics, autoboxing, covariance, annotations, enumerations
- * enhanced for loop, static imports and varargs. Once toggled, the target VM level should be set to "1.5"
- * and the compliance mode should be "1.5".
- * Source level 1.6 is necessary to enable the computation of stack map tables. Once toggled, the target
- * VM level should be set to "1.6" and the compliance mode should be "1.6".
- * Once the source level 1.7 is toggled, the target VM level should be set to "1.7" and the compliance mode
- * should be "1.7".
- * - option id: "org.eclipse.wst.jsdt.core.compiler.source"
- * - possible values: { "1.3", "1.4", "1.5", "1.6", "1.7" }
- * - default: "1.3"
- *
- *
- * VALIDATOR / JSdoc Comment Support
- * When this support is disabled, the validator will ignore all jsdoc problems options settings
- * and will not report any jsdoc problem. It will also not find any reference in jsdoc comment and
- * DOM AST JSdoc node will be only a flat text instead of having structured tag elements.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.doc.comment.support"
- * - possible values: { "enabled", "disabled" }
- * - default: "enabled"
- *
- * VALIDATOR / Reporting Deprecation
- * When enabled, the validator will signal use of deprecated API either as an
- * error or a warning.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.deprecation"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "warning"
- *
- * VALIDATOR / Reporting Deprecation Inside Deprecated Code
- * When enabled, the validator will signal use of deprecated API inside deprecated code.
- * The severity of the problem is controlled with option "org.eclipse.wst.jsdt.core.compiler.problem.deprecation".
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.deprecationInDeprecatedCode"
- * - possible values: { "enabled", "disabled" }
- * - default: "disabled"
- *
- * VALIDATOR / Reporting Deprecation When Overriding Deprecated Method
- * When enabled, the validator will signal the declaration of a method overriding a deprecated one.
- * The severity of the problem is controlled with option "org.eclipse.wst.jsdt.core.compiler.problem.deprecation".
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod"
- * - possible values: { "enabled", "disabled" }
- * - default: "disabled"
- *
- * VALIDATOR / Reporting Unused Local
- * When enabled, the validator will issue an error or a warning for unused local
- * variables (that is, variables never read from)
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.unusedLocal"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Reporting Unused Parameter
- * When enabled, the validator will issue an error or a warning for unused method
- * parameters (that is, parameters never read from)
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.unusedParameter"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Reporting Unused Parameter if Implementing Abstract Method
- * When enabled, the validator will signal unused parameters in abstract method implementations.
- * The severity of the problem is controlled with option "org.eclipse.wst.jsdt.core.compiler.problem.unusedParameter".
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.unusedParameterWhenImplementingAbstract"
- * - possible values: { "enabled", "disabled" }
- * - default: "disabled"
- *
- * VALIDATOR / Reporting Unused Parameter if Overriding Concrete Method
- * When enabled, the validator will signal unused parameters in methods overriding concrete ones.
- * The severity of the problem is controlled with option "org.eclipse.wst.jsdt.core.compiler.problem.unusedParameter".
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.unusedParameterWhenOverridingConcrete"
- * - possible values: { "enabled", "disabled" }
- * - default: "disabled"
- *
- * VALIDATOR / Consider Reference in Doc Comment for Unused Parameter Check
- * When enabled, the validator will consider doc comment references to parameters (i.e. @param clauses) for the unused
- * parameter check. Thus, documented parameters will be considered as mandated as per doc contract.
- * The severity of the unused parameter problem is controlled with option "org.eclipse.wst.jsdt.core.compiler.problem.unusedParameter".
- * Note: this option has no effect until the doc comment support is enabled according to the
- * option "org.eclipse.wst.jsdt.core.compiler.doc.comment.support".
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.unusedParameterIncludeDocReference"
- * - possible values: { "enabled", "disabled" }
- * - default: "enabled"
- *
- * VALIDATOR / Reporting Unused Import
- * When enabled, the validator will issue an error or a warning for unused import
- * reference
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.unusedImport"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "warning"
- *
- * VALIDATOR / Reporting Unused Private Members
- * When enabled, the validator will issue an error or a warning whenever a private
- * method or field is declared but never used within the same unit.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.unusedPrivateMember"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Reporting Assignment with no Effect
- * When enabled, the validator will issue an error or a warning whenever an assignment
- * has no effect (e.g 'x = x').
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.noEffectAssignment"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "warning"
- *
- * VALIDATOR / Reporting Empty Statements and Unnecessary Semicolons
- * When enabled, the validator will issue an error or a warning if an empty statement or a
- * unnecessary semicolon is encountered.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.emptyStatement"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Reporting Unnecessary Type Check
- * When enabled, the validator will issue an error or a warning when a cast or an instanceof operation
- * is unnecessary.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.unnecessaryTypeCheck"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Reporting Unnecessary Else
- * When enabled, the validator will issue an error or a warning when a statement is unnecessarily
- * nested within an else clause (in situation where then clause is not completing normally).
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.unnecessaryElse"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Reporting Non-Externalized String Literal
- * When enabled, the validator will issue an error or a warning for non externalized
- * String literal (that is, not tagged with //$NON-NLS-&lt;n&gt;$).
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.nonExternalizedStringLiteral"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Reporting Non-Static Reference to a Static Member
- * When enabled, the validator will issue an error or a warning whenever a static field
- * or method is accessed with an expression receiver. A reference to a static member should
- * be qualified with a type name.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.staticAccessReceiver"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "warning"
- *
- * VALIDATOR / Reporting Indirect Reference to a Static Member
- * When enabled, the validator will issue an error or a warning whenever a static field
- * or method is accessed in an indirect way. A reference to a static member should
- * preferably be qualified with its declaring type name.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.indirectStaticAccess"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Reporting Local Variable Declaration Hiding another Variable
- * When enabled, the validator will issue an error or a warning whenever a local variable
- * declaration is hiding some field or local variable (either locally, inherited or defined in enclosing type).
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.localVariableHiding"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Reporting Field Declaration Hiding another Variable
- * When enabled, the validator will issue an error or a warning whenever a field
- * declaration is hiding some field or local variable (either locally, inherited or defined in enclosing type).
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.fieldHiding"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Reporting Type Declaration Hiding another Type
- * When enabled, the validator will issue an error or a warning in situations where a type parameter
- * declaration is hiding some type, when a nested type is hiding some type parameter, or when
- * a nested type is hiding another nested type defined in same unit.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.typeParameterHiding"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "warning"
- *
- * VALIDATOR / Reporting Possible Accidental Boolean Assignment
- * When enabled, the validator will issue an error or a warning if a boolean assignment is acting as the condition
- * of a control statement (where it probably was meant to be a boolean comparison).
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.possibleAccidentalBooleanAssignment"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Reporting Undocumented Empty Block
- * When enabled, the validator will issue an error or a warning when an empty block is detected and it is not
- * documented with any comment.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.undocumentedEmptyBlock"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Reporting Finally Blocks Not Completing Normally
- * When enabled, the validator will issue an error or a warning when a finally block does not complete normally.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.finallyBlockNotCompletingNormally"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "warning"
- *
- * VALIDATOR / Reporting Unused Declared Thrown Exception
- * When enabled, the validator will issue an error or a warning when a method or a constructor is declaring a
- * thrown checked exception, but never actually raises it in its body.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.unusedDeclaredThrownException"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Reporting Unused Declared Thrown Exception in Overridind Method
- * When disabled, the validator will not include overriding methods in its diagnosis for unused declared
- * thrown exceptions.
- * <br>
- * The severity of the problem is controlled with option "org.eclipse.wst.jsdt.core.compiler.problem.unusedDeclaredThrownException".
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding"
- * - possible values: { "enabled", "disabled" }
- * - default: "disabled"
- *
- * VALIDATOR / Reporting Unqualified Access to Field
- * When enabled, the validator will issue an error or a warning when a field is access without any qualification.
- * In order to improve code readability, it should be qualified, e.g. 'x' should rather be written 'this.x'.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.unqualifiedFieldAccess"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Reporting Null Dereference
- * When enabled, the validator will issue an error or a warning whenever a
- * variable that is statically known to hold a null value is used to
- * access a field or method.
- *
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.nullReference"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Reporting Potential Null Dereference
- * When enabled, the validator will issue an error or a warning whenever a
- * variable that has formerly been tested against null but is not (no more)
- * statically known to hold a non-null value is used to access a field or
- * method.
- *
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.potentialNullReference"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Reporting Duplicate Local Variables
- * When enabled, the validator will issue an error or a warning whenever a
- * two local variables with the same name have been declared.
- *
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.duplicateLocalVariables"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Reporting Redundant Null Check
- * When enabled, the validator will issue an error or a warning whenever a
- * variable that is statically known to hold a null or a non-null value
- * is tested against null.
- *
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.redundantNullCheck"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Reporting Use of Annotation Type as Super Interface
- * When enabled, the validator will issue an error or a warning whenever an annotation type is used
- * as a super-interface. Though legal, this is discouraged.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.annotationSuperInterface"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "warning"
- *
- * VALIDATOR / Reporting Invalid Jsdoc Comment
- * This is the generic control for the severity of JSdoc problems.
- * When enabled, the validator will issue an error or a warning for a problem in JSdoc.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.invalidJavadoc"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Visibility Level For Invalid JSdoc Tags
- * Set the minimum visibility level for JSdoc tag problems. Below this level problems will be ignored.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.invalidJavadocTagsVisibility"
- * - possible values: { "public", "protected", "default", "private" }
- * - default: "public"
- *
- * VALIDATOR / Reporting Invalid JSdoc Tags
- * When enabled, the validator will signal unbound or unexpected reference tags in JSdoc.
- * A 'throws' tag referencing an undeclared exception would be considered as unexpected.
- * <br>Note that this diagnosis can be enabled based on the visibility of the construct associated with the JSDoc;
- * also see the setting "org.eclipse.wst.jsdt.core.compiler.problem.invalidJavadocTagsVisibility".
- * <br>
- * The severity of the problem is controlled with option "org.eclipse.wst.jsdt.core.compiler.problem.invalidJavadoc".
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.invalidJavadocTags"
- * - possible values: { "disabled", "enabled" }
- * - default: "disabled"
- *
- * VALIDATOR / Reporting Invalid JSdoc Tags with Deprecated References
- * Specify whether the validator will report deprecated references used in JSdoc tags.
- * <br>Note that this diagnosis can be enabled based on the visibility of the construct associated with the JSDoc;
- * also see the setting "org.eclipse.wst.jsdt.core.compiler.problem.invalidJavadocTagsVisibility".
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef"
- * - possible values: { "enabled", "disabled" }
- * - default: "disabled"
- *
- * VALIDATOR / Reporting Invalid JSdoc Tags with Not Visible References
- * Specify whether the validator will report non-visible references used in JSDoc tags.
- * <br>Note that this diagnosis can be enabled based on the visibility of the construct associated with the JSDoc;
- * also see the setting "org.eclipse.wst.jsdt.core.compiler.problem.invalidJavadocTagsVisibility".
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef"
- * - possible values: { "enabled", "disabled" }
- * - default: "disabled"
- *
- * VALIDATOR / Reporting Missing JSDoc Tags
- * This is the generic control for the severity of JSDoc missing tag problems.
- * When enabled, the validator will issue an error or a warning when tags are missing in JSDoc comments.
- * <br>Note that this diagnosis can be enabled based on the visibility of the construct associated with the JSDoc;
- * also see the setting "org.eclipse.wst.jsdt.core.compiler.problem.missingJavadocTagsVisibility".
- * <br>
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.missingJavadocTags"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Visibility Level For Missing JSDoc Tags
- * Set the minimum visibility level for JSDoc missing tag problems. Below this level problems will be ignored.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.missingJavadocTagsVisibility"
- * - possible values: { "public", "protected", "default", "private" }
- * - default: "public"
- *
- * VALIDATOR / Reporting Missing JSDoc Tags on Overriding Methods
- * Specify whether the validator will verify overriding methods in order to report JSDoc missing tag problems.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.missingJavadocTagsOverriding"
- * - possible values: { "enabled", "disabled" }
- * - default: "disabled"
- *
- * VALIDATOR / Reporting Missing JSDoc Comments
- * This is the generic control for the severity of missing JSDoc comment problems.
- * When enabled, the validator will issue an error or a warning when JSDoc comments are missing.
- * <br>Note that this diagnosis can be enabled based on the visibility of the construct associated with the expected JSDoc;
- * also see the setting "org.eclipse.wst.jsdt.core.compiler.problem.missingJavadocCommentsVisibility".
- * <br>
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.missingJavadocComments"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Visibility Level For Missing JSDoc Comments
- * Set the minimum visibility level for missing JSDoc problems. Below this level problems will be ignored.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.missingJavadocCommentsVisibility"
- * - possible values: { "public", "protected", "default", "private" }
- * - default: "public"
- *
- * VALIDATOR / Reporting Missing JSDoc Comments on Overriding Methods
- * Specify whether the validator will verify overriding methods in order to report missing JSDoc comment problems.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.missingJavadocCommentsOverriding"
- * - possible values: { "enabled", "disabled" }
- * - default: "disabled"
- *
- * VALIDATOR / Maximum Number of Problems Reported per JavaScript Unit
- * Specify the maximum number of problems reported on each javaScript unit.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.maxProblemPerUnit"
- * - possible values: "&lt;n&gt;" where &lt;n&gt; is zero or a positive integer (if zero then all problems are reported).
- * - default: "100"
- *
- * VALIDATOR / Treating Optional Error as Fatal
- * When enabled, optional errors (i.e. optional problems which severity is set to "error") will be treated as standard
- * validator errors, yielding problem methods/types preventing from running offending code until the issue got resolved.
- * When disabled, optional errors are only considered as warnings, still carrying an error indication to make them more
- * severe. Note that by default, errors are fatal, whether they are optional or not.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.fatalOptionalError"
- * - possible values: { "enabled", "disabled" }
- * - default: "enabled"
- *
- * VALIDATOR / Defining the Automatic Task Tags
- * When the tag list is not empty, the validator will issue a task marker whenever it encounters
- * one of the corresponding tags inside any comment in JavaScript source code.
- * Generated task messages will start with the tag, and range until the next line separator,
- * comment ending, or tag.
- * When a given line of code bears multiple tags, each tag will be reported separately.
- * Moreover, a tag immediately followed by another tag will be reported using the contents of the
- * next non-empty tag of the line, if any.
- * Note that tasks messages are trimmed. If a tag is starting with a letter or digit, then it cannot be leaded by
- * another letter or digit to be recognized ("fooToDo" will not be recognized as a task for tag "ToDo", but "foo#ToDo"
- * will be detected for either tag "ToDo" or "#ToDo"). Respectively, a tag ending with a letter or digit cannot be followed
- * by a letter or digit to be recognized ("ToDofoo" will not be recognized as a task for tag "ToDo", but "ToDo:foo" will
- * be detected either for tag "ToDo" or "ToDo:").
- * - option id: "org.eclipse.wst.jsdt.core.compiler.taskTags"
- * - possible values: { "&lt;tag&gt;[,&lt;tag&gt;]*" } where &lt;tag&gt; is a String without any wild-card or leading/trailing spaces
- * - default: "TODO,FIXME,XXX"
- *
- * VALIDATOR / Defining the Automatic Task Priorities
- * In parallel with the Automatic Task Tags, this list defines the priorities (high, normal or low)
- * of the task markers issued by the validator.
- * If the default is specified, the priority of each task marker is "NORMAL".
- * - option id: "org.eclipse.wst.jsdt.core.compiler.taskPriorities"
- * - possible values: { "&lt;priority&gt;[,&lt;priority&gt;]*" } where &lt;priority&gt; is one of "HIGH", "NORMAL" or "LOW"
- * - default: "NORMAL,HIGH,NORMAL"
- *
- * VALIDATOR / Determining whether task tags are case-sensitive
- * When enabled, task tags are considered in a case-sensitive way.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.taskCaseSensitive"
- * - possible values: { "enabled", "disabled" }
- * - default: "enabled"
- *
- * VALIDATOR / Reporting Discouraged Reference to Type with Restricted Access
- * When enabled, the validator will issue an error or a warning when referring to a type with discouraged access, as defined according
- * to the access rule specifications.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.discouragedReference"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "warning"
- *
- * VALIDATOR / Reporting Unreferenced Label
- * When enabled, the validator will issue an error or a warning when encountering a labeled statement which label
- * is never explicitly referenced. A label is considered to be referenced if its name explicitly appears behind a break
- * or continue statement; for instance the following label would be considered unreferenced; LABEL: { break; }
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.unusedLabel"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "warning"
- *
- * VALIDATOR / Reporting Parameter Assignment
- * When enabled, the validator will issue an error or a warning if a parameter is
- * assigned to.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.parameterAssignment"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Reporting Switch Fall-Through Case
- * When enabled, the validator will issue an error or a warning if a case may be
- * entered by falling through previous case. Empty cases are allowed.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.fallthroughCase"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * VALIDATOR / Reporting Overriding method that doesn't call the super method invocation
- * When enabled, the validator will issue an error or a warning if a method is overriding a method without calling
- * the super invocation.
- * - option id: "org.eclipse.wst.jsdt.core.compiler.problem.overridingMethodWithoutSuperInvocation"
- * - possible values: { "error", "warning", "ignore" }
- * - default: "ignore"
- *
- * BUILDER / Specifying Filters for Resource Copying Control
- * Allow to specify some filters to control the resource copy process.
- * - option id: "org.eclipse.wst.jsdt.core.builder.resourceCopyExclusionFilter"
- * - possible values: { "&lt;name&gt;[,&lt;name&gt;]* } where &lt;name&gt; is a file name pattern (* and ? wild-cards allowed)
- * or the name of a folder which ends with '/'
- * - default: ""
- *
- * BUILDER / Abort if Invalid Includepath
- * Allow to toggle the builder to abort if the includepath is invalid
- * - option id: "org.eclipse.wst.jsdt.core.builder.invalidClasspath"
- * - possible values: { "abort", "ignore" }
- * - default: "abort"
- *
- * BUILDER / Reporting Duplicate Resources
- * Indicate the severity of the problem reported when more than one occurrence
- * of a resource is to be copied into the output location.
- * - option id: "org.eclipse.wst.jsdt.core.builder.duplicateResourceTask"
- * - possible values: { "error", "warning" }
- * - default: "warning"
- *
- * JAVACORE / Computing Project Build Order
- * Indicate whether JavaScriptCore should enforce the project build order to be based on
- * the includepath prerequisite chain. When requesting to compute, this takes over
- * the platform default order (based on project references).
- * - option id: "org.eclipse.wst.jsdt.core.computeJavaBuildOrder"
- * - possible values: { "compute", "ignore" }
- * - default: "ignore"
- *
- * JAVACORE / Default Source Encoding Format
- * Get the default encoding format of source files. This value is
- * immutable and preset to the result of ResourcesPlugin.getEncoding().
- * It is offered as a convenience shortcut only.
- * - option id: "org.eclipse.wst.jsdt.core.encoding"
- * - value: &lt;immutable, platform default value&gt;
- *
- * JAVACORE / Reporting Incomplete Includepath
- * Indicate the severity of the problem reported when an entry on the includepath does not exist,
- * is not legite or is not visible (for example, a referenced project is closed).
- * - option id: "org.eclipse.wst.jsdt.core.incompleteClasspath"
- * - possible values: { "error", "warning"}
- * - default: "error"
- *
- * JAVACORE / Reporting Includepath Cycle
- * Indicate the severity of the problem reported when a project is involved in a cycle.
- * - option id: "org.eclipse.wst.jsdt.core.circularClasspath"
- * - possible values: { "error", "warning" }
- * - default: "error"
- * JAVACORE / Enabling Usage of Includepath Exclusion Patterns
- * When disabled, no entry on a project includepath can be associated with
- * an exclusion pattern.
- * - option id: "org.eclipse.wst.jsdt.core.includepath.exclusionPatterns"
- * - possible values: { "enabled", "disabled" }
- * - default: "enabled"
- *
- * JAVACORE / Enabling Usage of Includepath Multiple Output Locations
- * When disabled, no entry on a project includepath can be associated with
- * a specific output location, preventing thus usage of multiple output locations.
- * - option id: "org.eclipse.wst.jsdt.core.includepath.multipleOutputLocations"
- * - possible values: { "enabled", "disabled" }
- * - default: "enabled"
- *
- * JAVACORE / Set the timeout value for retrieving the method's parameter names from jsdoc
- * Timeout in milliseconds to retrieve the method's parameter names from jsdoc.
- * If the value is 0, the parameter names are not fetched and the raw names are returned.
- * - option id: "org.eclipse.wst.jsdt.core.timeoutForParameterNameFromAttachedJavadoc"
- * - possible values: "&lt;n&gt;", where n is an integer greater than or equal to 0
- * - default: "50"
- *
- * DEPRECATED SEE DefaultCodeFormatterOptions: FORMATTER / Inserting New Line Before Opening Brace
- * When Insert, a new line is inserted before an opening brace, otherwise nothing
- * is inserted
- * - option id: "org.eclipse.wst.jsdt.core.formatter.newline.openingBrace"
- * - possible values: { "insert", "do not insert" }
- * - default: "do not insert"
- *
- * DEPRECATED SEE DefaultCodeFormatterOptions: FORMATTER / Inserting New Line Inside Control Statement
- * When Insert, a new line is inserted between } and following else, catch, finally
- * - option id: "org.eclipse.wst.jsdt.core.formatter.newline.controlStatement"
- * - possible values: { "insert", "do not insert" }
- * - default: "do not insert"
- *
- * DEPRECATED SEE DefaultCodeFormatterOptions: Clearing Blank Lines
- * When Clear all, all blank lines are removed. When Preserve one, only one is kept
- * and all others removed.
- * - option id: "org.eclipse.wst.jsdt.core.formatter.newline.clearAll"
- * - possible values: { "clear all", "preserve one" }
- * - default: "preserve one"
- *
- * DEPRECATED SEE DefaultCodeFormatterOptions: Inserting New Line Between Else/If
- * When Insert, a blank line is inserted between an else and an if when they are
- * contiguous. When choosing to not insert, else-if will be kept on the same
- * line when possible.
- * - option id: "org.eclipse.wst.jsdt.core.formatter.newline.elseIf"
- * - possible values: { "insert", "do not insert" }
- * - default: "do not insert"
- *
- * DEPRECATED SEE DefaultCodeFormatterOptions: Inserting New Line In Empty Block
- * When insert, a line break is inserted between contiguous { and }, if } is not followed
- * by a keyword.
- * - option id: "org.eclipse.wst.jsdt.core.formatter.newline.emptyBlock"
- * - possible values: { "insert", "do not insert" }
- * - default: "insert"
- *
- * DEPRECATED SEE DefaultCodeFormatterOptions: Splitting Lines Exceeding Length
- * Enable splitting of long lines (exceeding the configurable length). Length of 0 will
- * disable line splitting
- * - option id: "org.eclipse.wst.jsdt.core.formatter.lineSplit"
- * - possible values: "&lt;n&gt;", where n is zero or a positive integer
- * - default: "80"
- *
- * DEPRECATED SEE DefaultCodeFormatterOptions: Compacting Assignment
- * Assignments can be formatted asymmetrically, for example 'int x= 2;', when Normal, a space
- * is inserted before the assignment operator
- * - option id: "org.eclipse.wst.jsdt.core.formatter.style.assignment"
- * - possible values: { "compact", "normal" }
- * - default: "normal"
- *
- * DEPRECATED SEE DefaultCodeFormatterOptions: Defining Indentation Character
- * Either choose to indent with tab characters or spaces
- * - option id: "org.eclipse.wst.jsdt.core.formatter.tabulation.char"
- * - possible values: { "tab", "space" }
- * - default: "tab"
- *
- * DEPRECATED SEE DefaultCodeFormatterOptions: Defining Space Indentation Length
- * When using spaces, set the amount of space characters to use for each
- * indentation mark.
- * - option id: "org.eclipse.wst.jsdt.core.formatter.tabulation.size"
- * - possible values: "&lt;n&gt;", where n is a positive integer
- * - default: "4"
- *
- * DEPRECATED SEE DefaultCodeFormatterOptions: Inserting space in cast expression
- * When Insert, a space is added between the type and the expression in a cast expression.
- * - option id: "org.eclipse.wst.jsdt.core.formatter.space.castexpression"
- * - possible values: { "insert", "do not insert" }
- * - default: "insert"
- *
- * CODEASSIST / Activate Visibility Sensitive Completion
- * When active, completion doesn't show that you can not see
- * (for example, you can not see private methods of a super class).
- * - option id: "org.eclipse.wst.jsdt.core.codeComplete.visibilityCheck"
- * - possible values: { "enabled", "disabled" }
- * - default: "disabled"
- *
- * CODEASSIST / Activate Deprecation Sensitive Completion
- * When enabled, completion doesn't propose deprecated members and types.
- * - option id: "org.eclipse.wst.jsdt.core.codeComplete.deprecationCheck"
- * - possible values: { "enabled", "disabled" }
- * - default: "disabled"
- *
- * CODEASSIST / Automatic Qualification of Implicit Members
- * When active, completion automatically qualifies completion on implicit
- * field references and message expressions.
- * - option id: "org.eclipse.wst.jsdt.core.codeComplete.forceImplicitQualification"
- * - possible values: { "enabled", "disabled" }
- * - default: "disabled"
- *
- * CODEASSIST / Define the Prefixes for Field Name
- * When the prefixes is non empty, completion for field name will begin with
- * one of the proposed prefixes.
- * - option id: "org.eclipse.wst.jsdt.core.codeComplete.fieldPrefixes"
- * - possible values: { "&lt;prefix&gt;[,&lt;prefix&gt;]*" } where &lt;prefix&gt; is a String without any wild-card
- * - default: ""
- *
- * CODEASSIST / Define the Prefixes for Static Field Name
- * When the prefixes is non empty, completion for static field name will begin with
- * one of the proposed prefixes.
- * - option id: "org.eclipse.wst.jsdt.core.codeComplete.staticFieldPrefixes"
- * - possible values: { "&lt;prefix&gt;[,&lt;prefix&gt;]*" } where &lt;prefix&gt; is a String without any wild-card
- * - default: ""
- *
- * CODEASSIST / Define the Prefixes for Local Variable Name
- * When the prefixes is non empty, completion for local variable name will begin with
- * one of the proposed prefixes.
- * - option id: "org.eclipse.wst.jsdt.core.codeComplete.localPrefixes"
- * - possible values: { "&lt;prefix&gt;[,&lt;prefix&gt;]*" } where &lt;prefix&gt; is a String without any wild-card
- * - default: ""
- *
- * CODEASSIST / Define the Prefixes for Argument Name
- * When the prefixes is non empty, completion for argument name will begin with
- * one of the proposed prefixes.
- * - option id: "org.eclipse.wst.jsdt.core.codeComplete.argumentPrefixes"
- * - possible values: { "&lt;prefix&gt;[,&lt;prefix&gt;]*" } where &lt;prefix&gt; is a String without any wild-card
- * - default: ""
- *
- * CODEASSIST / Define the Suffixes for Field Name
- * When the suffixes is non empty, completion for field name will end with
- * one of the proposed suffixes.
- * - option id: "org.eclipse.wst.jsdt.core.codeComplete.fieldSuffixes"
- * - possible values: { "&lt;suffix&gt;[,&lt;suffix&gt;]*" } where &lt;suffix&gt; is a String without any wild-card
- * - default: ""
- *
- * CODEASSIST / Define the Suffixes for Static Field Name
- * When the suffixes is non empty, completion for static field name will end with
- * one of the proposed suffixes.
- * - option id: "org.eclipse.wst.jsdt.core.codeComplete.staticFieldSuffixes"
- * - possible values: { "&lt;suffix&gt;[,&lt;suffix&gt;]*" } where &lt;suffix&gt; is a String without any wild-card
- * - default: ""
- *
- * CODEASSIST / Define the Suffixes for Local Variable Name
- * When the suffixes is non empty, completion for local variable name will end with
- * one of the proposed suffixes.
- * - option id: "org.eclipse.wst.jsdt.core.codeComplete.localSuffixes"
- * - possible values: { "&lt;suffix&gt;[,&lt;suffix&gt;]*" } where &lt;suffix&gt; is a String without any wild-card
- * - default: ""
- *
- * CODEASSIST / Define the Suffixes for Argument Name
- * When the suffixes is non empty, completion for argument name will end with
- * one of the proposed suffixes.
- * - option id: "org.eclipse.wst.jsdt.core.codeComplete.argumentSuffixes"
- * - possible values: { "&lt;suffix&gt;[,&lt;suffix&gt;]*" } where &lt;suffix&gt; is a String without any wild-card
- * - default: ""
- *
- * CODEASSIST / Activate Forbidden Reference Sensitive Completion
- * When enabled, completion doesn't propose elements which match a
- * forbidden reference rule.
- * - option id: "org.eclipse.wst.jsdt.core.codeComplete.forbiddenReferenceCheck"
- * - possible values: { "enabled", "disabled" }
- * - default: "enabled"
- *
- * CODEASSIST / Activate Discouraged Reference Sensitive Completion
- * When enabled, completion doesn't propose elements which match a
- * discouraged reference rule.
- * - option id: "org.eclipse.wst.jsdt.core.codeComplete.discouragedReferenceCheck"
- * - possible values: { "enabled", "disabled" }
- * - default: "disabled"
- *
- * CODEASSIST / Activate Camel Case Sensitive Completion
- * When enabled, completion shows proposals whose name match the CamelCase
- * pattern.
- * - option id: "org.eclipse.wst.jsdt.core.codeComplete.camelCaseMatch"
- * - possible values: { "enabled", "disabled" }
- * - default: "enabled"
- *
- * CODEASSIST / Activate Suggestion of Static Import
- * When enabled, completion proposals can contain static import
- * pattern.
- * - option id: "org.eclipse.wst.jsdt.core.codeComplete.suggestStaticImports"
- * - possible values: { "enabled", "disabled" }
- * - default: "enabled"
- * </pre>
- */
- public static Hashtable getDefaultOptions(){
- return JavaModelManager.getJavaModelManager().getDefaultOptions();
- }
-
- /**
- * Returns the workspace root default charset encoding.
- *
- * @return the name of the default charset encoding for workspace root.
- * @see IContainer#getDefaultCharset()
- * @see ResourcesPlugin#getEncoding()
- */
- public static String getEncoding() {
- // Verify that workspace is not shutting down (see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=60687)
- IWorkspace workspace = ResourcesPlugin.getWorkspace();
- if (workspace != null) {
- try {
- return workspace.getRoot().getDefaultCharset();
- } catch (CoreException e) {
- // fails silently and return plugin global encoding if core exception occurs
- }
- }
- return ResourcesPlugin.getEncoding();
- }
-
- /**
- * Returns an array that contains the resources generated by the JavaScript builder when building the
- * javaScript units contained in the given region.
- * <p>The contents of the array is accurate only if the elements of the given region have been built.</p>
- * <p>The given region can contain instances of:</p>
- * <ul>
- * <li><code>org.eclipse.wst.jsdt.core.IJavaScriptUnit</code></li>
- * <li><code>org.eclipse.wst.jsdt.core.IPackageFragment</code></li>
- * <li><code>org.eclipse.wst.jsdt.core.IPackageFragmentRoot</code></li>
- * <li><code>org.eclipse.wst.jsdt.core.IJavaScriptProject</code></li>
- * </ul>
- * <p>All other types of <code>org.eclipse.wst.jsdt.core.IJavaScriptElement</code> are ignored.</p>
- *
- * @param region the given region
- * @param includesNonJavaResources a flag that indicates if non-javaScript resources should be included
- *
- * @return an array that contains the resources generated by the JavaScript builder when building the
- * javaScript units contained in the given region, an empty array if none
- * @exception IllegalArgumentException if the given region is <code>null</code>
- */
- public static IResource[] getGeneratedResources(IRegion region, boolean includesNonJavaResources) {
- if (region == null) throw new IllegalArgumentException("region cannot be null"); //$NON-NLS-1$
- IJavaScriptElement[] elements = region.getElements();
- HashMap projectsStates = new HashMap();
- ArrayList collector = new ArrayList();
- for (int i = 0, max = elements.length; i < max; i++) {
- // collect all the javaScript project
- IJavaScriptElement element = elements[i];
- IJavaScriptProject javaProject = element.getJavaScriptProject();
- IProject project = javaProject.getProject();
- State state = null;
- State currentState = (State) projectsStates.get(project);
- if (currentState != null) {
- state = currentState;
- } else {
- state = (State) JavaModelManager.getJavaModelManager().getLastBuiltState(project, null);
- if (state != null) {
- projectsStates.put(project, state);
- }
- }
- if (state == null) continue;
- if (element.getElementType() == IJavaScriptElement.JAVASCRIPT_PROJECT) {
- IPackageFragmentRoot[] roots = null;
- try {
- roots = javaProject.getPackageFragmentRoots();
- } catch (JavaScriptModelException e) {
- // ignore
- }
- if (roots == null) continue;
- IRegion region2 = JavaScriptCore.newRegion();
- for (int j = 0; j < roots.length; j++) {
- region2.add(roots[j]);
- }
- IResource[] res = getGeneratedResources(region2, includesNonJavaResources);
- for (int j = 0, max2 = res.length; j < max2; j++) {
- collector.add(res[j]);
- }
- continue;
- }
- IPath outputLocation = null;
- try {
- outputLocation = javaProject.getOutputLocation();
- } catch (JavaScriptModelException e) {
- // ignore
- }
- IJavaScriptElement root = element;
- while (root != null && root.getElementType() != IJavaScriptElement.PACKAGE_FRAGMENT_ROOT) {
- root = root.getParent();
- }
- if (root == null) continue;
- IPackageFragmentRoot packageFragmentRoot = (IPackageFragmentRoot) root;
- int rootPathSegmentCounts = packageFragmentRoot.getPath().segmentCount();
- try {
- IIncludePathEntry entry = packageFragmentRoot.getRawIncludepathEntry();
- IPath entryOutputLocation = entry.getOutputLocation();
- if (entryOutputLocation != null) {
- outputLocation = entryOutputLocation;
- }
- } catch (JavaScriptModelException e) {
- e.printStackTrace();
- }
- if (outputLocation == null) continue;
- IContainer container = (IContainer) project.getWorkspace().getRoot().findMember(outputLocation);
- switch(element.getElementType()) {
- case IJavaScriptElement.JAVASCRIPT_UNIT :
- // get the .class files generated when this element was built
- IJavaScriptUnit unit = (IJavaScriptUnit) element;
- getGeneratedResource(unit, container, state, rootPathSegmentCounts, collector);
- break;
- case IJavaScriptElement.PACKAGE_FRAGMENT :
- // collect all the .class files generated when all the units in this package were built
- IPackageFragment fragment = (IPackageFragment) element;
- IJavaScriptUnit[] compilationUnits = null;
- try {
- compilationUnits = fragment.getJavaScriptUnits();
- } catch (JavaScriptModelException e) {
- // ignore
- }
- if (compilationUnits == null) continue;
- for (int j = 0, max2 = compilationUnits.length; j < max2; j++) {
- getGeneratedResource(compilationUnits[j], container, state, rootPathSegmentCounts, collector);
- }
- if (includesNonJavaResources) {
- // retrieve all non-javaScript resources from the output location using the package fragment path
- Object[] nonJavaResources = null;
- try {
- nonJavaResources = fragment.getNonJavaScriptResources();
- } catch (JavaScriptModelException e) {
- // ignore
- }
- if (nonJavaResources != null) {
- addNonJavaScriptResources(nonJavaResources, container, rootPathSegmentCounts, collector);
- }
- }
- break;
- case IJavaScriptElement.PACKAGE_FRAGMENT_ROOT :
- // collect all the .class files generated when all the units in this package were built
- IPackageFragmentRoot fragmentRoot = (IPackageFragmentRoot) element;
- if (fragmentRoot.isArchive()) continue;
- IJavaScriptElement[] children = null;
- try {
- children = fragmentRoot.getChildren();
- } catch (JavaScriptModelException e) {
- // ignore
- }
- if (children == null) continue;
- for (int j = 0, max2 = children.length; j < max2; j++) {
- fragment = (IPackageFragment) children[j];
- IJavaScriptUnit[] units = null;
- try {
- units = fragment.getJavaScriptUnits();
- } catch (JavaScriptModelException e) {
- // ignore
- }
- if (units == null) continue;
- for (int n = 0, max3 = units.length; n < max3; n++) {
- getGeneratedResource(units[n], container, state, rootPathSegmentCounts, collector);
- }
- if (includesNonJavaResources) {
- // retrieve all non-javaScript resources from the output location using the package fragment path
- Object[] nonJavaResources = null;
- try {
- nonJavaResources = fragment.getNonJavaScriptResources();
- } catch (JavaScriptModelException e) {
- // ignore
- }
- if (nonJavaResources != null) {
- addNonJavaScriptResources(nonJavaResources, container, rootPathSegmentCounts, collector);
- }
- }
- }
- break;
- }
- }
- int size = collector.size();
- if (size != 0) {
- IResource[] result = new IResource[size];
- collector.toArray(result);
- return result;
- }
- return NO_GENERATED_RESOURCES;
- }
-
- private static void getGeneratedResource(IJavaScriptUnit unit,
- IContainer container,
- State state,
- int rootPathSegmentCounts,
- ArrayList collector) {
- IResource resource = unit.getResource();
- char[][] typeNames = state.getDefinedTypeNamesFor(resource.getProjectRelativePath().toString());
- if (typeNames != null) {
- IPath path = unit.getPath().removeFirstSegments(rootPathSegmentCounts).removeLastSegments(1);
- for (int j = 0, max2 = typeNames.length; j < max2; j++) {
- IPath localPath = path.append(new String(typeNames[j]) + ".class"); //$NON-NLS-1$
- IResource member = container.findMember(localPath);
- if (member != null && member.exists()) {
- collector.add(member);
- }
- }
- } else {
- IPath path = unit.getPath().removeFirstSegments(rootPathSegmentCounts).removeLastSegments(1);
- path = path.append(Util.getNameWithoutJavaLikeExtension(unit.getElementName()) + ".class"); //$NON-NLS-1$
- IResource member = container.findMember(path);
- if (member != null && member.exists()) {
- collector.add(member);
- }
- }
- }
-
-
- /**
- * Returns the single instance of the JavaScript core plug-in runtime class.
- * Equivalent to <code>(JavaScriptCore) getPlugin()</code>.
- *
- * @return the single instance of the JavaScript core plug-in runtime class
- */
- public static JavaScriptCore getJavaScriptCore() {
- return (JavaScriptCore) getPlugin();
- }
-
- /**
- * Returns the list of known JavaScript-like extensions.
- * JavaScript like extension are defined in the {@link org.eclipse.core.runtime.Platform#getContentTypeManager()
- * content type manager} for the {@link #JAVA_SOURCE_CONTENT_TYPE}.
- * Note that a JavaScript-like extension doesn't include the leading dot ('.').
- * Also note that the "js" extension is always defined as a JavaScript-like extension.
- *
- * @return the list of known JavaScript-like extensions.
- */
- public static String[] getJavaScriptLikeExtensions() {
- return CharOperation.toStrings(Util.getJavaLikeExtensions());
- }
-
- /**
- * Helper method for returning one option value only. Equivalent to <code>(String)JavaScriptCore.getOptions().get(optionName)</code>
- * Note that it may answer <code>null</code> if this option does not exist.
- * <p>
- * For a complete description of the configurable options, see <code>getDefaultOptions</code>.
- * </p>
- *
- * @param optionName the name of an option
- * @return the String value of a given option
- * @see JavaScriptCore#getDefaultOptions()
- * @see org.eclipse.wst.jsdt.internal.core.JavaCorePreferenceInitializer for changing default settings
- */
- public static String getOption(String optionName) {
- return JavaModelManager.getJavaModelManager().getOption(optionName);
- }
-
- /**
- * Returns the table of the current options. Initially, all options have their default values,
- * and this method returns a table that includes all known options.
- * <p>For a complete description of the configurable options, see <code>getDefaultOptions</code>.</p>
- * <p>Returns a default set of options even if the platform is not running.</p>
- *
- * @return table of current settings of all options
- * (key type: <code>String</code>; value type: <code>String</code>)
- * @see #getDefaultOptions()
- * @see org.eclipse.wst.jsdt.internal.core.JavaCorePreferenceInitializer for changing default settings
- */
- public static Hashtable getOptions() {
- return JavaModelManager.getJavaModelManager().getOptions();
- }
-
- /**
- * Returns the single instance of the JavaScript core plug-in runtime class.
- *
- * @return the single instance of the JavaScript core plug-in runtime class
- */
- public static Plugin getPlugin() {
- return JAVA_CORE_PLUGIN;
- }
-
- /**
- * This is a helper method, which returns the resolved includepath entry denoted
- * by a given entry (if it is a variable entry). It is obtained by resolving the variable
- * reference in the first segment. Returns <code>null</code> if unable to resolve using
- * the following algorithm:
- * <ul>
- * <li> if variable segment cannot be resolved, returns <code>null</code></li>
- * <li> finds a project, JAR or binary folder in the workspace at the resolved path location</li>
- * <li> if none finds an external JAR file or folder outside the workspace at the resolved path location </li>
- * <li> if none returns <code>null</code></li>
- * </ul>
- * <p>
- * Variable source attachment path and root path are also resolved and recorded in the resulting includepath entry.
- * <p>
- * NOTE: This helper method does not handle includepath containers, for which should rather be used
- * <code>JavaScriptCore#getJsGlobalScopeContainer(IPath, IJavaScriptProject)</code>.
- * <p>
- *
- * @param entry the given variable entry
- * @return the resolved library or project includepath entry, or <code>null</code>
- * if the given variable entry could not be resolved to a valid includepath entry
- */
- public static IIncludePathEntry getResolvedIncludepathEntry(IIncludePathEntry entry) {
-
- if (entry.getEntryKind() != IIncludePathEntry.CPE_VARIABLE)
- return entry;
-
- IWorkspaceRoot workspaceRoot = ResourcesPlugin.getWorkspace().getRoot();
- IPath resolvedPath = JavaScriptCore.getResolvedVariablePath(entry.getPath());
- if (resolvedPath == null)
- return null;
-
- Object target = JavaModel.getTarget(workspaceRoot, resolvedPath, false);
- if (target == null)
- return null;
-
- // inside the workspace
- if (target instanceof IResource) {
- IResource resolvedResource = (IResource) target;
- if (resolvedResource != null) {
- switch (resolvedResource.getType()) {
-
- case IResource.PROJECT :
- // internal project
- return JavaScriptCore.newProjectEntry(
- resolvedPath,
- entry.getAccessRules(),
- entry.combineAccessRules(),
- entry.getExtraAttributes(),
- entry.isExported());
- case IResource.FILE :
- if (org.eclipse.wst.jsdt.internal.compiler.util.Util.isArchiveFileName(resolvedResource.getName())) {
- // internal binary archive
- return JavaScriptCore.newLibraryEntry(
- resolvedPath,
- getResolvedVariablePath(entry.getSourceAttachmentPath()),
- getResolvedVariablePath(entry.getSourceAttachmentRootPath()),
- entry.getAccessRules(),
- entry.getExtraAttributes(),
- entry.isExported());
- }
- break;
-
- case IResource.FOLDER :
- // internal binary folder
- return JavaScriptCore.newLibraryEntry(
- resolvedPath,
- getResolvedVariablePath(entry.getSourceAttachmentPath()),
- getResolvedVariablePath(entry.getSourceAttachmentRootPath()),
- entry.getAccessRules(),
- entry.getExtraAttributes(),
- entry.isExported());
- }
- }
- }
- // outside the workspace
- if (target instanceof File) {
- File externalFile = JavaModel.getFile(target);
- if (externalFile != null) {
- String fileName = externalFile.getName().toLowerCase();
- if (fileName.endsWith(SuffixConstants.SUFFIX_STRING_java)
- || fileName.endsWith(SuffixConstants.SUFFIX_STRING_jar)
- || fileName.endsWith(SuffixConstants.SUFFIX_STRING_zip)
- ) {
- // external binary archive
- return JavaScriptCore.newLibraryEntry(
- resolvedPath,
- getResolvedVariablePath(entry.getSourceAttachmentPath()),
- getResolvedVariablePath(entry.getSourceAttachmentRootPath()),
- entry.getAccessRules(),
- entry.getExtraAttributes(),
- entry.isExported());
- }
- } else { // external binary folder
- if (resolvedPath.isAbsolute()){
- return JavaScriptCore.newLibraryEntry(
- resolvedPath,
- getResolvedVariablePath(entry.getSourceAttachmentPath()),
- getResolvedVariablePath(entry.getSourceAttachmentRootPath()),
- entry.getAccessRules(),
- entry.getExtraAttributes(),
- entry.isExported());
- }
- }
- }
- return null;
- }
-
-
- /**
- * Resolve a variable path (helper method).
- *
- * @param variablePath the given variable path
- * @return the resolved variable path or <code>null</code> if none
- */
- public static IPath getResolvedVariablePath(IPath variablePath) {
-
- if (variablePath == null)
- return null;
- int count = variablePath.segmentCount();
- if (count == 0)
- return null;
-
- // lookup variable
- String variableName = variablePath.segment(0);
- IPath resolvedPath = JavaScriptCore.getIncludepathVariable(variableName);
- if (resolvedPath == null)
- return null;
-
- // append path suffix
- if (count > 1) {
- resolvedPath = resolvedPath.append(variablePath.removeFirstSegments(1));
- }
- return resolvedPath;
- }
-
- /**
- * Answers the shared working copies currently registered for this buffer factory.
- * Working copies can be shared by several clients using the same buffer factory,see
- * <code>IWorkingCopy.getSharedWorkingCopy</code>.
- *
- * @param factory the given buffer factory
- * @return the list of shared working copies for a given buffer factory
- * @deprecated Use {@link #getWorkingCopies(WorkingCopyOwner)} instead
- */
- public static IWorkingCopy[] getSharedWorkingCopies(IBufferFactory factory){
-
- // if factory is null, default factory must be used
- if (factory == null) factory = BufferManager.getDefaultBufferManager().getDefaultBufferFactory();
-
- return getWorkingCopies(BufferFactoryWrapper.create(factory));
- }
-
- /**
- * Returns the names of all defined user libraries. The corresponding includepath container path
- * is the name appended to the USER_LIBRARY_CONTAINER_ID.
- * @return Return an array containing the names of all known user defined.
- */
- public static String[] getUserLibraryNames() {
- return UserLibraryManager.getUserLibraryNames();
- }
-
- /**
- * Returns the working copies that have the given owner.
- * Only javaScript units in working copy mode are returned.
- * If the owner is <code>null</code>, primary working copies are returned.
- *
- * @param owner the given working copy owner or <code>null</code> for primary working copy owner
- * @return the list of working copies for a given owner
- */
- public static IJavaScriptUnit[] getWorkingCopies(WorkingCopyOwner owner){
-
- JavaModelManager manager = JavaModelManager.getJavaModelManager();
- if (owner == null) owner = DefaultWorkingCopyOwner.PRIMARY;
- IJavaScriptUnit[] result = manager.getWorkingCopies(owner, false/*don't add primary WCs*/);
- if (result == null) return JavaModelManager.NO_WORKING_COPY;
- return result;
- }
-
- /**
- * Initializes JavaScriptCore internal structures to allow subsequent operations (such
- * as the ones that need a resolved classpath) to run full speed. A client may
- * choose to call this method in a background thread early after the workspace
- * has started so that the initialization is transparent to the user.
- * <p>
- * However calling this method is optional. Services will lazily perform
- * initialization when invoked. This is only a way to reduce initialization
- * overhead on user actions, if it can be performed before at some
- * appropriate moment.
- * </p><p>
- * This initialization runs accross all JavaScript projects in the workspace. Thus the
- * workspace root scheduling rule is used during this operation.
- * </p><p>
- * This method may return before the initialization is complete. The
- * initialization will then continue in a background thread.
- * </p><p>
- * This method can be called concurrently.
- * </p>
- *
- * @param monitor a progress monitor, or <code>null</code> if progress
- * reporting and cancellation are not desired
- * @exception CoreException if the initialization fails,
- * the status of the exception indicates the reason of the failure
- */
- public static void initializeAfterLoad(IProgressMonitor monitor) throws CoreException {
- try {
- if (monitor != null) monitor.beginTask(Messages.javamodel_initialization, 100);
-
- // initialize all containers and variables
- JavaModelManager manager = JavaModelManager.getJavaModelManager();
- try {
- if (monitor != null) {
- monitor.subTask(Messages.javamodel_configuring_classpath_containers);
- manager.batchContainerInitializationsProgress.set(new SubProgressMonitor(monitor, 50)); // 50% of the time is spent in initializing containers and variables
- }
-
- // all classpaths in the workspace are going to be resolved, ensure that containers are initialized in one batch
- manager.batchContainerInitializations = true;
-
- // avoid leaking source attachment properties (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=183413)
- IJavaScriptProject[] projects = manager.getJavaModel().getJavaScriptProjects();
- for (int i = 0, length = projects.length; i < length; i++) {
- IIncludePathEntry[] classpath;
- try {
- classpath = ((JavaProject) projects[i]).getResolvedClasspath();
- } catch (JavaScriptModelException e) {
- // project no longer exist: ignore
- continue;
- }
- if (classpath != null) {
- for (int j = 0, length2 = classpath.length; j < length2; j++) {
- IIncludePathEntry entry = classpath[j];
- if (entry.getSourceAttachmentPath() != null)
- Util.setSourceAttachmentProperty(entry.getPath(), null);
- // else source might have been attached by IPackageFragmentRoot#attachSource(...), we keep it
- }
- }
- }
-
- // initialize delta state
- manager.deltaState.rootsAreStale = true; // in case it was already initialized before we cleaned up the source attachment proprties
- manager.deltaState.initializeRoots();
- } finally {
- manager.batchContainerInitializationsProgress.set(null);
- }
-
- // dummy query for waiting until the indexes are ready
- SearchEngine engine = new SearchEngine();
- IJavaScriptSearchScope scope = SearchEngine.createWorkspaceScope();
- try {
- if (monitor != null)
- monitor.subTask(Messages.javamodel_configuring_searchengine);
- engine.searchAllTypeNames(
- null,
- SearchPattern.R_EXACT_MATCH,
- "!@$#!@".toCharArray(), //$NON-NLS-1$
- SearchPattern.R_PATTERN_MATCH | SearchPattern.R_CASE_SENSITIVE,
- IJavaScriptSearchConstants.CLASS,
- scope,
- new TypeNameRequestor() {
- public void acceptType(
- int modifiers,
- char[] packageName,
- char[] simpleTypeName,
- char[][] enclosingTypeNames,
- String path) {
- // no type to accept
- }
- },
- // will not activate index query caches if indexes are not ready, since it would take to long
- // to wait until indexes are fully rebuild
- IJavaScriptSearchConstants.CANCEL_IF_NOT_READY_TO_SEARCH,
- monitor == null ? null : new SubProgressMonitor(monitor, 49) // 49% of the time is spent in the dummy search
- );
- } catch (JavaScriptModelException e) {
- // /search failed: ignore
- } catch (OperationCanceledException e) {
- if (monitor != null && monitor.isCanceled())
- throw e;
- // else indexes were not ready: catch the exception so that jars are still refreshed
- }
-
- // check if the build state version number has changed since last session
- // (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=98969)
- if (monitor != null)
- monitor.subTask(Messages.javamodel_getting_build_state_number);
- QualifiedName qName = new QualifiedName(JavaScriptCore.PLUGIN_ID, "stateVersionNumber"); //$NON-NLS-1$
- IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
- String versionNumber = null;
- try {
- versionNumber = root.getPersistentProperty(qName);
- } catch (CoreException e) {
- // could not read version number: consider it is new
- }
- final JavaModel model = manager.getJavaModel();
- String newVersionNumber = Byte.toString(State.VERSION);
- if (!newVersionNumber.equals(versionNumber)) {
- // build state version number has changed: touch every projects to force a rebuild
- if (JavaBuilder.DEBUG)
- System.out.println("Build state version number has changed"); //$NON-NLS-1$
- IWorkspaceRunnable runnable = new IWorkspaceRunnable() {
- public void run(IProgressMonitor progressMonitor2) throws CoreException {
- IJavaScriptProject[] projects = null;
- try {
- projects = model.getJavaScriptProjects();
- } catch (JavaScriptModelException e) {
- // could not get JavaScript projects: ignore
- }
- if (projects != null) {
- for (int i = 0, length = projects.length; i < length; i++) {
- IJavaScriptProject project = projects[i];
- try {
- if (JavaBuilder.DEBUG)
- System.out.println("Touching " + project.getElementName()); //$NON-NLS-1$
- project.getProject().touch(progressMonitor2);
- } catch (CoreException e) {
- // could not touch this project: ignore
- }
- }
- }
- }
- };
- if (monitor != null)
- monitor.subTask(Messages.javamodel_building_after_upgrade);
- try {
- ResourcesPlugin.getWorkspace().run(runnable, monitor);
- } catch (CoreException e) {
- // could not touch all projects
- }
- try {
- root.setPersistentProperty(qName, newVersionNumber);
- } catch (CoreException e) {
- Util.log(e, "Could not persist build state version number"); //$NON-NLS-1$
- }
- }
-
- // ensure external jars are refreshed (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=93668)
- try {
- if (monitor != null)
- monitor.subTask(Messages.javamodel_refreshing_external_jars);
- model.refreshExternalArchives(
- null/*refresh all projects*/,
- monitor == null ? null : new SubProgressMonitor(monitor, 1) // 1% of the time is spent in jar refresh
- );
- } catch (JavaScriptModelException e) {
- // refreshing failed: ignore
- }
-
- } finally {
- if (monitor != null) monitor.done();
- }
- }
- /**
- * Returns whether a given includepath variable is read-only or not.
- *
- * @param variableName
- * @return <code>true</code> if the includepath variable is read-only,
- * <code>false</code> otherwise.
- */
- public static boolean isIncludepathVariableReadOnly(String variableName) {
- return JavaModelManager.getJavaModelManager().readOnlyVariables.contains(variableName);
- }
-
- /**
- * Returns whether the given file name's extension is a JavaScript-like extension.
- *
- * @return whether the given file name's extension is a JavaScript-like extension
- * @see #getJavaScriptLikeExtensions()
- */
- public static boolean isJavaScriptLikeFileName(String fileName) {
- if(fileName==null) return false;
- return Util.isJavaLikeFileName(fileName);
- }
-
- /**
- * Returns whether the given marker references the given JavaScript element.
- * Used for markers, which denote a JavaScript element rather than a resource.
- *
- * @param element the element
- * @param marker the marker
- * @return <code>true</code> if the marker references the element, false otherwise
- * @exception CoreException if the <code>IMarker.getAttribute</code> on the marker fails
- */
- public static boolean isReferencedBy(IJavaScriptElement element, IMarker marker) throws CoreException {
-
- // only match units or classfiles
- if (element instanceof IMember){
- IMember member = (IMember) element;
- if (member.isBinary()){
- element = member.getClassFile();
- } else {
- element = member.getJavaScriptUnit();
- }
- }
- if (element == null) return false;
- if (marker == null) return false;
-
- String markerHandleId = (String)marker.getAttribute(ATT_HANDLE_ID);
- if (markerHandleId == null) return false;
-
- IJavaScriptElement markerElement = JavaScriptCore.create(markerHandleId);
- while (true){
- if (element.equals(markerElement)) return true; // external elements may still be equal with different handleIDs.
-
- // cycle through enclosing types in case marker is associated with a classfile (15568)
- if (markerElement instanceof IClassFile){
- IType enclosingType = ((IClassFile)markerElement).getType().getDeclaringType();
- if (enclosingType != null){
- markerElement = enclosingType.getClassFile(); // retry with immediate enclosing classfile
- continue;
- }
- }
- break;
- }
- return false;
- }
-
- /**
- * Returns whether the given marker delta references the given JavaScript element.
- * Used for markers deltas, which denote a JavaScript element rather than a resource.
- *
- * @param element the element
- * @param markerDelta the marker delta
- * @return <code>true</code> if the marker delta references the element
- * @exception CoreException if the <code>IMarkerDelta.getAttribute</code> on the marker delta fails
- */
- public static boolean isReferencedBy(IJavaScriptElement element, IMarkerDelta markerDelta) throws CoreException {
-
- // only match units or classfiles
- if (element instanceof IMember){
- IMember member = (IMember) element;
- if (member.isBinary()){
- element = member.getClassFile();
- } else {
- element = member.getJavaScriptUnit();
- }
- }
- if (element == null) return false;
- if (markerDelta == null) return false;
-
- String markerDeltarHandleId = (String)markerDelta.getAttribute(ATT_HANDLE_ID);
- if (markerDeltarHandleId == null) return false;
-
- IJavaScriptElement markerElement = JavaScriptCore.create(markerDeltarHandleId);
- while (true){
- if (element.equals(markerElement)) return true; // external elements may still be equal with different handleIDs.
-
- // cycle through enclosing types in case marker is associated with a classfile (15568)
- if (markerElement instanceof IClassFile){
- IType enclosingType = ((IClassFile)markerElement).getType().getDeclaringType();
- if (enclosingType != null){
- markerElement = enclosingType.getClassFile(); // retry with immediate enclosing classfile
- continue;
- }
- }
- break;
- }
- return false;
- }
-
- /**
- * Creates and returns a new access rule with the given file pattern and kind.
- * <p>
- * The rule kind is one of {@link IAccessRule#K_ACCESSIBLE}, {@link IAccessRule#K_DISCOURAGED},
- * or {@link IAccessRule#K_NON_ACCESSIBLE}, optionally combined with {@link IAccessRule#IGNORE_IF_BETTER},
- * e..g. <code>IAccessRule.K_NON_ACCESSIBLE | IAccessRule.IGNORE_IF_BETTER</code>.
- * </p>
- *
- * @param filePattern the file pattern this access rule should match
- * @param kind one of {@link IAccessRule#K_ACCESSIBLE}, {@link IAccessRule#K_DISCOURAGED},
- * or {@link IAccessRule#K_NON_ACCESSIBLE}, optionally combined with
- * {@link IAccessRule#IGNORE_IF_BETTER}
- * @return a new access rule
- */
- public static IAccessRule newAccessRule(IPath filePattern, int kind) {
- return new ClasspathAccessRule(filePattern, kind);
- }
-
- /**
- * Creates and returns a new includepath attribute with the given name and the given value.
- *
- * @return a new includepath attribute
- */
- public static IIncludePathAttribute newIncludepathAttribute(String name, String value) {
- return new ClasspathAttribute(name, value);
- }
-
- /**
- * Creates and returns a new includepath entry of kind <code>CPE_CONTAINER</code>
- * for the given path. This method is fully equivalent to calling
- * {@link #newContainerEntry(IPath, IAccessRule[], IIncludePathAttribute[], boolean)
- * newContainerEntry(containerPath, new IAccessRule[0], new IIncludePathAttribute[0], false)}.
- * <p>
- * @param containerPath the path identifying the container, it must be formed of two
- * segments
- * @return a new container includepath entry
- *
- * @see JavaScriptCore#getJsGlobalScopeContainer(IPath, IJavaScriptProject)
- */
- public static IIncludePathEntry newContainerEntry(IPath containerPath) {
- return newContainerEntry(
- containerPath,
- ClasspathEntry.NO_ACCESS_RULES,
- ClasspathEntry.NO_EXTRA_ATTRIBUTES,
- false/*not exported*/);
- }
-
- /**
- * Creates and returns a new includepath entry of kind <code>CPE_CONTAINER</code>
- * for the given path. This method is fully equivalent to calling
- * {@link #newContainerEntry(IPath, IAccessRule[], IIncludePathAttribute[], boolean)
- * newContainerEntry(containerPath, new IAccessRule[0], new IIncludePathAttribute[0], isExported)}.
- *
- * @param containerPath the path identifying the container, it must be formed of at least
- * one segment (ID+hints)
- * @param isExported a boolean indicating whether this entry is contributed to dependent
- * projects in addition to the output location
- * @return a new container includepath entry
- *
- * @see JavaScriptCore#getJsGlobalScopeContainer(IPath, IJavaScriptProject)
- * @see JavaScriptCore#setJsGlobalScopeContainer(IPath, IJavaScriptProject[], IJsGlobalScopeContainer[], IProgressMonitor)
- */
- public static IIncludePathEntry newContainerEntry(IPath containerPath, boolean isExported) {
- return newContainerEntry(
- containerPath,
- ClasspathEntry.NO_ACCESS_RULES,
- ClasspathEntry.NO_EXTRA_ATTRIBUTES,
- isExported);
- }
-
- /**
- * Creates and returns a new includepath entry of kind <code>CPE_CONTAINER</code>
- * for the given path. The path of the container will be used during resolution so as to map this
- * container entry to a set of other includepath entries the container is acting for.
- * <p>
- * A container entry allows to express indirect references to a set of libraries, projects and variable entries,
- * which can be interpreted differently for each JavaScript project where it is used.
- * A includepath container entry can be resolved using <code>JavaScriptCore.getResolvedJsGlobalScopeContainer</code>,
- * and updated with <code>JavaScriptCore.JsGlobalScopeContainerChanged</code>
- * <p>
- * A container is exclusively resolved by a <code>JsGlobalScopeContainerInitializer</code> registered onto the
- * extension point "org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer".
- * <p>
- * A container path must be formed of at least one segment, where: <ul>
- * <li> the first segment is a unique ID identifying the target container, there must be a container initializer registered
- * onto this ID through the extension point "org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer". </li>
- * <li> the remaining segments will be passed onto the initializer, and can be used as additional
- * hints during the initialization phase. </li>
- * </ul>
- * <p>
- * Example of an JsGlobalScopeContainerInitializer for a includepath container denoting a default JDK container:
- * <pre>
- * containerEntry = JavaScriptCore.newContainerEntry(new Path("MyProvidedJDK/default"));
- *
- * &lt;extension
- * point="org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer"&gt;
- * &lt;containerInitializer
- * id="MyProvidedJDK"
- * class="com.example.MyInitializer"/&gt;
- * </pre>
- * <p>
- * The access rules determine the set of accessible source and class files
- * in the container. If the list of access rules is empty, then all files
- * in this container are accessible.
- * See {@link IAccessRule} for a detailed description of access
- * rules. Note that if an entry defined by the container defines access rules,
- * then these access rules are combined with the given access rules.
- * The given access rules are considered first, then the entry's access rules are
- * considered.
- * </p>
- * <p>
- * The <code>extraAttributes</code> list contains name/value pairs that must be persisted with
- * this entry. If no extra attributes are provided, an empty array must be passed in.<br>
- * Note that this list should not contain any duplicate name.
- * </p>
- * <p>
- * The <code>isExported</code> flag indicates whether this entry is contributed to dependent
- * projects. If not exported, dependent projects will not see any of the classes from this entry.
- * If exported, dependent projects will concatenate the accessible files patterns of this entry with the
- * accessible files patterns of the projects, and they will concatenate the non accessible files patterns of this entry
- * with the non accessible files patterns of the project.
- * </p>
- * <p>
- * Note that this operation does not attempt to validate includepath containers
- * or access the resources at the given paths.
- * </p>
- *
- * @param containerPath the path identifying the container, it must be formed of at least
- * one segment (ID+hints)
- * @param accessRules the possibly empty list of access rules for this entry
- * @param extraAttributes the possibly empty list of extra attributes to persist with this entry
- * @param isExported a boolean indicating whether this entry is contributed to dependent
- * projects in addition to the output location
- * @return a new container includepath entry
- *
- * @see JavaScriptCore#getJsGlobalScopeContainer(IPath, IJavaScriptProject)
- * @see JavaScriptCore#setJsGlobalScopeContainer(IPath, IJavaScriptProject[], IJsGlobalScopeContainer[], IProgressMonitor)
- * @see JavaScriptCore#newContainerEntry(IPath, boolean)
- * @see JavaScriptCore#newAccessRule(IPath, int)
- */
- public static IIncludePathEntry newContainerEntry(
- IPath containerPath,
- IAccessRule[] accessRules,
- IIncludePathAttribute[] extraAttributes,
- boolean isExported) {
-
- if (containerPath == null) {
- Assert.isTrue(false, "Container path cannot be null"); //$NON-NLS-1$
- } else if (containerPath.segmentCount() < 1) {
- Assert.isTrue(
- false,
- "Illegal classpath container path: \'" + containerPath.makeRelative().toString() + "\', must have at least one segment (containerID+hints)"); //$NON-NLS-1$//$NON-NLS-2$
- }
- return new ClasspathEntry(
- IPackageFragmentRoot.K_SOURCE,
- IIncludePathEntry.CPE_CONTAINER,
- containerPath,
- ClasspathEntry.INCLUDE_ALL, // inclusion patterns
- ClasspathEntry.EXCLUDE_NONE, // exclusion patterns
- null, // source attachment
- null, // source attachment root
- null, // specific output folder
- isExported,
- accessRules,
- true, // combine access rules
- extraAttributes);
- }
-
- /**
- * Creates and returns a type hierarchy for all types in the given
- * region, considering subtypes within that region and considering types in the
- * working copies with the given owner.
- * In other words, the owner's working copies will take
- * precedence over their original javaScript units in the workspace.
- * <p>
- * Note that if a working copy is empty, it will be as if the original compilation
- * unit had been deleted.
- * <p>
- *
- * @param monitor the given progress monitor
- * @param region the given region
- * @param owner the owner of working copies that take precedence over their original javaScript units,
- * or <code>null</code> if the primary working copy owner should be used
- * @exception JavaScriptModelException if an element in the region does not exist or if an
- * exception occurs while accessing its corresponding resource
- * @exception IllegalArgumentException if region is <code>null</code>
- * @return a type hierarchy for all types in the given
- * region, considering subtypes within that region
- */
- public static ITypeHierarchy newTypeHierarchy(IRegion region, WorkingCopyOwner owner, IProgressMonitor monitor) throws JavaScriptModelException {
- if (region == null) {
- throw new IllegalArgumentException(Messages.hierarchy_nullRegion);
- }
- IJavaScriptUnit[] workingCopies = JavaModelManager.getJavaModelManager().getWorkingCopies(owner, true/*add primary working copies*/);
- CreateTypeHierarchyOperation op =
- new CreateTypeHierarchyOperation(region, workingCopies, null, true/*compute subtypes*/);
- op.runOperation(monitor);
- return op.getResult();
- }
-
- /**
- * Creates and returns a new non-exported includepath entry of kind <code>CPE_LIBRARY</code> for the
- * JAR or folder identified by the given absolute path. This specifies that all package fragments
- * within the root will have children of type <code>IClassFile</code>.
- * This method is fully equivalent to calling
- * {@link #newLibraryEntry(IPath, IPath, IPath, IAccessRule[], IIncludePathAttribute[], boolean)
- * newLibraryEntry(path, sourceAttachmentPath, sourceAttachmentRootPath, new IAccessRule[0], new IIncludePathAttribute[0], false)}.
- *
- * @param path the absolute path of the binary archive
- * @param sourceAttachmentPath the absolute path of the corresponding source archive or folder,
- * or <code>null</code> if none. Note, since 3.0, an empty path is allowed to denote no source attachment.
- * and will be automatically converted to <code>null</code>.
- * @param sourceAttachmentRootPath the location of the root of the source files within the source archive or folder
- * or <code>null</code> if this location should be automatically detected.
- * @return a new library includepath entry
- */
- public static IIncludePathEntry newLibraryEntry(
- IPath path,
- IPath sourceAttachmentPath,
- IPath sourceAttachmentRootPath) {
-
- return newLibraryEntry(
- path,
- sourceAttachmentPath,
- sourceAttachmentRootPath,
- ClasspathEntry.NO_ACCESS_RULES,
- ClasspathEntry.NO_EXTRA_ATTRIBUTES,
- false/*not exported*/);
- }
-
- /**
- * Creates and returns a new includepath entry of kind <code>CPE_LIBRARY</code> for the JAR or folder
- * identified by the given absolute path. This specifies that all package fragments within the root
- * will have children of type <code>IClassFile</code>.
- * This method is fully equivalent to calling
- * {@link #newLibraryEntry(IPath, IPath, IPath, IAccessRule[], IIncludePathAttribute[], boolean)
- * newLibraryEntry(path, sourceAttachmentPath, sourceAttachmentRootPath, new IAccessRule[0], new IIncludePathAttribute[0], isExported)}.
- *
- * @param path the absolute path of the binary archive
- * @param sourceAttachmentPath the absolute path of the corresponding source archive or folder,
- * or <code>null</code> if none. Note, since 3.0, an empty path is allowed to denote no source attachment.
- * and will be automatically converted to <code>null</code>.
- * @param sourceAttachmentRootPath the location of the root of the source files within the source archive or folder
- * or <code>null</code> if this location should be automatically detected.
- * @param isExported indicates whether this entry is contributed to dependent
- * projects in addition to the output location
- * @return a new library includepath entry
- */
- public static IIncludePathEntry newLibraryEntry(
- IPath path,
- IPath sourceAttachmentPath,
- IPath sourceAttachmentRootPath,
- boolean isExported) {
-
- return newLibraryEntry(
- path,
- sourceAttachmentPath,
- sourceAttachmentRootPath,
- ClasspathEntry.NO_ACCESS_RULES,
- ClasspathEntry.NO_EXTRA_ATTRIBUTES,
- isExported);
- }
-
- /**
- * Creates and returns a new includepath entry of kind <code>CPE_LIBRARY</code> for the JAR or folder
- * identified by the given absolute path. This specifies that all package fragments within the root
- * will have children of type <code>IClassFile</code>.
- * <p>
- * A library entry is used to denote a prerequisite JAR or root folder containing binaries.
- * The target JAR can either be defined internally to the workspace (absolute path relative
- * to the workspace root) or externally to the workspace (absolute path in the file system).
- * The target root folder can only be defined internally to the workspace (absolute path relative
- * to the workspace root). To use a binary folder external to the workspace, it must first be
- * linked (see IFolder#createLink(...)).
- * <p>
- * <p>
- * The <code>extraAttributes</code> list contains name/value pairs that must be persisted with
- * this entry. If no extra attributes are provided, an empty array must be passed in.<br>
- * Note that this list should not contain any duplicate name.
- * </p>
- * <p>
- * The <code>isExported</code> flag indicates whether this entry is contributed to dependent
- * projects. If not exported, dependent projects will not see any of the classes from this entry.
- * If exported, dependent projects will concatenate the accessible files patterns of this entry with the
- * accessible files patterns of the projects, and they will concatenate the non accessible files patterns of this entry
- * with the non accessible files patterns of the project.
- * </p>
- *
- * @param path the absolute path of the binary archive
- * @param sourceAttachmentPath the absolute path of the corresponding source archive or folder,
- * or <code>null</code> if none. Note, since 3.0, an empty path is allowed to denote no source attachment.
- * and will be automatically converted to <code>null</code>.
- * @param sourceAttachmentRootPath the location of the root of the source files within the source archive or folder
- * or <code>null</code> if this location should be automatically detected.
- * @param accessRules the possibly empty list of access rules for this entry
- * @param extraAttributes the possibly empty list of extra attributes to persist with this entry
- * @param isExported indicates whether this entry is contributed to dependent
- * projects in addition to the output location
- * @return a new library includepath entry
- */
- public static IIncludePathEntry newLibraryEntry(
- IPath path,
- IPath sourceAttachmentPath,
- IPath sourceAttachmentRootPath,
- IAccessRule[] accessRules,
- IIncludePathAttribute[] extraAttributes,
- boolean isExported) {
-
- if (path == null) Assert.isTrue(false, "Library path cannot be null"); //$NON-NLS-1$
- if (!path.isAbsolute()) Assert.isTrue(false, "Path for IIncludePathEntry must be absolute"); //$NON-NLS-1$
- if (sourceAttachmentPath != null) {
- if (sourceAttachmentPath.isEmpty()) {
- sourceAttachmentPath = null; // treat empty path as none
- } else if (!sourceAttachmentPath.isAbsolute()) {
- Assert.isTrue(false, "Source attachment path '" //$NON-NLS-1$
- + sourceAttachmentPath
- + "' for IIncludePathEntry must be absolute"); //$NON-NLS-1$
- }
- }
- return new ClasspathEntry(
- IPackageFragmentRoot.K_BINARY,
- IIncludePathEntry.CPE_LIBRARY,
- JavaProject.canonicalizedPath(path),
- ClasspathEntry.INCLUDE_ALL, // inclusion patterns
- ClasspathEntry.EXCLUDE_NONE, // exclusion patterns
- sourceAttachmentPath,
- sourceAttachmentRootPath,
- null, // specific output folder
- isExported,
- accessRules,
- false, // no access rules to combine
- extraAttributes);
- }
-
- /**
- * Creates and returns a new non-exported includepath entry of kind <code>CPE_PROJECT</code>
- * for the project identified by the given absolute path.
- * This method is fully equivalent to calling
- * {@link #newProjectEntry(IPath, IAccessRule[], boolean, IIncludePathAttribute[], boolean)
- * newProjectEntry(path, new IAccessRule[0], true, new IIncludePathAttribute[0], false)}.
- *
- * @param path the absolute path of the binary archive
- * @return a new project includepath entry
- */
- public static IIncludePathEntry newProjectEntry(IPath path) {
- return newProjectEntry(path, false);
- }
-
- /**
- * Creates and returns a new includepath entry of kind <code>CPE_PROJECT</code>
- * for the project identified by the given absolute path.
- * This method is fully equivalent to calling
- * {@link #newProjectEntry(IPath, IAccessRule[], boolean, IIncludePathAttribute[], boolean)
- * newProjectEntry(path, new IAccessRule[0], true, new IIncludePathAttribute[0], isExported)}.
- *
- * @param path the absolute path of the prerequisite project
- * @param isExported indicates whether this entry is contributed to dependent
- * projects in addition to the output location
- * @return a new project includepath entry
- */
- public static IIncludePathEntry newProjectEntry(IPath path, boolean isExported) {
-
- if (!path.isAbsolute()) Assert.isTrue(false, "Path for IIncludePathEntry must be absolute"); //$NON-NLS-1$
-
- return newProjectEntry(
- path,
- ClasspathEntry.NO_ACCESS_RULES,
- true,
- ClasspathEntry.NO_EXTRA_ATTRIBUTES,
- isExported);
- }
-
- /**
- * Creates and returns a new includepath entry of kind <code>CPE_PROJECT</code>
- * for the project identified by the given absolute path.
- * <p>
- * A project entry is used to denote a prerequisite project on a includepath.
- * The referenced project will be contributed as a whole, either as sources (in the JavaScript Model, it
- * contributes all its package fragment roots) or as binaries (when building, it contributes its
- * whole output location).
- * </p>
- * <p>
- * A project reference allows to indirect through another project, independently from its internal layout.
- * </p><p>
- * The prerequisite project is referred to using an absolute path relative to the workspace root.
- * </p>
- * <p>
- * The access rules determine the set of accessible class files
- * in the project. If the list of access rules is empty then all files
- * in this project are accessible.
- * See {@link IAccessRule} for a detailed description of access rules.
- * </p>
- * <p>
- * The <code>combineAccessRules</code> flag indicates whether access rules of one (or more)
- * exported entry of the project should be combined with the given access rules. If they should
- * be combined, the given access rules are considered first, then the entry's access rules are
- * considered.
- * </p>
- * <p>
- * The <code>extraAttributes</code> list contains name/value pairs that must be persisted with
- * this entry. If no extra attributes are provided, an empty array must be passed in.<br>
- * Note that this list should not contain any duplicate name.
- * </p>
- * <p>
- * The <code>isExported</code> flag indicates whether this entry is contributed to dependent
- * projects. If not exported, dependent projects will not see any of the classes from this entry.
- * If exported, dependent projects will concatenate the accessible files patterns of this entry with the
- * accessible files patterns of the projects, and they will concatenate the non accessible files patterns of this entry
- * with the non accessible files patterns of the project.
- * </p>
- *
- * @param path the absolute path of the prerequisite project
- * @param accessRules the possibly empty list of access rules for this entry
- * @param combineAccessRules whether the access rules of the project's exported entries should be combined with the given access rules
- * @param extraAttributes the possibly empty list of extra attributes to persist with this entry
- * @param isExported indicates whether this entry is contributed to dependent
- * projects in addition to the output location
- * @return a new project includepath entry
- */
- public static IIncludePathEntry newProjectEntry(
- IPath path,
- IAccessRule[] accessRules,
- boolean combineAccessRules,
- IIncludePathAttribute[] extraAttributes,
- boolean isExported) {
-
- if (!path.isAbsolute()) Assert.isTrue(false, "Path for IIncludePathEntry must be absolute"); //$NON-NLS-1$
-
- return new ClasspathEntry(
- IPackageFragmentRoot.K_SOURCE,
- IIncludePathEntry.CPE_PROJECT,
- path,
- ClasspathEntry.INCLUDE_ALL, // inclusion patterns
- ClasspathEntry.EXCLUDE_NONE, // exclusion patterns
- null, // source attachment
- null, // source attachment root
- null, // specific output folder
- isExported,
- accessRules,
- combineAccessRules,
- extraAttributes);
- }
-
- /**
- * Returns a new empty region.
- *
- * @return a new empty region
- */
- public static IRegion newRegion() {
- return new Region();
- }
-
- /**
- * Creates and returns a new includepath entry of kind <code>CPE_SOURCE</code>
- * for all files in the project's source folder identified by the given
- * absolute workspace-relative path.
- * <p>
- * The convenience method is fully equivalent to:
- * <pre>
- * newSourceEntry(path, new IPath[] {}, new IPath[] {}, null);
- * </pre>
- * </p>
- *
- * @param path the absolute workspace-relative path of a source folder
- * @return a new source includepath entry
- * @see #newSourceEntry(IPath, IPath[], IPath[], IPath)
- */
- public static IIncludePathEntry newSourceEntry(IPath path) {
-
- return newSourceEntry(path, ClasspathEntry.INCLUDE_ALL, ClasspathEntry.EXCLUDE_NONE, null /*output location*/);
- }
-
- /**
- * Creates and returns a new includepath entry of kind <code>CPE_SOURCE</code>
- * for the project's source folder identified by the given absolute
- * workspace-relative path but excluding all source files with paths
- * matching any of the given patterns.
- * <p>
- * The convenience method is fully equivalent to:
- * <pre>
- * newSourceEntry(path, new IPath[] {}, exclusionPatterns, null);
- * </pre>
- * </p>
- *
- * @param path the absolute workspace-relative path of a source folder
- * @param exclusionPatterns the possibly empty list of exclusion patterns
- * represented as relative paths
- * @return a new source includepath entry
- * @see #newSourceEntry(IPath, IPath[], IPath[], IPath)
- */
- public static IIncludePathEntry newSourceEntry(IPath path, IPath[] exclusionPatterns) {
-
- return newSourceEntry(path, ClasspathEntry.INCLUDE_ALL, exclusionPatterns, null /*output location*/);
- }
-
- /**
- * Creates and returns a new includepath entry of kind <code>CPE_SOURCE</code>
- * for the project's source folder identified by the given absolute
- * workspace-relative path but excluding all source files with paths
- * matching any of the given patterns, and associated with a specific output location
- * (that is, ".class" files are not going to the project default output location).
- * <p>
- * The convenience method is fully equivalent to:
- * <pre>
- * newSourceEntry(path, new IPath[] {}, exclusionPatterns, specificOutputLocation);
- * </pre>
- * </p>
- *
- * @param path the absolute workspace-relative path of a source folder
- * @param exclusionPatterns the possibly empty list of exclusion patterns
- * represented as relative paths
- * @param specificOutputLocation the specific output location for this source entry (<code>null</code> if using project default ouput location)
- * @return a new source includepath entry
- * @see #newSourceEntry(IPath, IPath[], IPath[], IPath)
- */
- public static IIncludePathEntry newSourceEntry(IPath path, IPath[] exclusionPatterns, IPath specificOutputLocation) {
-
- return newSourceEntry(path, ClasspathEntry.INCLUDE_ALL, exclusionPatterns, specificOutputLocation);
- }
-
- /**
- * Creates and returns a new includepath entry of kind <code>CPE_SOURCE</code>
- * for the project's source folder identified by the given absolute
- * workspace-relative path but excluding all source files with paths
- * matching any of the given patterns, and associated with a specific output location
- * (that is, ".class" files are not going to the project default output location).
- * <p>
- * The convenience method is fully equivalent to:
- * <pre>
- * newSourceEntry(path, new IPath[] {}, exclusionPatterns, specificOutputLocation, new IIncludePathAttribute[] {});
- * </pre>
- * </p>
- *
- * @param path the absolute workspace-relative path of a source folder
- * @param inclusionPatterns the possibly empty list of inclusion patterns
- * represented as relative paths
- * @param exclusionPatterns the possibly empty list of exclusion patterns
- * represented as relative paths
- * @param specificOutputLocation the specific output location for this source entry (<code>null</code> if using project default ouput location)
- * @return a new source includepath entry
- * @see #newSourceEntry(IPath, IPath[], IPath[], IPath, IIncludePathAttribute[])
- */
- public static IIncludePathEntry newSourceEntry(IPath path, IPath[] inclusionPatterns, IPath[] exclusionPatterns, IPath specificOutputLocation) {
- return newSourceEntry(path, inclusionPatterns, exclusionPatterns, specificOutputLocation, ClasspathEntry.NO_EXTRA_ATTRIBUTES);
- }
-
- /**
- * Creates and returns a new includepath entry of kind <code>CPE_SOURCE</code>
- * for the project's source folder identified by the given absolute
- * workspace-relative path using the given inclusion and exclusion patterns
- * to determine which source files are included, and the given output path
- * to control the output location of generated files.
- * <p>
- * The source folder is referred to using an absolute path relative to the
- * workspace root, e.g. <code>/Project/src</code>. A project's source
- * folders are located with that project. That is, a source includepath
- * entry specifying the path <code>/P1/src</code> is only usable for
- * project <code>P1</code>.
- * </p>
- * <p>
- * The inclusion patterns determines the initial set of source files that
- * are to be included; the exclusion patterns are then used to reduce this
- * set. When no inclusion patterns are specified, the initial file set
- * includes all relevent files in the resource tree rooted at the source
- * entry's path. On the other hand, specifying one or more inclusion
- * patterns means that all <b>and only</b> files matching at least one of
- * the specified patterns are to be included. If exclusion patterns are
- * specified, the initial set of files is then reduced by eliminating files
- * matched by at least one of the exclusion patterns. Inclusion and
- * exclusion patterns look like relative file paths with wildcards and are
- * interpreted relative to the source entry's path. File patterns are
- * case-sensitive can contain '**', '*' or '?' wildcards (see
- * {@link IIncludePathEntry#getExclusionPatterns()} for the full description
- * of their syntax and semantics). The resulting set of files are included
- * in the corresponding package fragment root; all package fragments within
- * the root will have children of type <code>IJavaScriptUnit</code>.
- * </p>
- * <p>
- * Also note that all sources/binaries inside a project are contributed as
- * a whole through a project entry
- * (see <code>JavaScriptCore.newProjectEntry</code>). Particular source entries
- * cannot be selectively exported.
- * </p>
- * <p>
- * The <code>extraAttributes</code> list contains name/value pairs that must be persisted with
- * this entry. If no extra attributes are provided, an empty array must be passed in.<br>
- * Note that this list should not contain any duplicate name.
- * </p>
- *
- * @param path the absolute workspace-relative path of a source folder
- * @param inclusionPatterns the possibly empty list of inclusion patterns
- * represented as relative paths
- * @param exclusionPatterns the possibly empty list of exclusion patterns
- * represented as relative paths
- * @param specificOutputLocation the specific output location for this source entry (<code>null</code> if using project default ouput location)
- * @param extraAttributes the possibly empty list of extra attributes to persist with this entry
- * @return a new source includepath entry with the given exclusion patterns
- * @see IIncludePathEntry#getInclusionPatterns()
- * @see IIncludePathEntry#getExclusionPatterns()
- * @see IIncludePathEntry#getOutputLocation()
- */
- public static IIncludePathEntry newSourceEntry(IPath path, IPath[] inclusionPatterns, IPath[] exclusionPatterns, IPath specificOutputLocation, IIncludePathAttribute[] extraAttributes) {
-
- if (path == null) Assert.isTrue(false, "Source path cannot be null"); //$NON-NLS-1$
- if (!path.isAbsolute()) Assert.isTrue(false, "Path for IIncludePathEntry must be absolute"); //$NON-NLS-1$
- if (exclusionPatterns == null) Assert.isTrue(false, "Exclusion pattern set cannot be null"); //$NON-NLS-1$
- if (inclusionPatterns == null) Assert.isTrue(false, "Inclusion pattern set cannot be null"); //$NON-NLS-1$
-
- return new ClasspathEntry(
- IPackageFragmentRoot.K_SOURCE,
- IIncludePathEntry.CPE_SOURCE,
- path,
- inclusionPatterns,
- exclusionPatterns,
- null, // source attachment
- null, // source attachment root
- specificOutputLocation, // custom output location
- false,
- null,
- false, // no access rules to combine
- extraAttributes);
- }
-
- /**
- * Creates and returns a new non-exported includepath entry of kind <code>CPE_VARIABLE</code>
- * for the given path. This method is fully equivalent to calling
- * {@link #newVariableEntry(IPath, IPath, IPath, IAccessRule[], IIncludePathAttribute[], boolean)
- * newVariableEntry(variablePath, variableSourceAttachmentPath, sourceAttachmentRootPath, new IAccessRule[0], new IIncludePathAttribute[0], false)}.
- *
- * @param variablePath the path of the binary archive; first segment is the
- * name of a includepath variable
- * @param variableSourceAttachmentPath the path of the corresponding source archive,
- * or <code>null</code> if none; if present, the first segment is the
- * name of a includepath variable (not necessarily the same variable
- * as the one that begins <code>variablePath</code>)
- * @param sourceAttachmentRootPath the location of the root of the source files within the source archive
- * or <code>null</code> if <code>variableSourceAttachmentPath</code> is also <code>null</code>
- * @return a new library includepath entry
- */
- public static IIncludePathEntry newVariableEntry(
- IPath variablePath,
- IPath variableSourceAttachmentPath,
- IPath sourceAttachmentRootPath) {
-
- return newVariableEntry(variablePath, variableSourceAttachmentPath, sourceAttachmentRootPath, false);
- }
-
- /**
- * Creates and returns a new includepath entry of kind <code>CPE_VARIABLE</code>
- * for the given path. This method is fully equivalent to calling
- * {@link #newVariableEntry(IPath, IPath, IPath, IAccessRule[], IIncludePathAttribute[], boolean)
- * newVariableEntry(variablePath, variableSourceAttachmentPath, sourceAttachmentRootPath, new IAccessRule[0], new IIncludePathAttribute[0], isExported)}.
- *
- * @param variablePath the path of the binary archive; first segment is the
- * name of a includepath variable
- * @param variableSourceAttachmentPath the path of the corresponding source archive,
- * or <code>null</code> if none; if present, the first segment is the
- * name of a includepath variable (not necessarily the same variable
- * as the one that begins <code>variablePath</code>)
- * @param variableSourceAttachmentRootPath the location of the root of the source files within the source archive
- * or <code>null</code> if <code>variableSourceAttachmentPath</code> is also <code>null</code>
- * @param isExported indicates whether this entry is contributed to dependent
- * projects in addition to the output location
- * @return a new variable includepath entry
- */
- public static IIncludePathEntry newVariableEntry(
- IPath variablePath,
- IPath variableSourceAttachmentPath,
- IPath variableSourceAttachmentRootPath,
- boolean isExported) {
-
- return newVariableEntry(
- variablePath,
- variableSourceAttachmentPath,
- variableSourceAttachmentRootPath,
- ClasspathEntry.NO_ACCESS_RULES,
- ClasspathEntry.NO_EXTRA_ATTRIBUTES,
- isExported);
- }
-
- /**
- * Creates and returns a new includepath entry of kind <code>CPE_VARIABLE</code>
- * for the given path. The first segment of the path is the name of a includepath variable.
- * The trailing segments of the path will be appended to resolved variable path.
- * <p>
- * A variable entry allows to express indirect references on a includepath to other projects or libraries,
- * depending on what the includepath variable is referring.
- * <p>
- * It is possible to register an automatic initializer (<code>JsGlobalScopeVariableInitializer</code>),
- * which will be invoked through the extension point "org.eclipse.wst.jsdt.core.JsGlobalScopeVariableInitializer".
- * After resolution, a includepath variable entry may either correspond to a project or a library entry.
- * <p>
- * The <code>extraAttributes</code> list contains name/value pairs that must be persisted with
- * this entry. If no extra attributes are provided, an empty array must be passed in.<br>
- * Note that this list should not contain any duplicate name.
- * </p>
- * <p>
- * The <code>isExported</code> flag indicates whether this entry is contributed to dependent
- * projects. If not exported, dependent projects will not see any of the classes from this entry.
- * If exported, dependent projects will concatenate the accessible files patterns of this entry with the
- * accessible files patterns of the projects, and they will concatenate the non accessible files patterns of this entry
- * with the non accessible files patterns of the project.
- * </p>
- * <p>
- * Note that this operation does not attempt to validate includepath variables
- * or access the resources at the given paths.
- * </p>
- *
- * @param variablePath the path of the binary archive; first segment is the
- * name of a includepath variable
- * @param variableSourceAttachmentPath the path of the corresponding source archive,
- * or <code>null</code> if none; if present, the first segment is the
- * name of a includepath variable (not necessarily the same variable
- * as the one that begins <code>variablePath</code>)
- * @param variableSourceAttachmentRootPath the location of the root of the source files within the source archive
- * or <code>null</code> if <code>variableSourceAttachmentPath</code> is also <code>null</code>
- * @param accessRules the possibly empty list of access rules for this entry
- * @param extraAttributes the possibly empty list of extra attributes to persist with this entry
- * @param isExported indicates whether this entry is contributed to dependent
- * projects in addition to the output location
- * @return a new variable includepath entry
- */
- public static IIncludePathEntry newVariableEntry(
- IPath variablePath,
- IPath variableSourceAttachmentPath,
- IPath variableSourceAttachmentRootPath,
- IAccessRule[] accessRules,
- IIncludePathAttribute[] extraAttributes,
- boolean isExported) {
-
- if (variablePath == null) Assert.isTrue(false, "Variable path cannot be null"); //$NON-NLS-1$
- if (variablePath.segmentCount() < 1) {
- Assert.isTrue(
- false,
- "Illegal includepath variable path: \'" + variablePath.makeRelative().toString() + "\', must have at least one segment"); //$NON-NLS-1$//$NON-NLS-2$
- }
-
- return new ClasspathEntry(
- IPackageFragmentRoot.K_SOURCE,
- IIncludePathEntry.CPE_VARIABLE,
- variablePath,
- ClasspathEntry.INCLUDE_ALL, // inclusion patterns
- ClasspathEntry.EXCLUDE_NONE, // exclusion patterns
- variableSourceAttachmentPath, // source attachment
- variableSourceAttachmentRootPath, // source attachment root
- null, // specific output folder
- isExported,
- accessRules,
- false, // no access rules to combine
- extraAttributes);
- }
-
- /**
- * Removed the given includepath variable. Does nothing if no value was
- * set for this includepath variable.
- * <p>
- * This functionality cannot be used while the resource tree is locked.
- * <p>
- * Includepath variable values are persisted locally to the workspace, and
- * are preserved from session to session.
- * <p>
- *
- * @param variableName the name of the includepath variable
- * @param monitor the progress monitor to report progress
- * @see #setIncludepathVariable(String, IPath)
- */
- public static void removeIncludepathVariable(String variableName, IProgressMonitor monitor) {
- try {
- SetVariablesOperation operation = new SetVariablesOperation(new String[]{ variableName}, new IPath[]{ null }, true/*update preferences*/);
- operation.runOperation(monitor);
- } catch (JavaScriptModelException e) {
- Util.log(e, "Exception while removing variable " + variableName); //$NON-NLS-1$
- }
- }
-
- /**
- * Removes the given element changed listener.
- * Has no affect if an identical listener is not registered.
- *
- * @param listener the listener
- */
- public static void removeElementChangedListener(IElementChangedListener listener) {
- JavaModelManager.getJavaModelManager().deltaState.removeElementChangedListener(listener);
- }
-
- /**
- * Removes the file extension from the given file name, if it has a JavaScript-like file
- * extension. Otherwise the file name itself is returned.
- * Note this removes the dot ('.') before the extension as well.
- *
- * @param fileName the name of a file
- * @return the fileName without the JavaScript-like extension
- */
- public static String removeJavaScriptLikeExtension(String fileName) {
- return Util.getNameWithoutJavaLikeExtension(fileName);
- }
-
- /**
- * Removes the given pre-processing resource changed listener.
- * <p>
- * Has no affect if an identical listener is not registered.
- *
- * @param listener the listener
- */
- public static void removePreProcessingResourceChangedListener(IResourceChangeListener listener) {
- JavaModelManager.getJavaModelManager().deltaState.removePreResourceChangedListener(listener);
- }
-
-
-
- /**
- * Runs the given action as an atomic JavaScript model operation.
- * <p>
- * After running a method that modifies javaScript elements,
- * registered listeners receive after-the-fact notification of
- * what just transpired, in the form of a element changed event.
- * This method allows clients to call a number of
- * methods that modify javaScript elements and only have element
- * changed event notifications reported at the end of the entire
- * batch.
- * </p>
- * <p>
- * If this method is called outside the dynamic scope of another such
- * call, this method runs the action and then reports a single
- * element changed event describing the net effect of all changes
- * done to javaScript elements by the action.
- * </p>
- * <p>
- * If this method is called in the dynamic scope of another such
- * call, this method simply runs the action.
- * </p>
- *
- * @param action the action to perform
- * @param monitor a progress monitor, or <code>null</code> if progress
- * reporting and cancellation are not desired
- * @exception CoreException if the operation failed.
- */
- public static void run(IWorkspaceRunnable action, IProgressMonitor monitor) throws CoreException {
- run(action, ResourcesPlugin.getWorkspace().getRoot(), monitor);
- }
- /**
- * Runs the given action as an atomic JavaScript model operation.
- * <p>
- * After running a method that modifies javaScript elements,
- * registered listeners receive after-the-fact notification of
- * what just transpired, in the form of a element changed event.
- * This method allows clients to call a number of
- * methods that modify javaScript elements and only have element
- * changed event notifications reported at the end of the entire
- * batch.
- * </p>
- * <p>
- * If this method is called outside the dynamic scope of another such
- * call, this method runs the action and then reports a single
- * element changed event describing the net effect of all changes
- * done to javaScript elements by the action.
- * </p>
- * <p>
- * If this method is called in the dynamic scope of another such
- * call, this method simply runs the action.
- * </p>
- * <p>
- * The supplied scheduling rule is used to determine whether this operation can be
- * run simultaneously with workspace changes in other threads. See
- * <code>IWorkspace.run(...)</code> for more details.
- * </p>
- *
- * @param action the action to perform
- * @param rule the scheduling rule to use when running this operation, or
- * <code>null</code> if there are no scheduling restrictions for this operation.
- * @param monitor a progress monitor, or <code>null</code> if progress
- * reporting and cancellation are not desired
- * @exception CoreException if the operation failed.
- */
- public static void run(IWorkspaceRunnable action, ISchedulingRule rule, IProgressMonitor monitor) throws CoreException {
- IWorkspace workspace = ResourcesPlugin.getWorkspace();
- if (workspace.isTreeLocked()) {
- new BatchOperation(action).run(monitor);
- } else {
- // use IWorkspace.run(...) to ensure that a build will be done in autobuild mode
- workspace.run(new BatchOperation(action), rule, IWorkspace.AVOID_UPDATE, monitor);
- }
- }
- /**
- * Bind a container reference path to some actual containers (<code>IJsGlobalScopeContainer</code>).
- * This API must be invoked whenever changes in container need to be reflected onto the JavaModel.
- * Containers can have distinct values in different projects, therefore this API considers a
- * set of projects with their respective containers.
- * <p>
- * <code>containerPath</code> is the path under which these values can be referenced through
- * container includepath entries (<code>IIncludePathEntry#CPE_CONTAINER</code>). A container path
- * is formed by a first ID segment followed with extra segments, which can be used as additional hints
- * for the resolution. The container ID is used to identify a <code>JsGlobalScopeContainerInitializer</code>
- * registered on the extension point "org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer".
- * <p>
- * There is no assumption that each individual container value passed in argument
- * (<code>respectiveContainers</code>) must answer the exact same path when requested
- * <code>IJsGlobalScopeContainer#getPath</code>.
- * Indeed, the containerPath is just an indication for resolving it to an actual container object. It can be
- * delegated to a <code>JsGlobalScopeContainerInitializer</code>, which can be activated through the extension
- * point "org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer").
- * <p>
- * In reaction to changing container values, the JavaModel will be updated to reflect the new
- * state of the updated container. A combined JavaScript element delta will be notified to describe the corresponding
- * includepath changes resulting from the container update. This operation is batched, and automatically eliminates
- * unnecessary updates (new container is same as old one). This operation acquires a lock on the workspace's root.
- * <p>
- * This functionality cannot be used while the workspace is locked, since
- * it may create/remove some resource markers.
- * <p>
- * Includepath container values are persisted locally to the workspace, but
- * are not preserved from a session to another. It is thus highly recommended to register a
- * <code>JsGlobalScopeContainerInitializer</code> for each referenced container
- * (through the extension point "org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer").
- * <p>
- * Note: setting a container to <code>null</code> will cause it to be lazily resolved again whenever
- * its value is required. In particular, this will cause a registered initializer to be invoked
- * again.
- * <p>
- * @param containerPath - the name of the container reference, which is being updated
- * @param affectedProjects - the set of projects for which this container is being bound
- * @param respectiveContainers - the set of respective containers for the affected projects
- * @param monitor a monitor to report progress
- * @throws JavaScriptModelException
- * @see JsGlobalScopeContainerInitializer
- * @see #getJsGlobalScopeContainer(IPath, IJavaScriptProject)
- * @see IJsGlobalScopeContainer
- */
- public static void setJsGlobalScopeContainer(IPath containerPath, IJavaScriptProject[] affectedProjects, IJsGlobalScopeContainer[] respectiveContainers, IProgressMonitor monitor) throws JavaScriptModelException {
- if (affectedProjects.length != respectiveContainers.length)
- Assert.isTrue(false, "Projects and containers collections should have the same size"); //$NON-NLS-1$
- SetContainerOperation operation = new SetContainerOperation(containerPath, affectedProjects, respectiveContainers);
-// operation.runOperation(monitor);
-
- operation.progressMonitor=monitor;
-
- operation.execute();
-
-
-
- }
-
- /**
- * Sets the value of the given includepath variable.
- * The path must have at least one segment.
- * <p>
- * This functionality cannot be used while the resource tree is locked.
- * <p>
- * Includepath variable values are persisted locally to the workspace, and
- * are preserved from session to session.
- * <p>
- *
- * @param variableName the name of the includepath variable
- * @param path the path
- * @throws JavaScriptModelException
- * @see #getIncludepathVariable(String)
- *
- * @deprecated Use {@link #setIncludepathVariable(String, IPath, IProgressMonitor)} instead
- */
- public static void setIncludepathVariable(String variableName, IPath path)
- throws JavaScriptModelException {
-
- setIncludepathVariable(variableName, path, null);
- }
-
- /**
- * Sets the value of the given includepath variable.
- * The path must not be null.
- * <p>
- * This functionality cannot be used while the resource tree is locked.
- * <p>
- * Includepath variable values are persisted locally to the workspace, and
- * are preserved from session to session.
- * <p>
- * Updating a variable with the same value has no effect.
- *
- * @param variableName the name of the includepath variable
- * @param path the path
- * @param monitor a monitor to report progress
- * @throws JavaScriptModelException
- * @see #getIncludepathVariable(String)
- */
- public static void setIncludepathVariable(
- String variableName,
- IPath path,
- IProgressMonitor monitor)
- throws JavaScriptModelException {
-
- if (path == null) Assert.isTrue(false, "Variable path cannot be null"); //$NON-NLS-1$
- setIncludepathVariables(new String[]{variableName}, new IPath[]{ path }, monitor);
- }
-
- /**
- * Sets the values of all the given includepath variables at once.
- * Null paths can be used to request corresponding variable removal.
- * <p>
- * A combined JavaScript element delta will be notified to describe the corresponding
- * includepath changes resulting from the variables update. This operation is batched,
- * and automatically eliminates unnecessary updates (new variable is same as old one).
- * This operation acquires a lock on the workspace's root.
- * <p>
- * This functionality cannot be used while the workspace is locked, since
- * it may create/remove some resource markers.
- * <p>
- * Includepath variable values are persisted locally to the workspace, and
- * are preserved from session to session.
- * <p>
- * Updating a variable with the same value has no effect.
- *
- * @param variableNames an array of names for the updated includepath variables
- * @param paths an array of path updates for the modified includepath variables (null
- * meaning that the corresponding value will be removed
- * @param monitor a monitor to report progress
- * @throws JavaScriptModelException
- * @see #getIncludepathVariable(String)
- */
- public static void setIncludepathVariables(
- String[] variableNames,
- IPath[] paths,
- IProgressMonitor monitor)
- throws JavaScriptModelException {
-
- if (variableNames.length != paths.length) Assert.isTrue(false, "Variable names and paths collections should have the same size"); //$NON-NLS-1$
- SetVariablesOperation operation = new SetVariablesOperation(variableNames, paths, true/*update preferences*/);
- operation.runOperation(monitor);
- }
-
- /**
- * Sets the default's validator options inside the given options map according
- * to the given compliance.
- *
- * <p>The given compliance must be one of the compliance supported by the validator.
- * See {@link #getDefaultOptions()} for a list of compliance values.</p>
- *
- * <p>The list of modified options is:</p>
- * <ul>
- * <li>{@link #COMPILER_CODEGEN_TARGET_PLATFORM}</li>
- * <li>{@link #COMPILER_SOURCE}</li>
- * <li>{@link #COMPILER_COMPLIANCE}</li>
- * <li>{@link #COMPILER_PB_ASSERT_IDENTIFIER}</li>
- * <li>{@link #COMPILER_PB_ENUM_IDENTIFIER}</li>
- * </ul>
- *
- * <p>If the given compliance is unknown, the given map is unmodified.</p>
- *
- * @param compliance the given compliance
- * @param options the given options map
- */
- public static void setComplianceOptions(String compliance, Map options) {
- switch((int) (CompilerOptions.versionToJdkLevel(compliance) >>> 16)) {
- case ClassFileConstants.MAJOR_VERSION_1_3:
- options.put(JavaScriptCore.COMPILER_COMPLIANCE, JavaScriptCore.VERSION_1_3);
- options.put(JavaScriptCore.COMPILER_SOURCE, JavaScriptCore.VERSION_1_3);
- options.put(JavaScriptCore.COMPILER_CODEGEN_TARGET_PLATFORM, JavaScriptCore.VERSION_1_1);
- options.put(JavaScriptCore.COMPILER_PB_ASSERT_IDENTIFIER, JavaScriptCore.IGNORE);
- options.put(JavaScriptCore.COMPILER_PB_ENUM_IDENTIFIER, JavaScriptCore.IGNORE);
- break;
- case ClassFileConstants.MAJOR_VERSION_1_4:
- options.put(JavaScriptCore.COMPILER_COMPLIANCE, JavaScriptCore.VERSION_1_4);
- options.put(JavaScriptCore.COMPILER_SOURCE, JavaScriptCore.VERSION_1_3);
- options.put(JavaScriptCore.COMPILER_CODEGEN_TARGET_PLATFORM, JavaScriptCore.VERSION_1_2);
- options.put(JavaScriptCore.COMPILER_PB_ASSERT_IDENTIFIER, JavaScriptCore.WARNING);
- options.put(JavaScriptCore.COMPILER_PB_ENUM_IDENTIFIER, JavaScriptCore.WARNING);
- break;
- case ClassFileConstants.MAJOR_VERSION_1_5:
- options.put(JavaScriptCore.COMPILER_COMPLIANCE, JavaScriptCore.VERSION_1_5);
- options.put(JavaScriptCore.COMPILER_SOURCE, JavaScriptCore.VERSION_1_5);
- options.put(JavaScriptCore.COMPILER_CODEGEN_TARGET_PLATFORM, JavaScriptCore.VERSION_1_5);
- options.put(JavaScriptCore.COMPILER_PB_ASSERT_IDENTIFIER, JavaScriptCore.ERROR);
- options.put(JavaScriptCore.COMPILER_PB_ENUM_IDENTIFIER, JavaScriptCore.ERROR);
- break;
- case ClassFileConstants.MAJOR_VERSION_1_6:
- options.put(JavaScriptCore.COMPILER_COMPLIANCE, JavaScriptCore.VERSION_1_6);
- options.put(JavaScriptCore.COMPILER_SOURCE, JavaScriptCore.VERSION_1_6);
- options.put(JavaScriptCore.COMPILER_CODEGEN_TARGET_PLATFORM, JavaScriptCore.VERSION_1_6);
- options.put(JavaScriptCore.COMPILER_PB_ASSERT_IDENTIFIER, JavaScriptCore.ERROR);
- options.put(JavaScriptCore.COMPILER_PB_ENUM_IDENTIFIER, JavaScriptCore.ERROR);
- break;
- case ClassFileConstants.MAJOR_VERSION_1_7:
- options.put(JavaScriptCore.COMPILER_COMPLIANCE, JavaScriptCore.VERSION_1_7);
- options.put(JavaScriptCore.COMPILER_SOURCE, JavaScriptCore.VERSION_1_7);
- options.put(JavaScriptCore.COMPILER_CODEGEN_TARGET_PLATFORM, JavaScriptCore.VERSION_1_7);
- options.put(JavaScriptCore.COMPILER_PB_ASSERT_IDENTIFIER, JavaScriptCore.ERROR);
- options.put(JavaScriptCore.COMPILER_PB_ENUM_IDENTIFIER, JavaScriptCore.ERROR);
- }
- }
-
- /**
- * Sets the current table of options. All and only the options explicitly
- * included in the given table are remembered; all previous option settings
- * are forgotten, including ones not explicitly mentioned.
- * <p>
- * For a complete description of the configurable options, see
- * <code>getDefaultOptions</code>.
- * </p>
- *
- * @param newOptions
- * the new options (key type: <code>String</code>; value type:
- * <code>String</code>), or <code>null</code> to reset all
- * options to their default values
- * @see JavaScriptCore#getDefaultOptions()
- * @see org.eclipse.wst.jsdt.internal.core.JavaCorePreferenceInitializer for changing default settings
- */
- public static void setOptions(Hashtable newOptions) {
- JavaModelManager.getJavaModelManager().setOptions(newOptions);
- }
-
- /* (non-Javadoc)
- * Shutdown the JavaScriptCore plug-in.
- * <p>
- * De-registers the JavaModelManager as a resource changed listener and save participant.
- * <p>
- * @see org.eclipse.core.runtime.Plugin#stop(BundleContext)
- */
- public void stop(BundleContext context) throws Exception {
- try {
- JavaModelManager.getJavaModelManager().shutdown();
- } finally {
- // ensure we call super.stop as the last thing
- super.stop(context);
- }
- }
-
- /* (non-Javadoc)
- * Startup the JavaScriptCore plug-in.
- * <p>
- * Registers the JavaModelManager as a resource changed listener and save participant.
- * Starts the background indexing, and restore saved includepath variable values.
- * <p>
- * @throws Exception
- * @see org.eclipse.core.runtime.Plugin#start(BundleContext)
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- JavaModelManager.getJavaModelManager().startup();
- }
- public static String getSystemPath()
- {
- URL url=FileLocator.find(getJavaScriptCore().getBundle(),new Path("libraries"),null); //$NON-NLS-1$
- return url.getFile();
- }
-
-
- public static boolean isReadOnly(IResource resource)
- {
- QualifiedName qn=new QualifiedName(JavaScriptCore.PLUGIN_ID,JavaScriptCore.READ_ONLY_SOURCE_PROPERTY);
- try {
- String persistentProperty = resource.getPersistentProperty(qn);
- return "true".equals(persistentProperty);
- } catch (CoreException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- return false;
- }
-
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JavaScriptModelException.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JavaScriptModelException.java
deleted file mode 100644
index daed7799..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JavaScriptModelException.java
+++ /dev/null
@@ -1,176 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import java.io.PrintStream;
-import java.io.PrintWriter;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.wst.jsdt.internal.core.JavaModelStatus;
-
-/**
- * A checked exception representing a failure in the JavaScript model.
- * JavaScript model exceptions contain a JavaScript-specific status object describing the
- * cause of the exception.
- * <p>
- * This class is not intended to be subclassed by clients. Instances of this
- * class are automatically created by the JavaScript model when problems arise, so
- * there is generally no need for clients to create instances.
- * </p>
- *
- * @see IJavaScriptModelStatus
- * @see IJavaScriptModelStatusConstants
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public class JavaScriptModelException extends CoreException {
-
- private static final long serialVersionUID = -760398656505871287L; // backward compatible
-
- CoreException nestedCoreException;
-/**
- * Creates a JavaScript model exception that wrappers the given <code>Throwable</code>.
- * The exception contains a JavaScript-specific status object with severity
- * <code>IStatus.ERROR</code> and the given status code.
- *
- * @param e the <code>Throwable</code>
- * @param code one of the JavaScript-specific status codes declared in
- * <code>IJavaScriptModelStatusConstants</code>
- * @see IJavaScriptModelStatusConstants
- * @see org.eclipse.core.runtime.IStatus#ERROR
- */
-public JavaScriptModelException(Throwable e, int code) {
- this(new JavaModelStatus(code, e));
-}
-/**
- * Creates a JavaScript model exception for the given <code>CoreException</code>.
- * Equivalent to
- * <code>JavaScriptModelException(exception,IJavaScriptModelStatusConstants.CORE_EXCEPTION</code>.
- *
- * @param exception the <code>CoreException</code>
- */
-public JavaScriptModelException(CoreException exception) {
- super(exception.getStatus());
- this.nestedCoreException = exception;
-}
-/**
- * Creates a JavaScript model exception for the given JavaScript-specific status object.
- *
- * @param status the JavaScript-specific status object
- */
-public JavaScriptModelException(IJavaScriptModelStatus status) {
- super(status);
-}
-/**
- * Returns the underlying <code>Throwable</code> that caused the failure.
- *
- * @return the wrappered <code>Throwable</code>, or <code>null</code> if the
- * direct case of the failure was at the JavaScript model layer
- */
-public Throwable getException() {
- if (this.nestedCoreException == null) {
- return getStatus().getException();
- } else {
- return this.nestedCoreException;
- }
-}
-/**
- * Returns the JavaScript model status object for this exception.
- * Equivalent to <code>(IJavaScriptModelStatus) getStatus()</code>.
- *
- * @return a status object
- */
-public IJavaScriptModelStatus getJavaScriptModelStatus() {
- IStatus status = this.getStatus();
- if (status instanceof IJavaScriptModelStatus) {
- return (IJavaScriptModelStatus)status;
- } else {
- // A regular IStatus is created only in the case of a CoreException.
- // See bug 13492 Should handle JavaModelExceptions that contains CoreException more gracefully
- return new JavaModelStatus(this.nestedCoreException);
- }
-}
-/**
- * Returns whether this exception indicates that a JavaScript model element does not
- * exist. Such exceptions have a status with a code of
- * <code>IJavaScriptModelStatusConstants.ELEMENT_DOES_NOT_EXIST</code> or
- * <code>IJavaScriptModelStatusConstants.ELEMENT_NOT_ON_CLASSPATH</code>.
- * This is a convenience method.
- *
- * @return <code>true</code> if this exception indicates that a JavaScript model
- * element does not exist
- * @see IJavaScriptModelStatus#isDoesNotExist()
- * @see IJavaScriptModelStatusConstants#ELEMENT_DOES_NOT_EXIST
- * @see IJavaScriptModelStatusConstants#ELEMENT_NOT_ON_CLASSPATH
- */
-public boolean isDoesNotExist() {
- IJavaScriptModelStatus javaModelStatus = getJavaScriptModelStatus();
- return javaModelStatus != null && javaModelStatus.isDoesNotExist();
-}
-
-/**
- * Prints this exception's stack trace to the given print stream.
- *
- * @param output the print stream
- */
-public void printStackTrace(PrintStream output) {
- synchronized(output) {
- super.printStackTrace(output);
- Throwable throwable = getException();
- if (throwable != null) {
- output.print("Caused by: "); //$NON-NLS-1$
- throwable.printStackTrace(output);
- }
- }
-}
-
-/**
- * Prints this exception's stack trace to the given print writer.
- *
- * @param output the print writer
- */
-public void printStackTrace(PrintWriter output) {
- synchronized(output) {
- super.printStackTrace(output);
- Throwable throwable = getException();
- if (throwable != null) {
- output.print("Caused by: "); //$NON-NLS-1$
- throwable.printStackTrace(output);
- }
- }
-}
-/*
- * Returns a printable representation of this exception suitable for debugging
- * purposes only.
- */
-public String toString() {
- StringBuffer buffer= new StringBuffer();
- buffer.append("JavaScript Model Exception: "); //$NON-NLS-1$
- if (getException() != null) {
- if (getException() instanceof CoreException) {
- CoreException c= (CoreException)getException();
- buffer.append("Core Exception [code "); //$NON-NLS-1$
- buffer.append(c.getStatus().getCode());
- buffer.append("] "); //$NON-NLS-1$
- buffer.append(c.getStatus().getMessage());
- } else {
- buffer.append(getException().toString());
- }
- } else {
- buffer.append(getStatus().toString());
- }
- return buffer.toString();
-}
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.java
deleted file mode 100644
index 9240312e..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.java
+++ /dev/null
@@ -1,335 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- * IBM Corporation - added support for requesting updates of a particular
- * container for generic container operations.
- * - canUpdateJsGlobalScopeContainer(IPath, IJavaScriptProject)
- * - requestJsGlobalScopeContainerUpdate(IPath, IJavaScriptProject, IJsGlobalScopeContainer)
- * IBM Corporation - allow initializers to provide a readable description
- * of a container reference, ahead of actual resolution.
- * - getDescription(IPath, IJavaScriptProject)
- *******************************************************************************/
-package org.eclipse.wst.jsdt.core;
-
-import java.net.URI;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.jsdt.core.compiler.libraries.LibraryLocation;
-import org.eclipse.wst.jsdt.internal.core.JavaModelStatus;
-
-/**
- * Abstract base implementation of all includepath container initializer.
- * Includepath variable containers are used in conjunction with the
- * "org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer" extension point.
- * <p>
- * Clients should subclass this class to implement a specific includepath
- * container initializer. The subclass must have a public 0-argument
- * constructor and a concrete implementation of <code>initialize</code>.
- * <p>
- * Multiple includepath containers can be registered, each of them declares
- * the container ID they can handle, so as to narrow the set of containers they
- * can resolve, in other words, a container initializer is guaranteed to only be
- * activated to resolve containers which match the ID they registered onto.
- * <p>
- * In case multiple container initializers collide on the same container ID, the first
- * registered one will be invoked.
- *
- * @see IIncludePathEntry
- * @see IJsGlobalScopeContainer
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public abstract class JsGlobalScopeContainerInitializer implements IJsGlobalScopeContainerInitializer, IJsGlobalScopeContainer {
-
- /**
- * Status code indicating that an attribute is not supported.
- *
- * @see #getAccessRulesStatus(IPath, IJavaScriptProject)
- * @see #getAttributeStatus(IPath, IJavaScriptProject, String)
- * @see #getSourceAttachmentStatus(IPath, IJavaScriptProject)
- *
- */
- public static final int ATTRIBUTE_NOT_SUPPORTED = 1;
-
- /**
- * Status code indicating that an attribute is not modifiable.
- *
- * @see #getAccessRulesStatus(IPath, IJavaScriptProject)
- * @see #getAttributeStatus(IPath, IJavaScriptProject, String)
- * @see #getSourceAttachmentStatus(IPath, IJavaScriptProject)
- *
- */
- public static final int ATTRIBUTE_READ_ONLY = 2;
-
- /**
- * Creates a new includepath container initializer.
- */
- public JsGlobalScopeContainerInitializer() {
- // a includepath container initializer must have a public 0-argument constructor
- }
-
- public void initialize(IPath containerPath, IJavaScriptProject project) throws CoreException {
- JavaScriptCore.setJsGlobalScopeContainer(containerPath, new IJavaScriptProject[] { project }, new IJsGlobalScopeContainer[] { getContainer(containerPath, project) }, null);
- }
-
- protected IJsGlobalScopeContainer getContainer(IPath containerPath, IJavaScriptProject project) {
- return this;
- }
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.core.IJsGlobalScopeContainerInitialzer#canUpdateJsGlobalScopeContainer(org.eclipse.core.runtime.IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)
- */
- public boolean canUpdateJsGlobalScopeContainer(IPath containerPath, IJavaScriptProject project) {
- if(project==null || containerPath==null) return true;
- LibrarySuperType superType = project.getCommonSuperType();
- return superType!=null && superType.getRawContainerPath().equals(getPath());
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.core.IJsGlobalScopeContainerInitialzer#requestJsGlobalScopeContainerUpdate(org.eclipse.core.runtime.IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject, org.eclipse.wst.jsdt.core.IJsGlobalScopeContainer)
- */
- public void requestJsGlobalScopeContainerUpdate(IPath containerPath, IJavaScriptProject project, IJsGlobalScopeContainer containerSuggestion) throws CoreException {
-
- // By default, includepath container initializers do not accept updating containers
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.core.IJsGlobalScopeContainerInitialzer#getDescription(org.eclipse.core.runtime.IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)
- */
- public String getDescription(IPath containerPath, IJavaScriptProject project) {
-
- // By default, a container path is the only available description
- return containerPath.makeRelative().toString();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.core.IJsGlobalScopeContainerInitialzer#getFailureContainer(org.eclipse.core.runtime.IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)
- */
- public IJsGlobalScopeContainer getFailureContainer(final IPath containerPath, IJavaScriptProject project) {
- final String description = getDescription(containerPath, project);
- return
- new IJsGlobalScopeContainer() {
- /**
- * @deprecated Use {@link #getIncludepathEntries()} instead
- */
- public IIncludePathEntry[] getClasspathEntries() {
- return getIncludepathEntries();
- }
- public IIncludePathEntry[] getIncludepathEntries() {
- return new IIncludePathEntry[0];
- }
- public String getDescription() {
- return description;
- }
- public int getKind() {
- return 0;
- }
- public IPath getPath() {
- return containerPath;
- }
- public String toString() {
- return getDescription();
- }
- public String[] resolvedLibraryImport(String a) {
- return new String[] {a};
- }
- };
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.core.IJsGlobalScopeContainerInitialzer#getComparisonID(org.eclipse.core.runtime.IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)
- */
- public Object getComparisonID(IPath containerPath, IJavaScriptProject project) {
-
- // By default, containers are identical if they have the same containerPath first segment,
- // but this may be refined by other container initializer implementations.
- if (containerPath == null) {
- return null;
- } else {
- return containerPath.segment(0);
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.core.IJsGlobalScopeContainerInitialzer#getHostPath(org.eclipse.core.runtime.IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)
- */
- public URI getHostPath(IPath path, IJavaScriptProject project) {
- return null;
- }
-
- public boolean allowAttachJsDoc() { return true; }
- /*
- * returns a String of all SuperTypes provided by this library.
- */
- public String[] containerSuperTypes() {return new String[0];}
-
- /* Return a string of imports to replace the real imports for. necisary for toolkits and other t
- * things that may have a certain import best for runtime but not best for building a model
- *
- */
- public String[] resolvedLibraryImport(String realImport) {
- return new String[] {realImport};
- }
-
-
- /**
- * @deprecated Use {@link #getIncludepathEntries()} instead
- */
- public IIncludePathEntry[] getClasspathEntries() {
- return getIncludepathEntries();
- }
-
- public IIncludePathEntry[] getIncludepathEntries() {
- LibraryLocation libLocation = getLibraryLocation();
- char[][] filesInLibs = libLocation.getLibraryFileNames();
- IIncludePathEntry[] entries = new IIncludePathEntry[filesInLibs.length];
- for (int i = 0; i < entries.length; i++) {
- IPath workingLibPath = new Path(libLocation.getLibraryPath(filesInLibs[i]));
- entries[i] = JavaScriptCore.newLibraryEntry(workingLibPath.makeAbsolute(), null, null, new IAccessRule[0], new IIncludePathAttribute[0], true);
- }
- return entries;
- }
-
- public String getDescription() {
- return null;
- }
-
- public int getKind() {
-
- return K_APPLICATION;
- }
-
- public IPath getPath() {
-
- return null;
- }
- /**
- * Returns the access rules attribute status according to this initializer.
- * <p>
- * The returned {@link IStatus status} can have one of the following severities:
- * <ul>
- * <li>{@link IStatus#OK OK}: means that the attribute is supported
- * <strong>and</strong> is modifiable</li>
- * <li>{@link IStatus#ERROR ERROR}: means that either the attribute
- * is not supported or is not modifiable.<br>
- * In this case, the {@link IStatus#getCode() code}will have
- * respectively the {@link #ATTRIBUTE_NOT_SUPPORTED} value
- * or the {@link #ATTRIBUTE_READ_ONLY} value.</li>
- * </ul>
- * </p><p>
- * The status message can contain more information.
- * </p><p>
- * If the subclass does not override this method, then the default behavior is
- * to return {@link IStatus#OK OK} if and only if the includepath container can
- * be updated (see {@link #canUpdateJsGlobalScopeContainer(IPath, IJavaScriptProject)}).
- * </p>
- *
- * @param containerPath the path of the container which requires to be
- * updated
- * @param project the project for which the container is to be updated
- * @return returns the access rules attribute status
- *
- */
- public IStatus getAccessRulesStatus(IPath containerPath, IJavaScriptProject project) {
-
- if (canUpdateJsGlobalScopeContainer(containerPath, project)) {
- return Status.OK_STATUS;
- }
- return new JavaModelStatus(ATTRIBUTE_READ_ONLY);
- }
-
- /**
- * Returns the extra attribute status according to this initializer.
- * <p>
- * The returned {@link IStatus status} can have one of the following severities:
- * <ul>
- * <li>{@link IStatus#OK OK}: means that the attribute is supported
- * <strong>and</strong> is modifiable</li>
- * <li>{@link IStatus#ERROR ERROR}: means that either the attribute
- * is not supported or is not modifiable.<br>
- * In this case, the {@link IStatus#getCode() code}will have
- * respectively the {@link #ATTRIBUTE_NOT_SUPPORTED} value
- * or the {@link #ATTRIBUTE_READ_ONLY} value.</li>
- * </ul>
- * </p><p>
- * The status message can contain more information.
- * </p><p>
- * If the subclass does not override this method, then the default behavior is
- * to return {@link IStatus#OK OK} if and only if the includepath container can
- * be updated (see {@link #canUpdateJsGlobalScopeContainer(IPath, IJavaScriptProject)}).
- * </p>
- *
- * @param containerPath the path of the container which requires to be
- * updated
- * @param project the project for which the container is to be updated
- * @param attributeKey the key of the extra attribute
- * @return returns the extra attribute status
- * @see IIncludePathAttribute
- */
- public IStatus getAttributeStatus(IPath containerPath, IJavaScriptProject project, String attributeKey) {
-
- if (canUpdateJsGlobalScopeContainer(containerPath, project)) {
- return Status.OK_STATUS;
- }
- return new JavaModelStatus(ATTRIBUTE_READ_ONLY);
- }
-
- /**
- * Returns the source attachment attribute status according to this initializer.
- * <p>
- * The returned {@link IStatus status} can have one of the following severities:
- * <ul>
- * <li>{@link IStatus#OK OK}: means that the attribute is supported
- * <strong>and</strong> is modifiable</li>
- * <li>{@link IStatus#ERROR ERROR}: means that either the attribute
- * is not supported or is not modifiable.<br>
- * In this case, the {@link IStatus#getCode() code}will have
- * respectively the {@link #ATTRIBUTE_NOT_SUPPORTED} value
- * or the {@link #ATTRIBUTE_READ_ONLY} value.</li>
- * </ul>
- * </p><p>
- * The status message can contain more information.
- * </p><p>
- * If the subclass does not override this method, then the default behavior is
- * to return {@link IStatus#OK OK} if and only if the includepath container can
- * be updated (see {@link #canUpdateJsGlobalScopeContainer(IPath, IJavaScriptProject)}).
- * </p>
- *
- * @param containerPath the path of the container which requires to be
- * updated
- * @param project the project for which the container is to be updated
- * @return returns the source attachment attribute status
- */
- public IStatus getSourceAttachmentStatus(IPath containerPath, IJavaScriptProject project) {
-
- if (canUpdateJsGlobalScopeContainer(containerPath, project)) {
- return Status.OK_STATUS;
- }
- return new JavaModelStatus(ATTRIBUTE_READ_ONLY);
- }
-
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.core.IJsGlobalScopeContainerInitialzer#getInferenceID()
- */
- public String getInferenceID()
- {
- return null;
- }
-
- public void removeFromProject(IJavaScriptProject project) {}
-
-}
-
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JsGlobalScopeVariableInitializer.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JsGlobalScopeVariableInitializer.java
deleted file mode 100644
index 5d6540bc..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/JsGlobalScopeVariableInitializer.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.wst.jsdt.core;
-
-/**
- * Abstract base implementation of all includepath variable initializers.
- * Includepath variable initializers are used in conjunction with the
- * "org.eclipse.wst.jsdt.core.JsGlobalScopeVariableInitializer" extension point.
- * <p>
- * Clients should subclass this class to implement a specific includepath
- * variable initializer. The subclass must have a public 0-argument
- * constructor and a concrete implementation of <code>initialize</code>.
- *
- * @see IIncludePathEntry
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- */
-public abstract class JsGlobalScopeVariableInitializer {
-
- /**
- * Creates a new includepath variable initializer.
- */
- public JsGlobalScopeVariableInitializer() {
- // a includepath variable initializer must have a public 0-argument constructor
- }
-
- /**
- * Binds a value to the workspace includepath variable with the given name,
- * or fails silently if this cannot be done.
- * <p>
- * A variable initializer is automatically activated whenever a variable value
- * is needed and none has been recorded so far. The implementation of
- * the initializer can set the corresponding variable using
- * <code>JavaScriptCore#setClasspathVariable</code>.
- *
- * @param variable the name of the workspace includepath variable
- * that requires a binding
- *
- * @see JavaScriptCore#getIncludepathVariable(String)
- * @see JavaScriptCore#setIncludepathVariable(String, org.eclipse.core.runtime.IPath, org.eclipse.core.runtime.IProgressMonitor)
- * @see JavaScriptCore#setIncludepathVariables(String[], org.eclipse.core.runtime.IPath[], org.eclipse.core.runtime.IProgressMonitor)
- */
- public abstract void initialize(String variable);
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/LibrarySuperType.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/LibrarySuperType.java
deleted file mode 100644
index fba5ee7d..00000000
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/LibrarySuperType.java
+++ /dev/null
@@ -1,196 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/**
- *
- */
-package org.eclipse.wst.jsdt.core;
-
-import java.util.ArrayList;
-
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-
-
-/**
- *
- * Provisional API: This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- *
- */
-public class LibrarySuperType {
- IPath cpEntry;
- String superTypeName;
- String libraryName;
- IJavaScriptProject javaProject;
-
- public static final String SUPER_TYPE_CONTAINER= "org.eclipse.wst.jsdt.ui.superType.container"; //$NON-NLS-1$
- public static final String SUPER_TYPE_NAME= "org.eclipse.wst.jsdt.ui.superType.name"; //$NON-NLS-1$
-
- /* Only one superTypeName per instance so enforce that */
- public LibrarySuperType(IPath classPathEntry, IJavaScriptProject project, String superTypeName) {
- this.cpEntry = classPathEntry;
- this.superTypeName = superTypeName;
- this.javaProject = project;
- this.libraryName = initLibraryName();
-
- }
-
- public LibrarySuperType(String classPathEntry, IJavaScriptProject project, String superTypeName) {
- this(new Path(classPathEntry),project,superTypeName);
- }
- /* Construct parent */
- public LibrarySuperType(IPath classPathEntry, IJavaScriptProject project) {
- this(classPathEntry,project, null);
- }
-
- public IPath getRawContainerPath() {
- return cpEntry;
- }
-
- public boolean hasChildren() {
- /* defined super type meeans I'm a child */
- if(superTypeName!=null) return false;
- JsGlobalScopeContainerInitializer init = getContainerInitializer();
- if (init == null) return false;
- String[] availableSuperTypes = init.containerSuperTypes();
- return availableSuperTypes!=null && availableSuperTypes.length>0;
- }
-
- public LibrarySuperType[] getChildren() {
- if(superTypeName!=null) return new LibrarySuperType[0];
- return getFlatLibrarySuperTypes(cpEntry,javaProject);
- }
-
- public LibrarySuperType getParent() {
- if(superTypeName==null) return null;
- return new LibrarySuperType(cpEntry,javaProject, null);
- }
-
- public boolean isParent() {
- return getParent()==null;
- }
-
- public JsGlobalScopeContainerInitializer getContainerInitializer() {
- return getContainerInitializer(cpEntry);
- }
-
- public IIncludePathEntry[] getClasspathEntries() {
- IJsGlobalScopeContainer container=null;
- try {
- container = JavaScriptCore.getJsGlobalScopeContainer(this.cpEntry, this.javaProject);
- } catch (JavaScriptModelException ex) {
- // TODO Auto-generated catch block
- ex.printStackTrace();
- }
- if(container!=null) return container.getIncludepathEntries();
-
- return new IIncludePathEntry[0];
- }
-
- private static LibrarySuperType[] getFlatLibrarySuperTypes(IPath classPathEntry, IJavaScriptProject javaProject) {
- JsGlobalScopeContainerInitializer init = getContainerInitializer(classPathEntry);
- if (init == null) return new LibrarySuperType[0];
- String[] availableSuperTypes = init.containerSuperTypes();
- LibrarySuperType[] libSupers = new LibrarySuperType[availableSuperTypes.length];
- for (int i = 0; i < availableSuperTypes.length; i++) {
- libSupers[i] = new LibrarySuperType(classPathEntry, javaProject, availableSuperTypes[i]);
- }
- return libSupers;
- }
-
- public String getSuperTypeName() {
- return superTypeName;
- }
-
- public String getLibraryName() {
- return libraryName;
- }
-
- private String initLibraryName() {
- JsGlobalScopeContainerInitializer init = getContainerInitializer();
-
- /* parent node */
- if(superTypeName==null) {
- if(init==null) {
- return cpEntry.toString();
- }
- return init.getDescription(cpEntry, javaProject);
- }
- Object parent = getParent();
- if(!(parent instanceof LibrarySuperType)) return null;
- return ((LibrarySuperType)parent).getLibraryName();
- }
-
- public String toString() {
- //JsGlobalScopeContainerInitializer init = getContainerInitializer();
-
- /* parent node */
- if(isParent()) {
- return getLibraryName();
-
- }
-
- return Messages.getString("LibrarySuperType.0", new Object[]{superTypeName, getLibraryName()}); //$NON-NLS-1$
- }
-
- public boolean equals(Object o) {
- if(!(o instanceof LibrarySuperType)) return false;
-
- LibrarySuperType other = (LibrarySuperType)o;
-
-
-
- if(other.cpEntry!=null && !other.cpEntry.equals(cpEntry)) {
- return false;
- }
-
- if((other.superTypeName==superTypeName)) {
- return true;
- }
-
- if(other.superTypeName!=null && superTypeName!=null) {
- return other.superTypeName.equals(superTypeName);
- }
-
- return false;
- }
-
- public IPackageFragment[] getPackageFragments(){
- IIncludePathEntry[] entries = getClasspathEntries();
- ArrayList allFrags = new ArrayList();
-
- try {
- for(int i = 0;i<entries.length;i++) {
- IPath path = entries[i].getPath();
- IPackageFragmentRoot root = javaProject.findPackageFragmentRoot(path.makeAbsolute());
-
- IJavaScriptElement[] children = root.getChildren();
- for(int k = 0;k<children.length;k++) {
- if(children[k] instanceof IPackageFragment) {
- allFrags.add(children[k]);
- }
- }
- }
- } catch (JavaScriptModelException ex) {
- // TODO Auto-generated catch block
- ex.printStackTrace();
- }
- return (IPackageFragment[])allFrags.toArray(new IPackageFragment[allFrags.size()]);
- }
-
- public static JsGlobalScopeContainerInitializer getContainerInitializer(IPath classPathEntry) {
- if(classPathEntry==null ) return null;
- JsGlobalScopeContainerInitializer initializer= JavaScriptCore.getJsGlobalScopeContainerInitializer(classPathEntry.segment(0));
- return initializer ;
- }
-}
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/Messages.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/Messages.java