diff options
author | Andrew John Hughes <ahughes@redhat.com> | 2011-01-11 19:46:05 +0000 |
---|---|---|
committer | Andrew John Hughes <gandalf@gcc.gnu.org> | 2011-01-11 19:46:05 +0000 |
commit | dc6715320db92089b3c1b046157b56b5680738a5 (patch) | |
tree | 0da7dbb2f6c016ebe1a6d0bf012840bd76da9170 /libjava/classpath/tools | |
parent | 9a270ad3c0ba0eb21d09657f8fb3a7786a69ec5d (diff) | |
download | gcc-dc6715320db92089b3c1b046157b56b5680738a5.zip gcc-dc6715320db92089b3c1b046157b56b5680738a5.tar.gz gcc-dc6715320db92089b3c1b046157b56b5680738a5.tar.bz2 |
Normalise whitespace in GNU Classpath.
2010-06-03 Andrew John Hughes <ahughes@redhat.com>
* examples/gnu/classpath/examples/CORBA/NamingService/Demo.java,
* examples/gnu/classpath/examples/CORBA/SimpleCommunication/Demo.java,
* examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPass.java,
* examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturn.java,
* examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNode.java,
* examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisException.java,
* examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisExceptionHelper.java,
* examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_DemoTesterImplBase.java,
* examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_DemoTesterStub.java,
* examples/gnu/classpath/examples/CORBA/swing/x5/CanvasWorld.java,
* examples/gnu/classpath/examples/CORBA/swing/x5/ChatConstants.java,
* examples/gnu/classpath/examples/CORBA/swing/x5/ClientFrame.java,
* examples/gnu/classpath/examples/CORBA/swing/x5/Demo.java,
* examples/gnu/classpath/examples/CORBA/swing/x5/GameManager.java,
* examples/gnu/classpath/examples/CORBA/swing/x5/GameManagerImpl.java,
* examples/gnu/classpath/examples/CORBA/swing/x5/IorReader.java,
* examples/gnu/classpath/examples/CORBA/swing/x5/OrbStarter.java,
* examples/gnu/classpath/examples/CORBA/swing/x5/Player.java,
* examples/gnu/classpath/examples/CORBA/swing/x5/PlayerImpl.java,
* examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java,
* examples/gnu/classpath/examples/CORBA/swing/x5/State.java,
* examples/gnu/classpath/examples/CORBA/swing/x5/X5Server.java,
* examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
* examples/gnu/classpath/examples/CORBA/swing/x5/_GameManager_Stub.java,
* examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java,
* examples/gnu/classpath/examples/CORBA/swing/x5/_Player_Stub.java,
* examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java,
* examples/gnu/classpath/examples/awt/Demo.java,
* examples/gnu/classpath/examples/awt/HintingDemo.java,
* examples/gnu/classpath/examples/datatransfer/Demo.java,
* examples/gnu/classpath/examples/html/Demo.java,
* examples/gnu/classpath/examples/java2d/J2dBenchmark.java,
* examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java,
* examples/gnu/classpath/examples/java2d/JNIOverhead.java,
* examples/gnu/classpath/examples/jawt/DemoJAWT.java,
* examples/gnu/classpath/examples/management/TestClassLoading.java,
* examples/gnu/classpath/examples/management/TestCompilation.java,
* examples/gnu/classpath/examples/management/TestGarbageCollector.java,
* examples/gnu/classpath/examples/management/TestMemory.java,
* examples/gnu/classpath/examples/management/TestMemoryManager.java,
* examples/gnu/classpath/examples/management/TestMemoryPool.java,
* examples/gnu/classpath/examples/management/TestThread.java,
* examples/gnu/classpath/examples/midi/Demo.java,
* examples/gnu/classpath/examples/print/Demo.java,
* examples/gnu/classpath/examples/sound/AudioPlayerSample.java,
* examples/gnu/classpath/examples/swing/BrowserEditorKit.java,
* examples/gnu/classpath/examples/swing/ButtonDemo.java,
* examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
* examples/gnu/classpath/examples/swing/Demo.java,
* examples/gnu/classpath/examples/swing/DemoFactory.java,
* examples/gnu/classpath/examples/swing/DocumentFilterDemo.java,
* examples/gnu/classpath/examples/swing/FileChooserDemo.java,
* examples/gnu/classpath/examples/swing/HtmlDemo.java,
* examples/gnu/classpath/examples/swing/ListDemo.java,
* examples/gnu/classpath/examples/swing/MetalThemeEditor.java,
* examples/gnu/classpath/examples/swing/NavigationFilterDemo.java,
* examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
* examples/gnu/classpath/examples/swing/SliderDemo.java,
* examples/gnu/classpath/examples/swing/SpinnerDemo.java,
* examples/gnu/classpath/examples/swing/TabbedPaneDemo.java,
* examples/gnu/classpath/examples/swing/TableDemo.java,
* examples/gnu/classpath/examples/swing/TextAreaDemo.java,
* examples/gnu/classpath/examples/swing/TextFieldDemo.java,
* examples/gnu/classpath/examples/swing/TreeDemo.java,
* external/jsr166/java/util/ArrayDeque.java,
* external/jsr166/java/util/concurrent/ArrayBlockingQueue.java,
* external/jsr166/java/util/concurrent/ConcurrentHashMap.java,
* external/jsr166/java/util/concurrent/ConcurrentSkipListMap.java,
* external/jsr166/java/util/concurrent/ConcurrentSkipListSet.java,
* external/jsr166/java/util/concurrent/CopyOnWriteArraySet.java,
* external/jsr166/java/util/concurrent/CyclicBarrier.java,
* external/jsr166/java/util/concurrent/DelayQueue.java,
* external/jsr166/java/util/concurrent/Executors.java,
* external/jsr166/java/util/concurrent/FutureTask.java,
* external/jsr166/java/util/concurrent/LinkedBlockingDeque.java,
* external/jsr166/java/util/concurrent/LinkedBlockingQueue.java,
* external/jsr166/java/util/concurrent/PriorityBlockingQueue.java,
* external/jsr166/java/util/concurrent/ScheduledExecutorService.java,
* external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java,
* external/jsr166/java/util/concurrent/Semaphore.java,
* external/jsr166/java/util/concurrent/SynchronousQueue.java,
* external/jsr166/java/util/concurrent/ThreadPoolExecutor.java,
* external/jsr166/java/util/concurrent/atomic/AtomicInteger.java,
* external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java,
* external/jsr166/java/util/concurrent/atomic/AtomicLong.java,
* external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java,
* external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java,
* external/jsr166/java/util/concurrent/locks/AbstractQueuedLongSynchronizer.java,
* external/jsr166/java/util/concurrent/locks/AbstractQueuedSynchronizer.java,
* external/jsr166/java/util/concurrent/locks/ReentrantReadWriteLock.java,
* external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
* external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
* external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
* external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
* external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
* external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
* external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
* external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
* external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
* external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
* external/sax/org/xml/sax/AttributeList.java,
* external/sax/org/xml/sax/Attributes.java,
* external/sax/org/xml/sax/ContentHandler.java,
* external/sax/org/xml/sax/DTDHandler.java,
* external/sax/org/xml/sax/DocumentHandler.java,
* external/sax/org/xml/sax/EntityResolver.java,
* external/sax/org/xml/sax/ErrorHandler.java,
* external/sax/org/xml/sax/HandlerBase.java,
* external/sax/org/xml/sax/InputSource.java,
* external/sax/org/xml/sax/Locator.java,
* external/sax/org/xml/sax/Parser.java,
* external/sax/org/xml/sax/SAXException.java,
* external/sax/org/xml/sax/SAXNotRecognizedException.java,
* external/sax/org/xml/sax/SAXNotSupportedException.java,
* external/sax/org/xml/sax/SAXParseException.java,
* external/sax/org/xml/sax/XMLReader.java,
* external/sax/org/xml/sax/ext/Attributes2.java,
* external/sax/org/xml/sax/ext/Attributes2Impl.java,
* external/sax/org/xml/sax/ext/DeclHandler.java,
* external/sax/org/xml/sax/ext/DefaultHandler2.java,
* external/sax/org/xml/sax/ext/EntityResolver2.java,
* external/sax/org/xml/sax/ext/LexicalHandler.java,
* external/sax/org/xml/sax/ext/Locator2.java,
* external/sax/org/xml/sax/ext/Locator2Impl.java,
* external/sax/org/xml/sax/helpers/AttributeListImpl.java,
* external/sax/org/xml/sax/helpers/AttributesImpl.java,
* external/sax/org/xml/sax/helpers/DefaultHandler.java,
* external/sax/org/xml/sax/helpers/LocatorImpl.java,
* external/sax/org/xml/sax/helpers/NamespaceSupport.java,
* external/sax/org/xml/sax/helpers/NewInstance.java,
* external/sax/org/xml/sax/helpers/ParserAdapter.java,
* external/sax/org/xml/sax/helpers/ParserFactory.java,
* external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
* external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
* external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
* external/w3c_dom/org/w3c/dom/Attr.java,
* external/w3c_dom/org/w3c/dom/CDATASection.java,
* external/w3c_dom/org/w3c/dom/CharacterData.java,
* external/w3c_dom/org/w3c/dom/Comment.java,
* external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
* external/w3c_dom/org/w3c/dom/DOMError.java,
* external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
* external/w3c_dom/org/w3c/dom/DOMException.java,
* external/w3c_dom/org/w3c/dom/DOMImplementation.java,
* external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
* external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
* external/w3c_dom/org/w3c/dom/DOMLocator.java,
* external/w3c_dom/org/w3c/dom/DOMStringList.java,
* external/w3c_dom/org/w3c/dom/Document.java,
* external/w3c_dom/org/w3c/dom/DocumentFragment.java,
* external/w3c_dom/org/w3c/dom/DocumentType.java,
* external/w3c_dom/org/w3c/dom/Element.java,
* external/w3c_dom/org/w3c/dom/Entity.java,
* external/w3c_dom/org/w3c/dom/EntityReference.java,
* external/w3c_dom/org/w3c/dom/NameList.java,
* external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
* external/w3c_dom/org/w3c/dom/Node.java,
* external/w3c_dom/org/w3c/dom/NodeList.java,
* external/w3c_dom/org/w3c/dom/Notation.java,
* external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
* external/w3c_dom/org/w3c/dom/Text.java,
* external/w3c_dom/org/w3c/dom/TypeInfo.java,
* external/w3c_dom/org/w3c/dom/UserDataHandler.java,
* external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
* external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
* external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
* external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
* external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
* external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
* external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
* external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
* external/w3c_dom/org/w3c/dom/css/CSSRule.java,
* external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
* external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
* external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
* external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
* external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
* external/w3c_dom/org/w3c/dom/css/CSSValue.java,
* external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
* external/w3c_dom/org/w3c/dom/css/Counter.java,
* external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
* external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
* external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
* external/w3c_dom/org/w3c/dom/css/RGBColor.java,
* external/w3c_dom/org/w3c/dom/css/Rect.java,
* external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
* external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
* external/w3c_dom/org/w3c/dom/events/Event.java,
* external/w3c_dom/org/w3c/dom/events/EventException.java,
* external/w3c_dom/org/w3c/dom/events/EventListener.java,
* external/w3c_dom/org/w3c/dom/events/EventTarget.java,
* external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
* external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
* external/w3c_dom/org/w3c/dom/events/UIEvent.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
* external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
* external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
* external/w3c_dom/org/w3c/dom/ls/LSException.java,
* external/w3c_dom/org/w3c/dom/ls/LSInput.java,
* external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
* external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
* external/w3c_dom/org/w3c/dom/ls/LSParser.java,
* external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
* external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
* external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
* external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
* external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
* external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
* external/w3c_dom/org/w3c/dom/ranges/Range.java,
* external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
* external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
* external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
* external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
* external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
* external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
* external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
* external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
* external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
* external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
* external/w3c_dom/org/w3c/dom/views/AbstractView.java,
* external/w3c_dom/org/w3c/dom/views/DocumentView.java,
* external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
* external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
* external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
* external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
* external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
* external/w3c_dom/org/w3c/dom/xpath/XPathResult.java,
* gnu/CORBA/BigDecimalHelper.java,
* gnu/CORBA/CDR/AbstractCdrInput.java,
* gnu/CORBA/CDR/AbstractCdrOutput.java,
* gnu/CORBA/CDR/AbstractDataInput.java,
* gnu/CORBA/CDR/AbstractDataOutput.java,
* gnu/CORBA/CDR/AligningInput.java,
* gnu/CORBA/CDR/AligningOutput.java,
* gnu/CORBA/CDR/ArrayValueHelper.java,
* gnu/CORBA/CDR/BigEndianInputStream.java,
* gnu/CORBA/CDR/BigEndianOutputStream.java,
* gnu/CORBA/CDR/BufferedCdrOutput.java,
* gnu/CORBA/CDR/BufferredCdrInput.java,
* gnu/CORBA/CDR/HeadlessInput.java,
* gnu/CORBA/CDR/IDLTypeHelper.java,
* gnu/CORBA/CDR/LittleEndianOutputStream.java,
* gnu/CORBA/CDR/UnknownExceptionCtxHandler.java,
* gnu/CORBA/CDR/VMVio.java,
* gnu/CORBA/CDR/Vio.java,
* gnu/CORBA/CDR/gnuRuntime.java,
* gnu/CORBA/CDR/gnuValueStream.java,
* gnu/CORBA/CdrEncapsCodecImpl.java,
* gnu/CORBA/CollocatedOrbs.java,
* gnu/CORBA/Connected_objects.java,
* gnu/CORBA/DefaultSocketFactory.java,
* gnu/CORBA/DuplicateNameHolder.java,
* gnu/CORBA/DynAn/AbstractAny.java,
* gnu/CORBA/DynAn/DivideableAny.java,
* gnu/CORBA/DynAn/NameValuePairHolder.java,
* gnu/CORBA/DynAn/RecordAny.java,
* gnu/CORBA/DynAn/ValueChangeListener.java,
* gnu/CORBA/DynAn/gnuDynAny.java,
* gnu/CORBA/DynAn/gnuDynAnyFactory.java,
* gnu/CORBA/DynAn/gnuDynArray.java,
* gnu/CORBA/DynAn/gnuDynEnum.java,
* gnu/CORBA/DynAn/gnuDynFixed.java,
* gnu/CORBA/DynAn/gnuDynSequence.java,
* gnu/CORBA/DynAn/gnuDynUnion.java,
* gnu/CORBA/DynAn/gnuDynValue.java,
* gnu/CORBA/DynAn/gnuDynValueBox.java,
* gnu/CORBA/DynAnySeqHolder.java,
* gnu/CORBA/EmptyExceptionHolder.java,
* gnu/CORBA/ForwardRequestHelper.java,
* gnu/CORBA/GIOP/CharSets_OSF.java,
* gnu/CORBA/GIOP/CloseMessage.java,
* gnu/CORBA/GIOP/ErrorMessage.java,
* gnu/CORBA/GIOP/MessageHeader.java,
* gnu/CORBA/GIOP/ServiceContext.java,
* gnu/CORBA/GIOP/v1_2/RequestHeader.java,
* gnu/CORBA/GeneralHolder.java,
* gnu/CORBA/IOR.java,
* gnu/CORBA/Interceptor/ClientRequestInterceptors.java,
* gnu/CORBA/Interceptor/ForwardRequestHolder.java,
* gnu/CORBA/Interceptor/IORInterceptors.java,
* gnu/CORBA/Interceptor/Registrator.java,
* gnu/CORBA/Interceptor/ServerRequestInterceptors.java,
* gnu/CORBA/Interceptor/gnuClientRequestInfo.java,
* gnu/CORBA/Interceptor/gnuIcCurrent.java,
* gnu/CORBA/Interceptor/gnuIorInfo.java,
* gnu/CORBA/Interceptor/gnuServerRequestInfo.java,
* gnu/CORBA/IorDelegate.java,
* gnu/CORBA/IorObject.java,
* gnu/CORBA/Minor.java,
* gnu/CORBA/NameDynAnyPairHolder.java,
* gnu/CORBA/NameDynAnyPairSeqHolder.java,
* gnu/CORBA/NameValuePairHolder.java,
* gnu/CORBA/NameValuePairSeqHolder.java,
* gnu/CORBA/NamingService/NameParser.java,
* gnu/CORBA/NamingService/NamingMap.java,
* gnu/CORBA/NamingService/NamingServiceTransient.java,
* gnu/CORBA/NamingService/TransientContext.java,
* gnu/CORBA/ObjectCreator.java,
* gnu/CORBA/OrbFocused.java,
* gnu/CORBA/OrbFunctional.java,
* gnu/CORBA/OrbRestricted.java,
* gnu/CORBA/Poa/AOM.java,
* gnu/CORBA/Poa/AccessiblePolicy.java,
* gnu/CORBA/Poa/DynamicImpHandler.java,
* gnu/CORBA/Poa/ForwardRequestHolder.java,
* gnu/CORBA/Poa/ForwardedServant.java,
* gnu/CORBA/Poa/InvalidPolicyHolder.java,
* gnu/CORBA/Poa/LocalDelegate.java,
* gnu/CORBA/Poa/LocalRequest.java,
* gnu/CORBA/Poa/LocalServerRequest.java,
* gnu/CORBA/Poa/ORB_1_4.java,
* gnu/CORBA/Poa/ServantDelegateImpl.java,
* gnu/CORBA/Poa/StandardPolicies.java,
* gnu/CORBA/Poa/gnuAdapterActivator.java,
* gnu/CORBA/Poa/gnuForwardRequest.java,
* gnu/CORBA/Poa/gnuIdAssignmentPolicy.java,
* gnu/CORBA/Poa/gnuIdUniquenessPolicy.java,
* gnu/CORBA/Poa/gnuImplicitActivationPolicy.java,
* gnu/CORBA/Poa/gnuLifespanPolicy.java,
* gnu/CORBA/Poa/gnuPOA.java,
* gnu/CORBA/Poa/gnuPOAManager.java,
* gnu/CORBA/Poa/gnuPoaCurrent.java,
* gnu/CORBA/Poa/gnuRequestProcessingPolicy.java,
* gnu/CORBA/Poa/gnuServantObject.java,
* gnu/CORBA/Poa/gnuServantRetentionPolicy.java,
* gnu/CORBA/Poa/gnuThreadPolicy.java,
* gnu/CORBA/ServiceRequestAdapter.java,
* gnu/CORBA/SetOverrideTypeHolder.java,
* gnu/CORBA/SimpleDelegate.java,
* gnu/CORBA/SocketRepository.java,
* gnu/CORBA/StreamHolder.java,
* gnu/CORBA/TypeCodeHelper.java,
* gnu/CORBA/TypeKindNamer.java,
* gnu/CORBA/Version.java,
* gnu/CORBA/_PolicyImplBase.java,
* gnu/CORBA/gnuAny.java,
* gnu/CORBA/gnuCodecFactory.java,
* gnu/CORBA/gnuEnvironment.java,
* gnu/CORBA/gnuRequest.java,
* gnu/CORBA/gnuValueHolder.java,
* gnu/CORBA/interfaces/SocketFactory.java,
* gnu/CORBA/typecodes/AliasTypeCode.java,
* gnu/CORBA/typecodes/ArrayTypeCode.java,
* gnu/CORBA/typecodes/FixedTypeCode.java,
* gnu/CORBA/typecodes/GeneralTypeCode.java,
* gnu/CORBA/typecodes/PrimitiveTypeCode.java,
* gnu/CORBA/typecodes/RecordTypeCode.java,
* gnu/CORBA/typecodes/RecursiveTypeCode.java,
* gnu/CORBA/typecodes/StringTypeCode.java,
* gnu/classpath/Pair.java,
* gnu/classpath/Pointer.java,
* gnu/classpath/Pointer32.java,
* gnu/classpath/Pointer64.java,
* gnu/classpath/ServiceFactory.java,
* gnu/classpath/ServiceProviderLoadingAction.java,
* gnu/classpath/SystemProperties.java,
* gnu/classpath/debug/Component.java,
* gnu/classpath/debug/PreciseFilter.java,
* gnu/classpath/debug/SystemLogger.java,
* gnu/classpath/debug/TeeInputStream.java,
* gnu/classpath/debug/TeeReader.java,
* gnu/classpath/jdwp/Jdwp.java,
* gnu/classpath/jdwp/JdwpConstants.java,
* gnu/classpath/jdwp/event/BreakpointEvent.java,
* gnu/classpath/jdwp/event/ClassPrepareEvent.java,
* gnu/classpath/jdwp/event/ClassUnloadEvent.java,
* gnu/classpath/jdwp/event/Event.java,
* gnu/classpath/jdwp/event/EventManager.java,
* gnu/classpath/jdwp/event/EventRequest.java,
* gnu/classpath/jdwp/event/ExceptionEvent.java,
* gnu/classpath/jdwp/event/MethodEntryEvent.java,
* gnu/classpath/jdwp/event/MethodExitEvent.java,
* gnu/classpath/jdwp/event/SingleStepEvent.java,
* gnu/classpath/jdwp/event/ThreadEndEvent.java,
* gnu/classpath/jdwp/event/VmDeathEvent.java,
* gnu/classpath/jdwp/event/VmInitEvent.java,
* gnu/classpath/jdwp/event/filters/ClassExcludeFilter.java,
* gnu/classpath/jdwp/event/filters/ClassMatchFilter.java,
* gnu/classpath/jdwp/event/filters/ClassOnlyFilter.java,
* gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java,
* gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java,
* gnu/classpath/jdwp/event/filters/InstanceOnlyFilter.java,
* gnu/classpath/jdwp/event/filters/StepFilter.java,
* gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java,
* gnu/classpath/jdwp/exception/InvalidClassException.java,
* gnu/classpath/jdwp/exception/InvalidClassLoaderException.java,
* gnu/classpath/jdwp/exception/InvalidEventTypeException.java,
* gnu/classpath/jdwp/exception/InvalidFieldException.java,
* gnu/classpath/jdwp/exception/InvalidFrameException.java,
* gnu/classpath/jdwp/exception/InvalidLocationException.java,
* gnu/classpath/jdwp/exception/InvalidMethodException.java,
* gnu/classpath/jdwp/exception/InvalidObjectException.java,
* gnu/classpath/jdwp/exception/InvalidSlotException.java,
* gnu/classpath/jdwp/exception/InvalidStringException.java,
* gnu/classpath/jdwp/exception/InvalidThreadException.java,
* gnu/classpath/jdwp/exception/InvalidThreadGroupException.java,
* gnu/classpath/jdwp/exception/NativeMethodException.java,
* gnu/classpath/jdwp/exception/NotImplementedException.java,
* gnu/classpath/jdwp/id/JdwpId.java,
* gnu/classpath/jdwp/id/NullObjectId.java,
* gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java,
* gnu/classpath/jdwp/processor/ArrayTypeCommandSet.java,
* gnu/classpath/jdwp/processor/ClassLoaderReferenceCommandSet.java,
* gnu/classpath/jdwp/processor/ClassObjectReferenceCommandSet.java,
* gnu/classpath/jdwp/processor/ClassTypeCommandSet.java,
* gnu/classpath/jdwp/processor/CommandSet.java,
* gnu/classpath/jdwp/processor/EventRequestCommandSet.java,
* gnu/classpath/jdwp/processor/FieldCommandSet.java,
* gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java,
* gnu/classpath/jdwp/processor/MethodCommandSet.java,
* gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java,
* gnu/classpath/jdwp/processor/PacketProcessor.java,
* gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java,
* gnu/classpath/jdwp/processor/StackFrameCommandSet.java,
* gnu/classpath/jdwp/processor/StringReferenceCommandSet.java,
* gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java,
* gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java,
* gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java,
* gnu/classpath/jdwp/transport/JdwpCommandPacket.java,
* gnu/classpath/jdwp/transport/JdwpConnection.java,
* gnu/classpath/jdwp/transport/JdwpPacket.java,
* gnu/classpath/jdwp/transport/JdwpReplyPacket.java,
* gnu/classpath/jdwp/transport/SocketTransport.java,
* gnu/classpath/jdwp/transport/TransportFactory.java,
* gnu/classpath/jdwp/util/JdwpString.java,
* gnu/classpath/jdwp/util/LineTable.java,
* gnu/classpath/jdwp/util/Location.java,
* gnu/classpath/jdwp/util/MethodResult.java,
* gnu/classpath/jdwp/util/MonitorInfo.java,
* gnu/classpath/jdwp/util/Signature.java,
* gnu/classpath/jdwp/util/VariableTable.java,
* gnu/classpath/jdwp/value/ArrayValue.java,
* gnu/classpath/jdwp/value/BooleanValue.java,
* gnu/classpath/jdwp/value/ByteValue.java,
* gnu/classpath/jdwp/value/CharValue.java,
* gnu/classpath/jdwp/value/DoubleValue.java,
* gnu/classpath/jdwp/value/FloatValue.java,
* gnu/classpath/jdwp/value/IntValue.java,
* gnu/classpath/jdwp/value/LongValue.java,
* gnu/classpath/jdwp/value/ObjectValue.java,
* gnu/classpath/jdwp/value/ShortValue.java,
* gnu/classpath/jdwp/value/StringValue.java,
* gnu/classpath/jdwp/value/Value.java,
* gnu/classpath/jdwp/value/ValueFactory.java,
* gnu/classpath/jdwp/value/VoidValue.java,
* gnu/classpath/toolkit/DefaultDaemonThreadFactory.java,
* gnu/java/awt/AWTUtilities.java,
* gnu/java/awt/BitMaskExtent.java,
* gnu/java/awt/BitwiseXORComposite.java,
* gnu/java/awt/Buffers.java,
* gnu/java/awt/ClasspathGraphicsEnvironment.java,
* gnu/java/awt/ClasspathToolkit.java,
* gnu/java/awt/ComponentDataBlitOp.java,
* gnu/java/awt/EmbeddedWindow.java,
* gnu/java/awt/GradientPaintContext.java,
* gnu/java/awt/color/CieXyzConverter.java,
* gnu/java/awt/color/ClutProfileConverter.java,
* gnu/java/awt/color/ColorLookUpTable.java,
* gnu/java/awt/color/GrayProfileConverter.java,
* gnu/java/awt/color/GrayScaleConverter.java,
* gnu/java/awt/color/LinearRGBConverter.java,
* gnu/java/awt/color/ProfileHeader.java,
* gnu/java/awt/color/RgbProfileConverter.java,
* gnu/java/awt/color/SrgbConverter.java,
* gnu/java/awt/color/ToneReproductionCurve.java,
* gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java,
* gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java,
* gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java,
* gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java,
* gnu/java/awt/font/FontDelegate.java,
* gnu/java/awt/font/FontFactory.java,
* gnu/java/awt/font/GNUGlyphVector.java,
* gnu/java/awt/font/OpenTypeFontPeer.java,
* gnu/java/awt/font/autofit/GlyphHints.java,
* gnu/java/awt/font/autofit/Latin.java,
* gnu/java/awt/font/autofit/Utils.java,
* gnu/java/awt/font/opentype/CharGlyphMap.java,
* gnu/java/awt/font/opentype/GlyphNamer.java,
* gnu/java/awt/font/opentype/MacResourceFork.java,
* gnu/java/awt/font/opentype/NameDecoder.java,
* gnu/java/awt/font/opentype/OpenTypeFont.java,
* gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
* gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
* gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
* gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
* gnu/java/awt/font/opentype/truetype/Point.java,
* gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
* gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
* gnu/java/awt/font/opentype/truetype/Zone.java,
* gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
* gnu/java/awt/image/AsyncImage.java,
* gnu/java/awt/image/ImageConverter.java,
* gnu/java/awt/image/ImageDecoder.java,
* gnu/java/awt/image/XBMDecoder.java,
* gnu/java/awt/java2d/AbstractGraphics2D.java,
* gnu/java/awt/java2d/AlphaCompositeContext.java,
* gnu/java/awt/java2d/CubicSegment.java,
* gnu/java/awt/java2d/LineSegment.java,
* gnu/java/awt/java2d/PixelCoverage.java,
* gnu/java/awt/java2d/QuadSegment.java,
* gnu/java/awt/java2d/RasterGraphics.java,
* gnu/java/awt/java2d/ScanlineConverter.java,
* gnu/java/awt/java2d/ScanlineCoverage.java,
* gnu/java/awt/java2d/Segment.java,
* gnu/java/awt/java2d/TexturePaintContext.java,
* gnu/java/awt/peer/ClasspathDesktopPeer.java,
* gnu/java/awt/peer/ClasspathFontPeer.java,
* gnu/java/awt/peer/GLightweightPeer.java,
* gnu/java/awt/peer/GnomeDesktopPeer.java,
* gnu/java/awt/peer/KDEDesktopPeer.java,
* gnu/java/awt/peer/gtk/AsyncImage.java,
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java,
* gnu/java/awt/peer/gtk/CairoGraphics2D.java,
* gnu/java/awt/peer/gtk/CairoSurface.java,
* gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java,
* gnu/java/awt/peer/gtk/ComponentGraphics.java,
* gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java,
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
* gnu/java/awt/peer/gtk/GdkFontPeer.java,
* gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
* gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
* gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
* gnu/java/awt/peer/gtk/GdkRobotPeer.java,
* gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
* gnu/java/awt/peer/gtk/GtkButtonPeer.java,
* gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
* gnu/java/awt/peer/gtk/GtkChoicePeer.java,
* gnu/java/awt/peer/gtk/GtkClipboard.java,
* gnu/java/awt/peer/gtk/GtkComponentPeer.java,
* gnu/java/awt/peer/gtk/GtkContainerPeer.java,
* gnu/java/awt/peer/gtk/GtkCursor.java,
* gnu/java/awt/peer/gtk/GtkDialogPeer.java,
* gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
* gnu/java/awt/peer/gtk/GtkFramePeer.java,
* gnu/java/awt/peer/gtk/GtkGenericPeer.java,
* gnu/java/awt/peer/gtk/GtkImage.java,
* gnu/java/awt/peer/gtk/GtkImageConsumer.java,
* gnu/java/awt/peer/gtk/GtkLabelPeer.java,
* gnu/java/awt/peer/gtk/GtkListPeer.java,
* gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
* gnu/java/awt/peer/gtk/GtkMenuPeer.java,
* gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
* gnu/java/awt/peer/gtk/GtkPanelPeer.java,
* gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
* gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
* gnu/java/awt/peer/gtk/GtkSelection.java,
* gnu/java/awt/peer/gtk/GtkToolkit.java,
* gnu/java/awt/peer/gtk/GtkVolatileImage.java,
* gnu/java/awt/peer/gtk/GtkWindowPeer.java,
* gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
* gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java,
* gnu/java/awt/peer/qt/MainQtThread.java,
* gnu/java/awt/peer/qt/QMatrix.java,
* gnu/java/awt/peer/qt/QPainterPath.java,
* gnu/java/awt/peer/qt/QPen.java,
* gnu/java/awt/peer/qt/QtAudioClip.java,
* gnu/java/awt/peer/qt/QtButtonPeer.java,
* gnu/java/awt/peer/qt/QtCheckboxPeer.java,
* gnu/java/awt/peer/qt/QtChoicePeer.java,
* gnu/java/awt/peer/qt/QtComponentGraphics.java,
* gnu/java/awt/peer/qt/QtComponentPeer.java,
* gnu/java/awt/peer/qt/QtContainerPeer.java,
* gnu/java/awt/peer/qt/QtDialogPeer.java,
* gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java,
* gnu/java/awt/peer/qt/QtFileDialogPeer.java,
* gnu/java/awt/peer/qt/QtFontMetrics.java,
* gnu/java/awt/peer/qt/QtFontPeer.java,
* gnu/java/awt/peer/qt/QtFramePeer.java,
* gnu/java/awt/peer/qt/QtGraphics.java,
* gnu/java/awt/peer/qt/QtGraphicsEnvironment.java,
* gnu/java/awt/peer/qt/QtImage.java,
* gnu/java/awt/peer/qt/QtImageConsumer.java,
* gnu/java/awt/peer/qt/QtImageDirectGraphics.java,
* gnu/java/awt/peer/qt/QtImageGraphics.java,
* gnu/java/awt/peer/qt/QtLabelPeer.java,
* gnu/java/awt/peer/qt/QtListPeer.java,
* gnu/java/awt/peer/qt/QtMenuBarPeer.java,
* gnu/java/awt/peer/qt/QtMenuComponentPeer.java,
* gnu/java/awt/peer/qt/QtMenuItemPeer.java,
* gnu/java/awt/peer/qt/QtMenuPeer.java,
* gnu/java/awt/peer/qt/QtPanelPeer.java,
* gnu/java/awt/peer/qt/QtPopupMenuPeer.java,
* gnu/java/awt/peer/qt/QtRepaintThread.java,
* gnu/java/awt/peer/qt/QtScreenDevice.java,
* gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java,
* gnu/java/awt/peer/qt/QtScrollPanePeer.java,
* gnu/java/awt/peer/qt/QtScrollbarPeer.java,
* gnu/java/awt/peer/qt/QtTextAreaPeer.java,
* gnu/java/awt/peer/qt/QtTextFieldPeer.java,
* gnu/java/awt/peer/qt/QtToolkit.java,
* gnu/java/awt/peer/qt/QtVolatileImage.java,
* gnu/java/awt/peer/qt/QtWindowPeer.java,
* gnu/java/awt/peer/swing/SwingButtonPeer.java,
* gnu/java/awt/peer/swing/SwingCheckboxPeer.java,
* gnu/java/awt/peer/swing/SwingComponent.java,
* gnu/java/awt/peer/swing/SwingComponentPeer.java,
* gnu/java/awt/peer/swing/SwingContainerPeer.java,
* gnu/java/awt/peer/swing/SwingLabelPeer.java,
* gnu/java/awt/peer/swing/SwingListPeer.java,
* gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
* gnu/java/awt/peer/swing/SwingMenuPeer.java,
* gnu/java/awt/peer/swing/SwingTextAreaPeer.java,
* gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
* gnu/java/awt/peer/x/GLGraphics.java,
* gnu/java/awt/peer/x/KeyboardMapping.java,
* gnu/java/awt/peer/x/XEventPump.java,
* gnu/java/awt/peer/x/XFontPeer.java,
* gnu/java/awt/peer/x/XFramePeer.java,
* gnu/java/awt/peer/x/XGraphics2D.java,
* gnu/java/awt/peer/x/XGraphicsConfiguration.java,
* gnu/java/awt/peer/x/XGraphicsDevice.java,
* gnu/java/awt/peer/x/XGraphicsEnvironment.java,
* gnu/java/awt/peer/x/XImage.java,
* gnu/java/awt/peer/x/XToolkit.java,
* gnu/java/awt/peer/x/XWindowPeer.java,
* gnu/java/awt/print/JavaPrinterGraphics.java,
* gnu/java/awt/print/JavaPrinterJob.java,
* gnu/java/awt/print/PostScriptGraphics2D.java,
* gnu/java/awt/print/SpooledDocument.java,
* gnu/java/beans/BeanInfoEmbryo.java,
* gnu/java/beans/DefaultExceptionListener.java,
* gnu/java/beans/ExplicitBeanInfo.java,
* gnu/java/beans/IntrospectionIncubator.java,
* gnu/java/beans/decoder/AbstractContext.java,
* gnu/java/beans/decoder/AbstractCreatableObjectContext.java,
* gnu/java/beans/decoder/AbstractElementHandler.java,
* gnu/java/beans/decoder/AbstractObjectContext.java,
* gnu/java/beans/decoder/ArrayContext.java,
* gnu/java/beans/decoder/ArrayHandler.java,
* gnu/java/beans/decoder/AssemblyException.java,
* gnu/java/beans/decoder/BooleanHandler.java,
* gnu/java/beans/decoder/ByteHandler.java,
* gnu/java/beans/decoder/CharHandler.java,
* gnu/java/beans/decoder/ClassHandler.java,
* gnu/java/beans/decoder/ConstructorContext.java,
* gnu/java/beans/decoder/Context.java,
* gnu/java/beans/decoder/DecoderContext.java,
* gnu/java/beans/decoder/DoubleHandler.java,
* gnu/java/beans/decoder/DummyContext.java,
* gnu/java/beans/decoder/DummyHandler.java,
* gnu/java/beans/decoder/ElementHandler.java,
* gnu/java/beans/decoder/FloatHandler.java,
* gnu/java/beans/decoder/GrowableArrayContext.java,
* gnu/java/beans/decoder/IndexContext.java,
* gnu/java/beans/decoder/IntHandler.java,
* gnu/java/beans/decoder/JavaHandler.java,
* gnu/java/beans/decoder/LongHandler.java,
* gnu/java/beans/decoder/MethodContext.java,
* gnu/java/beans/decoder/MethodFinder.java,
* gnu/java/beans/decoder/NullHandler.java,
* gnu/java/beans/decoder/ObjectContext.java,
* gnu/java/beans/decoder/ObjectHandler.java,
* gnu/java/beans/decoder/PersistenceParser.java,
* gnu/java/beans/decoder/PropertyContext.java,
* gnu/java/beans/decoder/ShortHandler.java,
* gnu/java/beans/decoder/SimpleHandler.java,
* gnu/java/beans/decoder/StaticMethodContext.java,
* gnu/java/beans/decoder/StringHandler.java,
* gnu/java/beans/decoder/VoidHandler.java,
* gnu/java/beans/editors/ColorEditor.java,
* gnu/java/beans/editors/FontEditor.java,
* gnu/java/beans/editors/NativeBooleanEditor.java,
* gnu/java/beans/editors/NativeByteEditor.java,
* gnu/java/beans/editors/NativeDoubleEditor.java,
* gnu/java/beans/editors/NativeFloatEditor.java,
* gnu/java/beans/editors/NativeIntEditor.java,
* gnu/java/beans/editors/NativeLongEditor.java,
* gnu/java/beans/editors/NativeShortEditor.java,
* gnu/java/beans/editors/StringEditor.java,
* gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
* gnu/java/beans/encoder/ClassPersistenceDelegate.java,
* gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
* gnu/java/beans/encoder/Context.java,
* gnu/java/beans/encoder/GenericScannerState.java,
* gnu/java/beans/encoder/IgnoringScannerState.java,
* gnu/java/beans/encoder/MapPersistenceDelegate.java,
* gnu/java/beans/encoder/ObjectId.java,
* gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
* gnu/java/beans/encoder/ReportingScannerState.java,
* gnu/java/beans/encoder/Root.java,
* gnu/java/beans/encoder/ScanEngine.java,
* gnu/java/beans/encoder/ScannerState.java,
* gnu/java/beans/encoder/StAXWriter.java,
* gnu/java/beans/encoder/Writer.java,
* gnu/java/beans/encoder/elements/ArrayInstantiation.java,
* gnu/java/beans/encoder/elements/Array_Get.java,
* gnu/java/beans/encoder/elements/ClassResolution.java,
* gnu/java/beans/encoder/elements/Element.java,
* gnu/java/beans/encoder/elements/List_Get.java,
* gnu/java/beans/encoder/elements/List_Set.java,
* gnu/java/beans/encoder/elements/MethodInvocation.java,
* gnu/java/beans/encoder/elements/NullObject.java,
* gnu/java/beans/encoder/elements/ObjectInstantiation.java,
* gnu/java/beans/encoder/elements/ObjectReference.java,
* gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
* gnu/java/beans/encoder/elements/StaticFieldAccess.java,
* gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
* gnu/java/beans/encoder/elements/StringReference.java,
* gnu/java/io/ASN1ParsingException.java,
* gnu/java/io/Base64InputStream.java,
* gnu/java/io/ClassLoaderObjectInputStream.java,
* gnu/java/io/NullOutputStream.java,
* gnu/java/io/ObjectIdentityMap2Int.java,
* gnu/java/io/ObjectIdentityWrapper.java,
* gnu/java/io/PlatformHelper.java,
* gnu/java/lang/CPStringBuilder.java,
* gnu/java/lang/CharData.java,
* gnu/java/lang/InstrumentationImpl.java,
* gnu/java/lang/MainThread.java,
* gnu/java/lang/management/BeanImpl.java,
* gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
* gnu/java/lang/management/CompilationMXBeanImpl.java,
* gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
* gnu/java/lang/management/MemoryMXBeanImpl.java,
* gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
* gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
* gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
* gnu/java/lang/management/RuntimeMXBeanImpl.java,
* gnu/java/lang/management/ThreadMXBeanImpl.java,
* gnu/java/lang/reflect/TypeSignature.java,
* gnu/java/locale/LocaleHelper.java,
* gnu/java/math/Fixed.java,
* gnu/java/math/GMP.java,
* gnu/java/math/MPN.java,
* gnu/java/net/CRLFInputStream.java,
* gnu/java/net/CRLFOutputStream.java,
* gnu/java/net/DefaultContentHandlerFactory.java,
* gnu/java/net/DefaultProxySelector.java,
* gnu/java/net/EmptyX509TrustManager.java,
* gnu/java/net/GetLocalHostAction.java,
* gnu/java/net/HeaderFieldHelper.java,
* gnu/java/net/IndexListParser.java,
* gnu/java/net/LineInputStream.java,
* gnu/java/net/PlainDatagramSocketImpl.java,
* gnu/java/net/PlainSocketImpl.java,
* gnu/java/net/loader/FileResource.java,
* gnu/java/net/loader/FileURLLoader.java,
* gnu/java/net/loader/JarURLLoader.java,
* gnu/java/net/loader/JarURLResource.java,
* gnu/java/net/loader/RemoteResource.java,
* gnu/java/net/loader/RemoteURLLoader.java,
* gnu/java/net/loader/Resource.java,
* gnu/java/net/loader/URLLoader.java,
* gnu/java/net/protocol/file/Connection.java,
* gnu/java/net/protocol/file/Handler.java,
* gnu/java/net/protocol/ftp/ActiveModeDTP.java,
* gnu/java/net/protocol/ftp/BlockInputStream.java,
* gnu/java/net/protocol/ftp/BlockOutputStream.java,
* gnu/java/net/protocol/ftp/CompressedInputStream.java,
* gnu/java/net/protocol/ftp/CompressedOutputStream.java,
* gnu/java/net/protocol/ftp/DTP.java,
* gnu/java/net/protocol/ftp/DTPInputStream.java,
* gnu/java/net/protocol/ftp/DTPOutputStream.java,
* gnu/java/net/protocol/ftp/FTPConnection.java,
* gnu/java/net/protocol/ftp/FTPException.java,
* gnu/java/net/protocol/ftp/FTPResponse.java,
* gnu/java/net/protocol/ftp/FTPURLConnection.java,
* gnu/java/net/protocol/ftp/Handler.java,
* gnu/java/net/protocol/ftp/PassiveModeDTP.java,
* gnu/java/net/protocol/ftp/StreamInputStream.java,
* gnu/java/net/protocol/ftp/StreamOutputStream.java,
* gnu/java/net/protocol/http/Authenticator.java,
* gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
* gnu/java/net/protocol/http/ChunkedInputStream.java,
* gnu/java/net/protocol/http/Cookie.java,
* gnu/java/net/protocol/http/CookieManager.java,
* gnu/java/net/protocol/http/Credentials.java,
* gnu/java/net/protocol/http/HTTPConnection.java,
* gnu/java/net/protocol/http/HTTPDateFormat.java,
* gnu/java/net/protocol/http/HTTPURLConnection.java,
* gnu/java/net/protocol/http/Handler.java,
* gnu/java/net/protocol/http/Headers.java,
* gnu/java/net/protocol/http/Request.java,
* gnu/java/net/protocol/http/RequestBodyWriter.java,
* gnu/java/net/protocol/http/Response.java,
* gnu/java/net/protocol/http/ResponseHeaderHandler.java,
* gnu/java/net/protocol/http/SimpleCookieManager.java,
* gnu/java/net/protocol/https/Handler.java,
* gnu/java/net/protocol/jar/Connection.java,
* gnu/java/net/protocol/jar/Handler.java,
* gnu/java/nio/ChannelInputStream.java,
* gnu/java/nio/ChannelOutputStream.java,
* gnu/java/nio/ChannelReader.java,
* gnu/java/nio/ChannelWriter.java,
* gnu/java/nio/DatagramChannelImpl.java,
* gnu/java/nio/DatagramChannelSelectionKey.java,
* gnu/java/nio/EpollSelectionKeyImpl.java,
* gnu/java/nio/EpollSelectorImpl.java,
* gnu/java/nio/FileChannelImpl.java,
* gnu/java/nio/FileLockImpl.java,
* gnu/java/nio/InputStreamChannel.java,
* gnu/java/nio/KqueueSelectionKeyImpl.java,
* gnu/java/nio/KqueueSelectorImpl.java,
* gnu/java/nio/NIODatagramSocket.java,
* gnu/java/nio/NIOServerSocket.java,
* gnu/java/nio/NIOSocket.java,
* gnu/java/nio/NIOSocketImpl.java,
* gnu/java/nio/OutputStreamChannel.java,
* gnu/java/nio/PipeImpl.java,
* gnu/java/nio/SelectionKeyImpl.java,
* gnu/java/nio/SelectorImpl.java,
* gnu/java/nio/SelectorProviderImpl.java,
* gnu/java/nio/ServerSocketChannelImpl.java,
* gnu/java/nio/ServerSocketChannelSelectionKey.java,
* gnu/java/nio/SocketChannelImpl.java,
* gnu/java/nio/SocketChannelSelectionKey.java,
* gnu/java/nio/SocketChannelSelectionKeyImpl.java,
* gnu/java/nio/VMChannelOwner.java,
* gnu/java/nio/charset/ByteCharset.java,
* gnu/java/nio/charset/ByteDecodeLoopHelper.java,
* gnu/java/nio/charset/ByteEncodeLoopHelper.java,
* gnu/java/nio/charset/Cp424.java,
* gnu/java/nio/charset/Cp437.java,
* gnu/java/nio/charset/Cp737.java,
* gnu/java/nio/charset/Cp775.java,
* gnu/java/nio/charset/Cp850.java,
* gnu/java/nio/charset/Cp852.java,
* gnu/java/nio/charset/Cp855.java,
* gnu/java/nio/charset/Cp857.java,
* gnu/java/nio/charset/Cp860.java,
* gnu/java/nio/charset/Cp861.java,
* gnu/java/nio/charset/Cp862.java,
* gnu/java/nio/charset/Cp863.java,
* gnu/java/nio/charset/Cp864.java,
* gnu/java/nio/charset/Cp865.java,
* gnu/java/nio/charset/Cp866.java,
* gnu/java/nio/charset/Cp869.java,
* gnu/java/nio/charset/Cp874.java,
* gnu/java/nio/charset/EncodingHelper.java,
* gnu/java/nio/charset/ISO_8859_1.java,
* gnu/java/nio/charset/ISO_8859_13.java,
* gnu/java/nio/charset/ISO_8859_15.java,
* gnu/java/nio/charset/ISO_8859_2.java,
* gnu/java/nio/charset/ISO_8859_3.java,
* gnu/java/nio/charset/ISO_8859_4.java,
* gnu/java/nio/charset/ISO_8859_5.java,
* gnu/java/nio/charset/ISO_8859_6.java,
* gnu/java/nio/charset/ISO_8859_7.java,
* gnu/java/nio/charset/ISO_8859_8.java,
* gnu/java/nio/charset/ISO_8859_9.java,
* gnu/java/nio/charset/KOI_8.java,
* gnu/java/nio/charset/MS874.java,
* gnu/java/nio/charset/MacCentralEurope.java,
* gnu/java/nio/charset/MacCroatian.java,
* gnu/java/nio/charset/MacCyrillic.java,
* gnu/java/nio/charset/MacDingbat.java,
* gnu/java/nio/charset/MacGreek.java,
* gnu/java/nio/charset/MacIceland.java,
* gnu/java/nio/charset/MacRoman.java,
* gnu/java/nio/charset/MacRomania.java,
* gnu/java/nio/charset/MacSymbol.java,
* gnu/java/nio/charset/MacThai.java,
* gnu/java/nio/charset/MacTurkish.java,
* gnu/java/nio/charset/Provider.java,
* gnu/java/nio/charset/US_ASCII.java,
* gnu/java/nio/charset/UTF_16.java,
* gnu/java/nio/charset/UTF_16BE.java,
* gnu/java/nio/charset/UTF_16Decoder.java,
* gnu/java/nio/charset/UTF_16Encoder.java,
* gnu/java/nio/charset/UTF_16LE.java,
* gnu/java/nio/charset/UTF_8.java,
* gnu/java/nio/charset/UnicodeLittle.java,
* gnu/java/nio/charset/Windows1250.java,
* gnu/java/nio/charset/Windows1251.java,
* gnu/java/nio/charset/Windows1252.java,
* gnu/java/nio/charset/Windows1253.java,
* gnu/java/nio/charset/Windows1254.java,
* gnu/java/nio/charset/Windows1255.java,
* gnu/java/nio/charset/Windows1256.java,
* gnu/java/nio/charset/Windows1257.java,
* gnu/java/nio/charset/Windows1258.java,
* gnu/java/nio/charset/iconv/IconvCharset.java,
* gnu/java/nio/charset/iconv/IconvDecoder.java,
* gnu/java/nio/charset/iconv/IconvEncoder.java,
* gnu/java/nio/charset/iconv/IconvProvider.java,
* gnu/java/rmi/RMIMarshalledObjectInputStream.java,
* gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
* gnu/java/rmi/activation/ActivationSystemTransient.java,
* gnu/java/rmi/activation/BidiTable.java,
* gnu/java/rmi/activation/DefaultActivationGroup.java,
* gnu/java/rmi/activation/DefaultActivationSystem.java,
* gnu/java/rmi/dgc/DGCImpl.java,
* gnu/java/rmi/dgc/DGCImpl_Skel.java,
* gnu/java/rmi/dgc/DGCImpl_Stub.java,
* gnu/java/rmi/dgc/LeaseRenewingTask.java,
* gnu/java/rmi/registry/RegistryImpl.java,
* gnu/java/rmi/registry/RegistryImpl_Skel.java,
* gnu/java/rmi/registry/RegistryImpl_Stub.java,
* gnu/java/rmi/server/ActivatableRef.java,
* gnu/java/rmi/server/ActivatableServerRef.java,
* gnu/java/rmi/server/CombinedClassLoader.java,
* gnu/java/rmi/server/ConnectionRunnerPool.java,
* gnu/java/rmi/server/ProtocolConstants.java,
* gnu/java/rmi/server/RMIClassLoaderImpl.java,
* gnu/java/rmi/server/RMIDefaultSocketFactory.java,
* gnu/java/rmi/server/RMIHashes.java,
* gnu/java/rmi/server/RMIIncomingThread.java,
* gnu/java/rmi/server/RMIObjectInputStream.java,
* gnu/java/rmi/server/RMIObjectOutputStream.java,
* gnu/java/rmi/server/UnicastConnection.java,
* gnu/java/rmi/server/UnicastConnectionManager.java,
* gnu/java/rmi/server/UnicastRef.java,
* gnu/java/rmi/server/UnicastRemoteCall.java,
* gnu/java/rmi/server/UnicastRemoteStub.java,
* gnu/java/rmi/server/UnicastServer.java,
* gnu/java/rmi/server/UnicastServerRef.java,
* gnu/java/security/Engine.java,
* gnu/java/security/OID.java,
* gnu/java/security/PolicyFile.java,
* gnu/java/security/Properties.java,
* gnu/java/security/Registry.java,
* gnu/java/security/Requires.java,
* gnu/java/security/action/GetPropertyAction.java,
* gnu/java/security/action/SetAccessibleAction.java,
* gnu/java/security/der/DERValue.java,
* gnu/java/security/hash/BaseHash.java,
* gnu/java/security/hash/HashFactory.java,
* gnu/java/security/hash/Haval.java,
* gnu/java/security/hash/IMessageDigest.java,
* gnu/java/security/hash/MD2.java,
* gnu/java/security/hash/MD4.java,
* gnu/java/security/hash/MD5.java,
* gnu/java/security/hash/RipeMD128.java,
* gnu/java/security/hash/RipeMD160.java,
* gnu/java/security/hash/Sha160.java,
* gnu/java/security/hash/Sha256.java,
* gnu/java/security/hash/Sha384.java,
* gnu/java/security/hash/Sha512.java,
* gnu/java/security/hash/Tiger.java,
* gnu/java/security/hash/Whirlpool.java,
* gnu/java/security/jce/hash/HavalSpi.java,
* gnu/java/security/jce/hash/MD2Spi.java,
* gnu/java/security/jce/hash/MD4Spi.java,
* gnu/java/security/jce/hash/MD5Spi.java,
* gnu/java/security/jce/hash/MessageDigestAdapter.java,
* gnu/java/security/jce/hash/RipeMD128Spi.java,
* gnu/java/security/jce/hash/RipeMD160Spi.java,
* gnu/java/security/jce/hash/Sha160Spi.java,
* gnu/java/security/jce/hash/Sha256Spi.java,
* gnu/java/security/jce/hash/Sha384Spi.java,
* gnu/java/security/jce/hash/Sha512Spi.java,
* gnu/java/security/jce/hash/TigerSpi.java,
* gnu/java/security/jce/hash/WhirlpoolSpi.java,
* gnu/java/security/jce/prng/HavalRandomSpi.java,
* gnu/java/security/jce/prng/MD2RandomSpi.java,
* gnu/java/security/jce/prng/MD4RandomSpi.java,
* gnu/java/security/jce/prng/MD5RandomSpi.java,
* gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
* gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
* gnu/java/security/jce/prng/SecureRandomAdapter.java,
* gnu/java/security/jce/prng/Sha160RandomSpi.java,
* gnu/java/security/jce/prng/Sha256RandomSpi.java,
* gnu/java/security/jce/prng/Sha384RandomSpi.java,
* gnu/java/security/jce/prng/Sha512RandomSpi.java,
* gnu/java/security/jce/prng/TigerRandomSpi.java,
* gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
* gnu/java/security/jce/sig/DSSKeyFactory.java,
* gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
* gnu/java/security/jce/sig/DSSParameters.java,
* gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
* gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
* gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
* gnu/java/security/jce/sig/SignatureAdapter.java,
* gnu/java/security/key/IKeyPairCodec.java,
* gnu/java/security/key/IKeyPairGenerator.java,
* gnu/java/security/key/KeyPairCodecFactory.java,
* gnu/java/security/key/KeyPairGeneratorFactory.java,
* gnu/java/security/key/dss/DSSKey.java,
* gnu/java/security/key/dss/DSSKeyPairGenerator.java,
* gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java,
* gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
* gnu/java/security/key/dss/DSSKeyPairX509Codec.java,
* gnu/java/security/key/dss/DSSPrivateKey.java,
* gnu/java/security/key/dss/DSSPublicKey.java,
* gnu/java/security/key/dss/FIPS186.java,
* gnu/java/security/key/rsa/GnuRSAKey.java,
* gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
* gnu/java/security/key/rsa/GnuRSAPublicKey.java,
* gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
* gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java,
* gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
* gnu/java/security/key/rsa/RSAKeyPairX509Codec.java,
* gnu/java/security/pkcs/PKCS7Data.java,
* gnu/java/security/pkcs/PKCS7SignedData.java,
* gnu/java/security/pkcs/SignerInfo.java,
* gnu/java/security/prng/BasePRNG.java,
* gnu/java/security/prng/EntropySource.java,
* gnu/java/security/prng/IRandom.java,
* gnu/java/security/prng/LimitReachedException.java,
* gnu/java/security/prng/MDGenerator.java,
* gnu/java/security/prng/PRNGFactory.java,
* gnu/java/security/prng/RandomEventListener.java,
* gnu/java/security/provider/DefaultPolicy.java,
* gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
* gnu/java/security/sig/BaseSignature.java,
* gnu/java/security/sig/ISignature.java,
* gnu/java/security/sig/ISignatureCodec.java,
* gnu/java/security/sig/SignatureCodecFactory.java,
* gnu/java/security/sig/SignatureFactory.java,
* gnu/java/security/sig/dss/DSSSignature.java,
* gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
* gnu/java/security/sig/dss/DSSSignatureX509Codec.java,
* gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
* gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
* gnu/java/security/sig/rsa/EMSA_PSS.java,
* gnu/java/security/sig/rsa/RSA.java,
* gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
* gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java,
* gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java,
* gnu/java/security/sig/rsa/RSAPSSSignature.java,
* gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
* gnu/java/security/sig/rsa/RSASignatureFactory.java,
* gnu/java/security/util/ByteArray.java,
* gnu/java/security/util/ByteBufferOutputStream.java,
* gnu/java/security/util/ExpirableObject.java,
* gnu/java/security/util/FormatUtil.java,
* gnu/java/security/util/IntegerUtil.java,
* gnu/java/security/util/PRNG.java,
* gnu/java/security/util/Prime.java,
* gnu/java/security/util/Sequence.java,
* gnu/java/security/util/SimpleList.java,
* gnu/java/security/util/Util.java,
* gnu/java/security/x509/X509CRLSelectorImpl.java,
* gnu/java/security/x509/X509CertSelectorImpl.java,
* gnu/java/security/x509/ext/CertificatePolicies.java,
* gnu/java/security/x509/ext/GeneralName.java,
* gnu/java/security/x509/ext/GeneralSubtree.java,
* gnu/java/security/x509/ext/NameConstraints.java,
* gnu/java/text/AttributedFormatBuffer.java,
* gnu/java/text/BaseBreakIterator.java,
* gnu/java/text/CharacterBreakIterator.java,
* gnu/java/text/FormatBuffer.java,
* gnu/java/text/FormatCharacterIterator.java,
* gnu/java/text/LineBreakIterator.java,
* gnu/java/text/SentenceBreakIterator.java,
* gnu/java/text/StringFormatBuffer.java,
* gnu/java/text/WordBreakIterator.java,
* gnu/java/util/Base64.java,
* gnu/java/util/DoubleEnumeration.java,
* gnu/java/util/EmptyEnumeration.java,
* gnu/java/util/WeakIdentityHashMap.java,
* gnu/java/util/ZoneInfo.java,
* gnu/java/util/jar/JarUtils.java,
* gnu/java/util/prefs/FileBasedFactory.java,
* gnu/java/util/prefs/FileBasedPreferences.java,
* gnu/java/util/prefs/GConfBasedFactory.java,
* gnu/java/util/prefs/GConfBasedPreferences.java,
* gnu/java/util/prefs/MemoryBasedFactory.java,
* gnu/java/util/prefs/MemoryBasedPreferences.java,
* gnu/java/util/prefs/NodeReader.java,
* gnu/java/util/prefs/NodeWriter.java,
* gnu/java/util/prefs/gconf/GConfNativePeer.java,
* gnu/java/util/regex/BacktrackStack.java,
* gnu/java/util/regex/CharIndexed.java,
* gnu/java/util/regex/CharIndexedInputStream.java,
* gnu/java/util/regex/RE.java,
* gnu/java/util/regex/REFilterInputStream.java,
* gnu/java/util/regex/REMatch.java,
* gnu/java/util/regex/REMatchEnumeration.java,
* gnu/java/util/regex/RESyntax.java,
* gnu/java/util/regex/REToken.java,
* gnu/java/util/regex/RETokenAny.java,
* gnu/java/util/regex/RETokenBackRef.java,
* gnu/java/util/regex/RETokenChar.java,
* gnu/java/util/regex/RETokenEnd.java,
* gnu/java/util/regex/RETokenEndOfPreviousMatch.java,
* gnu/java/util/regex/RETokenIndependent.java,
* gnu/java/util/regex/RETokenLookAhead.java,
* gnu/java/util/regex/RETokenLookBehind.java,
* gnu/java/util/regex/RETokenNamedProperty.java,
* gnu/java/util/regex/RETokenOneOf.java,
* gnu/java/util/regex/RETokenPOSIX.java,
* gnu/java/util/regex/RETokenRange.java,
* gnu/java/util/regex/RETokenRepeated.java,
* gnu/java/util/regex/RETokenStart.java,
* gnu/java/util/regex/RETokenWordBoundary.java,
* gnu/java/util/regex/UncheckedRE.java,
* gnu/javax/activation/viewers/ImageViewer.java,
* gnu/javax/activation/viewers/TextEditor.java,
* gnu/javax/activation/viewers/TextViewer.java,
* gnu/javax/crypto/assembly/Assembly.java,
* gnu/javax/crypto/assembly/Cascade.java,
* gnu/javax/crypto/assembly/CascadeStage.java,
* gnu/javax/crypto/assembly/CascadeTransformer.java,
* gnu/javax/crypto/assembly/DeflateTransformer.java,
* gnu/javax/crypto/assembly/Direction.java,
* gnu/javax/crypto/assembly/LoopbackTransformer.java,
* gnu/javax/crypto/assembly/ModeStage.java,
* gnu/javax/crypto/assembly/Operation.java,
* gnu/javax/crypto/assembly/PaddingTransformer.java,
* gnu/javax/crypto/assembly/Stage.java,
* gnu/javax/crypto/assembly/Transformer.java,
* gnu/javax/crypto/assembly/TransformerException.java,
* gnu/javax/crypto/cipher/Anubis.java,
* gnu/javax/crypto/cipher/BaseCipher.java,
* gnu/javax/crypto/cipher/Blowfish.java,
* gnu/javax/crypto/cipher/Cast5.java,
* gnu/javax/crypto/cipher/CipherFactory.java,
* gnu/javax/crypto/cipher/DES.java,
* gnu/javax/crypto/cipher/IBlockCipher.java,
* gnu/javax/crypto/cipher/IBlockCipherSpi.java,
* gnu/javax/crypto/cipher/Khazad.java,
* gnu/javax/crypto/cipher/NullCipher.java,
* gnu/javax/crypto/cipher/Rijndael.java,
* gnu/javax/crypto/cipher/Serpent.java,
* gnu/javax/crypto/cipher/Square.java,
* gnu/javax/crypto/cipher/TripleDES.java,
* gnu/javax/crypto/cipher/Twofish.java,
* gnu/javax/crypto/cipher/WeakKeyException.java,
* gnu/javax/crypto/jce/DiffieHellmanImpl.java,
* gnu/javax/crypto/jce/GnuCrypto.java,
* gnu/javax/crypto/jce/GnuSasl.java,
* gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
* gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java,
* gnu/javax/crypto/jce/cipher/AESSpi.java,
* gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
* gnu/javax/crypto/jce/cipher/AnubisSpi.java,
* gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
* gnu/javax/crypto/jce/cipher/Cast5Spi.java,
* gnu/javax/crypto/jce/cipher/CipherAdapter.java,
* gnu/javax/crypto/jce/cipher/DESSpi.java,
* gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java,
* gnu/javax/crypto/jce/cipher/KhazadSpi.java,
* gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
* gnu/javax/crypto/jce/cipher/PBES2.java,
* gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
* gnu/javax/crypto/jce/cipher/SerpentSpi.java,
* gnu/javax/crypto/jce/cipher/SquareSpi.java,
* gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
* gnu/javax/crypto/jce/cipher/TwofishSpi.java,
* gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
* gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
* gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
* gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
* gnu/javax/crypto/jce/keyring/GnuKeyring.java,
* gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
* gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
* gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
* gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
* gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
* gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
* gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
* gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
* gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
* gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
* gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
* gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
* gnu/javax/crypto/jce/mac/MacAdapter.java,
* gnu/javax/crypto/jce/mac/TMMH16Spi.java,
* gnu/javax/crypto/jce/mac/UHash32Spi.java,
* gnu/javax/crypto/jce/mac/UMac32Spi.java,
* gnu/javax/crypto/jce/params/BlockCipherParameters.java,
* gnu/javax/crypto/jce/params/DEREncodingException.java,
* gnu/javax/crypto/jce/params/DERReader.java,
* gnu/javax/crypto/jce/params/DERWriter.java,
* gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
* gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
* gnu/javax/crypto/jce/prng/FortunaImpl.java,
* gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
* gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
* gnu/javax/crypto/jce/sig/DHParameters.java,
* gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
* gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
* gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
* gnu/javax/crypto/key/BaseKeyAgreementParty.java,
* gnu/javax/crypto/key/GnuPBEKey.java,
* gnu/javax/crypto/key/GnuSecretKey.java,
* gnu/javax/crypto/key/IKeyAgreementParty.java,
* gnu/javax/crypto/key/IncomingMessage.java,
* gnu/javax/crypto/key/KeyAgreementException.java,
* gnu/javax/crypto/key/KeyAgreementFactory.java,
* gnu/javax/crypto/key/OutgoingMessage.java,
* gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java,
* gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
* gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java,
* gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
* gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
* gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
* gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
* gnu/javax/crypto/key/dh/ElGamalReceiver.java,
* gnu/javax/crypto/key/dh/ElGamalSender.java,
* gnu/javax/crypto/key/dh/GnuDHKey.java,
* gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
* gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
* gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
* gnu/javax/crypto/key/dh/RFC2631.java,
* gnu/javax/crypto/key/srp6/SRP6Host.java,
* gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
* gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
* gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
* gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
* gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
* gnu/javax/crypto/key/srp6/SRP6User.java,
* gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
* gnu/javax/crypto/key/srp6/SRPKey.java,
* gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
* gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
* gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
* gnu/javax/crypto/key/srp6/SRPPublicKey.java,
* gnu/javax/crypto/keyring/AuthenticatedEntry.java,
* gnu/javax/crypto/keyring/BaseKeyring.java,
* gnu/javax/crypto/keyring/BinaryDataEntry.java,
* gnu/javax/crypto/keyring/CertPathEntry.java,
* gnu/javax/crypto/keyring/CertificateEntry.java,
* gnu/javax/crypto/keyring/CompressedEntry.java,
* gnu/javax/crypto/keyring/EncryptedEntry.java,
* gnu/javax/crypto/keyring/Entry.java,
* gnu/javax/crypto/keyring/EnvelopeEntry.java,
* gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
* gnu/javax/crypto/keyring/GnuPublicKeyring.java,
* gnu/javax/crypto/keyring/IKeyring.java,
* gnu/javax/crypto/keyring/IPrivateKeyring.java,
* gnu/javax/crypto/keyring/IPublicKeyring.java,
* gnu/javax/crypto/keyring/MalformedKeyringException.java,
* gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
* gnu/javax/crypto/keyring/MeteredInputStream.java,
* gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
* gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
* gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
* gnu/javax/crypto/keyring/PrimitiveEntry.java,
* gnu/javax/crypto/keyring/PrivateKeyEntry.java,
* gnu/javax/crypto/keyring/Properties.java,
* gnu/javax/crypto/keyring/PublicKeyEntry.java,
* gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java,
* gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java,
* gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java,
* gnu/javax/crypto/kwa/TripleDESKeyWrap.java,
* gnu/javax/crypto/mac/BaseMac.java,
* gnu/javax/crypto/mac/HMac.java,
* gnu/javax/crypto/mac/HMacFactory.java,
* gnu/javax/crypto/mac/IMac.java,
* gnu/javax/crypto/mac/MacFactory.java,
* gnu/javax/crypto/mac/MacInputStream.java,
* gnu/javax/crypto/mac/MacOutputStream.java,
* gnu/javax/crypto/mac/OMAC.java,
* gnu/javax/crypto/mac/TMMH16.java,
* gnu/javax/crypto/mac/UHash32.java,
* gnu/javax/crypto/mac/UMac32.java,
* gnu/javax/crypto/mode/BaseMode.java,
* gnu/javax/crypto/mode/CBC.java,
* gnu/javax/crypto/mode/CFB.java,
* gnu/javax/crypto/mode/CTR.java,
* gnu/javax/crypto/mode/EAX.java,
* gnu/javax/crypto/mode/ECB.java,
* gnu/javax/crypto/mode/IAuthenticatedMode.java,
* gnu/javax/crypto/mode/ICM.java,
* gnu/javax/crypto/mode/IMode.java,
* gnu/javax/crypto/mode/ModeFactory.java,
* gnu/javax/crypto/mode/OFB.java,
* gnu/javax/crypto/pad/BasePad.java,
* gnu/javax/crypto/pad/IPad.java,
* gnu/javax/crypto/pad/PKCS1_V1_5.java,
* gnu/javax/crypto/pad/PKCS7.java,
* gnu/javax/crypto/pad/PadFactory.java,
* gnu/javax/crypto/pad/TBC.java,
* gnu/javax/crypto/pad/WrongPaddingException.java,
* gnu/javax/crypto/prng/ARCFour.java,
* gnu/javax/crypto/prng/CSPRNG.java,
* gnu/javax/crypto/prng/ICMGenerator.java,
* gnu/javax/crypto/prng/IPBE.java,
* gnu/javax/crypto/prng/PBKDF2.java,
* gnu/javax/crypto/prng/PRNGFactory.java,
* gnu/javax/crypto/prng/UMacGenerator.java,
* gnu/javax/crypto/sasl/AuthInfo.java,
* gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
* gnu/javax/crypto/sasl/ClientFactory.java,
* gnu/javax/crypto/sasl/ClientMechanism.java,
* gnu/javax/crypto/sasl/ConfidentialityException.java,
* gnu/javax/crypto/sasl/IAuthInfoProvider.java,
* gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
* gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
* gnu/javax/crypto/sasl/InputBuffer.java,
* gnu/javax/crypto/sasl/IntegrityException.java,
* gnu/javax/crypto/sasl/NoSuchMechanismException.java,
* gnu/javax/crypto/sasl/NoSuchUserException.java,
* gnu/javax/crypto/sasl/OutputBuffer.java,
* gnu/javax/crypto/sasl/SaslEncodingException.java,
* gnu/javax/crypto/sasl/SaslInputStream.java,
* gnu/javax/crypto/sasl/SaslOutputStream.java,
* gnu/javax/crypto/sasl/SaslUtil.java,
* gnu/javax/crypto/sasl/ServerFactory.java,
* gnu/javax/crypto/sasl/ServerMechanism.java,
* gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
* gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
* gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
* gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
* gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
* gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
* gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
* gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
* gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
* gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
* gnu/javax/crypto/sasl/plain/PasswordFile.java,
* gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
* gnu/javax/crypto/sasl/plain/PlainClient.java,
* gnu/javax/crypto/sasl/plain/PlainRegistry.java,
* gnu/javax/crypto/sasl/plain/PlainServer.java,
* gnu/javax/crypto/sasl/srp/CALG.java,
* gnu/javax/crypto/sasl/srp/ClientStore.java,
* gnu/javax/crypto/sasl/srp/IALG.java,
* gnu/javax/crypto/sasl/srp/KDF.java,
* gnu/javax/crypto/sasl/srp/PasswordFile.java,
* gnu/javax/crypto/sasl/srp/SRP.java,
* gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
* gnu/javax/crypto/sasl/srp/SRPClient.java,
* gnu/javax/crypto/sasl/srp/SRPRegistry.java,
* gnu/javax/crypto/sasl/srp/SRPServer.java,
* gnu/javax/crypto/sasl/srp/SecurityContext.java,
* gnu/javax/crypto/sasl/srp/ServerStore.java,
* gnu/javax/crypto/sasl/srp/StoreEntry.java,
* gnu/javax/imageio/IIOInputStream.java,
* gnu/javax/imageio/bmp/BMPDecoder.java,
* gnu/javax/imageio/bmp/BMPEncoder.java,
* gnu/javax/imageio/bmp/BMPException.java,
* gnu/javax/imageio/bmp/BMPFileHeader.java,
* gnu/javax/imageio/bmp/BMPImageReader.java,
* gnu/javax/imageio/bmp/BMPImageReaderSpi.java,
* gnu/javax/imageio/bmp/BMPImageWriter.java,
* gnu/javax/imageio/bmp/BMPImageWriterSpi.java,
* gnu/javax/imageio/bmp/BMPInfoHeader.java,
* gnu/javax/imageio/bmp/DecodeBF16.java,
* gnu/javax/imageio/bmp/DecodeBF32.java,
* gnu/javax/imageio/bmp/DecodeRGB1.java,
* gnu/javax/imageio/bmp/DecodeRGB24.java,
* gnu/javax/imageio/bmp/DecodeRGB4.java,
* gnu/javax/imageio/bmp/DecodeRGB8.java,
* gnu/javax/imageio/bmp/DecodeRLE4.java,
* gnu/javax/imageio/bmp/DecodeRLE8.java,
* gnu/javax/imageio/bmp/EncodeRGB1.java,
* gnu/javax/imageio/bmp/EncodeRGB16.java,
* gnu/javax/imageio/bmp/EncodeRGB24.java,
* gnu/javax/imageio/bmp/EncodeRGB32.java,
* gnu/javax/imageio/bmp/EncodeRGB4.java,
* gnu/javax/imageio/bmp/EncodeRGB8.java,
* gnu/javax/imageio/bmp/EncodeRLE4.java,
* gnu/javax/imageio/bmp/EncodeRLE8.java,
* gnu/javax/imageio/gif/GIFFile.java,
* gnu/javax/imageio/gif/GIFImageReader.java,
* gnu/javax/imageio/gif/GIFImageReaderSpi.java,
* gnu/javax/imageio/jpeg/DCT.java,
* gnu/javax/imageio/jpeg/JPEGComponent.java,
* gnu/javax/imageio/jpeg/JPEGDecoder.java,
* gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
* gnu/javax/imageio/jpeg/JPEGImageReader.java,
* gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
* gnu/javax/imageio/jpeg/JPEGMarker.java,
* gnu/javax/imageio/jpeg/ZigZag.java,
* gnu/javax/imageio/png/PNGChunk.java,
* gnu/javax/imageio/png/PNGData.java,
* gnu/javax/imageio/png/PNGDecoder.java,
* gnu/javax/imageio/png/PNGEncoder.java,
* gnu/javax/imageio/png/PNGException.java,
* gnu/javax/imageio/png/PNGFile.java,
* gnu/javax/imageio/png/PNGFilter.java,
* gnu/javax/imageio/png/PNGGamma.java,
* gnu/javax/imageio/png/PNGHeader.java,
* gnu/javax/imageio/png/PNGICCProfile.java,
* gnu/javax/imageio/png/PNGImageReader.java,
* gnu/javax/imageio/png/PNGPalette.java,
* gnu/javax/imageio/png/PNGPhys.java,
* gnu/javax/imageio/png/PNGTime.java,
* gnu/javax/management/ListenerData.java,
* gnu/javax/management/Server.java,
* gnu/javax/management/Translator.java,
* gnu/javax/naming/giop/ContextContinuation.java,
* gnu/javax/naming/giop/CorbalocParser.java,
* gnu/javax/naming/giop/GiopNamingEnumeration.java,
* gnu/javax/naming/giop/GiopNamingServiceFactory.java,
* gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
* gnu/javax/naming/giop/ListBindingsEnumeration.java,
* gnu/javax/naming/giop/ListEnumeration.java,
* gnu/javax/naming/ictxImpl/trans/GnuName.java,
* gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
* gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
* gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
* gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
* gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
* gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
* gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
* gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java,
* gnu/javax/net/ssl/AbstractSessionContext.java,
* gnu/javax/net/ssl/PreSharedKeyManager.java,
* gnu/javax/net/ssl/PreSharedKeyManagerParameters.java,
* gnu/javax/net/ssl/SSLCipherSuite.java,
* gnu/javax/net/ssl/SSLRecordHandler.java,
* gnu/javax/net/ssl/Session.java,
* gnu/javax/net/ssl/SessionStoreException.java,
* gnu/javax/net/ssl/provider/AbstractHandshake.java,
* gnu/javax/net/ssl/provider/Alert.java,
* gnu/javax/net/ssl/provider/AlertException.java,
* gnu/javax/net/ssl/provider/Builder.java,
* gnu/javax/net/ssl/provider/Certificate.java,
* gnu/javax/net/ssl/provider/CertificateBuilder.java,
* gnu/javax/net/ssl/provider/CertificateRequest.java,
* gnu/javax/net/ssl/provider/CertificateRequestBuilder.java,
* gnu/javax/net/ssl/provider/CertificateStatusRequest.java,
* gnu/javax/net/ssl/provider/CertificateStatusType.java,
* gnu/javax/net/ssl/provider/CertificateURL.java,
* gnu/javax/net/ssl/provider/CertificateVerify.java,
* gnu/javax/net/ssl/provider/CipherSuite.java,
* gnu/javax/net/ssl/provider/CipherSuiteList.java,
* gnu/javax/net/ssl/provider/ClientCertificateTypeList.java,
* gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java,
* gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java,
* gnu/javax/net/ssl/provider/ClientHandshake.java,
* gnu/javax/net/ssl/provider/ClientHello.java,
* gnu/javax/net/ssl/provider/ClientHelloBuilder.java,
* gnu/javax/net/ssl/provider/ClientHelloV2.java,
* gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java,
* gnu/javax/net/ssl/provider/ClientPSKParameters.java,
* gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java,
* gnu/javax/net/ssl/provider/CompressionMethod.java,
* gnu/javax/net/ssl/provider/CompressionMethodList.java,
* gnu/javax/net/ssl/provider/Constructed.java,
* gnu/javax/net/ssl/provider/Debug.java,
* gnu/javax/net/ssl/provider/DelegatedTask.java,
* gnu/javax/net/ssl/provider/EmptyExchangeKeys.java,
* gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java,
* gnu/javax/net/ssl/provider/ExchangeKeys.java,
* gnu/javax/net/ssl/provider/Extension.java,
* gnu/javax/net/ssl/provider/ExtensionList.java,
* gnu/javax/net/ssl/provider/Handshake.java,
* gnu/javax/net/ssl/provider/InputSecurityParameters.java,
* gnu/javax/net/ssl/provider/Jessie.java,
* gnu/javax/net/ssl/provider/MaxFragmentLength.java,
* gnu/javax/net/ssl/provider/OutputSecurityParameters.java,
* gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java,
* gnu/javax/net/ssl/provider/Random.java,
* gnu/javax/net/ssl/provider/SSLContextImpl.java,
* gnu/javax/net/ssl/provider/SSLEngineImpl.java,
* gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java,
* gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java,
* gnu/javax/net/ssl/provider/SSLServerSocketImpl.java,
* gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java,
* gnu/javax/net/ssl/provider/SSLSocketImpl.java,
* gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java,
* gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java,
* gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java,
* gnu/javax/net/ssl/provider/ServerDHParams.java,
* gnu/javax/net/ssl/provider/ServerHandshake.java,
* gnu/javax/net/ssl/provider/ServerHello.java,
* gnu/javax/net/ssl/provider/ServerHelloBuilder.java,
* gnu/javax/net/ssl/provider/ServerHelloDone.java,
* gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java,
* gnu/javax/net/ssl/provider/ServerNameList.java,
* gnu/javax/net/ssl/provider/ServerPSKParameters.java,
* gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java,
* gnu/javax/net/ssl/provider/SessionImpl.java,
* gnu/javax/net/ssl/provider/Signature.java,
* gnu/javax/net/ssl/provider/SignatureAlgorithm.java,
* gnu/javax/net/ssl/provider/SimpleSessionContext.java,
* gnu/javax/net/ssl/provider/TruncatedHMAC.java,
* gnu/javax/net/ssl/provider/TrustedAuthorities.java,
* gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java,
* gnu/javax/net/ssl/provider/Util.java,
* gnu/javax/net/ssl/provider/X500PrincipalList.java,
* gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
* gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
* gnu/javax/print/ipp/IppRequest.java,
* gnu/javax/rmi/CORBA/CorbaInput.java,
* gnu/javax/rmi/CORBA/CorbaOutput.java,
* gnu/javax/rmi/CORBA/DefaultWriteObjectTester.java,
* gnu/javax/rmi/CORBA/DelegateFactory.java,
* gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
* gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
* gnu/javax/rmi/CORBA/RmiUtilities.java,
* gnu/javax/rmi/CORBA/StubDelegateImpl.java,
* gnu/javax/rmi/CORBA/TieTargetRecord.java,
* gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
* gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java,
* gnu/javax/security/auth/callback/AWTCallbackHandler.java,
* gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
* gnu/javax/security/auth/callback/CertificateCallback.java,
* gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
* gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
* gnu/javax/security/auth/callback/SwingCallbackHandler.java,
* gnu/javax/security/auth/login/ConfigFileParser.java,
* gnu/javax/security/auth/login/ConfigFileTokenizer.java,
* gnu/javax/security/auth/login/GnuConfiguration.java,
* gnu/javax/sound/AudioSecurityManager.java,
* gnu/javax/sound/midi/alsa/AlsaInputPortDevice.java,
* gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider.java,
* gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.java,
* gnu/javax/sound/midi/alsa/AlsaOutputPortDevice.java,
* gnu/javax/sound/midi/alsa/AlsaPortDevice.java,
* gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider.java,
* gnu/javax/sound/midi/dssi/DSSISynthesizer.java,
* gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
* gnu/javax/sound/midi/file/MidiDataInputStream.java,
* gnu/javax/sound/midi/file/MidiDataOutputStream.java,
* gnu/javax/sound/midi/file/MidiFileReader.java,
* gnu/javax/sound/midi/file/MidiFileWriter.java,
* gnu/javax/sound/sampled/AU/AUReader.java,
* gnu/javax/sound/sampled/WAV/WAVReader.java,
* gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java,
* gnu/javax/sound/sampled/gstreamer/GStreamerMixerProvider.java,
* gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java,
* gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java,
* gnu/javax/sound/sampled/gstreamer/io/GstInputStream.java,
* gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.java,
* gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.java,
* gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java,
* gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.java,
* gnu/javax/swing/plaf/gnu/GNULookAndFeel.java,
* gnu/javax/swing/text/html/CharacterAttributeTranslator.java,
* gnu/javax/swing/text/html/CombinedAttributes.java,
* gnu/javax/swing/text/html/ImageViewIconFactory.java,
* gnu/javax/swing/text/html/css/BorderStyle.java,
* gnu/javax/swing/text/html/css/CSSParser.java,
* gnu/javax/swing/text/html/css/CSSScanner.java,
* gnu/javax/swing/text/html/css/Selector.java,
* gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
* gnu/javax/swing/text/html/parser/HTML_401F.java,
* gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java,
* gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
* gnu/javax/swing/text/html/parser/htmlValidator.java,
* gnu/javax/swing/text/html/parser/models/list.java,
* gnu/javax/swing/text/html/parser/support/Parser.java,
* gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java,
* gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
* gnu/javax/swing/tree/GnuPath.java,
* gnu/test/Fail.java,
* gnu/test/Pass.java,
* gnu/test/Test.java,
* gnu/test/Unsupported.java,
* gnu/xml/aelfred2/JAXPFactory.java,
* gnu/xml/aelfred2/SAXDriver.java,
* gnu/xml/aelfred2/XmlParser.java,
* gnu/xml/aelfred2/XmlReader.java,
* gnu/xml/dom/Consumer.java,
* gnu/xml/dom/DTDAttributeTypeInfo.java,
* gnu/xml/dom/DTDElementTypeInfo.java,
* gnu/xml/dom/DomAttr.java,
* gnu/xml/dom/DomCDATASection.java,
* gnu/xml/dom/DomCharacterData.java,
* gnu/xml/dom/DomComment.java,
* gnu/xml/dom/DomDOMException.java,
* gnu/xml/dom/DomDoctype.java,
* gnu/xml/dom/DomDocument.java,
* gnu/xml/dom/DomDocumentBuilder.java,
* gnu/xml/dom/DomDocumentBuilderFactory.java,
* gnu/xml/dom/DomDocumentConfiguration.java,
* gnu/xml/dom/DomDocumentFragment.java,
* gnu/xml/dom/DomElement.java,
* gnu/xml/dom/DomEntity.java,
* gnu/xml/dom/DomEntityReference.java,
* gnu/xml/dom/DomEvent.java,
* gnu/xml/dom/DomExtern.java,
* gnu/xml/dom/DomImpl.java,
* gnu/xml/dom/DomIterator.java,
* gnu/xml/dom/DomNSResolverContext.java,
* gnu/xml/dom/DomNamedNodeMap.java,
* gnu/xml/dom/DomNode.java,
* gnu/xml/dom/DomNodeIterator.java,
* gnu/xml/dom/DomNotation.java,
* gnu/xml/dom/DomNsNode.java,
* gnu/xml/dom/DomProcessingInstruction.java,
* gnu/xml/dom/DomText.java,
* gnu/xml/dom/DomXPathExpression.java,
* gnu/xml/dom/DomXPathNSResolver.java,
* gnu/xml/dom/DomXPathResult.java,
* gnu/xml/dom/ImplementationList.java,
* gnu/xml/dom/ImplementationSource.java,
* gnu/xml/dom/JAXPFactory.java,
* gnu/xml/dom/html2/DomHTMLAnchorElement.java,
* gnu/xml/dom/html2/DomHTMLAppletElement.java,
* gnu/xml/dom/html2/DomHTMLAreaElement.java,
* gnu/xml/dom/html2/DomHTMLBRElement.java,
* gnu/xml/dom/html2/DomHTMLBaseElement.java,
* gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
* gnu/xml/dom/html2/DomHTMLBodyElement.java,
* gnu/xml/dom/html2/DomHTMLButtonElement.java,
* gnu/xml/dom/html2/DomHTMLCollection.java,
* gnu/xml/dom/html2/DomHTMLDListElement.java,
* gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
* gnu/xml/dom/html2/DomHTMLDivElement.java,
* gnu/xml/dom/html2/DomHTMLDocument.java,
* gnu/xml/dom/html2/DomHTMLElement.java,
* gnu/xml/dom/html2/DomHTMLEmbedElement.java,
* gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
* gnu/xml/dom/html2/DomHTMLFontElement.java,
* gnu/xml/dom/html2/DomHTMLFormElement.java,
* gnu/xml/dom/html2/DomHTMLFrameElement.java,
* gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
* gnu/xml/dom/html2/DomHTMLHRElement.java,
* gnu/xml/dom/html2/DomHTMLHeadElement.java,
* gnu/xml/dom/html2/DomHTMLHeadingElement.java,
* gnu/xml/dom/html2/DomHTMLHtmlElement.java,
* gnu/xml/dom/html2/DomHTMLIFrameElement.java,
* gnu/xml/dom/html2/DomHTMLImageElement.java,
* gnu/xml/dom/html2/DomHTMLImpl.java,
* gnu/xml/dom/html2/DomHTMLInputElement.java,
* gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
* gnu/xml/dom/html2/DomHTMLLIElement.java,
* gnu/xml/dom/html2/DomHTMLLabelElement.java,
* gnu/xml/dom/html2/DomHTMLLegendElement.java,
* gnu/xml/dom/html2/DomHTMLLinkElement.java,
* gnu/xml/dom/html2/DomHTMLMapElement.java,
* gnu/xml/dom/html2/DomHTMLMenuElement.java,
* gnu/xml/dom/html2/DomHTMLMetaElement.java,
* gnu/xml/dom/html2/DomHTMLModElement.java,
* gnu/xml/dom/html2/DomHTMLOListElement.java,
* gnu/xml/dom/html2/DomHTMLObjectElement.java,
* gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
* gnu/xml/dom/html2/DomHTMLOptionElement.java,
* gnu/xml/dom/html2/DomHTMLParagraphElement.java,
* gnu/xml/dom/html2/DomHTMLParamElement.java,
* gnu/xml/dom/html2/DomHTMLParser.java,
* gnu/xml/dom/html2/DomHTMLPreElement.java,
* gnu/xml/dom/html2/DomHTMLQuoteElement.java,
* gnu/xml/dom/html2/DomHTMLScriptElement.java,
* gnu/xml/dom/html2/DomHTMLSelectElement.java,
* gnu/xml/dom/html2/DomHTMLStyleElement.java,
* gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
* gnu/xml/dom/html2/DomHTMLTableCellElement.java,
* gnu/xml/dom/html2/DomHTMLTableColElement.java,
* gnu/xml/dom/html2/DomHTMLTableElement.java,
* gnu/xml/dom/html2/DomHTMLTableRowElement.java,
* gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
* gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
* gnu/xml/dom/html2/DomHTMLTitleElement.java,
* gnu/xml/dom/html2/DomHTMLUListElement.java,
* gnu/xml/dom/ls/DomLSException.java,
* gnu/xml/dom/ls/DomLSInput.java,
* gnu/xml/dom/ls/DomLSOutput.java,
* gnu/xml/dom/ls/DomLSParser.java,
* gnu/xml/dom/ls/DomLSSerializer.java,
* gnu/xml/dom/ls/FilteredSAXEventSink.java,
* gnu/xml/dom/ls/ReaderInputStream.java,
* gnu/xml/dom/ls/SAXEventSink.java,
* gnu/xml/dom/ls/WriterOutputStream.java,
* gnu/xml/libxmlj/dom/GnomeAttr.java,
* gnu/xml/libxmlj/dom/GnomeCDATASection.java,
* gnu/xml/libxmlj/dom/GnomeCharacterData.java,
* gnu/xml/libxmlj/dom/GnomeComment.java,
* gnu/xml/libxmlj/dom/GnomeDOMException.java,
* gnu/xml/libxmlj/dom/GnomeDOMStringList.java,
* gnu/xml/libxmlj/dom/GnomeDocument.java,
* gnu/xml/libxmlj/dom/GnomeDocumentBuilder.java,
* gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
* gnu/xml/libxmlj/dom/GnomeDocumentFragment.java,
* gnu/xml/libxmlj/dom/GnomeDocumentType.java,
* gnu/xml/libxmlj/dom/GnomeElement.java,
* gnu/xml/libxmlj/dom/GnomeEntity.java,
* gnu/xml/libxmlj/dom/GnomeEntityReference.java,
* gnu/xml/libxmlj/dom/GnomeNamedNodeMap.java,
* gnu/xml/libxmlj/dom/GnomeNode.java,
* gnu/xml/libxmlj/dom/GnomeNodeList.java,
* gnu/xml/libxmlj/dom/GnomeNotation.java,
* gnu/xml/libxmlj/dom/GnomeProcessingInstruction.java,
* gnu/xml/libxmlj/dom/GnomeText.java,
* gnu/xml/libxmlj/dom/GnomeTypeInfo.java,
* gnu/xml/libxmlj/dom/GnomeXPathExpression.java,
* gnu/xml/libxmlj/dom/GnomeXPathNSResolver.java,
* gnu/xml/libxmlj/dom/GnomeXPathNodeList.java,
* gnu/xml/libxmlj/dom/GnomeXPathResult.java,
* gnu/xml/libxmlj/sax/GnomeLocator.java,
* gnu/xml/libxmlj/sax/GnomeSAXParser.java,
* gnu/xml/libxmlj/sax/GnomeSAXParserFactory.java,
* gnu/xml/libxmlj/sax/GnomeXMLReader.java,
* gnu/xml/libxmlj/sax/Namespaces.java,
* gnu/xml/libxmlj/sax/StringArrayAttributes.java,
* gnu/xml/libxmlj/sax/XMLName.java,
* gnu/xml/libxmlj/transform/ErrorListenerErrorHandler.java,
* gnu/xml/libxmlj/transform/GnomeTransformer.java,
* gnu/xml/libxmlj/transform/GnomeTransformerFactory.java,
* gnu/xml/libxmlj/transform/URIResolverEntityResolver.java,
* gnu/xml/libxmlj/util/EmptyNodeList.java,
* gnu/xml/libxmlj/util/NamedInputStream.java,
* gnu/xml/libxmlj/util/StandaloneDocumentType.java,
* gnu/xml/libxmlj/util/StandaloneLocator.java,
* gnu/xml/libxmlj/util/XMLJ.java,
* gnu/xml/pipeline/CallFilter.java,
* gnu/xml/pipeline/DomConsumer.java,
* gnu/xml/pipeline/EventConsumer.java,
* gnu/xml/pipeline/EventFilter.java,
* gnu/xml/pipeline/LinkFilter.java,
* gnu/xml/pipeline/NSFilter.java,
* gnu/xml/pipeline/PipelineFactory.java,
* gnu/xml/pipeline/TeeConsumer.java,
* gnu/xml/pipeline/TextConsumer.java,
* gnu/xml/pipeline/ValidationConsumer.java,
* gnu/xml/pipeline/WellFormednessFilter.java,
* gnu/xml/pipeline/XIncludeFilter.java,
* gnu/xml/pipeline/XsltFilter.java,
* gnu/xml/stream/AttributeImpl.java,
* gnu/xml/stream/BufferedReader.java,
* gnu/xml/stream/CRLFReader.java,
* gnu/xml/stream/CharactersImpl.java,
* gnu/xml/stream/CommentImpl.java,
* gnu/xml/stream/DTDImpl.java,
* gnu/xml/stream/EndDocumentImpl.java,
* gnu/xml/stream/EndElementImpl.java,
* gnu/xml/stream/EntityDeclarationImpl.java,
* gnu/xml/stream/EntityReferenceImpl.java,
* gnu/xml/stream/FilteredEventReader.java,
* gnu/xml/stream/FilteredStreamReader.java,
* gnu/xml/stream/NamespaceImpl.java,
* gnu/xml/stream/NotationDeclarationImpl.java,
* gnu/xml/stream/ProcessingInstructionImpl.java,
* gnu/xml/stream/SAXParser.java,
* gnu/xml/stream/SAXParserFactory.java,
* gnu/xml/stream/StartDocumentImpl.java,
* gnu/xml/stream/StartElementImpl.java,
* gnu/xml/stream/UnicodeReader.java,
* gnu/xml/stream/XIncludeFilter.java,
* gnu/xml/stream/XMLEventAllocatorImpl.java,
* gnu/xml/stream/XMLEventFactoryImpl.java,
* gnu/xml/stream/XMLEventImpl.java,
* gnu/xml/stream/XMLEventReaderImpl.java,
* gnu/xml/stream/XMLEventWriterImpl.java,
* gnu/xml/stream/XMLInputFactoryImpl.java,
* gnu/xml/stream/XMLOutputFactoryImpl.java,
* gnu/xml/stream/XMLParser.java,
* gnu/xml/stream/XMLStreamWriterImpl.java,
* gnu/xml/transform/AbstractNumberNode.java,
* gnu/xml/transform/ApplyImportsNode.java,
* gnu/xml/transform/ApplyTemplatesNode.java,
* gnu/xml/transform/AttributeNode.java,
* gnu/xml/transform/AttributeSet.java,
* gnu/xml/transform/Bindings.java,
* gnu/xml/transform/CallTemplateNode.java,
* gnu/xml/transform/ChooseNode.java,
* gnu/xml/transform/CommentNode.java,
* gnu/xml/transform/CopyNode.java,
* gnu/xml/transform/CopyOfNode.java,
* gnu/xml/transform/CurrentFunction.java,
* gnu/xml/transform/DOMSourceLocator.java,
* gnu/xml/transform/DocumentFunction.java,
* gnu/xml/transform/ElementAvailableFunction.java,
* gnu/xml/transform/ElementNode.java,
* gnu/xml/transform/ErrorListenerErrorHandler.java,
* gnu/xml/transform/ForEachNode.java,
* gnu/xml/transform/FormatNumberFunction.java,
* gnu/xml/transform/FunctionAvailableFunction.java,
* gnu/xml/transform/GenerateIdFunction.java,
* gnu/xml/transform/IfNode.java,
* gnu/xml/transform/Key.java,
* gnu/xml/transform/KeyFunction.java,
* gnu/xml/transform/LiteralNode.java,
* gnu/xml/transform/MessageNode.java,
* gnu/xml/transform/NamespaceProxy.java,
* gnu/xml/transform/NodeNumberNode.java,
* gnu/xml/transform/NumberNode.java,
* gnu/xml/transform/OtherwiseNode.java,
* gnu/xml/transform/ParameterNode.java,
* gnu/xml/transform/ProcessingInstructionNode.java,
* gnu/xml/transform/SAXSerializer.java,
* gnu/xml/transform/SAXTemplatesHandler.java,
* gnu/xml/transform/SAXTransformerHandler.java,
* gnu/xml/transform/SortKey.java,
* gnu/xml/transform/StreamSerializer.java,
* gnu/xml/transform/StrippingInstruction.java,
* gnu/xml/transform/Stylesheet.java,
* gnu/xml/transform/SystemPropertyFunction.java,
* gnu/xml/transform/Template.java,
* gnu/xml/transform/TemplateNode.java,
* gnu/xml/transform/TemplatesImpl.java,
* gnu/xml/transform/TextNode.java,
* gnu/xml/transform/TransformerFactoryImpl.java,
* gnu/xml/transform/TransformerImpl.java,
* gnu/xml/transform/TransformerOutputProperties.java,
* gnu/xml/transform/URIResolverEntityResolver.java,
* gnu/xml/transform/UnparsedEntityUriFunction.java,
* gnu/xml/transform/ValueOfNode.java,
* gnu/xml/transform/WhenNode.java,
* gnu/xml/transform/WithParam.java,
* gnu/xml/transform/XSLComparator.java,
* gnu/xml/transform/XSLURIResolver.java,
* gnu/xml/util/DoParse.java,
* gnu/xml/util/DomParser.java,
* gnu/xml/util/Resolver.java,
* gnu/xml/util/SAXNullTransformerFactory.java,
* gnu/xml/util/XCat.java,
* gnu/xml/util/XHTMLWriter.java,
* gnu/xml/util/XMLWriter.java,
* gnu/xml/validation/datatype/Annotation.java,
* gnu/xml/validation/datatype/AnySimpleType.java,
* gnu/xml/validation/datatype/AnyType.java,
* gnu/xml/validation/datatype/AnyURIType.java,
* gnu/xml/validation/datatype/AtomicSimpleType.java,
* gnu/xml/validation/datatype/Base64BinaryType.java,
* gnu/xml/validation/datatype/BooleanType.java,
* gnu/xml/validation/datatype/ByteType.java,
* gnu/xml/validation/datatype/DateTimeType.java,
* gnu/xml/validation/datatype/DateType.java,
* gnu/xml/validation/datatype/DecimalType.java,
* gnu/xml/validation/datatype/DoubleType.java,
* gnu/xml/validation/datatype/DurationType.java,
* gnu/xml/validation/datatype/EntitiesType.java,
* gnu/xml/validation/datatype/EntityType.java,
* gnu/xml/validation/datatype/EnumerationFacet.java,
* gnu/xml/validation/datatype/Facet.java,
* gnu/xml/validation/datatype/FloatType.java,
* gnu/xml/validation/datatype/FractionDigitsFacet.java,
* gnu/xml/validation/datatype/GDayType.java,
* gnu/xml/validation/datatype/GMonthDayType.java,
* gnu/xml/validation/datatype/GMonthType.java,
* gnu/xml/validation/datatype/GYearMonthType.java,
* gnu/xml/validation/datatype/GYearType.java,
* gnu/xml/validation/datatype/HexBinaryType.java,
* gnu/xml/validation/datatype/IDRefType.java,
* gnu/xml/validation/datatype/IDRefsType.java,
* gnu/xml/validation/datatype/IDType.java,
* gnu/xml/validation/datatype/IntType.java,
* gnu/xml/validation/datatype/IntegerType.java,
* gnu/xml/validation/datatype/LanguageType.java,
* gnu/xml/validation/datatype/LengthFacet.java,
* gnu/xml/validation/datatype/ListSimpleType.java,
* gnu/xml/validation/datatype/LongType.java,
* gnu/xml/validation/datatype/MaxExclusiveFacet.java,
* gnu/xml/validation/datatype/MaxInclusiveFacet.java,
* gnu/xml/validation/datatype/MaxLengthFacet.java,
* gnu/xml/validation/datatype/MinExclusiveFacet.java,
* gnu/xml/validation/datatype/MinInclusiveFacet.java,
* gnu/xml/validation/datatype/MinLengthFacet.java,
* gnu/xml/validation/datatype/NCNameType.java,
* gnu/xml/validation/datatype/NMTokenType.java,
* gnu/xml/validation/datatype/NMTokensType.java,
* gnu/xml/validation/datatype/NameType.java,
* gnu/xml/validation/datatype/NegativeIntegerType.java,
* gnu/xml/validation/datatype/NonNegativeIntegerType.java,
* gnu/xml/validation/datatype/NonPositiveIntegerType.java,
* gnu/xml/validation/datatype/NormalizedStringType.java,
* gnu/xml/validation/datatype/NotationType.java,
* gnu/xml/validation/datatype/PatternFacet.java,
* gnu/xml/validation/datatype/PositiveIntegerType.java,
* gnu/xml/validation/datatype/QNameType.java,
* gnu/xml/validation/datatype/ShortType.java,
* gnu/xml/validation/datatype/SimpleType.java,
* gnu/xml/validation/datatype/StringType.java,
* gnu/xml/validation/datatype/TimeType.java,
* gnu/xml/validation/datatype/TokenType.java,
* gnu/xml/validation/datatype/TotalDigitsFacet.java,
* gnu/xml/validation/datatype/Type.java,
* gnu/xml/validation/datatype/TypeBuilder.java,
* gnu/xml/validation/datatype/TypeLibrary.java,
* gnu/xml/validation/datatype/TypeLibraryFactory.java,
* gnu/xml/validation/datatype/UnionSimpleType.java,
* gnu/xml/validation/datatype/UnsignedByteType.java,
* gnu/xml/validation/datatype/UnsignedIntType.java,
* gnu/xml/validation/datatype/UnsignedLongType.java,
* gnu/xml/validation/datatype/UnsignedShortType.java,
* gnu/xml/validation/datatype/WhiteSpaceFacet.java,
* gnu/xml/validation/relaxng/AnyNameNameClass.java,
* gnu/xml/validation/relaxng/AttributePattern.java,
* gnu/xml/validation/relaxng/ChoiceNameClass.java,
* gnu/xml/validation/relaxng/ChoicePattern.java,
* gnu/xml/validation/relaxng/DataPattern.java,
* gnu/xml/validation/relaxng/Define.java,
* gnu/xml/validation/relaxng/ElementPattern.java,
* gnu/xml/validation/relaxng/EmptyPattern.java,
* gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
* gnu/xml/validation/relaxng/Grammar.java,
* gnu/xml/validation/relaxng/GrammarException.java,
* gnu/xml/validation/relaxng/GrammarValidator.java,
* gnu/xml/validation/relaxng/GroupPattern.java,
* gnu/xml/validation/relaxng/InterleavePattern.java,
* gnu/xml/validation/relaxng/ListPattern.java,
* gnu/xml/validation/relaxng/NSNameNameClass.java,
* gnu/xml/validation/relaxng/NameClass.java,
* gnu/xml/validation/relaxng/NameNameClass.java,
* gnu/xml/validation/relaxng/NotAllowedPattern.java,
* gnu/xml/validation/relaxng/OneOrMorePattern.java,
* gnu/xml/validation/relaxng/Param.java,
* gnu/xml/validation/relaxng/Pattern.java,
* gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
* gnu/xml/validation/relaxng/RefPattern.java,
* gnu/xml/validation/relaxng/TextPattern.java,
* gnu/xml/validation/relaxng/ValuePattern.java,
* gnu/xml/validation/xmlschema/AnyAttribute.java,
* gnu/xml/validation/xmlschema/AttributeDeclaration.java,
* gnu/xml/validation/xmlschema/AttributeUse.java,
* gnu/xml/validation/xmlschema/ComplexType.java,
* gnu/xml/validation/xmlschema/ElementDeclaration.java,
* gnu/xml/validation/xmlschema/Particle.java,
* gnu/xml/validation/xmlschema/ValidationException.java,
* gnu/xml/validation/xmlschema/XMLSchema.java,
* gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
* gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
* gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
* gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
* gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
* gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
* gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
* gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java,
* gnu/xml/xpath/AndExpr.java,
* gnu/xml/xpath/ArithmeticExpr.java,
* gnu/xml/xpath/BooleanFunction.java,
* gnu/xml/xpath/CeilingFunction.java,
* gnu/xml/xpath/ConcatFunction.java,
* gnu/xml/xpath/Constant.java,
* gnu/xml/xpath/ContainsFunction.java,
* gnu/xml/xpath/CountFunction.java,
* gnu/xml/xpath/DocumentOrderComparator.java,
* gnu/xml/xpath/EqualityExpr.java,
* gnu/xml/xpath/Expr.java,
* gnu/xml/xpath/FalseFunction.java,
* gnu/xml/xpath/FloorFunction.java,
* gnu/xml/xpath/Function.java,
* gnu/xml/xpath/FunctionCall.java,
* gnu/xml/xpath/IdFunction.java,
* gnu/xml/xpath/LangFunction.java,
* gnu/xml/xpath/LastFunction.java,
* gnu/xml/xpath/LocalNameFunction.java,
* gnu/xml/xpath/NameFunction.java,
* gnu/xml/xpath/NameTest.java,
* gnu/xml/xpath/NamespaceTest.java,
* gnu/xml/xpath/NamespaceUriFunction.java,
* gnu/xml/xpath/NegativeExpr.java,
* gnu/xml/xpath/NodeTypeTest.java,
* gnu/xml/xpath/NormalizeSpaceFunction.java,
* gnu/xml/xpath/NotFunction.java,
* gnu/xml/xpath/NumberFunction.java,
* gnu/xml/xpath/OrExpr.java,
* gnu/xml/xpath/ParenthesizedExpr.java,
* gnu/xml/xpath/Path.java,
* gnu/xml/xpath/Pattern.java,
* gnu/xml/xpath/PositionFunction.java,
* gnu/xml/xpath/Predicate.java,
* gnu/xml/xpath/RelationalExpr.java,
* gnu/xml/xpath/Root.java,
* gnu/xml/xpath/RoundFunction.java,
* gnu/xml/xpath/Selector.java,
* gnu/xml/xpath/StartsWithFunction.java,
* gnu/xml/xpath/Steps.java,
* gnu/xml/xpath/StringFunction.java,
* gnu/xml/xpath/StringLengthFunction.java,
* gnu/xml/xpath/SubstringAfterFunction.java,
* gnu/xml/xpath/SubstringBeforeFunction.java,
* gnu/xml/xpath/SubstringFunction.java,
* gnu/xml/xpath/SumFunction.java,
* gnu/xml/xpath/Test.java,
* gnu/xml/xpath/TranslateFunction.java,
* gnu/xml/xpath/TrueFunction.java,
* gnu/xml/xpath/UnionExpr.java,
* gnu/xml/xpath/VariableReference.java,
* gnu/xml/xpath/XPathFactoryImpl.java,
* gnu/xml/xpath/XPathImpl.java,
* gnu/xml/xpath/XPathParser.java,
* gnu/xml/xpath/XPathTokenizer.java,
* java/applet/Applet.java,
* java/awt/AWTEvent.java,
* java/awt/AWTEventMulticaster.java,
* java/awt/AWTKeyStroke.java,
* java/awt/AlphaComposite.java,
* java/awt/BasicStroke.java,
* java/awt/BorderLayout.java,
* java/awt/BufferCapabilities.java,
* java/awt/Button.java,
* java/awt/Canvas.java,
* java/awt/CardLayout.java,
* java/awt/Checkbox.java,
* java/awt/CheckboxGroup.java,
* java/awt/CheckboxMenuItem.java,
* java/awt/Choice.java,
* java/awt/Color.java,
* java/awt/ColorPaintContext.java,
* java/awt/Component.java,
* java/awt/Container.java,
* java/awt/ContainerOrderFocusTraversalPolicy.java,
* java/awt/Cursor.java,
* java/awt/DefaultFocusTraversalPolicy.java,
* java/awt/DefaultKeyboardFocusManager.java,
* java/awt/Desktop.java,
* java/awt/Dialog.java,
* java/awt/DisplayMode.java,
* java/awt/Event.java,
* java/awt/EventDispatchThread.java,
* java/awt/EventQueue.java,
* java/awt/FileDialog.java,
* java/awt/FlowLayout.java,
* java/awt/FocusTraversalPolicy.java,
* java/awt/Font.java,
* java/awt/FontMetrics.java,
* java/awt/Frame.java,
* java/awt/GradientPaint.java,
* java/awt/Graphics.java,
* java/awt/Graphics2D.java,
* java/awt/GraphicsConfiguration.java,
* java/awt/GraphicsDevice.java,
* java/awt/GridBagConstraints.java,
* java/awt/GridBagLayout.java,
* java/awt/GridLayout.java,
* java/awt/Image.java,
* java/awt/Insets.java,
* java/awt/JobAttributes.java,
* java/awt/KeyboardFocusManager.java,
* java/awt/Label.java,
* java/awt/LightweightDispatcher.java,
* java/awt/List.java,
* java/awt/MediaTracker.java,
* java/awt/Menu.java,
* java/awt/MenuBar.java,
* java/awt/MenuComponent.java,
* java/awt/MenuItem.java,
* java/awt/MenuShortcut.java,
* java/awt/MouseInfo.java,
* java/awt/PageAttributes.java,
* java/awt/Point.java,
* java/awt/PointerInfo.java,
* java/awt/Polygon.java,
* java/awt/PopupMenu.java,
* java/awt/Rectangle.java,
* java/awt/RenderingHints.java,
* java/awt/Robot.java,
* java/awt/ScrollPane.java,
* java/awt/ScrollPaneAdjustable.java,
* java/awt/Scrollbar.java,
* java/awt/Shape.java,
* java/awt/SystemColor.java,
* java/awt/TextArea.java,
* java/awt/TextComponent.java,
* java/awt/TextField.java,
* java/awt/TexturePaint.java,
* java/awt/Toolkit.java,
* java/awt/Window.java,
* java/awt/color/ICC_ColorSpace.java,
* java/awt/color/ICC_Profile.java,
* java/awt/color/ICC_ProfileGray.java,
* java/awt/color/ICC_ProfileRGB.java,
* java/awt/datatransfer/Clipboard.java,
* java/awt/datatransfer/ClipboardOwner.java,
* java/awt/datatransfer/DataFlavor.java,
* java/awt/datatransfer/FlavorEvent.java,
* java/awt/datatransfer/FlavorListener.java,
* java/awt/datatransfer/MimeType.java,
* java/awt/datatransfer/StringSelection.java,
* java/awt/datatransfer/SystemFlavorMap.java,
* java/awt/datatransfer/Transferable.java,
* java/awt/datatransfer/UnsupportedFlavorException.java,
* java/awt/dnd/Autoscroll.java,
* java/awt/dnd/DnDEventMulticaster.java,
* java/awt/dnd/DragGestureEvent.java,
* java/awt/dnd/DragGestureRecognizer.java,
* java/awt/dnd/DragSource.java,
* java/awt/dnd/DragSourceContext.java,
* java/awt/dnd/DragSourceDropEvent.java,
* java/awt/dnd/DragSourceEvent.java,
* java/awt/dnd/DropTarget.java,
* java/awt/dnd/DropTargetContext.java,
* java/awt/dnd/DropTargetDragEvent.java,
* java/awt/dnd/DropTargetDropEvent.java,
* java/awt/dnd/DropTargetEvent.java,
* java/awt/dnd/MouseDragGestureRecognizer.java,
* java/awt/dnd/peer/DropTargetContextPeer.java,
* java/awt/event/AWTEventListener.java,
* java/awt/event/ActionEvent.java,
* java/awt/event/ComponentAdapter.java,
* java/awt/event/ComponentEvent.java,
* java/awt/event/InputEvent.java,
* java/awt/event/InputMethodEvent.java,
* java/awt/event/InvocationEvent.java,
* java/awt/event/KeyEvent.java,
* java/awt/event/MouseEvent.java,
* java/awt/event/MouseListener.java,
* java/awt/event/MouseWheelEvent.java,
* java/awt/event/WindowEvent.java,
* java/awt/font/FontRenderContext.java,
* java/awt/font/GlyphJustificationInfo.java,
* java/awt/font/GlyphMetrics.java,
* java/awt/font/GlyphVector.java,
* java/awt/font/GraphicAttribute.java,
* java/awt/font/ImageGraphicAttribute.java,
* java/awt/font/LineBreakMeasurer.java,
* java/awt/font/LineMetrics.java,
* java/awt/font/MultipleMaster.java,
* java/awt/font/OpenType.java,
* java/awt/font/ShapeGraphicAttribute.java,
* java/awt/font/TextAttribute.java,
* java/awt/font/TextHitInfo.java,
* java/awt/font/TextLayout.java,
* java/awt/font/TextMeasurer.java,
* java/awt/font/TransformAttribute.java,
* java/awt/geom/AffineTransform.java,
* java/awt/geom/Arc2D.java,
* java/awt/geom/Area.java,
* java/awt/geom/CubicCurve2D.java,
* java/awt/geom/Ellipse2D.java,
* java/awt/geom/FlatteningPathIterator.java,
* java/awt/geom/GeneralPath.java,
* java/awt/geom/Line2D.java,
* java/awt/geom/QuadCurve2D.java,
* java/awt/geom/RectangularShape.java,
* java/awt/geom/RoundRectangle2D.java,
* java/awt/im/InputContext.java,
* java/awt/im/spi/InputMethodDescriptor.java,
* java/awt/image/AffineTransformOp.java,
* java/awt/image/AreaAveragingScaleFilter.java,
* java/awt/image/BandCombineOp.java,
* java/awt/image/BandedSampleModel.java,
* java/awt/image/BufferedImage.java,
* java/awt/image/BufferedImageFilter.java,
* java/awt/image/BufferedImageOp.java,
* java/awt/image/ByteLookupTable.java,
* java/awt/image/ColorConvertOp.java,
* java/awt/image/ColorModel.java,
* java/awt/image/ComponentColorModel.java,
* java/awt/image/ComponentSampleModel.java,
* java/awt/image/ConvolveOp.java,
* java/awt/image/CropImageFilter.java,
* java/awt/image/DataBuffer.java,
* java/awt/image/DataBufferByte.java,
* java/awt/image/DataBufferDouble.java,
* java/awt/image/DataBufferFloat.java,
* java/awt/image/DataBufferInt.java,
* java/awt/image/DataBufferShort.java,
* java/awt/image/DataBufferUShort.java,
* java/awt/image/DirectColorModel.java,
* java/awt/image/FilteredImageSource.java,
* java/awt/image/ImageConsumer.java,
* java/awt/image/ImageFilter.java,
* java/awt/image/ImageObserver.java,
* java/awt/image/ImageProducer.java,
* java/awt/image/IndexColorModel.java,
* java/awt/image/Kernel.java,
* java/awt/image/LookupOp.java,
* java/awt/image/LookupTable.java,
* java/awt/image/MemoryImageSource.java,
* java/awt/image/MultiPixelPackedSampleModel.java,
* java/awt/image/PackedColorModel.java,
* java/awt/image/PixelGrabber.java,
* java/awt/image/PixelInterleavedSampleModel.java,
* java/awt/image/RGBImageFilter.java,
* java/awt/image/Raster.java,
* java/awt/image/RasterOp.java,
* java/awt/image/RenderedImage.java,
* java/awt/image/ReplicateScaleFilter.java,
* java/awt/image/RescaleOp.java,
* java/awt/image/SampleModel.java,
* java/awt/image/ShortLookupTable.java,
* java/awt/image/SinglePixelPackedSampleModel.java,
* java/awt/image/TileObserver.java,
* java/awt/image/WritableRaster.java,
* java/awt/image/WritableRenderedImage.java,
* java/awt/image/renderable/ContextualRenderedImageFactory.java,
* java/awt/image/renderable/ParameterBlock.java,
* java/awt/image/renderable/RenderContext.java,
* java/awt/image/renderable/RenderableImage.java,
* java/awt/image/renderable/RenderableImageOp.java,
* java/awt/image/renderable/RenderableImageProducer.java,
* java/awt/image/renderable/RenderedImageFactory.java,
* java/awt/peer/ButtonPeer.java,
* java/awt/peer/CanvasPeer.java,
* java/awt/peer/CheckboxMenuItemPeer.java,
* java/awt/peer/CheckboxPeer.java,
* java/awt/peer/ChoicePeer.java,
* java/awt/peer/ComponentPeer.java,
* java/awt/peer/ContainerPeer.java,
* java/awt/peer/DesktopPeer.java,
* java/awt/peer/DialogPeer.java,
* java/awt/peer/FileDialogPeer.java,
* java/awt/peer/FontPeer.java,
* java/awt/peer/FramePeer.java,
* java/awt/peer/LabelPeer.java,
* java/awt/peer/LightweightPeer.java,
* java/awt/peer/ListPeer.java,
* java/awt/peer/MenuBarPeer.java,
* java/awt/peer/MenuComponentPeer.java,
* java/awt/peer/MenuItemPeer.java,
* java/awt/peer/MenuPeer.java,
* java/awt/peer/MouseInfoPeer.java,
* java/awt/peer/PanelPeer.java,
* java/awt/peer/PopupMenuPeer.java,
* java/awt/peer/RobotPeer.java,
* java/awt/peer/ScrollPanePeer.java,
* java/awt/peer/ScrollbarPeer.java,
* java/awt/peer/TextComponentPeer.java,
* java/awt/peer/TextFieldPeer.java,
* java/awt/peer/WindowPeer.java,
* java/awt/print/Book.java,
* java/awt/print/PageFormat.java,
* java/awt/print/Pageable.java,
* java/awt/print/Paper.java,
* java/awt/print/PrinterGraphics.java,
* java/awt/print/PrinterIOException.java,
* java/awt/print/PrinterJob.java,
* java/beans/AppletInitializer.java,
* java/beans/BeanDescriptor.java,
* java/beans/BeanInfo.java,
* java/beans/Beans.java,
* java/beans/Customizer.java,
* java/beans/DefaultPersistenceDelegate.java,
* java/beans/DesignMode.java,
* java/beans/Encoder.java,
* java/beans/EventHandler.java,
* java/beans/EventSetDescriptor.java,
* java/beans/Expression.java,
* java/beans/FeatureDescriptor.java,
* java/beans/IndexedPropertyChangeEvent.java,
* java/beans/IndexedPropertyDescriptor.java,
* java/beans/Introspector.java,
* java/beans/MethodDescriptor.java,
* java/beans/ParameterDescriptor.java,
* java/beans/PersistenceDelegate.java,
* java/beans/PropertyChangeSupport.java,
* java/beans/PropertyDescriptor.java,
* java/beans/PropertyEditor.java,
* java/beans/PropertyEditorManager.java,
* java/beans/SimpleBeanInfo.java,
* java/beans/Statement.java,
* java/beans/VetoableChangeSupport.java,
* java/beans/Visibility.java,
* java/beans/XMLDecoder.java,
* java/beans/XMLEncoder.java,
* java/beans/beancontext/BeanContext.java,
* java/beans/beancontext/BeanContextChild.java,
* java/beans/beancontext/BeanContextChildComponentProxy.java,
* java/beans/beancontext/BeanContextChildSupport.java,
* java/beans/beancontext/BeanContextContainerProxy.java,
* java/beans/beancontext/BeanContextEvent.java,
* java/beans/beancontext/BeanContextMembershipEvent.java,
* java/beans/beancontext/BeanContextMembershipListener.java,
* java/beans/beancontext/BeanContextProxy.java,
* java/beans/beancontext/BeanContextServiceAvailableEvent.java,
* java/beans/beancontext/BeanContextServiceProvider.java,
* java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
* java/beans/beancontext/BeanContextServiceRevokedEvent.java,
* java/beans/beancontext/BeanContextServiceRevokedListener.java,
* java/beans/beancontext/BeanContextServices.java,
* java/beans/beancontext/BeanContextServicesListener.java,
* java/beans/beancontext/BeanContextServicesSupport.java,
* java/beans/beancontext/BeanContextSupport.java,
* java/io/BufferedInputStream.java,
* java/io/BufferedOutputStream.java,
* java/io/BufferedReader.java,
* java/io/BufferedWriter.java,
* java/io/ByteArrayInputStream.java,
* java/io/ByteArrayOutputStream.java,
* java/io/CharArrayReader.java,
* java/io/CharArrayWriter.java,
* java/io/DataInput.java,
* java/io/DataInputStream.java,
* java/io/DataOutput.java,
* java/io/DataOutputStream.java,
* java/io/DeleteFileHelper.java,
* java/io/EOFException.java,
* java/io/Externalizable.java,
* java/io/File.java,
* java/io/FileDescriptor.java,
* java/io/FileFilter.java,
* java/io/FileInputStream.java,
* java/io/FileOutputStream.java,
* java/io/FilePermission.java,
* java/io/FileReader.java,
* java/io/FileWriter.java,
* java/io/FilenameFilter.java,
* java/io/FilterInputStream.java,
* java/io/FilterOutputStream.java,
* java/io/FilterReader.java,
* java/io/FilterWriter.java,
* java/io/InputStream.java,
* java/io/InputStreamReader.java,
* java/io/InvalidClassException.java,
* java/io/LineNumberInputStream.java,
* java/io/LineNumberReader.java,
* java/io/ObjectInput.java,
* java/io/ObjectInputStream.java,
* java/io/ObjectInputValidation.java,
* java/io/ObjectOutput.java,
* java/io/ObjectOutputStream.java,
* java/io/ObjectStreamClass.java,
* java/io/ObjectStreamConstants.java,
* java/io/ObjectStreamField.java,
* java/io/OutputStream.java,
* java/io/OutputStreamWriter.java,
* java/io/PipedInputStream.java,
* java/io/PipedOutputStream.java,
* java/io/PipedReader.java,
* java/io/PipedWriter.java,
* java/io/PrintStream.java,
* java/io/PrintWriter.java,
* java/io/PushbackInputStream.java,
* java/io/PushbackReader.java,
* java/io/RandomAccessFile.java,
* java/io/Reader.java,
* java/io/SequenceInputStream.java,
* java/io/Serializable.java,
* java/io/SerializablePermission.java,
* java/io/StreamTokenizer.java,
* java/io/StringBufferInputStream.java,
* java/io/StringReader.java,
* java/io/StringWriter.java,
* java/io/UnsupportedEncodingException.java,
* java/io/Writer.java,
* java/lang/AbstractStringBuffer.java,
* java/lang/Boolean.java,
* java/lang/Character.java,
* java/lang/Class.java,
* java/lang/ClassLoader.java,
* java/lang/Comparable.java,
* java/lang/Double.java,
* java/lang/Enum.java,
* java/lang/EnumConstantNotPresentException.java,
* java/lang/Float.java,
* java/lang/IllegalArgumentException.java,
* java/lang/IllegalStateException.java,
* java/lang/IndexOutOfBoundsException.java,
* java/lang/Integer.java,
* java/lang/Long.java,
* java/lang/Math.java,
* java/lang/NoClassDefFoundError.java,
* java/lang/Object.java,
* java/lang/Package.java,
* java/lang/ProcessBuilder.java,
* java/lang/Runtime.java,
* java/lang/SecurityException.java,
* java/lang/SecurityManager.java,
* java/lang/StackTraceElement.java,
* java/lang/StrictMath.java,
* java/lang/String.java,
* java/lang/StringBuffer.java,
* java/lang/StringBuilder.java,
* java/lang/System.java,
* java/lang/Thread.java,
* java/lang/ThreadLocal.java,
* java/lang/Throwable.java,
* java/lang/TypeNotPresentException.java,
* java/lang/UnsupportedOperationException.java,
* java/lang/annotation/Annotation.java,
* java/lang/annotation/AnnotationTypeMismatchException.java,
* java/lang/annotation/IncompleteAnnotationException.java,
* java/lang/instrument/ClassFileTransformer.java,
* java/lang/instrument/Instrumentation.java,
* java/lang/management/ClassLoadingMXBean.java,
* java/lang/management/CompilationMXBean.java,
* java/lang/management/GarbageCollectorMXBean.java,
* java/lang/management/ManagementFactory.java,
* java/lang/management/ManagementPermission.java,
* java/lang/management/MemoryMXBean.java,
* java/lang/management/MemoryManagerMXBean.java,
* java/lang/management/MemoryNotificationInfo.java,
* java/lang/management/MemoryPoolMXBean.java,
* java/lang/management/MemoryType.java,
* java/lang/management/MemoryUsage.java,
* java/lang/management/MonitorInfo.java,
* java/lang/management/OperatingSystemMXBean.java,
* java/lang/management/RuntimeMXBean.java,
* java/lang/management/ThreadInfo.java,
* java/lang/management/ThreadMXBean.java,
* java/lang/ref/PhantomReference.java,
* java/lang/ref/Reference.java,
* java/lang/ref/ReferenceQueue.java,
* java/lang/ref/SoftReference.java,
* java/lang/ref/WeakReference.java,
* java/lang/reflect/AccessibleObject.java,
* java/lang/reflect/AnnotatedElement.java,
* java/lang/reflect/Array.java,
* java/lang/reflect/Constructor.java,
* java/lang/reflect/Field.java,
* java/lang/reflect/GenericArrayType.java,
* java/lang/reflect/GenericDeclaration.java,
* java/lang/reflect/InvocationHandler.java,
* java/lang/reflect/MalformedParameterizedTypeException.java,
* java/lang/reflect/Method.java,
* java/lang/reflect/Modifier.java,
* java/lang/reflect/Proxy.java,
* java/lang/reflect/Type.java,
* java/lang/reflect/TypeVariable.java,
* java/lang/reflect/WildcardType.java,
* java/math/BigDecimal.java,
* java/math/BigInteger.java,
* java/math/MathContext.java,
* java/math/RoundingMode.java,
* java/net/ContentHandler.java,
* java/net/DatagramSocket.java,
* java/net/DatagramSocketImpl.java,
* java/net/HttpURLConnection.java,
* java/net/Inet4Address.java,
* java/net/Inet6Address.java,
* java/net/InetAddress.java,
* java/net/InetSocketAddress.java,
* java/net/MimeTypeMapper.java,
* java/net/MulticastSocket.java,
* java/net/NetworkInterface.java,
* java/net/Proxy.java,
* java/net/ProxySelector.java,
* java/net/ResolverCache.java,
* java/net/ServerSocket.java,
* java/net/Socket.java,
* java/net/SocketPermission.java,
* java/net/URI.java,
* java/net/URL.java,
* java/net/URLClassLoader.java,
* java/net/URLConnection.java,
* java/net/URLDecoder.java,
* java/net/URLEncoder.java,
* java/net/URLStreamHandler.java,
* java/nio/Buffer.java,
* java/nio/BufferOverflowException.java,
* java/nio/BufferUnderflowException.java,
* java/nio/ByteBuffer.java,
* java/nio/ByteBufferHelper.java,
* java/nio/ByteBufferImpl.java,
* java/nio/ByteOrder.java,
* java/nio/CharBuffer.java,
* java/nio/CharBufferImpl.java,
* java/nio/CharSequenceBuffer.java,
* java/nio/CharViewBufferImpl.java,
* java/nio/DirectByteBufferImpl.java,
* java/nio/DoubleBuffer.java,
* java/nio/DoubleBufferImpl.java,
* java/nio/DoubleViewBufferImpl.java,
* java/nio/FloatBuffer.java,
* java/nio/FloatBufferImpl.java,
* java/nio/FloatViewBufferImpl.java,
* java/nio/IntBuffer.java,
* java/nio/IntBufferImpl.java,
* java/nio/IntViewBufferImpl.java,
* java/nio/InvalidMarkException.java,
* java/nio/LongBuffer.java,
* java/nio/LongBufferImpl.java,
* java/nio/LongViewBufferImpl.java,
* java/nio/MappedByteBuffer.java,
* java/nio/MappedByteBufferImpl.java,
* java/nio/ReadOnlyBufferException.java,
* java/nio/ShortBuffer.java,
* java/nio/ShortBufferImpl.java,
* java/nio/ShortViewBufferImpl.java,
* java/nio/channels/FileChannel.java,
* java/nio/channels/SocketChannel.java,
* java/nio/channels/spi/AbstractInterruptibleChannel.java,
* java/nio/channels/spi/AbstractSelectableChannel.java,
* java/nio/channels/spi/AbstractSelectionKey.java,
* java/nio/channels/spi/AbstractSelector.java,
* java/nio/channels/spi/SelectorProvider.java,
* java/nio/charset/CharacterCodingException.java,
* java/nio/charset/Charset.java,
* java/nio/charset/CharsetDecoder.java,
* java/nio/charset/CharsetEncoder.java,
* java/nio/charset/CoderMalfunctionError.java,
* java/nio/charset/CoderResult.java,
* java/nio/charset/CodingErrorAction.java,
* java/nio/charset/IllegalCharsetNameException.java,
* java/nio/charset/MalformedInputException.java,
* java/nio/charset/UnmappableCharacterException.java,
* java/nio/charset/UnsupportedCharsetException.java,
* java/rmi/AccessException.java,
* java/rmi/AlreadyBoundException.java,
* java/rmi/MarshalledObject.java,
* java/rmi/Naming.java,
* java/rmi/NoSuchObjectException.java,
* java/rmi/NotBoundException.java,
* java/rmi/RMISecurityException.java,
* java/rmi/RMISecurityManager.java,
* java/rmi/Remote.java,
* java/rmi/RemoteException.java,
* java/rmi/StubNotFoundException.java,
* java/rmi/UnknownHostException.java,
* java/rmi/activation/Activatable.java,
* java/rmi/activation/ActivationDesc.java,
* java/rmi/activation/ActivationGroup.java,
* java/rmi/activation/ActivationGroupDesc.java,
* java/rmi/activation/ActivationGroupID.java,
* java/rmi/activation/ActivationID.java,
* java/rmi/activation/ActivationInstantiator.java,
* java/rmi/activation/ActivationMonitor.java,
* java/rmi/activation/ActivationSystem.java,
* java/rmi/activation/Activator.java,
* java/rmi/activation/UnknownGroupException.java,
* java/rmi/dgc/DGC.java,
* java/rmi/dgc/Lease.java,
* java/rmi/dgc/VMID.java,
* java/rmi/registry/LocateRegistry.java,
* java/rmi/registry/Registry.java,
* java/rmi/registry/RegistryHandler.java,
* java/rmi/server/LoaderHandler.java,
* java/rmi/server/LogStream.java,
* java/rmi/server/ObjID.java,
* java/rmi/server/Operation.java,
* java/rmi/server/RMIClassLoader.java,
* java/rmi/server/RMIClientSocketFactory.java,
* java/rmi/server/RMIFailureHandler.java,
* java/rmi/server/RMIServerSocketFactory.java,
* java/rmi/server/RMISocketFactory.java,
* java/rmi/server/RemoteCall.java,
* java/rmi/server/RemoteObject.java,
* java/rmi/server/RemoteObjectInvocationHandler.java,
* java/rmi/server/RemoteRef.java,
* java/rmi/server/RemoteServer.java,
* java/rmi/server/RemoteStub.java,
* java/rmi/server/ServerRef.java,
* java/rmi/server/Skeleton.java,
* java/rmi/server/UID.java,
* java/rmi/server/UnicastRemoteObject.java,
* java/rmi/server/Unreferenced.java,
* java/security/AccessControlContext.java,
* java/security/AccessController.java,
* java/security/AlgorithmParameterGenerator.java,
* java/security/AlgorithmParameterGeneratorSpi.java,
* java/security/AlgorithmParameters.java,
* java/security/AlgorithmParametersSpi.java,
* java/security/CodeSource.java,
* java/security/DigestInputStream.java,
* java/security/DigestOutputStream.java,
* java/security/GeneralSecurityException.java,
* java/security/Identity.java,
* java/security/IdentityScope.java,
* java/security/KeyFactory.java,
* java/security/KeyFactorySpi.java,
* java/security/KeyPairGenerator.java,
* java/security/KeyPairGeneratorSpi.java,
* java/security/KeyStore.java,
* java/security/KeyStoreSpi.java,
* java/security/MessageDigest.java,
* java/security/MessageDigestSpi.java,
* java/security/Permission.java,
* java/security/Permissions.java,
* java/security/Policy.java,
* java/security/ProtectionDomain.java,
* java/security/Provider.java,
* java/security/ProviderException.java,
* java/security/SecureClassLoader.java,
* java/security/SecureRandom.java,
* java/security/SecureRandomSpi.java,
* java/security/Security.java,
* java/security/Signature.java,
* java/security/SignatureSpi.java,
* java/security/SignedObject.java,
* java/security/Signer.java,
* java/security/acl/Acl.java,
* java/security/acl/AclEntry.java,
* java/security/acl/Group.java,
* java/security/acl/Owner.java,
* java/security/cert/CRL.java,
* java/security/cert/CRLSelector.java,
* java/security/cert/CertPathBuilder.java,
* java/security/cert/CertPathBuilderResult.java,
* java/security/cert/CertPathValidator.java,
* java/security/cert/CertPathValidatorResult.java,
* java/security/cert/CertPathValidatorSpi.java,
* java/security/cert/CertSelector.java,
* java/security/cert/CertStore.java,
* java/security/cert/CertStoreParameters.java,
* java/security/cert/CertStoreSpi.java,
* java/security/cert/Certificate.java,
* java/security/cert/CertificateFactory.java,
* java/security/cert/CertificateFactorySpi.java,
* java/security/cert/CollectionCertStoreParameters.java,
* java/security/cert/LDAPCertStoreParameters.java,
* java/security/cert/PKIXBuilderParameters.java,
* java/security/cert/PKIXCertPathBuilderResult.java,
* java/security/cert/PKIXCertPathChecker.java,
* java/security/cert/PKIXCertPathValidatorResult.java,
* java/security/cert/PKIXParameters.java,
* java/security/cert/PolicyNode.java,
* java/security/cert/PolicyQualifierInfo.java,
* java/security/cert/X509CRL.java,
* java/security/cert/X509CRLEntry.java,
* java/security/cert/X509CertSelector.java,
* java/security/cert/X509Certificate.java,
* java/security/cert/X509Extension.java,
* java/security/spec/AlgorithmParameterSpec.java,
* java/security/spec/DSAParameterSpec.java,
* java/security/spec/DSAPrivateKeySpec.java,
* java/security/spec/DSAPublicKeySpec.java,
* java/security/spec/EncodedKeySpec.java,
* java/security/spec/InvalidParameterSpecException.java,
* java/security/spec/KeySpec.java,
* java/security/spec/PKCS8EncodedKeySpec.java,
* java/security/spec/PSSParameterSpec.java,
* java/security/spec/RSAKeyGenParameterSpec.java,
* java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
* java/security/spec/RSAOtherPrimeInfo.java,
* java/security/spec/RSAPrivateCrtKeySpec.java,
* java/security/spec/RSAPrivateKeySpec.java,
* java/security/spec/RSAPublicKeySpec.java,
* java/security/spec/X509EncodedKeySpec.java,
* java/sql/Array.java,
* java/sql/BatchUpdateException.java,
* java/sql/Blob.java,
* java/sql/CallableStatement.java,
* java/sql/Clob.java,
* java/sql/Connection.java,
* java/sql/DataTruncation.java,
* java/sql/DatabaseMetaData.java,
* java/sql/Date.java,
* java/sql/Driver.java,
* java/sql/DriverManager.java,
* java/sql/DriverPropertyInfo.java,
* java/sql/ParameterMetaData.java,
* java/sql/PreparedStatement.java,
* java/sql/Ref.java,
* java/sql/ResultSet.java,
* java/sql/ResultSetMetaData.java,
* java/sql/SQLData.java,
* java/sql/SQLException.java,
* java/sql/SQLInput.java,
* java/sql/SQLOutput.java,
* java/sql/SQLPermission.java,
* java/sql/SQLWarning.java,
* java/sql/Savepoint.java,
* java/sql/Statement.java,
* java/sql/Struct.java,
* java/sql/Time.java,
* java/sql/Timestamp.java,
* java/sql/Types.java,
* java/text/Annotation.java,
* java/text/AttributedCharacterIterator.java,
* java/text/AttributedString.java,
* java/text/AttributedStringIterator.java,
* java/text/Bidi.java,
* java/text/BreakIterator.java,
* java/text/CharacterIterator.java,
* java/text/ChoiceFormat.java,
* java/text/CollationElementIterator.java,
* java/text/CollationKey.java,
* java/text/Collator.java,
* java/text/DateFormat.java,
* java/text/DateFormatSymbols.java,
* java/text/DecimalFormat.java,
* java/text/DecimalFormatSymbols.java,
* java/text/FieldPosition.java,
* java/text/Format.java,
* java/text/MessageFormat.java,
* java/text/NumberFormat.java,
* java/text/ParsePosition.java,
* java/text/RuleBasedCollator.java,
* java/text/SimpleDateFormat.java,
* java/text/StringCharacterIterator.java,
* java/text/spi/DateFormatProvider.java,
* java/text/spi/NumberFormatProvider.java,
* java/util/AbstractCollection.java,
* java/util/AbstractList.java,
* java/util/AbstractMap.java,
* java/util/AbstractSet.java,
* java/util/ArrayList.java,
* java/util/Arrays.java,
* java/util/BitSet.java,
* java/util/Calendar.java,
* java/util/Collections.java,
* java/util/Currency.java,
* java/util/Date.java,
* java/util/Dictionary.java,
* java/util/DuplicateFormatFlagsException.java,
* java/util/EnumMap.java,
* java/util/EnumSet.java,
* java/util/FormatFlagsConversionMismatchException.java,
* java/util/Formattable.java,
* java/util/FormattableFlags.java,
* java/util/Formatter.java,
* java/util/FormatterClosedException.java,
* java/util/GregorianCalendar.java,
* java/util/HashMap.java,
* java/util/Hashtable.java,
* java/util/IdentityHashMap.java,
* java/util/IllegalFormatCodePointException.java,
* java/util/IllegalFormatConversionException.java,
* java/util/IllegalFormatException.java,
* java/util/IllegalFormatFlagsException.java,
* java/util/IllegalFormatPrecisionException.java,
* java/util/IllegalFormatWidthException.java,
* java/util/InputMismatchException.java,
* java/util/LinkedHashMap.java,
* java/util/LinkedHashSet.java,
* java/util/LinkedList.java,
* java/util/List.java,
* java/util/Locale.java,
* java/util/Map.java,
* java/util/MissingFormatArgumentException.java,
* java/util/MissingFormatWidthException.java,
* java/util/PriorityQueue.java,
* java/util/Properties.java,
* java/util/PropertyPermission.java,
* java/util/PropertyPermissionCollection.java,
* java/util/Random.java,
* java/util/ResourceBundle.java,
* java/util/ServiceConfigurationError.java,
* java/util/ServiceLoader.java,
* java/util/SimpleTimeZone.java,
* java/util/StringTokenizer.java,
* java/util/TimeZone.java,
* java/util/Timer.java,
* java/util/TreeMap.java,
* java/util/TreeSet.java,
* java/util/UUID.java,
* java/util/UnknownFormatConversionException.java,
* java/util/UnknownFormatFlagsException.java,
* java/util/Vector.java,
* java/util/WeakHashMap.java,
* java/util/concurrent/CopyOnWriteArrayList.java,
* java/util/jar/Attributes.java,
* java/util/jar/JarEntry.java,
* java/util/jar/JarFile.java,
* java/util/jar/JarInputStream.java,
* java/util/jar/JarOutputStream.java,
* java/util/jar/Manifest.java,
* java/util/logging/ConsoleHandler.java,
* java/util/logging/ErrorManager.java,
* java/util/logging/FileHandler.java,
* java/util/logging/Formatter.java,
* java/util/logging/Handler.java,
* java/util/logging/Level.java,
* java/util/logging/LogManager.java,
* java/util/logging/LogRecord.java,
* java/util/logging/Logger.java,
* java/util/logging/LoggingMXBean.java,
* java/util/logging/LoggingPermission.java,
* java/util/logging/MemoryHandler.java,
* java/util/logging/SocketHandler.java,
* java/util/logging/StreamHandler.java,
* java/util/logging/XMLFormatter.java,
* java/util/prefs/AbstractPreferences.java,
* java/util/prefs/NodeChangeEvent.java,
* java/util/prefs/NodeChangeListener.java,
* java/util/prefs/PreferenceChangeEvent.java,
* java/util/prefs/PreferenceChangeListener.java,
* java/util/prefs/Preferences.java,
* java/util/prefs/PreferencesFactory.java,
* java/util/regex/MatchResult.java,
* java/util/regex/Pattern.java,
* java/util/regex/PatternSyntaxException.java,
* java/util/spi/LocaleNameProvider.java,
* java/util/spi/TimeZoneNameProvider.java,
* java/util/zip/Adler32.java,
* java/util/zip/CRC32.java,
* java/util/zip/CheckedInputStream.java,
* java/util/zip/CheckedOutputStream.java,
* java/util/zip/Deflater.java,
* java/util/zip/DeflaterEngine.java,
* java/util/zip/DeflaterHuffman.java,
* java/util/zip/DeflaterOutputStream.java,
* java/util/zip/DeflaterPending.java,
* java/util/zip/GZIPInputStream.java,
* java/util/zip/GZIPOutputStream.java,
* java/util/zip/Inflater.java,
* java/util/zip/InflaterDynHeader.java,
* java/util/zip/InflaterHuffmanTree.java,
* java/util/zip/InflaterInputStream.java,
* java/util/zip/OutputWindow.java,
* java/util/zip/PendingBuffer.java,
* java/util/zip/StreamManipulator.java,
* java/util/zip/ZipConstants.java,
* java/util/zip/ZipEntry.java,
* java/util/zip/ZipFile.java,
* java/util/zip/ZipInputStream.java,
* java/util/zip/ZipOutputStream.java,
* javax/accessibility/AccessibleExtendedText.java,
* javax/accessibility/AccessibleRelation.java,
* javax/accessibility/AccessibleRole.java,
* javax/accessibility/AccessibleState.java,
* javax/activation/ActivationDataFlavor.java,
* javax/activation/CommandInfo.java,
* javax/activation/CommandMap.java,
* javax/activation/CommandObject.java,
* javax/activation/DataContentHandler.java,
* javax/activation/DataContentHandlerFactory.java,
* javax/activation/DataHandler.java,
* javax/activation/DataHandlerDataSource.java,
* javax/activation/DataSource.java,
* javax/activation/DataSourceDataContentHandler.java,
* javax/activation/FileDataSource.java,
* javax/activation/FileTypeMap.java,
* javax/activation/MailcapCommandMap.java,
* javax/activation/MimeType.java,
* javax/activation/MimeTypeParameterList.java,
* javax/activation/MimeTypeParseException.java,
* javax/activation/MimetypesFileTypeMap.java,
* javax/activation/ObjectDataContentHandler.java,
* javax/activation/URLDataSource.java,
* javax/activation/UnsupportedDataTypeException.java,
* javax/crypto/Cipher.java,
* javax/crypto/CipherOutputStream.java,
* javax/crypto/ExemptionMechanism.java,
* javax/crypto/KeyAgreement.java,
* javax/crypto/KeyGenerator.java,
* javax/crypto/Mac.java,
* javax/crypto/MacSpi.java,
* javax/crypto/SecretKeyFactory.java,
* javax/crypto/spec/PBEKeySpec.java,
* javax/imageio/IIOImage.java,
* javax/imageio/IIOParam.java,
* javax/imageio/IIOParamController.java,
* javax/imageio/ImageIO.java,
* javax/imageio/ImageReadParam.java,
* javax/imageio/ImageReader.java,
* javax/imageio/ImageTranscoder.java,
* javax/imageio/ImageTypeSpecifier.java,
* javax/imageio/ImageWriteParam.java,
* javax/imageio/ImageWriter.java,
* javax/imageio/event/IIOReadProgressListener.java,
* javax/imageio/event/IIOReadUpdateListener.java,
* javax/imageio/event/IIOWriteProgressListener.java,
* javax/imageio/metadata/IIOInvalidTreeException.java,
* javax/imageio/metadata/IIOMetadata.java,
* javax/imageio/metadata/IIOMetadataFormatImpl.java,
* javax/imageio/metadata/IIOMetadataNode.java,
* javax/imageio/plugins/bmp/BMPImageWriteParam.java,
* javax/imageio/plugins/jpeg/JPEGHuffmanTable.java,
* javax/imageio/spi/IIORegistry.java,
* javax/imageio/spi/ImageReaderSpi.java,
* javax/imageio/spi/ImageWriterSpi.java,
* javax/imageio/spi/RegisterableService.java,
* javax/imageio/spi/ServiceRegistry.java,
* javax/imageio/stream/FileCacheImageInputStream.java,
* javax/imageio/stream/FileCacheImageOutputStream.java,
* javax/imageio/stream/FileImageInputStream.java,
* javax/imageio/stream/FileImageOutputStream.java,
* javax/imageio/stream/ImageInputStream.java,
* javax/imageio/stream/ImageInputStreamImpl.java,
* javax/imageio/stream/ImageOutputStreamImpl.java,
* javax/imageio/stream/MemoryCacheImageInputStream.java,
* javax/imageio/stream/MemoryCacheImageOutputStream.java,
* javax/management/Attribute.java,
* javax/management/AttributeChangeNotification.java,
* javax/management/AttributeChangeNotificationFilter.java,
* javax/management/AttributeList.java,
* javax/management/AttributeNotFoundException.java,
* javax/management/AttributeValueExp.java,
* javax/management/BadAttributeValueExpException.java,
* javax/management/BadBinaryOpValueExpException.java,
* javax/management/BadStringOperationException.java,
* javax/management/DefaultLoaderRepository.java,
* javax/management/Descriptor.java,
* javax/management/DynamicMBean.java,
* javax/management/InstanceAlreadyExistsException.java,
* javax/management/InstanceNotFoundException.java,
* javax/management/IntrospectionException.java,
* javax/management/InvalidApplicationException.java,
* javax/management/InvalidAttributeValueException.java,
* javax/management/JMException.java,
* javax/management/JMRuntimeException.java,
* javax/management/JMX.java,
* javax/management/ListenerNotFoundException.java,
* javax/management/MBeanAttributeInfo.java,
* javax/management/MBeanConstructorInfo.java,
* javax/management/MBeanException.java,
* javax/management/MBeanFeatureInfo.java,
* javax/management/MBeanInfo.java,
* javax/management/MBeanNotificationInfo.java,
* javax/management/MBeanOperationInfo.java,
* javax/management/MBeanParameterInfo.java,
* javax/management/MBeanPermission.java,
* javax/management/MBeanRegistrationException.java,
* javax/management/MBeanServer.java,
* javax/management/MBeanServerBuilder.java,
* javax/management/MBeanServerConnection.java,
* javax/management/MBeanServerDelegate.java,
* javax/management/MBeanServerFactory.java,
* javax/management/MBeanServerInvocationHandler.java,
* javax/management/MBeanServerNotification.java,
* javax/management/MBeanServerPermission.java,
* javax/management/MBeanTrustPermission.java,
* javax/management/MalformedObjectNameException.java,
* javax/management/NotCompliantMBeanException.java,
* javax/management/Notification.java,
* javax/management/NotificationBroadcaster.java,
* javax/management/NotificationBroadcasterSupport.java,
* javax/management/NotificationEmitter.java,
* javax/management/NotificationFilter.java,
* javax/management/NotificationFilterSupport.java,
* javax/management/NotificationListener.java,
* javax/management/ObjectInstance.java,
* javax/management/ObjectName.java,
* javax/management/OperationsException.java,
* javax/management/PersistentMBean.java,
* javax/management/Query.java,
* javax/management/QueryEval.java,
* javax/management/QueryExp.java,
* javax/management/ReflectionException.java,
* javax/management/RuntimeErrorException.java,
* javax/management/RuntimeMBeanException.java,
* javax/management/RuntimeOperationsException.java,
* javax/management/ServiceNotFoundException.java,
* javax/management/StandardMBean.java,
* javax/management/StringValueExp.java,
* javax/management/ValueExp.java,
* javax/management/loading/ClassLoaderRepository.java,
* javax/management/openmbean/ArrayType.java,
* javax/management/openmbean/CompositeData.java,
* javax/management/openmbean/CompositeDataInvocationHandler.java,
* javax/management/openmbean/CompositeDataSupport.java,
* javax/management/openmbean/CompositeType.java,
* javax/management/openmbean/InvalidKeyException.java,
* javax/management/openmbean/InvalidOpenTypeException.java,
* javax/management/openmbean/KeyAlreadyExistsException.java,
* javax/management/openmbean/OpenDataException.java,
* javax/management/openmbean/OpenMBeanAttributeInfo.java,
* javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
* javax/management/openmbean/OpenMBeanConstructorInfo.java,
* javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
* javax/management/openmbean/OpenMBeanInfo.java,
* javax/management/openmbean/OpenMBeanInfoSupport.java,
* javax/management/openmbean/OpenMBeanOperationInfo.java,
* javax/management/openmbean/OpenMBeanOperationInfoSupport.java,
* javax/management/openmbean/OpenMBeanParameterInfo.java,
* javax/management/openmbean/OpenMBeanParameterInfoSupport.java,
* javax/management/openmbean/OpenType.java,
* javax/management/openmbean/SimpleType.java,
* javax/management/openmbean/TabularData.java,
* javax/management/openmbean/TabularDataSupport.java,
* javax/management/openmbean/TabularType.java,
* javax/management/remote/NotificationResult.java,
* javax/management/remote/TargetedNotification.java,
* javax/management/remote/rmi/RMIConnection.java,
* javax/naming/AuthenticationException.java,
* javax/naming/AuthenticationNotSupportedException.java,
* javax/naming/BinaryRefAddr.java,
* javax/naming/Binding.java,
* javax/naming/CannotProceedException.java,
* javax/naming/CommunicationException.java,
* javax/naming/CompositeName.java,
* javax/naming/CompoundName.java,
* javax/naming/ConfigurationException.java,
* javax/naming/Context.java,
* javax/naming/ContextNotEmptyException.java,
* javax/naming/InitialContext.java,
* javax/naming/InsufficientResourcesException.java,
* javax/naming/InterruptedNamingException.java,
* javax/naming/InvalidNameException.java,
* javax/naming/LimitExceededException.java,
* javax/naming/LinkException.java,
* javax/naming/LinkLoopException.java,
* javax/naming/MalformedLinkException.java,
* javax/naming/Name.java,
* javax/naming/NameAlreadyBoundException.java,
* javax/naming/NameClassPair.java,
* javax/naming/NameNotFoundException.java,
* javax/naming/NameParser.java,
* javax/naming/NamingEnumeration.java,
* javax/naming/NamingException.java,
* javax/naming/NamingSecurityException.java,
* javax/naming/NoInitialContextException.java,
* javax/naming/NoPermissionException.java,
* javax/naming/NotContextException.java,
* javax/naming/PartialResultException.java,
* javax/naming/RefAddr.java,
* javax/naming/Reference.java,
* javax/naming/Referenceable.java,
* javax/naming/ReferralException.java,
* javax/naming/ServiceUnavailableException.java,
* javax/naming/SizeLimitExceededException.java,
* javax/naming/StringRefAddr.java,
* javax/naming/TimeLimitExceededException.java,
* javax/naming/directory/AttributeInUseException.java,
* javax/naming/directory/Attributes.java,
* javax/naming/directory/BasicAttribute.java,
* javax/naming/directory/BasicAttributes.java,
* javax/naming/directory/InitialDirContext.java,
* javax/naming/directory/ModificationItem.java,
* javax/naming/directory/SearchControls.java,
* javax/naming/directory/SearchResult.java,
* javax/naming/event/EventContext.java,
* javax/naming/event/NamespaceChangeListener.java,
* javax/naming/event/NamingEvent.java,
* javax/naming/event/NamingExceptionEvent.java,
* javax/naming/event/NamingListener.java,
* javax/naming/event/ObjectChangeListener.java,
* javax/naming/ldap/Control.java,
* javax/naming/ldap/ControlFactory.java,
* javax/naming/ldap/ExtendedRequest.java,
* javax/naming/ldap/ExtendedResponse.java,
* javax/naming/ldap/HasControls.java,
* javax/naming/ldap/InitialLdapContext.java,
* javax/naming/ldap/LdapContext.java,
* javax/naming/ldap/LdapReferralException.java,
* javax/naming/ldap/StartTlsRequest.java,
* javax/naming/ldap/UnsolicitedNotification.java,
* javax/naming/ldap/UnsolicitedNotificationEvent.java,
* javax/naming/ldap/UnsolicitedNotificationListener.java,
* javax/naming/spi/DirObjectFactory.java,
* javax/naming/spi/DirStateFactory.java,
* javax/naming/spi/DirectoryManager.java,
* javax/naming/spi/InitialContextFactory.java,
* javax/naming/spi/InitialContextFactoryBuilder.java,
* javax/naming/spi/NamingManager.java,
* javax/naming/spi/ObjectFactory.java,
* javax/naming/spi/ObjectFactoryBuilder.java,
* javax/naming/spi/ResolveResult.java,
* javax/naming/spi/Resolver.java,
* javax/naming/spi/StateFactory.java,
* javax/net/ssl/CertPathTrustManagerParameters.java,
* javax/net/ssl/KeyManagerFactory.java,
* javax/net/ssl/KeyStoreBuilderParameters.java,
* javax/net/ssl/SSLContext.java,
* javax/net/ssl/SSLEngine.java,
* javax/net/ssl/SSLEngineResult.java,
* javax/net/ssl/SSLException.java,
* javax/net/ssl/TrustManagerFactory.java,
* javax/net/ssl/X509ExtendedKeyManager.java,
* javax/print/AttributeException.java,
* javax/print/CancelablePrintJob.java,
* javax/print/Doc.java,
* javax/print/DocFlavor.java,
* javax/print/DocPrintJob.java,
* javax/print/FlavorException.java,
* javax/print/MultiDoc.java,
* javax/print/MultiDocPrintJob.java,
* javax/print/MultiDocPrintService.java,
* javax/print/PrintException.java,
* javax/print/PrintService.java,
* javax/print/PrintServiceLookup.java,
* javax/print/ServiceUI.java,
* javax/print/ServiceUIFactory.java,
* javax/print/SimpleDoc.java,
* javax/print/StreamPrintService.java,
* javax/print/StreamPrintServiceFactory.java,
* javax/print/URIException.java,
* javax/print/attribute/Attribute.java,
* javax/print/attribute/AttributeSet.java,
* javax/print/attribute/AttributeSetUtilities.java,
* javax/print/attribute/DateTimeSyntax.java,
* javax/print/attribute/DocAttribute.java,
* javax/print/attribute/DocAttributeSet.java,
* javax/print/attribute/EnumSyntax.java,
* javax/print/attribute/HashAttributeSet.java,
* javax/print/attribute/HashDocAttributeSet.java,
* javax/print/attribute/HashPrintJobAttributeSet.java,
* javax/print/attribute/HashPrintRequestAttributeSet.java,
* javax/print/attribute/HashPrintServiceAttributeSet.java,
* javax/print/attribute/IntegerSyntax.java,
* javax/print/attribute/PrintJobAttribute.java,
* javax/print/attribute/PrintJobAttributeSet.java,
* javax/print/attribute/PrintRequestAttribute.java,
* javax/print/attribute/PrintRequestAttributeSet.java,
* javax/print/attribute/PrintServiceAttribute.java,
* javax/print/attribute/PrintServiceAttributeSet.java,
* javax/print/attribute/ResolutionSyntax.java,
* javax/print/attribute/SetOfIntegerSyntax.java,
* javax/print/attribute/Size2DSyntax.java,
* javax/print/attribute/SupportedValuesAttribute.java,
* javax/print/attribute/TextSyntax.java,
* javax/print/attribute/URISyntax.java,
* javax/print/attribute/UnmodifiableSetException.java,
* javax/print/attribute/standard/Chromaticity.java,
* javax/print/attribute/standard/ColorSupported.java,
* javax/print/attribute/standard/Compression.java,
* javax/print/attribute/standard/Copies.java,
* javax/print/attribute/standard/CopiesSupported.java,
* javax/print/attribute/standard/DateTimeAtCompleted.java,
* javax/print/attribute/standard/DateTimeAtCreation.java,
* javax/print/attribute/standard/DateTimeAtProcessing.java,
* javax/print/attribute/standard/Destination.java,
* javax/print/attribute/standard/DocumentName.java,
* javax/print/attribute/standard/Fidelity.java,
* javax/print/attribute/standard/Finishings.java,
* javax/print/attribute/standard/JobHoldUntil.java,
* javax/print/attribute/standard/JobImpressions.java,
* javax/print/attribute/standard/JobImpressionsCompleted.java,
* javax/print/attribute/standard/JobImpressionsSupported.java,
* javax/print/attribute/standard/JobKOctets.java,
* javax/print/attribute/standard/JobKOctetsProcessed.java,
* javax/print/attribute/standard/JobKOctetsSupported.java,
* javax/print/attribute/standard/JobMediaSheets.java,
* javax/print/attribute/standard/JobMediaSheetsCompleted.java,
* javax/print/attribute/standard/JobMediaSheetsSupported.java,
* javax/print/attribute/standard/JobMessageFromOperator.java,
* javax/print/attribute/standard/JobName.java,
* javax/print/attribute/standard/JobOriginatingUserName.java,
* javax/print/attribute/standard/JobPriority.java,
* javax/print/attribute/standard/JobPrioritySupported.java,
* javax/print/attribute/standard/JobSheets.java,
* javax/print/attribute/standard/JobState.java,
* javax/print/attribute/standard/JobStateReason.java,
* javax/print/attribute/standard/JobStateReasons.java,
* javax/print/attribute/standard/Media.java,
* javax/print/attribute/standard/MediaName.java,
* javax/print/attribute/standard/MediaPrintableArea.java,
* javax/print/attribute/standard/MediaSize.java,
* javax/print/attribute/standard/MediaSizeName.java,
* javax/print/attribute/standard/MediaTray.java,
* javax/print/attribute/standard/MultipleDocumentHandling.java,
* javax/print/attribute/standard/NumberOfDocuments.java,
* javax/print/attribute/standard/NumberOfInterveningJobs.java,
* javax/print/attribute/standard/NumberUp.java,
* javax/print/attribute/standard/NumberUpSupported.java,
* javax/print/attribute/standard/OrientationRequested.java,
* javax/print/attribute/standard/OutputDeviceAssigned.java,
* javax/print/attribute/standard/PDLOverrideSupported.java,
* javax/print/attribute/standard/PageRanges.java,
* javax/print/attribute/standard/PagesPerMinute.java,
* javax/print/attribute/standard/PagesPerMinuteColor.java,
* javax/print/attribute/standard/PresentationDirection.java,
* javax/print/attribute/standard/PrintQuality.java,
* javax/print/attribute/standard/PrinterInfo.java,
* javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
* javax/print/attribute/standard/PrinterLocation.java,
* javax/print/attribute/standard/PrinterMakeAndModel.java,
* javax/print/attribute/standard/PrinterMessageFromOperator.java,
* javax/print/attribute/standard/PrinterMoreInfo.java,
* javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
* javax/print/attribute/standard/PrinterName.java,
* javax/print/attribute/standard/PrinterResolution.java,
* javax/print/attribute/standard/PrinterState.java,
* javax/print/attribute/standard/PrinterStateReason.java,
* javax/print/attribute/standard/PrinterStateReasons.java,
* javax/print/attribute/standard/PrinterURI.java,
* javax/print/attribute/standard/QueuedJobCount.java,
* javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
* javax/print/attribute/standard/RequestingUserName.java,
* javax/print/attribute/standard/Severity.java,
* javax/print/attribute/standard/SheetCollate.java,
* javax/print/attribute/standard/Sides.java,
* javax/print/event/PrintEvent.java,
* javax/print/event/PrintJobAdapter.java,
* javax/print/event/PrintJobAttributeEvent.java,
* javax/print/event/PrintJobAttributeListener.java,
* javax/print/event/PrintJobEvent.java,
* javax/print/event/PrintJobListener.java,
* javax/print/event/PrintServiceAttributeEvent.java,
* javax/print/event/PrintServiceAttributeListener.java,
* javax/rmi/CORBA/ClassDesc.java,
* javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
* javax/rmi/CORBA/Stub.java,
* javax/rmi/CORBA/StubDelegate.java,
* javax/rmi/CORBA/Tie.java,
* javax/rmi/CORBA/Util.java,
* javax/rmi/CORBA/UtilDelegate.java,
* javax/rmi/CORBA/ValueHandler.java,
* javax/rmi/CORBA/ValueHandlerMultiFormat.java,
* javax/rmi/PortableRemoteObject.java,
* javax/rmi/ssl/SslRMIClientSocketFactory.java,
* javax/rmi/ssl/SslRMIServerSocketFactory.java,
* javax/security/auth/Subject.java,
* javax/security/auth/callback/ChoiceCallback.java,
* javax/security/auth/callback/ConfirmationCallback.java,
* javax/security/auth/callback/NameCallback.java,
* javax/security/auth/callback/PasswordCallback.java,
* javax/security/auth/callback/TextInputCallback.java,
* javax/security/auth/callback/TextOutputCallback.java,
* javax/security/auth/kerberos/DelegationPermission.java,
* javax/security/auth/kerberos/KerberosKey.java,
* javax/security/auth/kerberos/KerberosPrincipal.java,
* javax/security/auth/kerberos/ServicePermission.java,
* javax/security/auth/login/AccountNotFoundException.java,
* javax/security/auth/login/AppConfigurationEntry.java,
* javax/security/auth/login/LoginContext.java,
* javax/security/sasl/Sasl.java,
* javax/sound/midi/ControllerEventListener.java,
* javax/sound/midi/Instrument.java,
* javax/sound/midi/InvalidMidiDataException.java,
* javax/sound/midi/MetaEventListener.java,
* javax/sound/midi/MetaMessage.java,
* javax/sound/midi/MidiChannel.java,
* javax/sound/midi/MidiDevice.java,
* javax/sound/midi/MidiEvent.java,
* javax/sound/midi/MidiFileFormat.java,
* javax/sound/midi/MidiMessage.java,
* javax/sound/midi/MidiSystem.java,
* javax/sound/midi/MidiUnavailableException.java,
* javax/sound/midi/Patch.java,
* javax/sound/midi/Receiver.java,
* javax/sound/midi/Sequence.java,
* javax/sound/midi/Sequencer.java,
* javax/sound/midi/ShortMessage.java,
* javax/sound/midi/Soundbank.java,
* javax/sound/midi/SoundbankResource.java,
* javax/sound/midi/Synthesizer.java,
* javax/sound/midi/SysexMessage.java,
* javax/sound/midi/Track.java,
* javax/sound/midi/Transmitter.java,
* javax/sound/midi/VoiceStatus.java,
* javax/sound/midi/spi/MidiDeviceProvider.java,
* javax/sound/midi/spi/MidiFileReader.java,
* javax/sound/midi/spi/MidiFileWriter.java,
* javax/sound/midi/spi/SoundbankReader.java,
* javax/sound/sampled/AudioFileFormat.java,
* javax/sound/sampled/AudioFormat.java,
* javax/sound/sampled/AudioInputStream.java,
* javax/sound/sampled/AudioPermission.java,
* javax/sound/sampled/AudioSystem.java,
* javax/sound/sampled/BooleanControl.java,
* javax/sound/sampled/Clip.java,
* javax/sound/sampled/CompoundControl.java,
* javax/sound/sampled/DataLine.java,
* javax/sound/sampled/EnumControl.java,
* javax/sound/sampled/FloatControl.java,
* javax/sound/sampled/Line.java,
* javax/sound/sampled/LineEvent.java,
* javax/sound/sampled/LineUnavailableException.java,
* javax/sound/sampled/Mixer.java,
* javax/sound/sampled/Port.java,
* javax/sound/sampled/ReverbType.java,
* javax/sound/sampled/UnsupportedAudioFileException.java,
* javax/sound/sampled/spi/AudioFileReader.java,
* javax/sound/sampled/spi/AudioFileWriter.java,
* javax/sound/sampled/spi/FormatConversionProvider.java,
* javax/sql/ConnectionEvent.java,
* javax/sql/ConnectionEventListener.java,
* javax/sql/ConnectionPoolDataSource.java,
* javax/sql/DataSource.java,
* javax/sql/PooledConnection.java,
* javax/sql/RowSet.java,
* javax/sql/RowSetEvent.java,
* javax/sql/RowSetInternal.java,
* javax/sql/RowSetListener.java,
* javax/sql/RowSetMetaData.java,
* javax/sql/RowSetReader.java,
* javax/sql/RowSetWriter.java,
* javax/sql/XAConnection.java,
* javax/sql/XADataSource.java,
* javax/swing/AbstractAction.java,
* javax/swing/AbstractButton.java,
* javax/swing/AbstractCellEditor.java,
* javax/swing/AbstractListModel.java,
* javax/swing/AbstractSpinnerModel.java,
* javax/swing/Action.java,
* javax/swing/BorderFactory.java,
* javax/swing/BoundedRangeModel.java,
* javax/swing/Box.java,
* javax/swing/BoxLayout.java,
* javax/swing/ButtonGroup.java,
* javax/swing/ButtonModel.java,
* javax/swing/CellEditor.java,
* javax/swing/CellRendererPane.java,
* javax/swing/ComboBoxModel.java,
* javax/swing/ComponentInputMap.java,
* javax/swing/DebugGraphics.java,
* javax/swing/DefaultBoundedRangeModel.java,
* javax/swing/DefaultButtonModel.java,
* javax/swing/DefaultCellEditor.java,
* javax/swing/DefaultComboBoxModel.java,
* javax/swing/DefaultDesktopManager.java,
* javax/swing/DefaultFocusManager.java,
* javax/swing/DefaultListModel.java,
* javax/swing/DefaultListSelectionModel.java,
* javax/swing/DefaultSingleSelectionModel.java,
* javax/swing/FocusManager.java,
* javax/swing/GrayFilter.java,
* javax/swing/Icon.java,
* javax/swing/ImageIcon.java,
* javax/swing/InputMap.java,
* javax/swing/InternalFrameFocusTraversalPolicy.java,
* javax/swing/JApplet.java,
* javax/swing/JButton.java,
* javax/swing/JCheckBox.java,
* javax/swing/JCheckBoxMenuItem.java,
* javax/swing/JComboBox.java,
* javax/swing/JComponent.java,
* javax/swing/JDesktopPane.java,
* javax/swing/JDialog.java,
* javax/swing/JEditorPane.java,
* javax/swing/JFileChooser.java,
* javax/swing/JFormattedTextField.java,
* javax/swing/JFrame.java,
* javax/swing/JInternalFrame.java,
* javax/swing/JLabel.java,
* javax/swing/JLayeredPane.java,
* javax/swing/JList.java,
* javax/swing/JMenu.java,
* javax/swing/JMenuBar.java,
* javax/swing/JMenuItem.java,
* javax/swing/JOptionPane.java,
* javax/swing/JPanel.java,
* javax/swing/JPasswordField.java,
* javax/swing/JPopupMenu.java,
* javax/swing/JProgressBar.java,
* javax/swing/JRadioButton.java,
* javax/swing/JRadioButtonMenuItem.java,
* javax/swing/JRootPane.java,
* javax/swing/JScrollBar.java,
* javax/swing/JScrollPane.java,
* javax/swing/JSeparator.java,
* javax/swing/JSlider.java,
* javax/swing/JSpinner.java,
* javax/swing/JSplitPane.java,
* javax/swing/JTabbedPane.java,
* javax/swing/JTable.java,
* javax/swing/JTextArea.java,
* javax/swing/JTextField.java,
* javax/swing/JTextPane.java,
* javax/swing/JToggleButton.java,
* javax/swing/JToolBar.java,
* javax/swing/JToolTip.java,
* javax/swing/JTree.java,
* javax/swing/JViewport.java,
* javax/swing/JWindow.java,
* javax/swing/KeyStroke.java,
* javax/swing/KeyboardManager.java,
* javax/swing/LayoutFocusTraversalPolicy.java,
* javax/swing/ListCellRenderer.java,
* javax/swing/ListSelectionModel.java,
* javax/swing/LookAndFeel.java,
* javax/swing/MenuSelectionManager.java,
* javax/swing/OverlayLayout.java,
* javax/swing/Popup.java,
* javax/swing/PopupFactory.java,
* javax/swing/ProgressMonitor.java,
* javax/swing/ProgressMonitorInputStream.java,
* javax/swing/Renderer.java,
* javax/swing/RepaintManager.java,
* javax/swing/ScrollPaneLayout.java,
* javax/swing/Scrollable.java,
* javax/swing/SingleSelectionModel.java,
* javax/swing/SizeRequirements.java,
* javax/swing/SizeSequence.java,
* javax/swing/SortingFocusTraversalPolicy.java,
* javax/swing/SpinnerDateModel.java,
* javax/swing/SpinnerListModel.java,
* javax/swing/SpinnerModel.java,
* javax/swing/SpinnerNumberModel.java,
* javax/swing/Spring.java,
* javax/swing/SpringLayout.java,
* javax/swing/SwingConstants.java,
* javax/swing/SwingUtilities.java,
* javax/swing/Timer.java,
* javax/swing/ToolTipManager.java,
* javax/swing/TransferHandler.java,
* javax/swing/UIDefaults.java,
* javax/swing/UIManager.java,
* javax/swing/UnsupportedLookAndFeelException.java,
* javax/swing/ViewportLayout.java,
* javax/swing/WindowConstants.java,
* javax/swing/border/AbstractBorder.java,
* javax/swing/border/BevelBorder.java,
* javax/swing/border/Border.java,
* javax/swing/border/CompoundBorder.java,
* javax/swing/border/EmptyBorder.java,
* javax/swing/border/EtchedBorder.java,
* javax/swing/border/LineBorder.java,
* javax/swing/border/MatteBorder.java,
* javax/swing/border/SoftBevelBorder.java,
* javax/swing/border/TitledBorder.java,
* javax/swing/colorchooser/AbstractColorChooserPanel.java,
* javax/swing/colorchooser/ColorChooserComponentFactory.java,
* javax/swing/colorchooser/ColorSelectionModel.java,
* javax/swing/colorchooser/DefaultColorSelectionModel.java,
* javax/swing/colorchooser/DefaultHSBChooserPanel.java,
* javax/swing/colorchooser/DefaultRGBChooserPanel.java,
* javax/swing/colorchooser/DefaultSwatchChooserPanel.java,
* javax/swing/event/AncestorEvent.java,
* javax/swing/event/AncestorListener.java,
* javax/swing/event/CaretEvent.java,
* javax/swing/event/CaretListener.java,
* javax/swing/event/CellEditorListener.java,
* javax/swing/event/ChangeEvent.java,
* javax/swing/event/ChangeListener.java,
* javax/swing/event/DocumentEvent.java,
* javax/swing/event/DocumentListener.java,
* javax/swing/event/EventListenerList.java,
* javax/swing/event/HyperlinkEvent.java,
* javax/swing/event/HyperlinkListener.java,
* javax/swing/event/InternalFrameAdapter.java,
* javax/swing/event/InternalFrameEvent.java,
* javax/swing/event/InternalFrameListener.java,
* javax/swing/event/ListDataEvent.java,
* javax/swing/event/ListDataListener.java,
* javax/swing/event/ListSelectionEvent.java,
* javax/swing/event/ListSelectionListener.java,
* javax/swing/event/MenuDragMouseEvent.java,
* javax/swing/event/MenuDragMouseListener.java,
* javax/swing/event/MenuEvent.java,
* javax/swing/event/MenuKeyEvent.java,
* javax/swing/event/MenuKeyListener.java,
* javax/swing/event/MenuListener.java,
* javax/swing/event/MouseInputListener.java,
* javax/swing/event/PopupMenuEvent.java,
* javax/swing/event/PopupMenuListener.java,
* javax/swing/event/SwingPropertyChangeSupport.java,
* javax/swing/event/TableColumnModelEvent.java,
* javax/swing/event/TableColumnModelListener.java,
* javax/swing/event/TableModelEvent.java,
* javax/swing/event/TableModelListener.java,
* javax/swing/event/TreeExpansionEvent.java,
* javax/swing/event/TreeExpansionListener.java,
* javax/swing/event/TreeModelEvent.java,
* javax/swing/event/TreeModelListener.java,
* javax/swing/event/TreeSelectionEvent.java,
* javax/swing/event/TreeSelectionListener.java,
* javax/swing/event/TreeWillExpandListener.java,
* javax/swing/event/UndoableEditEvent.java,
* javax/swing/filechooser/FileFilter.java,
* javax/swing/filechooser/FileSystemView.java,
* javax/swing/filechooser/FileView.java,
* javax/swing/filechooser/UnixFileSystemView.java,
* javax/swing/plaf/BorderUIResource.java,
* javax/swing/plaf/ColorChooserUI.java,
* javax/swing/plaf/ColorUIResource.java,
* javax/swing/plaf/ComboBoxUI.java,
* javax/swing/plaf/ComponentInputMapUIResource.java,
* javax/swing/plaf/ComponentUI.java,
* javax/swing/plaf/FileChooserUI.java,
* javax/swing/plaf/IconUIResource.java,
* javax/swing/plaf/SplitPaneUI.java,
* javax/swing/plaf/TabbedPaneUI.java,
* javax/swing/plaf/TextUI.java,
* javax/swing/plaf/UIResource.java,
* javax/swing/plaf/basic/BasicArrowButton.java,
* javax/swing/plaf/basic/BasicBorders.java,
* javax/swing/plaf/basic/BasicButtonListener.java,
* javax/swing/plaf/basic/BasicButtonUI.java,
* javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
* javax/swing/plaf/basic/BasicCheckBoxUI.java,
* javax/swing/plaf/basic/BasicColorChooserUI.java,
* javax/swing/plaf/basic/BasicComboBoxEditor.java,
* javax/swing/plaf/basic/BasicComboBoxRenderer.java,
* javax/swing/plaf/basic/BasicComboBoxUI.java,
* javax/swing/plaf/basic/BasicComboPopup.java,
* javax/swing/plaf/basic/BasicDesktopIconUI.java,
* javax/swing/plaf/basic/BasicDesktopPaneUI.java,
* javax/swing/plaf/basic/BasicDirectoryModel.java,
* javax/swing/plaf/basic/BasicEditorPaneUI.java,
* javax/swing/plaf/basic/BasicFileChooserUI.java,
* javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
* javax/swing/plaf/basic/BasicGraphicsUtils.java,
* javax/swing/plaf/basic/BasicHTML.java,
* javax/swing/plaf/basic/BasicIconFactory.java,
* javax/swing/plaf/basic/BasicInternalFrameTitlePane.java,
* javax/swing/plaf/basic/BasicInternalFrameUI.java,
* javax/swing/plaf/basic/BasicLabelUI.java,
* javax/swing/plaf/basic/BasicListUI.java,
* javax/swing/plaf/basic/BasicLookAndFeel.java,
* javax/swing/plaf/basic/BasicMenuBarUI.java,
* javax/swing/plaf/basic/BasicMenuItemUI.java,
* javax/swing/plaf/basic/BasicMenuUI.java,
* javax/swing/plaf/basic/BasicOptionPaneUI.java,
* javax/swing/plaf/basic/BasicPanelUI.java,
* javax/swing/plaf/basic/BasicPasswordFieldUI.java,
* javax/swing/plaf/basic/BasicPopupMenuUI.java,
* javax/swing/plaf/basic/BasicProgressBarUI.java,
* javax/swing/plaf/basic/BasicRadioButtonUI.java,
* javax/swing/plaf/basic/BasicRootPaneUI.java,
* javax/swing/plaf/basic/BasicScrollBarUI.java,
* javax/swing/plaf/basic/BasicScrollPaneUI.java,
* javax/swing/plaf/basic/BasicSeparatorUI.java,
* javax/swing/plaf/basic/BasicSliderUI.java,
* javax/swing/plaf/basic/BasicSpinnerUI.java,
* javax/swing/plaf/basic/BasicSplitPaneDivider.java,
* javax/swing/plaf/basic/BasicSplitPaneUI.java,
* javax/swing/plaf/basic/BasicTabbedPaneUI.java,
* javax/swing/plaf/basic/BasicTableHeaderUI.java,
* javax/swing/plaf/basic/BasicTableUI.java,
* javax/swing/plaf/basic/BasicTextAreaUI.java,
* javax/swing/plaf/basic/BasicTextFieldUI.java,
* javax/swing/plaf/basic/BasicTextPaneUI.java,
* javax/swing/plaf/basic/BasicTextUI.java,
* javax/swing/plaf/basic/BasicToggleButtonUI.java,
* javax/swing/plaf/basic/BasicToolBarUI.java,
* javax/swing/plaf/basic/BasicToolTipUI.java,
* javax/swing/plaf/basic/BasicTreeUI.java,
* javax/swing/plaf/basic/BasicViewportUI.java,
* javax/swing/plaf/metal/DefaultMetalTheme.java,
* javax/swing/plaf/metal/MetalBorders.java,
* javax/swing/plaf/metal/MetalButtonListener.java,
* javax/swing/plaf/metal/MetalButtonUI.java,
* javax/swing/plaf/metal/MetalCheckBoxIcon.java,
* javax/swing/plaf/metal/MetalCheckBoxUI.java,
* javax/swing/plaf/metal/MetalComboBoxButton.java,
* javax/swing/plaf/metal/MetalComboBoxEditor.java,
* javax/swing/plaf/metal/MetalComboBoxIcon.java,
* javax/swing/plaf/metal/MetalComboBoxUI.java,
* javax/swing/plaf/metal/MetalFileChooserUI.java,
* javax/swing/plaf/metal/MetalIconFactory.java,
* javax/swing/plaf/metal/MetalInternalFrameTitlePane.java,
* javax/swing/plaf/metal/MetalInternalFrameUI.java,
* javax/swing/plaf/metal/MetalLabelUI.java,
* javax/swing/plaf/metal/MetalLookAndFeel.java,
* javax/swing/plaf/metal/MetalMenuBarUI.java,
* javax/swing/plaf/metal/MetalProgressBarUI.java,
* javax/swing/plaf/metal/MetalRadioButtonUI.java,
* javax/swing/plaf/metal/MetalRootPaneUI.java,
* javax/swing/plaf/metal/MetalScrollBarUI.java,
* javax/swing/plaf/metal/MetalScrollButton.java,
* javax/swing/plaf/metal/MetalScrollPaneUI.java,
* javax/swing/plaf/metal/MetalSeparatorUI.java,
* javax/swing/plaf/metal/MetalSliderUI.java,
* javax/swing/plaf/metal/MetalSplitPaneDivider.java,
* javax/swing/plaf/metal/MetalSplitPaneUI.java,
* javax/swing/plaf/metal/MetalTabbedPaneUI.java,
* javax/swing/plaf/metal/MetalTextFieldUI.java,
* javax/swing/plaf/metal/MetalTheme.java,
* javax/swing/plaf/metal/MetalToggleButtonUI.java,
* javax/swing/plaf/metal/MetalToolBarUI.java,
* javax/swing/plaf/metal/MetalToolTipUI.java,
* javax/swing/plaf/metal/MetalTreeUI.java,
* javax/swing/plaf/metal/MetalUtils.java,
* javax/swing/plaf/metal/OceanTheme.java,
* javax/swing/plaf/multi/MultiButtonUI.java,
* javax/swing/plaf/multi/MultiColorChooserUI.java,
* javax/swing/plaf/multi/MultiComboBoxUI.java,
* javax/swing/plaf/multi/MultiDesktopIconUI.java,
* javax/swing/plaf/multi/MultiDesktopPaneUI.java,
* javax/swing/plaf/multi/MultiFileChooserUI.java,
* javax/swing/plaf/multi/MultiInternalFrameUI.java,
* javax/swing/plaf/multi/MultiLabelUI.java,
* javax/swing/plaf/multi/MultiListUI.java,
* javax/swing/plaf/multi/MultiLookAndFeel.java,
* javax/swing/plaf/multi/MultiMenuBarUI.java,
* javax/swing/plaf/multi/MultiMenuItemUI.java,
* javax/swing/plaf/multi/MultiOptionPaneUI.java,
* javax/swing/plaf/multi/MultiPanelUI.java,
* javax/swing/plaf/multi/MultiPopupMenuUI.java,
* javax/swing/plaf/multi/MultiProgressBarUI.java,
* javax/swing/plaf/multi/MultiRootPaneUI.java,
* javax/swing/plaf/multi/MultiScrollBarUI.java,
* javax/swing/plaf/multi/MultiScrollPaneUI.java,
* javax/swing/plaf/multi/MultiSeparatorUI.java,
* javax/swing/plaf/multi/MultiSliderUI.java,
* javax/swing/plaf/multi/MultiSpinnerUI.java,
* javax/swing/plaf/multi/MultiSplitPaneUI.java,
* javax/swing/plaf/multi/MultiTabbedPaneUI.java,
* javax/swing/plaf/multi/MultiTableHeaderUI.java,
* javax/swing/plaf/multi/MultiTableUI.java,
* javax/swing/plaf/multi/MultiTextUI.java,
* javax/swing/plaf/multi/MultiToolBarUI.java,
* javax/swing/plaf/multi/MultiToolTipUI.java,
* javax/swing/plaf/multi/MultiTreeUI.java,
* javax/swing/plaf/multi/MultiViewportUI.java,
* javax/swing/plaf/synth/SynthGraphicsUtils.java,
* javax/swing/plaf/synth/SynthLookAndFeel.java,
* javax/swing/plaf/synth/SynthPainter.java,
* javax/swing/table/AbstractTableModel.java,
* javax/swing/table/DefaultTableCellRenderer.java,
* javax/swing/table/DefaultTableColumnModel.java,
* javax/swing/table/DefaultTableModel.java,
* javax/swing/table/JTableHeader.java,
* javax/swing/table/TableCellEditor.java,
* javax/swing/table/TableCellRenderer.java,
* javax/swing/table/TableColumn.java,
* javax/swing/table/TableColumnModel.java,
* javax/swing/table/TableModel.java,
* javax/swing/text/AbstractDocument.java,
* javax/swing/text/AbstractWriter.java,
* javax/swing/text/AsyncBoxView.java,
* javax/swing/text/AttributeSet.java,
* javax/swing/text/BoxView.java,
* javax/swing/text/Caret.java,
* javax/swing/text/ComponentView.java,
* javax/swing/text/CompositeView.java,
* javax/swing/text/DefaultCaret.java,
* javax/swing/text/DefaultEditorKit.java,
* javax/swing/text/DefaultFormatter.java,
* javax/swing/text/DefaultFormatterFactory.java,
* javax/swing/text/DefaultHighlighter.java,
* javax/swing/text/DefaultStyledDocument.java,
* javax/swing/text/DocumentFilter.java,
* javax/swing/text/EditorKit.java,
* javax/swing/text/Element.java,
* javax/swing/text/ElementIterator.java,
* javax/swing/text/EmptyAttributeSet.java,
* javax/swing/text/FieldView.java,
* javax/swing/text/FlowView.java,
* javax/swing/text/GapContent.java,
* javax/swing/text/GlyphView.java,
* javax/swing/text/Highlighter.java,
* javax/swing/text/InternationalFormatter.java,
* javax/swing/text/JTextComponent.java,
* javax/swing/text/Keymap.java,
* javax/swing/text/LayeredHighlighter.java,
* javax/swing/text/LayoutQueue.java,
* javax/swing/text/MaskFormatter.java,
* javax/swing/text/MutableAttributeSet.java,
* javax/swing/text/NavigationFilter.java,
* javax/swing/text/NumberFormatter.java,
* javax/swing/text/ParagraphView.java,
* javax/swing/text/PasswordView.java,
* javax/swing/text/PlainDocument.java,
* javax/swing/text/PlainView.java,
* javax/swing/text/Position.java,
* javax/swing/text/Segment.java,
* javax/swing/text/SimpleAttributeSet.java,
* javax/swing/text/StringContent.java,
* javax/swing/text/Style.java,
* javax/swing/text/StyleConstants.java,
* javax/swing/text/StyleContext.java,
* javax/swing/text/StyledDocument.java,
* javax/swing/text/StyledEditorKit.java,
* javax/swing/text/TabExpander.java,
* javax/swing/text/TabSet.java,
* javax/swing/text/TabStop.java,
* javax/swing/text/TabableView.java,
* javax/swing/text/TableView.java,
* javax/swing/text/TextAction.java,
* javax/swing/text/Utilities.java,
* javax/swing/text/View.java,
* javax/swing/text/ViewFactory.java,
* javax/swing/text/WrappedPlainView.java,
* javax/swing/text/html/BRView.java,
* javax/swing/text/html/BlockView.java,
* javax/swing/text/html/CSS.java,
* javax/swing/text/html/CSSBorder.java,
* javax/swing/text/html/CSSParser.java,
* javax/swing/text/html/FormView.java,
* javax/swing/text/html/HRuleView.java,
* javax/swing/text/html/HTMLDocument.java,
* javax/swing/text/html/HTMLEditorKit.java,
* javax/swing/text/html/HTMLWriter.java,
* javax/swing/text/html/ImageView.java,
* javax/swing/text/html/InlineView.java,
* javax/swing/text/html/ListView.java,
* javax/swing/text/html/MinimalHTMLWriter.java,
* javax/swing/text/html/MultiAttributeSet.java,
* javax/swing/text/html/MultiStyle.java,
* javax/swing/text/html/ParagraphView.java,
* javax/swing/text/html/StyleSheet.java,
* javax/swing/text/html/TableView.java,
* javax/swing/text/html/ViewAttributeSet.java,
* javax/swing/text/html/parser/Entity.java,
* javax/swing/text/html/parser/Parser.java,
* javax/swing/text/rtf/RTFParser.java,
* javax/swing/text/rtf/RTFScanner.java,
* javax/swing/tree/AbstractLayoutCache.java,
* javax/swing/tree/DefaultMutableTreeNode.java,
* javax/swing/tree/DefaultTreeCellEditor.java,
* javax/swing/tree/DefaultTreeCellRenderer.java,
* javax/swing/tree/DefaultTreeModel.java,
* javax/swing/tree/DefaultTreeSelectionModel.java,
* javax/swing/tree/ExpandVetoException.java,
* javax/swing/tree/FixedHeightLayoutCache.java,
* javax/swing/tree/MutableTreeNode.java,
* javax/swing/tree/RowMapper.java,
* javax/swing/tree/TreeCellEditor.java,
* javax/swing/tree/TreeCellRenderer.java,
* javax/swing/tree/TreeNode.java,
* javax/swing/tree/TreePath.java,
* javax/swing/tree/TreeSelectionModel.java,
* javax/swing/tree/VariableHeightLayoutCache.java,
* javax/swing/undo/AbstractUndoableEdit.java,
* javax/swing/undo/CompoundEdit.java,
* javax/swing/undo/StateEdit.java,
* javax/swing/undo/UndoManager.java,
* javax/swing/undo/UndoableEdit.java,
* javax/tools/FileObject.java,
* javax/transaction/HeuristicCommitException.java,
* javax/transaction/HeuristicMixedException.java,
* javax/transaction/HeuristicRollbackException.java,
* javax/transaction/InvalidTransactionException.java,
* javax/transaction/NotSupportedException.java,
* javax/transaction/RollbackException.java,
* javax/transaction/Status.java,
* javax/transaction/Synchronization.java,
* javax/transaction/SystemException.java,
* javax/transaction/Transaction.java,
* javax/transaction/TransactionManager.java,
* javax/transaction/TransactionRequiredException.java,
* javax/transaction/TransactionRolledbackException.java,
* javax/transaction/UserTransaction.java,
* javax/transaction/xa/XAException.java,
* javax/transaction/xa/XAResource.java,
* javax/transaction/xa/Xid.java,
* javax/xml/XMLConstants.java,
* javax/xml/datatype/DatatypeConfigurationException.java,
* javax/xml/datatype/DatatypeConstants.java,
* javax/xml/datatype/DatatypeFactory.java,
* javax/xml/datatype/Duration.java,
* javax/xml/datatype/XMLGregorianCalendar.java,
* javax/xml/namespace/NamespaceContext.java,
* javax/xml/namespace/QName.java,
* javax/xml/parsers/DocumentBuilder.java,
* javax/xml/parsers/DocumentBuilderFactory.java,
* javax/xml/parsers/FactoryConfigurationError.java,
* javax/xml/parsers/ParserConfigurationException.java,
* javax/xml/parsers/SAXParser.java,
* javax/xml/parsers/SAXParserFactory.java,
* javax/xml/stream/EventFilter.java,
* javax/xml/stream/FactoryConfigurationError.java,
* javax/xml/stream/Location.java,
* javax/xml/stream/StreamFilter.java,
* javax/xml/stream/XMLEventFactory.java,
* javax/xml/stream/XMLEventReader.java,
* javax/xml/stream/XMLEventWriter.java,
* javax/xml/stream/XMLInputFactory.java,
* javax/xml/stream/XMLOutputFactory.java,
* javax/xml/stream/XMLReporter.java,
* javax/xml/stream/XMLResolver.java,
* javax/xml/stream/XMLStreamConstants.java,
* javax/xml/stream/XMLStreamException.java,
* javax/xml/stream/XMLStreamReader.java,
* javax/xml/stream/XMLStreamWriter.java,
* javax/xml/stream/events/Attribute.java,
* javax/xml/stream/events/Characters.java,
* javax/xml/stream/events/Comment.java,
* javax/xml/stream/events/DTD.java,
* javax/xml/stream/events/EndDocument.java,
* javax/xml/stream/events/EndElement.java,
* javax/xml/stream/events/EntityDeclaration.java,
* javax/xml/stream/events/EntityReference.java,
* javax/xml/stream/events/Namespace.java,
* javax/xml/stream/events/NotationDeclaration.java,
* javax/xml/stream/events/ProcessingInstruction.java,
* javax/xml/stream/events/StartDocument.java,
* javax/xml/stream/events/StartElement.java,
* javax/xml/stream/events/XMLEvent.java,
* javax/xml/stream/util/EventReaderDelegate.java,
* javax/xml/stream/util/StreamReaderDelegate.java,
* javax/xml/stream/util/XMLEventAllocator.java,
* javax/xml/stream/util/XMLEventConsumer.java,
* javax/xml/transform/ErrorListener.java,
* javax/xml/transform/OutputKeys.java,
* javax/xml/transform/Result.java,
* javax/xml/transform/Source.java,
* javax/xml/transform/SourceLocator.java,
* javax/xml/transform/Templates.java,
* javax/xml/transform/Transformer.java,
* javax/xml/transform/TransformerConfigurationException.java,
* javax/xml/transform/TransformerException.java,
* javax/xml/transform/TransformerFactory.java,
* javax/xml/transform/TransformerFactoryConfigurationError.java,
* javax/xml/transform/URIResolver.java,
* javax/xml/transform/dom/DOMLocator.java,
* javax/xml/transform/dom/DOMResult.java,
* javax/xml/transform/dom/DOMSource.java,
* javax/xml/transform/sax/SAXResult.java,
* javax/xml/transform/sax/SAXSource.java,
* javax/xml/transform/sax/SAXTransformerFactory.java,
* javax/xml/transform/sax/TemplatesHandler.java,
* javax/xml/transform/sax/TransformerHandler.java,
* javax/xml/transform/stream/StreamResult.java,
* javax/xml/transform/stream/StreamSource.java,
* javax/xml/validation/Schema.java,
* javax/xml/validation/SchemaFactory.java,
* javax/xml/validation/SchemaFactoryLoader.java,
* javax/xml/validation/TypeInfoProvider.java,
* javax/xml/validation/Validator.java,
* javax/xml/validation/ValidatorHandler.java,
* javax/xml/xpath/XPath.java,
* javax/xml/xpath/XPathConstants.java,
* javax/xml/xpath/XPathException.java,
* javax/xml/xpath/XPathExpression.java,
* javax/xml/xpath/XPathExpressionException.java,
* javax/xml/xpath/XPathFactory.java,
* javax/xml/xpath/XPathFactoryConfigurationException.java,
* javax/xml/xpath/XPathFunction.java,
* javax/xml/xpath/XPathFunctionException.java,
* javax/xml/xpath/XPathFunctionResolver.java,
* javax/xml/xpath/XPathVariableResolver.java,
* org/omg/CORBA/ARG_IN.java,
* org/omg/CORBA/ARG_INOUT.java,
* org/omg/CORBA/ARG_OUT.java,
* org/omg/CORBA/AnySeqHolder.java,
* org/omg/CORBA/BAD_CONTEXT.java,
* org/omg/CORBA/BAD_INV_ORDER.java,
* org/omg/CORBA/BAD_OPERATION.java,
* org/omg/CORBA/BAD_PARAM.java,
* org/omg/CORBA/BAD_POLICY.java,
* org/omg/CORBA/BAD_POLICY_TYPE.java,
* org/omg/CORBA/BAD_POLICY_VALUE.java,
* org/omg/CORBA/BAD_TYPECODE.java,
* org/omg/CORBA/COMM_FAILURE.java,
* org/omg/CORBA/CTX_RESTRICT_SCOPE.java,
* org/omg/CORBA/CompletionStatus.java,
* org/omg/CORBA/CompletionStatusHelper.java,
* org/omg/CORBA/Context.java,
* org/omg/CORBA/Current.java,
* org/omg/CORBA/CurrentHelper.java,
* org/omg/CORBA/CurrentHolder.java,
* org/omg/CORBA/CustomMarshal.java,
* org/omg/CORBA/CustomValue.java,
* org/omg/CORBA/DATA_CONVERSION.java,
* org/omg/CORBA/DataInputStream.java,
* org/omg/CORBA/DataOutputStream.java,
* org/omg/CORBA/DefinitionKind.java,
* org/omg/CORBA/DefinitionKindHelper.java,
* org/omg/CORBA/DynamicImplementation.java,
* org/omg/CORBA/FREE_MEM.java,
* org/omg/CORBA/FieldNameHelper.java,
* org/omg/CORBA/IDLTypeHelper.java,
* org/omg/CORBA/IMP_LIMIT.java,
* org/omg/CORBA/INITIALIZE.java,
* org/omg/CORBA/INTERNAL.java,
* org/omg/CORBA/INTF_REPOS.java,
* org/omg/CORBA/INVALID_TRANSACTION.java,
* org/omg/CORBA/INV_FLAG.java,
* org/omg/CORBA/INV_IDENT.java,
* org/omg/CORBA/INV_OBJREF.java,
* org/omg/CORBA/INV_POLICY.java,
* org/omg/CORBA/IRObject.java,
* org/omg/CORBA/IRObjectOperations.java,
* org/omg/CORBA/IdentifierHelper.java,
* org/omg/CORBA/LocalObject.java,
* org/omg/CORBA/LongSeqHolder.java,
* org/omg/CORBA/MARSHAL.java,
* org/omg/CORBA/NO_IMPLEMENT.java,
* org/omg/CORBA/NO_MEMORY.java,
* org/omg/CORBA/NO_PERMISSION.java,
* org/omg/CORBA/NO_RESOURCES.java,
* org/omg/CORBA/NO_RESPONSE.java,
* org/omg/CORBA/NVList.java,
* org/omg/CORBA/OBJECT_NOT_EXIST.java,
* org/omg/CORBA/OBJ_ADAPTER.java,
* org/omg/CORBA/OMGVMCID.java,
* org/omg/CORBA/ORB.java,
* org/omg/CORBA/ObjectHelper.java,
* org/omg/CORBA/ObjectHolder.java,
* org/omg/CORBA/PERSIST_STORE.java,
* org/omg/CORBA/ParameterMode.java,
* org/omg/CORBA/ParameterModeHelper.java,
* org/omg/CORBA/PolicyErrorCodeHelper.java,
* org/omg/CORBA/PolicyErrorHelper.java,
* org/omg/CORBA/PolicyErrorHolder.java,
* org/omg/CORBA/PolicyHelper.java,
* org/omg/CORBA/PolicyHolder.java,
* org/omg/CORBA/PolicyListHelper.java,
* org/omg/CORBA/PolicyListHolder.java,
* org/omg/CORBA/PolicyOperations.java,
* org/omg/CORBA/PolicyTypeHelper.java,
* org/omg/CORBA/RepositoryIdHelper.java,
* org/omg/CORBA/Request.java,
* org/omg/CORBA/ServiceDetailHelper.java,
* org/omg/CORBA/ServiceInformationHelper.java,
* org/omg/CORBA/SetOverrideTypeHelper.java,
* org/omg/CORBA/StringValueHelper.java,
* org/omg/CORBA/StructMember.java,
* org/omg/CORBA/StructMemberHelper.java,
* org/omg/CORBA/SystemException.java,
* org/omg/CORBA/TCKind.java,
* org/omg/CORBA/TRANSACTION_REQUIRED.java,
* org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
* org/omg/CORBA/TRANSIENT.java,
* org/omg/CORBA/TypeCode.java,
* org/omg/CORBA/TypeCodePackage/BadKind.java,
* org/omg/CORBA/TypeCodePackage/Bounds.java,
* org/omg/CORBA/UNSUPPORTED_POLICY.java,
* org/omg/CORBA/UNSUPPORTED_POLICY_VALUE.java,
* org/omg/CORBA/UnionMemberHelper.java,
* org/omg/CORBA/UnknownUserException.java,
* org/omg/CORBA/UnknownUserExceptionHolder.java,
* org/omg/CORBA/ValueBaseHelper.java,
* org/omg/CORBA/ValueBaseHolder.java,
* org/omg/CORBA/ValueMemberHelper.java,
* org/omg/CORBA/VersionSpecHelper.java,
* org/omg/CORBA/VisibilityHelper.java,
* org/omg/CORBA/WStringValueHelper.java,
* org/omg/CORBA/WrongTransactionHelper.java,
* org/omg/CORBA/WrongTransactionHolder.java,
* org/omg/CORBA/_IDLTypeStub.java,
* org/omg/CORBA/_PolicyStub.java,
* org/omg/CORBA/portable/CustomValue.java,
* org/omg/CORBA/portable/Delegate.java,
* org/omg/CORBA/portable/ObjectImpl.java,
* org/omg/CORBA/portable/StreamableValue.java,
* org/omg/CORBA/portable/ValueBase.java,
* org/omg/CORBA_2_3/ORB.java,
* org/omg/CORBA_2_3/portable/Delegate.java,
* org/omg/CORBA_2_3/portable/InputStream.java,
* org/omg/CORBA_2_3/portable/ObjectImpl.java,
* org/omg/CORBA_2_3/portable/OutputStream.java,
* org/omg/CosNaming/BindingHelper.java,
* org/omg/CosNaming/BindingIterator.java,
* org/omg/CosNaming/BindingIteratorHelper.java,
* org/omg/CosNaming/BindingIteratorOperations.java,
* org/omg/CosNaming/BindingIteratorPOA.java,
* org/omg/CosNaming/BindingType.java,
* org/omg/CosNaming/BindingTypeHelper.java,
* org/omg/CosNaming/IstringHelper.java,
* org/omg/CosNaming/NameComponentHelper.java,
* org/omg/CosNaming/NameHelper.java,
* org/omg/CosNaming/NamingContext.java,
* org/omg/CosNaming/NamingContextExtHelper.java,
* org/omg/CosNaming/NamingContextExtPOA.java,
* org/omg/CosNaming/NamingContextExtPackage/InvalidAddress.java,
* org/omg/CosNaming/NamingContextHelper.java,
* org/omg/CosNaming/NamingContextPOA.java,
* org/omg/CosNaming/NamingContextPackage/AlreadyBound.java,
* org/omg/CosNaming/NamingContextPackage/CannotProceed.java,
* org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
* org/omg/CosNaming/NamingContextPackage/InvalidName.java,
* org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
* org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
* org/omg/CosNaming/NamingContextPackage/NotFound.java,
* org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
* org/omg/CosNaming/NamingContextPackage/NotFoundReason.java,
* org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
* org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
* org/omg/CosNaming/_BindingIteratorImplBase.java,
* org/omg/CosNaming/_BindingIteratorStub.java,
* org/omg/CosNaming/_NamingContextExtStub.java,
* org/omg/CosNaming/_NamingContextStub.java,
* org/omg/Dynamic/Parameter.java,
* org/omg/DynamicAny/AnySeqHelper.java,
* org/omg/DynamicAny/DynAny.java,
* org/omg/DynamicAny/DynAnyFactoryHelper.java,
* org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java,
* org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
* org/omg/DynamicAny/DynAnyHelper.java,
* org/omg/DynamicAny/DynAnyPackage/InvalidValue.java,
* org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
* org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java,
* org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
* org/omg/DynamicAny/DynAnySeqHelper.java,
* org/omg/DynamicAny/DynArrayHelper.java,
* org/omg/DynamicAny/DynEnumHelper.java,
* org/omg/DynamicAny/DynFixedHelper.java,
* org/omg/DynamicAny/DynSequenceHelper.java,
* org/omg/DynamicAny/DynStructHelper.java,
* org/omg/DynamicAny/DynUnionHelper.java,
* org/omg/DynamicAny/DynValueBox.java,
* org/omg/DynamicAny/DynValueCommonOperations.java,
* org/omg/DynamicAny/DynValueHelper.java,
* org/omg/DynamicAny/FieldNameHelper.java,
* org/omg/DynamicAny/NameDynAnyPairHelper.java,
* org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
* org/omg/DynamicAny/NameValuePair.java,
* org/omg/DynamicAny/NameValuePairHelper.java,
* org/omg/DynamicAny/NameValuePairSeqHelper.java,
* org/omg/DynamicAny/_DynAnyFactoryStub.java,
* org/omg/DynamicAny/_DynAnyStub.java,
* org/omg/DynamicAny/_DynArrayStub.java,
* org/omg/DynamicAny/_DynEnumStub.java,
* org/omg/DynamicAny/_DynFixedStub.java,
* org/omg/DynamicAny/_DynSequenceStub.java,
* org/omg/DynamicAny/_DynStructStub.java,
* org/omg/DynamicAny/_DynUnionStub.java,
* org/omg/DynamicAny/_DynValueStub.java,
* org/omg/IOP/Codec.java,
* org/omg/IOP/CodecFactory.java,
* org/omg/IOP/CodecFactoryHelper.java,
* org/omg/IOP/CodecFactoryOperations.java,
* org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
* org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
* org/omg/IOP/CodecOperations.java,
* org/omg/IOP/CodecPackage/FormatMismatch.java,
* org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
* org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
* org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
* org/omg/IOP/CodecPackage/TypeMismatch.java,
* org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
* org/omg/IOP/ComponentIdHelper.java,
* org/omg/IOP/Encoding.java,
* org/omg/IOP/IOR.java,
* org/omg/IOP/IORHelper.java,
* org/omg/IOP/IORHolder.java,
* org/omg/IOP/MultipleComponentProfileHelper.java,
* org/omg/IOP/MultipleComponentProfileHolder.java,
* org/omg/IOP/ProfileIdHelper.java,
* org/omg/IOP/ServiceContext.java,
* org/omg/IOP/ServiceContextHelper.java,
* org/omg/IOP/ServiceContextHolder.java,
* org/omg/IOP/ServiceContextListHelper.java,
* org/omg/IOP/ServiceContextListHolder.java,
* org/omg/IOP/ServiceIdHelper.java,
* org/omg/IOP/TaggedComponent.java,
* org/omg/IOP/TaggedComponentHelper.java,
* org/omg/IOP/TaggedComponentHolder.java,
* org/omg/IOP/TaggedProfile.java,
* org/omg/IOP/TaggedProfileHelper.java,
* org/omg/IOP/TaggedProfileHolder.java,
* org/omg/IOP/TransactionService.java,
* org/omg/Messaging/SYNC_WITH_TRANSPORT.java,
* org/omg/Messaging/SyncScopeHelper.java,
* org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
* org/omg/PortableInterceptor/AdapterNameHelper.java,
* org/omg/PortableInterceptor/AdapterStateHelper.java,
* org/omg/PortableInterceptor/ClientRequestInfo.java,
* org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
* org/omg/PortableInterceptor/ClientRequestInterceptor.java,
* org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
* org/omg/PortableInterceptor/Current.java,
* org/omg/PortableInterceptor/CurrentHelper.java,
* org/omg/PortableInterceptor/CurrentOperations.java,
* org/omg/PortableInterceptor/ForwardRequest.java,
* org/omg/PortableInterceptor/ForwardRequestHelper.java,
* org/omg/PortableInterceptor/IORInfo.java,
* org/omg/PortableInterceptor/IORInfoOperations.java,
* org/omg/PortableInterceptor/IORInterceptor.java,
* org/omg/PortableInterceptor/IORInterceptorOperations.java,
* org/omg/PortableInterceptor/IORInterceptor_3_0.java,
* org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
* org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
* org/omg/PortableInterceptor/IORInterceptor_3_0Operations.java,
* org/omg/PortableInterceptor/Interceptor.java,
* org/omg/PortableInterceptor/InterceptorOperations.java,
* org/omg/PortableInterceptor/InvalidSlot.java,
* org/omg/PortableInterceptor/InvalidSlotHelper.java,
* org/omg/PortableInterceptor/LOCATION_FORWARD.java,
* org/omg/PortableInterceptor/ORBIdHelper.java,
* org/omg/PortableInterceptor/ORBInitInfo.java,
* org/omg/PortableInterceptor/ORBInitInfoOperations.java,
* org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
* org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
* org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
* org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
* org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
* org/omg/PortableInterceptor/ORBInitializer.java,
* org/omg/PortableInterceptor/ORBInitializerOperations.java,
* org/omg/PortableInterceptor/ObjectIdHelper.java,
* org/omg/PortableInterceptor/ObjectReferenceFactory.java,
* org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
* org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java,
* org/omg/PortableInterceptor/ObjectReferenceTemplate.java,
* org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
* org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
* org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
* org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
* org/omg/PortableInterceptor/PolicyFactory.java,
* org/omg/PortableInterceptor/PolicyFactoryOperations.java,
* org/omg/PortableInterceptor/RequestInfo.java,
* org/omg/PortableInterceptor/RequestInfoOperations.java,
* org/omg/PortableInterceptor/SUCCESSFUL.java,
* org/omg/PortableInterceptor/SYSTEM_EXCEPTION.java,
* org/omg/PortableInterceptor/ServerIdHelper.java,
* org/omg/PortableInterceptor/ServerRequestInfo.java,
* org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
* org/omg/PortableInterceptor/ServerRequestInterceptor.java,
* org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
* org/omg/PortableInterceptor/TRANSPORT_RETRY.java,
* org/omg/PortableInterceptor/USER_EXCEPTION.java,
* org/omg/PortableInterceptor/_IORInterceptor_3_0Stub.java,
* org/omg/PortableServer/AdapterActivator.java,
* org/omg/PortableServer/AdapterActivatorOperations.java,
* org/omg/PortableServer/Current.java,
* org/omg/PortableServer/CurrentHelper.java,
* org/omg/PortableServer/CurrentOperations.java,
* org/omg/PortableServer/CurrentPackage/NoContext.java,
* org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
* org/omg/PortableServer/DynamicImplementation.java,
* org/omg/PortableServer/ForwardRequest.java,
* org/omg/PortableServer/ForwardRequestHelper.java,
* org/omg/PortableServer/ID_ASSIGNMENT_POLICY_ID.java,
* org/omg/PortableServer/ID_UNIQUENESS_POLICY_ID.java,
* org/omg/PortableServer/IMPLICIT_ACTIVATION_POLICY_ID.java,
* org/omg/PortableServer/IdAssignmentPolicy.java,
* org/omg/PortableServer/IdAssignmentPolicyOperations.java,
* org/omg/PortableServer/IdAssignmentPolicyValue.java,
* org/omg/PortableServer/IdUniquenessPolicy.java,
* org/omg/PortableServer/IdUniquenessPolicyOperations.java,
* org/omg/PortableServer/IdUniquenessPolicyValue.java,
* org/omg/PortableServer/ImplicitActivationPolicy.java,
* org/omg/PortableServer/ImplicitActivationPolicyOperations.java,
* org/omg/PortableServer/ImplicitActivationPolicyValue.java,
* org/omg/PortableServer/LifespanPolicy.java,
* org/omg/PortableServer/LifespanPolicyOperations.java,
* org/omg/PortableServer/LifespanPolicyValue.java,
* org/omg/PortableServer/POA.java,
* org/omg/PortableServer/POAHelper.java,
* org/omg/PortableServer/POAManager.java,
* org/omg/PortableServer/POAManagerOperations.java,
* org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
* org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
* org/omg/PortableServer/POAManagerPackage/State.java,
* org/omg/PortableServer/POAOperations.java,
* org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
* org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
* org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
* org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
* org/omg/PortableServer/POAPackage/InvalidPolicy.java,
* org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
* org/omg/PortableServer/POAPackage/NoServant.java,
* org/omg/PortableServer/POAPackage/NoServantHelper.java,
* org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
* org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
* org/omg/PortableServer/POAPackage/ObjectNotActive.java,
* org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
* org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
* org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
* org/omg/PortableServer/POAPackage/ServantNotActive.java,
* org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
* org/omg/PortableServer/POAPackage/WrongAdapter.java,
* org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
* org/omg/PortableServer/POAPackage/WrongPolicy.java,
* org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
* org/omg/PortableServer/RequestProcessingPolicy.java,
* org/omg/PortableServer/RequestProcessingPolicyOperations.java,
* org/omg/PortableServer/RequestProcessingPolicyValue.java,
* org/omg/PortableServer/Servant.java,
* org/omg/PortableServer/ServantActivator.java,
* org/omg/PortableServer/ServantActivatorHelper.java,
* org/omg/PortableServer/ServantActivatorOperations.java,
* org/omg/PortableServer/ServantActivatorPOA.java,
* org/omg/PortableServer/ServantLocator.java,
* org/omg/PortableServer/ServantLocatorHelper.java,
* org/omg/PortableServer/ServantLocatorOperations.java,
* org/omg/PortableServer/ServantLocatorPOA.java,
* org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
* org/omg/PortableServer/ServantManager.java,
* org/omg/PortableServer/ServantManagerOperations.java,
* org/omg/PortableServer/ServantRetentionPolicy.java,
* org/omg/PortableServer/ServantRetentionPolicyOperations.java,
* org/omg/PortableServer/ServantRetentionPolicyValue.java,
* org/omg/PortableServer/ThreadPolicy.java,
* org/omg/PortableServer/ThreadPolicyOperations.java,
* org/omg/PortableServer/ThreadPolicyValue.java,
* org/omg/PortableServer/_ServantActivatorStub.java,
* org/omg/PortableServer/_ServantLocatorStub.java,
* org/omg/PortableServer/portable/Delegate.java,
* org/omg/SendingContext/RunTime.java,
* org/omg/SendingContext/RunTimeOperations.java,
* sun/misc/Service.java,
* sun/misc/ServiceConfigurationError.java,
* sun/reflect/annotation/AnnotationInvocationHandler.java,
* sun/reflect/annotation/AnnotationParser.java,
* sun/reflect/annotation/AnnotationType.java,
* sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
* sun/reflect/annotation/ExceptionProxy.java,
* tools/com/sun/javadoc/ClassDoc.java,
* tools/com/sun/javadoc/ConstructorDoc.java,
* tools/com/sun/javadoc/Doc.java,
* tools/com/sun/javadoc/DocErrorReporter.java,
* tools/com/sun/javadoc/Doclet.java,
* tools/com/sun/javadoc/ExecutableMemberDoc.java,
* tools/com/sun/javadoc/FieldDoc.java,
* tools/com/sun/javadoc/MemberDoc.java,
* tools/com/sun/javadoc/MethodDoc.java,
* tools/com/sun/javadoc/PackageDoc.java,
* tools/com/sun/javadoc/ParamTag.java,
* tools/com/sun/javadoc/Parameter.java,
* tools/com/sun/javadoc/ProgramElementDoc.java,
* tools/com/sun/javadoc/RootDoc.java,
* tools/com/sun/javadoc/SeeTag.java,
* tools/com/sun/javadoc/SerialFieldTag.java,
* tools/com/sun/javadoc/Tag.java,
* tools/com/sun/javadoc/ThrowsTag.java,
* tools/com/sun/javadoc/Type.java,
* tools/com/sun/javadoc/TypeVariable.java,
* tools/com/sun/tools/javadoc/Main.java,
* tools/com/sun/tools/javah/Main.java,
* tools/external/asm/org/objectweb/asm/AnnotationVisitor.java,
* tools/external/asm/org/objectweb/asm/AnnotationWriter.java,
* tools/external/asm/org/objectweb/asm/Attribute.java,
* tools/external/asm/org/objectweb/asm/ByteVector.java,
* tools/external/asm/org/objectweb/asm/ClassAdapter.java,
* tools/external/asm/org/objectweb/asm/ClassReader.java,
* tools/external/asm/org/objectweb/asm/ClassVisitor.java,
* tools/external/asm/org/objectweb/asm/ClassWriter.java,
* tools/external/asm/org/objectweb/asm/Edge.java,
* tools/external/asm/org/objectweb/asm/FieldVisitor.java,
* tools/external/asm/org/objectweb/asm/FieldWriter.java,
* tools/external/asm/org/objectweb/asm/Handler.java,
* tools/external/asm/org/objectweb/asm/Item.java,
* tools/external/asm/org/objectweb/asm/Label.java,
* tools/external/asm/org/objectweb/asm/MethodAdapter.java,
* tools/external/asm/org/objectweb/asm/MethodVisitor.java,
* tools/external/asm/org/objectweb/asm/MethodWriter.java,
* tools/external/asm/org/objectweb/asm/Opcodes.java,
* tools/external/asm/org/objectweb/asm/Type.java,
* tools/external/asm/org/objectweb/asm/attrs/StackMapAttribute.java,
* tools/external/asm/org/objectweb/asm/attrs/StackMapFrame.java,
* tools/external/asm/org/objectweb/asm/attrs/StackMapTableAttribute.java,
* tools/external/asm/org/objectweb/asm/attrs/StackMapType.java,
* tools/external/asm/org/objectweb/asm/commons/AdviceAdapter.java,
* tools/external/asm/org/objectweb/asm/commons/EmptyVisitor.java,
* tools/external/asm/org/objectweb/asm/commons/GeneratorAdapter.java,
* tools/external/asm/org/objectweb/asm/commons/LocalVariablesSorter.java,
* tools/external/asm/org/objectweb/asm/commons/Method.java,
* tools/external/asm/org/objectweb/asm/commons/SerialVersionUIDAdder.java,
* tools/external/asm/org/objectweb/asm/commons/StaticInitMerger.java,
* tools/external/asm/org/objectweb/asm/commons/TableSwitchGenerator.java,
* tools/external/asm/org/objectweb/asm/optimizer/AnnotationConstantsCollector.java,
* tools/external/asm/org/objectweb/asm/optimizer/ClassConstantsCollector.java,
* tools/external/asm/org/objectweb/asm/optimizer/ClassOptimizer.java,
* tools/external/asm/org/objectweb/asm/optimizer/Constant.java,
* tools/external/asm/org/objectweb/asm/optimizer/ConstantPool.java,
* tools/external/asm/org/objectweb/asm/optimizer/FieldConstantsCollector.java,
* tools/external/asm/org/objectweb/asm/optimizer/JarOptimizer.java,
* tools/external/asm/org/objectweb/asm/optimizer/MethodConstantsCollector.java,
* tools/external/asm/org/objectweb/asm/optimizer/MethodOptimizer.java,
* tools/external/asm/org/objectweb/asm/optimizer/NameMapping.java,
* tools/external/asm/org/objectweb/asm/optimizer/Shrinker.java,
* tools/external/asm/org/objectweb/asm/signature/SignatureReader.java,
* tools/external/asm/org/objectweb/asm/signature/SignatureVisitor.java,
* tools/external/asm/org/objectweb/asm/signature/SignatureWriter.java,
* tools/external/asm/org/objectweb/asm/tree/AbstractInsnNode.java,
* tools/external/asm/org/objectweb/asm/tree/AnnotationNode.java,
* tools/external/asm/org/objectweb/asm/tree/ClassNode.java,
* tools/external/asm/org/objectweb/asm/tree/FieldInsnNode.java,
* tools/external/asm/org/objectweb/asm/tree/FieldNode.java,
* tools/external/asm/org/objectweb/asm/tree/IincInsnNode.java,
* tools/external/asm/org/objectweb/asm/tree/InnerClassNode.java,
* tools/external/asm/org/objectweb/asm/tree/InsnNode.java,
* tools/external/asm/org/objectweb/asm/tree/IntInsnNode.java,
* tools/external/asm/org/objectweb/asm/tree/JumpInsnNode.java,
* tools/external/asm/org/objectweb/asm/tree/LabelNode.java,
* tools/external/asm/org/objectweb/asm/tree/LdcInsnNode.java,
* tools/external/asm/org/objectweb/asm/tree/LineNumberNode.java,
* tools/external/asm/org/objectweb/asm/tree/LocalVariableNode.java,
* tools/external/asm/org/objectweb/asm/tree/LookupSwitchInsnNode.java,
* tools/external/asm/org/objectweb/asm/tree/MemberNode.java,
* tools/external/asm/org/objectweb/asm/tree/MethodInsnNode.java,
* tools/external/asm/org/objectweb/asm/tree/MethodNode.java,
* tools/external/asm/org/objectweb/asm/tree/MultiANewArrayInsnNode.java,
* tools/external/asm/org/objectweb/asm/tree/TableSwitchInsnNode.java,
* tools/external/asm/org/objectweb/asm/tree/TryCatchBlockNode.java,
* tools/external/asm/org/objectweb/asm/tree/TypeInsnNode.java,
* tools/external/asm/org/objectweb/asm/tree/VarInsnNode.java,
* tools/external/asm/org/objectweb/asm/tree/analysis/Analyzer.java,
* tools/external/asm/org/objectweb/asm/tree/analysis/AnalyzerException.java,
* tools/external/asm/org/objectweb/asm/tree/analysis/BasicInterpreter.java,
* tools/external/asm/org/objectweb/asm/tree/analysis/BasicValue.java,
* tools/external/asm/org/objectweb/asm/tree/analysis/BasicVerifier.java,
* tools/external/asm/org/objectweb/asm/tree/analysis/DataflowInterpreter.java,
* tools/external/asm/org/objectweb/asm/tree/analysis/DataflowValue.java,
* tools/external/asm/org/objectweb/asm/tree/analysis/Frame.java,
* tools/external/asm/org/objectweb/asm/tree/analysis/IntMap.java,
* tools/external/asm/org/objectweb/asm/tree/analysis/Interpreter.java,
* tools/external/asm/org/objectweb/asm/tree/analysis/SimpleVerifier.java,
* tools/external/asm/org/objectweb/asm/tree/analysis/SmallSet.java,
* tools/external/asm/org/objectweb/asm/tree/analysis/Subroutine.java,
* tools/external/asm/org/objectweb/asm/tree/analysis/Value.java,
* tools/external/asm/org/objectweb/asm/util/ASMifierAbstractVisitor.java,
* tools/external/asm/org/objectweb/asm/util/ASMifierAnnotationVisitor.java,
* tools/external/asm/org/objectweb/asm/util/ASMifierClassVisitor.java,
* tools/external/asm/org/objectweb/asm/util/ASMifierFieldVisitor.java,
* tools/external/asm/org/objectweb/asm/util/ASMifierMethodVisitor.java,
* tools/external/asm/org/objectweb/asm/util/AbstractVisitor.java,
* tools/external/asm/org/objectweb/asm/util/CheckAnnotationAdapter.java,
* tools/external/asm/org/objectweb/asm/util/CheckClassAdapter.java,
* tools/external/asm/org/objectweb/asm/util/CheckMethodAdapter.java,
* tools/external/asm/org/objectweb/asm/util/TraceAbstractVisitor.java,
* tools/external/asm/org/objectweb/asm/util/TraceAnnotationVisitor.java,
* tools/external/asm/org/objectweb/asm/util/TraceClassVisitor.java,
* tools/external/asm/org/objectweb/asm/util/TraceFieldVisitor.java,
* tools/external/asm/org/objectweb/asm/util/TraceMethodVisitor.java,
* tools/external/asm/org/objectweb/asm/util/TraceSignatureVisitor.java,
* tools/external/asm/org/objectweb/asm/util/attrs/ASMStackMapAttribute.java,
* tools/external/asm/org/objectweb/asm/util/attrs/ASMStackMapTableAttribute.java,
* tools/external/asm/org/objectweb/asm/util/attrs/ASMifiable.java,
* tools/external/asm/org/objectweb/asm/util/attrs/Traceable.java,
* tools/external/asm/org/objectweb/asm/xml/ASMContentHandler.java,
* tools/external/asm/org/objectweb/asm/xml/Processor.java,
* tools/external/asm/org/objectweb/asm/xml/SAXAdapter.java,
* tools/external/asm/org/objectweb/asm/xml/SAXAnnotationAdapter.java,
* tools/external/asm/org/objectweb/asm/xml/SAXClassAdapter.java,
* tools/external/asm/org/objectweb/asm/xml/SAXCodeAdapter.java,
* tools/external/asm/org/objectweb/asm/xml/SAXFieldAdapter.java,
* tools/generated/gnu/classpath/tools/gjdoc/expr/JavaLexer.java,
* tools/generated/gnu/classpath/tools/gjdoc/expr/JavaRecognizer.java,
* tools/generated/gnu/classpath/tools/gjdoc/expr/JavaTokenTypes.java,
* tools/gnu/classpath/tools/FileSystemClassLoader.java,
* tools/gnu/classpath/tools/IOToolkit.java,
* tools/gnu/classpath/tools/MalformedInputEvent.java,
* tools/gnu/classpath/tools/MalformedInputListener.java,
* tools/gnu/classpath/tools/NotifyingInputStreamReader.java,
* tools/gnu/classpath/tools/StringToolkit.java,
* tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java,
* tools/gnu/classpath/tools/appletviewer/AppletTag.java,
* tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java,
* tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java,
* tools/gnu/classpath/tools/appletviewer/Main.java,
* tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java,
* tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java,
* tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java,
* tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java,
* tools/gnu/classpath/tools/appletviewer/TagParser.java,
* tools/gnu/classpath/tools/common/CallbackUtil.java,
* tools/gnu/classpath/tools/common/ClasspathToolParser.java,
* tools/gnu/classpath/tools/common/Persistent.java,
* tools/gnu/classpath/tools/common/ProviderUtil.java,
* tools/gnu/classpath/tools/common/SecurityProviderInfo.java,
* tools/gnu/classpath/tools/doclets/AbstractDoclet.java,
* tools/gnu/classpath/tools/doclets/DocletConfigurationException.java,
* tools/gnu/classpath/tools/doclets/DocletOption.java,
* tools/gnu/classpath/tools/doclets/DocletOptionColonSeparated.java,
* tools/gnu/classpath/tools/doclets/DocletOptionFile.java,
* tools/gnu/classpath/tools/doclets/DocletOptionFlag.java,
* tools/gnu/classpath/tools/doclets/DocletOptionPackageWildcard.java,
* tools/gnu/classpath/tools/doclets/DocletOptionString.java,
* tools/gnu/classpath/tools/doclets/InlineTagRenderer.java,
* tools/gnu/classpath/tools/doclets/InvalidPackageWildcardException.java,
* tools/gnu/classpath/tools/doclets/PackageGroup.java,
* tools/gnu/classpath/tools/doclets/PackageMatcher.java,
* tools/gnu/classpath/tools/doclets/StandardTaglet.java,
* tools/gnu/classpath/tools/doclets/TagletPrinter.java,
* tools/gnu/classpath/tools/doclets/debugdoclet/DebugDoclet.java,
* tools/gnu/classpath/tools/doclets/htmldoclet/CssClass.java,
* tools/gnu/classpath/tools/doclets/htmldoclet/ExternalDocSet.java,
* tools/gnu/classpath/tools/doclets/htmldoclet/HtmlDoclet.java,
* tools/gnu/classpath/tools/doclets/htmldoclet/HtmlPage.java,
* tools/gnu/classpath/tools/doclets/htmldoclet/HtmlTagletContext.java,
* tools/gnu/classpath/tools/doclets/xmldoclet/Driver.java,
* tools/gnu/classpath/tools/doclets/xmldoclet/Driver1_4.java,
* tools/gnu/classpath/tools/doclets/xmldoclet/HtmlRepairer.java,
* tools/gnu/classpath/tools/doclets/xmldoclet/TargetContext.java,
* tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTranslet.java,
* tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletConfigurationException.java,
* tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletException.java,
* tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletOptions.java,
* tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/JarClassLoader.java,
* tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/OutputFileInfo.java,
* tools/gnu/classpath/tools/getopt/FileArgumentCallback.java,
* tools/gnu/classpath/tools/getopt/Option.java,
* tools/gnu/classpath/tools/getopt/OptionGroup.java,
* tools/gnu/classpath/tools/getopt/Parser.java,
* tools/gnu/classpath/tools/gjdoc/AbstractTagImpl.java,
* tools/gnu/classpath/tools/gjdoc/ArrayCharacterIterator.java,
* tools/gnu/classpath/tools/gjdoc/ClassDocImpl.java,
* tools/gnu/classpath/tools/gjdoc/ClassDocProxy.java,
* tools/gnu/classpath/tools/gjdoc/ClassDocReflectedImpl.java,
* tools/gnu/classpath/tools/gjdoc/ConstructorDocImpl.java,
* tools/gnu/classpath/tools/gjdoc/Debug.java,
* tools/gnu/classpath/tools/gjdoc/DirectoryTree.java,
* tools/gnu/classpath/tools/gjdoc/DocImpl.java,
* tools/gnu/classpath/tools/gjdoc/ErrorReporter.java,
* tools/gnu/classpath/tools/gjdoc/ExecutableMemberDocImpl.java,
* tools/gnu/classpath/tools/gjdoc/FieldDocImpl.java,
* tools/gnu/classpath/tools/gjdoc/GjdocPackageDoc.java,
* tools/gnu/classpath/tools/gjdoc/GjdocRootDoc.java,
* tools/gnu/classpath/tools/gjdoc/InheritDocTagImpl.java,
* tools/gnu/classpath/tools/gjdoc/JavadocWrapper.java,
* tools/gnu/classpath/tools/gjdoc/LinkTagImpl.java,
* tools/gnu/classpath/tools/gjdoc/Main.java,
* tools/gnu/classpath/tools/gjdoc/MemberDocImpl.java,
* tools/gnu/classpath/tools/gjdoc/MethodDocImpl.java,
* tools/gnu/classpath/tools/gjdoc/PackageDocImpl.java,
* tools/gnu/classpath/tools/gjdoc/ParamTagImpl.java,
* tools/gnu/classpath/tools/gjdoc/ParameterImpl.java,
* tools/gnu/classpath/tools/gjdoc/ParseException.java,
* tools/gnu/classpath/tools/gjdoc/Parser.java,
* tools/gnu/classpath/tools/gjdoc/ProgramElementDocImpl.java,
* tools/gnu/classpath/tools/gjdoc/RootDocImpl.java,
* tools/gnu/classpath/tools/gjdoc/SeeTagImpl.java,
* tools/gnu/classpath/tools/gjdoc/SerialFieldTagImpl.java,
* tools/gnu/classpath/tools/gjdoc/SourcePositionImpl.java,
* tools/gnu/classpath/tools/gjdoc/TagContainer.java,
* tools/gnu/classpath/tools/gjdoc/TagImpl.java,
* tools/gnu/classpath/tools/gjdoc/TemporaryStore.java,
* tools/gnu/classpath/tools/gjdoc/TextTagImpl.java,
* tools/gnu/classpath/tools/gjdoc/ThrowsTagImpl.java,
* tools/gnu/classpath/tools/gjdoc/Timer.java,
* tools/gnu/classpath/tools/gjdoc/TimerDoclet.java,
* tools/gnu/classpath/tools/gjdoc/TypeImpl.java,
* tools/gnu/classpath/tools/gjdoc/TypeVariableImpl.java,
* tools/gnu/classpath/tools/gjdoc/ValueTagImpl.java,
* tools/gnu/classpath/tools/gjdoc/WritableType.java,
* tools/gnu/classpath/tools/gjdoc/expr/AdditionExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/AndExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/BinaryBitwiseExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/BinaryComputationExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/BinaryEqualityExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/BinaryExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/BinaryLogicalExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/BinaryRelationExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/BinaryShiftExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/BitShiftRightExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/CircularExpressionException.java,
* tools/gnu/classpath/tools/gjdoc/expr/ConditionalExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/ConstantBoolean.java,
* tools/gnu/classpath/tools/gjdoc/expr/ConstantByte.java,
* tools/gnu/classpath/tools/gjdoc/expr/ConstantChar.java,
* tools/gnu/classpath/tools/gjdoc/expr/ConstantDouble.java,
* tools/gnu/classpath/tools/gjdoc/expr/ConstantExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/ConstantFloat.java,
* tools/gnu/classpath/tools/gjdoc/expr/ConstantInteger.java,
* tools/gnu/classpath/tools/gjdoc/expr/ConstantLong.java,
* tools/gnu/classpath/tools/gjdoc/expr/ConstantNull.java,
* tools/gnu/classpath/tools/gjdoc/expr/ConstantShort.java,
* tools/gnu/classpath/tools/gjdoc/expr/ConstantString.java,
* tools/gnu/classpath/tools/gjdoc/expr/Context.java,
* tools/gnu/classpath/tools/gjdoc/expr/DivisionExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/EqualExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/Evaluator.java,
* tools/gnu/classpath/tools/gjdoc/expr/EvaluatorEnvironment.java,
* tools/gnu/classpath/tools/gjdoc/expr/ExclusiveOrExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/Expression.java,
* tools/gnu/classpath/tools/gjdoc/expr/GreaterThanExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/GreaterThanOrEqualExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/IdentifierExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/IllegalExpressionException.java,
* tools/gnu/classpath/tools/gjdoc/expr/InclusiveOrExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/LessThanExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/LessThanOrEqualExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/LogicalAndExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/LogicalNotExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/LogicalOrExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/ModuloExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/MultiplicationExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/NegateExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/NotEqualExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/NotExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/ShiftLeftExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/ShiftRightExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/SubtractionExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/Type.java,
* tools/gnu/classpath/tools/gjdoc/expr/TypeCastExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/UnaryExpression.java,
* tools/gnu/classpath/tools/gjdoc/expr/UnknownIdentifierException.java,
* tools/gnu/classpath/tools/jar/Creator.java,
* tools/gnu/classpath/tools/jar/Indexer.java,
* tools/gnu/classpath/tools/jar/Main.java,
* tools/gnu/classpath/tools/jar/Updater.java,
* tools/gnu/classpath/tools/jarsigner/JarVerifier.java,
* tools/gnu/classpath/tools/jarsigner/Main.java,
* tools/gnu/classpath/tools/jarsigner/SFHelper.java,
* tools/gnu/classpath/tools/java2xhtml/Java2xhtml.java,
* tools/gnu/classpath/tools/javah/ClassWrapper.java,
* tools/gnu/classpath/tools/javah/CniPrintStream.java,
* tools/gnu/classpath/tools/javah/GcjhMain.java,
* tools/gnu/classpath/tools/javah/JniHelper.java,
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java,
* tools/gnu/classpath/tools/javah/JniStubPrinter.java,
* tools/gnu/classpath/tools/javah/Keywords.java,
* tools/gnu/classpath/tools/javah/Main.java,
* tools/gnu/classpath/tools/javah/MethodHelper.java,
* tools/gnu/classpath/tools/keytool/CACertCmd.java,
* tools/gnu/classpath/tools/keytool/CertReqCmd.java,
* tools/gnu/classpath/tools/keytool/Command.java,
* tools/gnu/classpath/tools/keytool/DeleteCmd.java,
* tools/gnu/classpath/tools/keytool/ExportCmd.java,
* tools/gnu/classpath/tools/keytool/GenKeyCmd.java,
* tools/gnu/classpath/tools/keytool/IdentityDBCmd.java,
* tools/gnu/classpath/tools/keytool/ImportCmd.java,
* tools/gnu/classpath/tools/keytool/KeyCloneCmd.java,
* tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java,
* tools/gnu/classpath/tools/keytool/ListCmd.java,
* tools/gnu/classpath/tools/keytool/PrintCertCmd.java,
* tools/gnu/classpath/tools/keytool/SelfCertCmd.java,
* tools/gnu/classpath/tools/keytool/StorePasswdCmd.java,
* tools/gnu/classpath/tools/orbd/Main.java,
* tools/gnu/classpath/tools/orbd/PersistentContext.java,
* tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
* tools/gnu/classpath/tools/orbd/PersistentMap.java,
* tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
* tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java,
* tools/gnu/classpath/tools/rmic/CompilationError.java,
* tools/gnu/classpath/tools/rmic/Generator.java,
* tools/gnu/classpath/tools/rmic/GiopIo.java,
* tools/gnu/classpath/tools/rmic/HashFinder.java,
* tools/gnu/classpath/tools/rmic/Main.java,
* tools/gnu/classpath/tools/rmic/MethodGenerator.java,
* tools/gnu/classpath/tools/rmic/RMICException.java,
* tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
* tools/gnu/classpath/tools/rmic/RmicBackend.java,
* tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
* tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
* tools/gnu/classpath/tools/rmic/Variables.java,
* tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
* tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
* tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
* tools/gnu/classpath/tools/rmid/Main.java,
* tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
* tools/gnu/classpath/tools/rmiregistry/Main.java,
* tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
* tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
* tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
* tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
* tools/gnu/classpath/tools/serialver/SerialVer.java,
* tools/gnu/classpath/tools/taglets/AuthorTaglet.java,
* tools/gnu/classpath/tools/taglets/CodeTaglet.java,
* tools/gnu/classpath/tools/taglets/CopyrightTaglet.java,
* tools/gnu/classpath/tools/taglets/DeprecatedTaglet.java,
* tools/gnu/classpath/tools/taglets/GenericTaglet.java,
* tools/gnu/classpath/tools/taglets/GnuExtendedTaglet.java,
* tools/gnu/classpath/tools/taglets/SinceTaglet.java,
* tools/gnu/classpath/tools/taglets/TagletContext.java,
* tools/gnu/classpath/tools/taglets/ValueTaglet.java,
* tools/gnu/classpath/tools/taglets/VersionTaglet.java,
* tools/gnu/classpath/tools/tnameserv/Main.java,
* vm/reference/gnu/classpath/jdwp/VMFrame.java,
* vm/reference/gnu/classpath/jdwp/VMIdManager.java,
* vm/reference/gnu/classpath/jdwp/VMMethod.java,
* vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java,
* vm/reference/gnu/java/lang/VMCPStringBuilder.java,
* vm/reference/gnu/java/lang/VMInstrumentationImpl.java,
* vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java,
* vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java,
* vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
* vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java,
* vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java,
* vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
* vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java,
* vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java,
* vm/reference/gnu/java/net/VMPlainSocketImpl.java,
* vm/reference/gnu/java/nio/VMChannel.java,
* vm/reference/gnu/java/nio/VMPipe.java,
* vm/reference/gnu/java/nio/VMSelector.java,
* vm/reference/gnu/java/security/jce/prng/VMSecureRandom.java,
* vm/reference/java/io/VMFile.java,
* vm/reference/java/io/VMObjectInputStream.java,
* vm/reference/java/io/VMObjectStreamClass.java,
* vm/reference/java/lang/VMClass.java,
* vm/reference/java/lang/VMClassLoader.java,
* vm/reference/java/lang/VMDouble.java,
* vm/reference/java/lang/VMFloat.java,
* vm/reference/java/lang/VMMath.java,
* vm/reference/java/lang/VMObject.java,
* vm/reference/java/lang/VMProcess.java,
* vm/reference/java/lang/VMRuntime.java,
* vm/reference/java/lang/VMString.java,
* vm/reference/java/lang/VMSystem.java,
* vm/reference/java/lang/VMThread.java,
* vm/reference/java/lang/reflect/VMConstructor.java,
* vm/reference/java/lang/reflect/VMField.java,
* vm/reference/java/lang/reflect/VMMethod.java,
* vm/reference/java/net/VMNetworkInterface.java,
* vm/reference/java/nio/channels/VMChannels.java,
* vm/reference/java/security/VMAccessController.java,
* vm/reference/java/security/VMSecureRandom.java,
* vm/reference/java/util/VMTimeZone.java,
* vm/reference/sun/misc/Unsafe.java,
* vm/reference/sun/reflect/Reflection.java,
* vm/reference/sun/reflect/misc/ReflectUtil.java:
Normalise whitespace.
From-SVN: r168680
Diffstat (limited to 'libjava/classpath/tools')
352 files changed, 8815 insertions, 8847 deletions
diff --git a/libjava/classpath/tools/com/sun/javadoc/ClassDoc.java b/libjava/classpath/tools/com/sun/javadoc/ClassDoc.java index a4fa40a..6309f94 100644 --- a/libjava/classpath/tools/com/sun/javadoc/ClassDoc.java +++ b/libjava/classpath/tools/com/sun/javadoc/ClassDoc.java @@ -319,4 +319,3 @@ TypeVariable[] typeParameters(); } // interface ClassDoc - diff --git a/libjava/classpath/tools/com/sun/javadoc/ConstructorDoc.java b/libjava/classpath/tools/com/sun/javadoc/ConstructorDoc.java index e9db459..88c8d3d 100644 --- a/libjava/classpath/tools/com/sun/javadoc/ConstructorDoc.java +++ b/libjava/classpath/tools/com/sun/javadoc/ConstructorDoc.java @@ -54,4 +54,3 @@ public abstract String qualifiedName(); } // interface ConstructorDoc - diff --git a/libjava/classpath/tools/com/sun/javadoc/Doc.java b/libjava/classpath/tools/com/sun/javadoc/Doc.java index 425c857..554720d 100644 --- a/libjava/classpath/tools/com/sun/javadoc/Doc.java +++ b/libjava/classpath/tools/com/sun/javadoc/Doc.java @@ -262,4 +262,3 @@ public abstract SourcePosition position(); } // interface Doc - diff --git a/libjava/classpath/tools/com/sun/javadoc/DocErrorReporter.java b/libjava/classpath/tools/com/sun/javadoc/DocErrorReporter.java index c4d05e7..2e801b8 100644 --- a/libjava/classpath/tools/com/sun/javadoc/DocErrorReporter.java +++ b/libjava/classpath/tools/com/sun/javadoc/DocErrorReporter.java @@ -74,4 +74,3 @@ public abstract void printNotice(String notice); } // interface DocErrorReporter - diff --git a/libjava/classpath/tools/com/sun/javadoc/Doclet.java b/libjava/classpath/tools/com/sun/javadoc/Doclet.java index 7ce4b29..172387e 100644 --- a/libjava/classpath/tools/com/sun/javadoc/Doclet.java +++ b/libjava/classpath/tools/com/sun/javadoc/Doclet.java @@ -96,4 +96,3 @@ validOptions(String[][] opts, DocErrorReporter logger) } } // class Doclet - diff --git a/libjava/classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java b/libjava/classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java index 8d4ddab..ac0ca06 100644 --- a/libjava/classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java +++ b/libjava/classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java @@ -135,4 +135,3 @@ public abstract String flatSignature(); } // interface ExecutableMemberDoc - diff --git a/libjava/classpath/tools/com/sun/javadoc/FieldDoc.java b/libjava/classpath/tools/com/sun/javadoc/FieldDoc.java index a5e48c4..1fd0c7b 100644 --- a/libjava/classpath/tools/com/sun/javadoc/FieldDoc.java +++ b/libjava/classpath/tools/com/sun/javadoc/FieldDoc.java @@ -110,4 +110,3 @@ constantValueExpression(); } // interface FieldDoc - diff --git a/libjava/classpath/tools/com/sun/javadoc/MemberDoc.java b/libjava/classpath/tools/com/sun/javadoc/MemberDoc.java index 8448f12..9e755bb 100644 --- a/libjava/classpath/tools/com/sun/javadoc/MemberDoc.java +++ b/libjava/classpath/tools/com/sun/javadoc/MemberDoc.java @@ -57,4 +57,3 @@ public abstract boolean isSynthetic(); } // interface MemberDoc - diff --git a/libjava/classpath/tools/com/sun/javadoc/MethodDoc.java b/libjava/classpath/tools/com/sun/javadoc/MethodDoc.java index a24b8ec..87129ef 100644 --- a/libjava/classpath/tools/com/sun/javadoc/MethodDoc.java +++ b/libjava/classpath/tools/com/sun/javadoc/MethodDoc.java @@ -77,4 +77,3 @@ public abstract ClassDoc overriddenClass(); } // interface MethodDoc - diff --git a/libjava/classpath/tools/com/sun/javadoc/PackageDoc.java b/libjava/classpath/tools/com/sun/javadoc/PackageDoc.java index d544acf..4518b4e 100644 --- a/libjava/classpath/tools/com/sun/javadoc/PackageDoc.java +++ b/libjava/classpath/tools/com/sun/javadoc/PackageDoc.java @@ -106,4 +106,3 @@ public abstract ClassDoc findClass(String cls); } // interface PackageDoc - diff --git a/libjava/classpath/tools/com/sun/javadoc/ParamTag.java b/libjava/classpath/tools/com/sun/javadoc/ParamTag.java index 9435863..9c060e9 100644 --- a/libjava/classpath/tools/com/sun/javadoc/ParamTag.java +++ b/libjava/classpath/tools/com/sun/javadoc/ParamTag.java @@ -63,4 +63,3 @@ public abstract String parameterName(); } // interface ParamTag - diff --git a/libjava/classpath/tools/com/sun/javadoc/Parameter.java b/libjava/classpath/tools/com/sun/javadoc/Parameter.java index a359a5d..300a335 100644 --- a/libjava/classpath/tools/com/sun/javadoc/Parameter.java +++ b/libjava/classpath/tools/com/sun/javadoc/Parameter.java @@ -85,4 +85,3 @@ public abstract String toString(); } // interaface Parameter - diff --git a/libjava/classpath/tools/com/sun/javadoc/ProgramElementDoc.java b/libjava/classpath/tools/com/sun/javadoc/ProgramElementDoc.java index 0d6dd46..061e327 100644 --- a/libjava/classpath/tools/com/sun/javadoc/ProgramElementDoc.java +++ b/libjava/classpath/tools/com/sun/javadoc/ProgramElementDoc.java @@ -167,4 +167,3 @@ public abstract boolean isFinal(); } // interface ProgramElementDoc - diff --git a/libjava/classpath/tools/com/sun/javadoc/RootDoc.java b/libjava/classpath/tools/com/sun/javadoc/RootDoc.java index 0642154..18be71d 100644 --- a/libjava/classpath/tools/com/sun/javadoc/RootDoc.java +++ b/libjava/classpath/tools/com/sun/javadoc/RootDoc.java @@ -48,7 +48,7 @@ public interface RootDoc extends Doc, DocErrorReporter /** * This method returns the command line element used to invoke this instance * of javadoc. - * + * * @return The command line arguments for this run. */ public abstract String[][] options(); @@ -58,7 +58,7 @@ public interface RootDoc extends Doc, DocErrorReporter /** * This method returns the list of packages that were specified on the command * line. - * + * * @return The packages specified on the command line. */ public abstract PackageDoc[] specifiedPackages(); @@ -68,7 +68,7 @@ public interface RootDoc extends Doc, DocErrorReporter /** * This method returns the list of classes that were specified on the command * line. - * + * * @return The classes specified on the command line. */ public abstract ClassDoc[] specifiedClasses(); @@ -77,7 +77,7 @@ public interface RootDoc extends Doc, DocErrorReporter /** * This method returns the list of classes and interfaces to be documented. - * + * * @return The list of classes and interfaces to be documented. */ public abstract ClassDoc[] classes(); @@ -87,7 +87,7 @@ public interface RootDoc extends Doc, DocErrorReporter /** * This method returns a <code>ClassDoc</code> instance for the name class * or interface. - * + * * @param name * The class or interface to look up. * @return The requested <code>ClassDoc</code>, or null if the specified @@ -100,7 +100,7 @@ public interface RootDoc extends Doc, DocErrorReporter /** * This method returns a <code>PackageDoc</code> instance for the named * package. - * + * * @param name * The package to look up. * @return The requested <code>PackageDoc</code>, or null if the specified @@ -109,4 +109,3 @@ public interface RootDoc extends Doc, DocErrorReporter public abstract PackageDoc packageNamed(String name); } // interface RootDoc - diff --git a/libjava/classpath/tools/com/sun/javadoc/SeeTag.java b/libjava/classpath/tools/com/sun/javadoc/SeeTag.java index 12a2e93..7e5b305 100644 --- a/libjava/classpath/tools/com/sun/javadoc/SeeTag.java +++ b/libjava/classpath/tools/com/sun/javadoc/SeeTag.java @@ -106,4 +106,3 @@ public abstract MemberDoc referencedMember(); } // interface SeeTag - diff --git a/libjava/classpath/tools/com/sun/javadoc/SerialFieldTag.java b/libjava/classpath/tools/com/sun/javadoc/SerialFieldTag.java index 9f5fa9a..ef69283 100644 --- a/libjava/classpath/tools/com/sun/javadoc/SerialFieldTag.java +++ b/libjava/classpath/tools/com/sun/javadoc/SerialFieldTag.java @@ -99,4 +99,3 @@ public abstract int compareTo(Object obj); } // interface SerialFieldTag - diff --git a/libjava/classpath/tools/com/sun/javadoc/Tag.java b/libjava/classpath/tools/com/sun/javadoc/Tag.java index f032212..88745cb 100644 --- a/libjava/classpath/tools/com/sun/javadoc/Tag.java +++ b/libjava/classpath/tools/com/sun/javadoc/Tag.java @@ -104,4 +104,3 @@ public abstract Tag[] firstSentenceTags(); } // interface Tag - diff --git a/libjava/classpath/tools/com/sun/javadoc/ThrowsTag.java b/libjava/classpath/tools/com/sun/javadoc/ThrowsTag.java index 72a4394..0d5a98e 100644 --- a/libjava/classpath/tools/com/sun/javadoc/ThrowsTag.java +++ b/libjava/classpath/tools/com/sun/javadoc/ThrowsTag.java @@ -73,4 +73,3 @@ public abstract ClassDoc exception(); } // interface ThrowsTag - diff --git a/libjava/classpath/tools/com/sun/javadoc/Type.java b/libjava/classpath/tools/com/sun/javadoc/Type.java index 8d0bd14..0aabe0e 100644 --- a/libjava/classpath/tools/com/sun/javadoc/Type.java +++ b/libjava/classpath/tools/com/sun/javadoc/Type.java @@ -117,4 +117,3 @@ TypeVariable asTypeVariable(); } // interface Type - diff --git a/libjava/classpath/tools/com/sun/javadoc/TypeVariable.java b/libjava/classpath/tools/com/sun/javadoc/TypeVariable.java index 4f847d2..94da505 100644 --- a/libjava/classpath/tools/com/sun/javadoc/TypeVariable.java +++ b/libjava/classpath/tools/com/sun/javadoc/TypeVariable.java @@ -48,8 +48,8 @@ package com.sun.javadoc; * * @since 1.5 * @author Andrew John Hughes (gnu_andrew@member.fsf.org) - */ -public interface TypeVariable + */ +public interface TypeVariable extends Type { diff --git a/libjava/classpath/tools/com/sun/tools/javadoc/Main.java b/libjava/classpath/tools/com/sun/tools/javadoc/Main.java index 7f0fc10..0082d41 100644 --- a/libjava/classpath/tools/com/sun/tools/javadoc/Main.java +++ b/libjava/classpath/tools/com/sun/tools/javadoc/Main.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -39,8 +39,8 @@ package com.sun.tools.javadoc; public class Main { - public static void main(String[] args) - { - gnu.classpath.tools.gjdoc.Main.main(args); - } + public static void main(String[] args) + { + gnu.classpath.tools.gjdoc.Main.main(args); + } } diff --git a/libjava/classpath/tools/com/sun/tools/javah/Main.java b/libjava/classpath/tools/com/sun/tools/javah/Main.java index 7eb0f37..7faab59 100644 --- a/libjava/classpath/tools/com/sun/tools/javah/Main.java +++ b/libjava/classpath/tools/com/sun/tools/javah/Main.java @@ -47,12 +47,12 @@ public class Main { try { - gnu.classpath.tools.javah.Main.main(args); + gnu.classpath.tools.javah.Main.main(args); } catch (IOException e) { - throw new IllegalArgumentException("An I/O error occurred " + - "in executing javah", e); + throw new IllegalArgumentException("An I/O error occurred " + + "in executing javah", e); } } } diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/AnnotationVisitor.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/AnnotationVisitor.java index 8226ae8..835b3e0 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/AnnotationVisitor.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/AnnotationVisitor.java @@ -31,7 +31,7 @@ package org.objectweb.asm; /** * A visitor to visit a Java annotation. The methods of this interface must be - * called in the following order: (<tt>visit<tt> | <tt>visitEnum<tt> | + * called in the following order: (<tt>visit<tt> | <tt>visitEnum<tt> | * <tt>visitAnnotation<tt> | <tt>visitArray<tt>)* <tt>visitEnd<tt>. * * @author Eric Bruneton @@ -41,7 +41,7 @@ public interface AnnotationVisitor { /** * Visits a primitive value of the annotation. - * + * * @param name the value name. * @param value the actual value, whose type must be {@link Byte}, * {@link Boolean}, {@link Character}, {@link Short}, @@ -52,7 +52,7 @@ public interface AnnotationVisitor { /** * Visits an enumeration value of the annotation. - * + * * @param name the value name. * @param desc the class descriptor of the enumeration class. * @param value the actual enumeration value. @@ -61,7 +61,7 @@ public interface AnnotationVisitor { /** * Visits a nested annotation value of the annotation. - * + * * @param name the value name. * @param desc the class descriptor of the nested annotation class. * @return a non null visitor to visit the actual nested annotation value. @@ -72,7 +72,7 @@ public interface AnnotationVisitor { /** * Visits an array value of the annotation. - * + * * @param name the value name. * @return a non null visitor to visit the actual array value elements. The * 'name' parameters passed to the methods of this visitor are diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/AnnotationWriter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/AnnotationWriter.java index 918e234..bf06bc9 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/AnnotationWriter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/AnnotationWriter.java @@ -31,7 +31,7 @@ package org.objectweb.asm; /** * An {@link AnnotationVisitor} that generates annotations in bytecode form. - * + * * @author Eric Bruneton * @author Eugene Kuleshov */ @@ -48,7 +48,7 @@ final class AnnotationWriter implements AnnotationVisitor { private int size; /** - * <tt>true<tt> if values are named, <tt>false</tt> otherwise. Annotation + * <tt>true<tt> if values are named, <tt>false</tt> otherwise. Annotation * writers used for annotation default and annotation arrays use unnamed * values. */ @@ -89,12 +89,12 @@ final class AnnotationWriter implements AnnotationVisitor { /** * Constructs a new {@link AnnotationWriter}. - * + * * @param cw the class writer to which this annotation must be added. * @param named <tt>true<tt> if values are named, <tt>false</tt> otherwise. * @param bv where the annotation values must be stored. * @param parent where the number of annotation values must be stored. - * @param offset where in <tt>parent</tt> the number of annotation values must + * @param offset where in <tt>parent</tt> the number of annotation values must * be stored. */ AnnotationWriter( @@ -236,7 +236,7 @@ final class AnnotationWriter implements AnnotationVisitor { /** * Returns the size of this annotation writer list. - * + * * @return the size of this annotation writer list. */ int getSize() { @@ -252,7 +252,7 @@ final class AnnotationWriter implements AnnotationVisitor { /** * Puts the annotations of this annotation writer list into the given byte * vector. - * + * * @param out where the annotations must be put. */ void put(final ByteVector out) { @@ -279,7 +279,7 @@ final class AnnotationWriter implements AnnotationVisitor { /** * Puts the given annotation lists into the given byte vector. - * + * * @param panns an array of annotation writer lists. * @param out where the annotations must be put. */ diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/Attribute.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/Attribute.java index c55eb93..897a33c 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/Attribute.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/Attribute.java @@ -31,7 +31,7 @@ package org.objectweb.asm; /** * A non standard class, field, method or code attribute. - * + * * @author Eric Bruneton * @author Eugene Kuleshov */ @@ -46,7 +46,7 @@ public class Attribute { * The raw value of this attribute, used only for unknown attributes. */ byte[] value; - + /** * The next attribute in this attribute list. May be <tt>null</tt>. */ @@ -54,7 +54,7 @@ public class Attribute { /** * Constructs a new empty attribute. - * + * * @param type the type of the attribute. */ protected Attribute(final String type) { @@ -64,7 +64,7 @@ public class Attribute { /** * Returns <tt>true</tt> if this type of attribute is unknown. The default * implementation of this method always returns <tt>true</tt>. - * + * * @return <tt>true</tt> if this type of attribute is unknown. */ public boolean isUnknown() { @@ -73,7 +73,7 @@ public class Attribute { /** * Returns <tt>true</tt> if this type of attribute is a code attribute. - * + * * @return <tt>true</tt> if this type of attribute is a code attribute. */ public boolean isCodeAttribute() { @@ -82,7 +82,7 @@ public class Attribute { /** * Returns the labels corresponding to this attribute. - * + * * @return the labels corresponding to this attribute, or <tt>null</tt> if * this attribute is not a code attribute that contains labels. */ @@ -95,7 +95,7 @@ public class Attribute { * {@link Attribute} object, of type {@link #type type}, corresponding to * the <tt>len</tt> bytes starting at the given offset, in the given class * reader. - * + * * @param cr the class that contains the attribute to be read. * @param off index of the first byte of the attribute's content in {@link * ClassReader#b cr.b}. The 6 attribute header bytes, containing the @@ -132,7 +132,7 @@ public class Attribute { /** * Returns the byte array form of this attribute. - * + * * @param cw the class to which this attribute must be added. This parameter * can be used to add to the constant pool of this class the items * that corresponds to this attribute. @@ -165,7 +165,7 @@ public class Attribute { /** * Returns the length of the attribute list that begins with this attribute. - * + * * @return the length of the attribute list that begins with this attribute. */ final int getCount() { @@ -180,7 +180,7 @@ public class Attribute { /** * Returns the size of all the attributes in this attribute list. - * + * * @param cw the class writer to be used to convert the attributes into byte * arrays, with the {@link #write write} method. * @param code the bytecode of the method corresponding to these code @@ -218,7 +218,7 @@ public class Attribute { /** * Writes all the attributes of this attribute list in the given byte * vector. - * + * * @param cw the class writer to be used to convert the attributes into byte * arrays, with the {@link #write write} method. * @param code the bytecode of the method corresponding to these code diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/ByteVector.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/ByteVector.java index 270778b..a1bc325 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/ByteVector.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/ByteVector.java @@ -32,7 +32,7 @@ package org.objectweb.asm; /** * A dynamically extensible vector of bytes. This class is roughly equivalent to * a DataOutputStream on top of a ByteArrayOutputStream, but is more efficient. - * + * * @author Eric Bruneton */ public class ByteVector { @@ -58,7 +58,7 @@ public class ByteVector { /** * Constructs a new {@link ByteVector ByteVector} with the given initial * size. - * + * * @param initialSize the initial size of the byte vector to be constructed. */ public ByteVector(final int initialSize) { @@ -68,7 +68,7 @@ public class ByteVector { /** * Puts a byte into this byte vector. The byte vector is automatically * enlarged if necessary. - * + * * @param b a byte. * @return this byte vector. */ @@ -85,7 +85,7 @@ public class ByteVector { /** * Puts two bytes into this byte vector. The byte vector is automatically * enlarged if necessary. - * + * * @param b1 a byte. * @param b2 another byte. * @return this byte vector. @@ -105,7 +105,7 @@ public class ByteVector { /** * Puts a short into this byte vector. The byte vector is automatically * enlarged if necessary. - * + * * @param s a short. * @return this byte vector. */ @@ -124,7 +124,7 @@ public class ByteVector { /** * Puts a byte and a short into this byte vector. The byte vector is * automatically enlarged if necessary. - * + * * @param b a byte. * @param s a short. * @return this byte vector. @@ -145,7 +145,7 @@ public class ByteVector { /** * Puts an int into this byte vector. The byte vector is automatically * enlarged if necessary. - * + * * @param i an int. * @return this byte vector. */ @@ -166,7 +166,7 @@ public class ByteVector { /** * Puts a long into this byte vector. The byte vector is automatically * enlarged if necessary. - * + * * @param l a long. * @return this byte vector. */ @@ -193,7 +193,7 @@ public class ByteVector { /** * Puts an UTF8 string into this byte vector. The byte vector is * automatically enlarged if necessary. - * + * * @param s a String. * @return this byte vector. */ @@ -258,7 +258,7 @@ public class ByteVector { /** * Puts an array of bytes into this byte vector. The byte vector is * automatically enlarged if necessary. - * + * * @param b an array of bytes. May be <tt>null</tt> to put <tt>len</tt> * null bytes into this byte vector. * @param off index of the fist byte of b that must be copied. @@ -279,7 +279,7 @@ public class ByteVector { /** * Enlarge this byte vector so that it can receive n more bytes. - * + * * @param size number of additional bytes that this byte vector should be * able to receive. */ diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/ClassAdapter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/ClassAdapter.java index 5f12b08..24e34bb 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/ClassAdapter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/ClassAdapter.java @@ -33,7 +33,7 @@ package org.objectweb.asm; * An empty {@link ClassVisitor} that delegates to another {@link ClassVisitor}. * This class can be used as a super class to quickly implement usefull class * adapter classes, just by overriding the necessary methods. - * + * * @author Eric Bruneton */ public class ClassAdapter implements ClassVisitor { @@ -45,7 +45,7 @@ public class ClassAdapter implements ClassVisitor { /** * Constructs a new {@link ClassAdapter} object. - * + * * @param cv the class visitor to which this adapter must delegate calls. */ public ClassAdapter(final ClassVisitor cv) { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/ClassReader.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/ClassReader.java index 6924b57..9d94a42 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/ClassReader.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/ClassReader.java @@ -37,7 +37,7 @@ import java.io.IOException; * This class parses a byte array conforming to the Java class file format and * calls the appropriate visit methods of a given class visitor for each field, * method and bytecode instruction encountered. - * + * * @author Eric Bruneton * @author Eugene Kuleshov */ @@ -85,7 +85,7 @@ public class ClassReader { /** * Constructs a new {@link ClassReader} object. - * + * * @param b the bytecode of the class to be read. */ public ClassReader(final byte[] b) { @@ -94,7 +94,7 @@ public class ClassReader { /** * Constructs a new {@link ClassReader} object. - * + * * @param b the bytecode of the class to be read. * @param off the start offset of the class data. * @param len the length of the class data. @@ -147,7 +147,7 @@ public class ClassReader { /** * Copies the constant pool data into the given {@link ClassWriter}. Should * be called before the {@link #accept(ClassVisitor,boolean)} method. - * + * * @param classWriter the {@link ClassWriter} to copy constant pool into. */ void copyPool(final ClassWriter classWriter) { @@ -228,7 +228,7 @@ public class ClassReader { /** * Constructs a new {@link ClassReader} object. - * + * * @param is an input stream from which to read the class. * @throws IOException if a problem occurs during reading. */ @@ -238,7 +238,7 @@ public class ClassReader { /** * Constructs a new {@link ClassReader} object. - * + * * @param name the fully qualified name of the class to be read. * @throws IOException if an exception occurs during reading. */ @@ -249,7 +249,7 @@ public class ClassReader { /** * Reads the bytecode of a class. - * + * * @param is an input stream from which to read the class. * @return the bytecode read from the given input stream. * @throws IOException if a problem occurs during reading. @@ -287,7 +287,7 @@ public class ClassReader { * Makes the given visitor visit the Java class of this {@link ClassReader}. * This class is the one specified in the constructor (see * {@link #ClassReader(byte[]) ClassReader}). - * + * * @param classVisitor the visitor that must visit this class. * @param skipDebug <tt>true</tt> if the debug information of the class * must not be visited. In this case the @@ -304,7 +304,7 @@ public class ClassReader { * Makes the given visitor visit the Java class of this {@link ClassReader}. * This class is the one specified in the constructor (see * {@link #ClassReader(byte[]) ClassReader}). - * + * * @param classVisitor the visitor that must visit this class. * @param attrs prototypes of the attributes that must be parsed during the * visit of the class. Any attribute whose type is not equal to the @@ -861,7 +861,7 @@ public class ClassReader { if (handler == null) { labels[label] = handler = new Label(); } - + int type = readUnsignedShort(v + 6); if (type == 0) { mv.visitTryCatchBlock(start, end, handler, null); @@ -1149,7 +1149,7 @@ public class ClassReader { /** * Reads parameter annotations and makes the given visitor visit them. - * + * * @param v start offset in {@link #b b} of the annotations to be read. * @param buf buffer to be used to call {@link #readUTF8 readUTF8}, * {@link #readClass(int,char[]) readClass} or @@ -1181,7 +1181,7 @@ public class ClassReader { /** * Reads the values of an annotation and makes the given visitor visit them. - * + * * @param v the start offset in {@link #b b} of the values to be read * (including the unsigned short that gives the number of values). * @param buf buffer to be used to call {@link #readUTF8 readUTF8}, @@ -1208,7 +1208,7 @@ public class ClassReader { /** * Reads a value of an annotation and makes the given visitor visit it. - * + * * @param v the start offset in {@link #b b} of the value to be read (<i>not * including the value name constant pool index</i>). * @param buf buffer to be used to call {@link #readUTF8 readUTF8}, @@ -1364,7 +1364,7 @@ public class ClassReader { /** * Reads an attribute in {@link #b b}. - * + * * @param attrs prototypes of the attributes that must be parsed during the * visit of the class. Any attribute whose type is not equal to the * type of one the prototypes is ignored (i.e. an empty @@ -1412,7 +1412,7 @@ public class ClassReader { * Returns the start index of the constant pool item in {@link #b b}, plus * one. <i>This method is intended for {@link Attribute} sub classes, and is * normally not needed by class generators or adapters.</i> - * + * * @param item the index a constant pool item. * @return the start index of the constant pool item in {@link #b b}, plus * one. @@ -1425,7 +1425,7 @@ public class ClassReader { * Reads a byte value in {@link #b b}. <i>This method is intended for * {@link Attribute} sub classes, and is normally not needed by class * generators or adapters.</i> - * + * * @param index the start index of the value to be read in {@link #b b}. * @return the read value. */ @@ -1437,7 +1437,7 @@ public class ClassReader { * Reads an unsigned short value in {@link #b b}. <i>This method is * intended for {@link Attribute} sub classes, and is normally not needed by * class generators or adapters.</i> - * + * * @param index the start index of the value to be read in {@link #b b}. * @return the read value. */ @@ -1450,7 +1450,7 @@ public class ClassReader { * Reads a signed short value in {@link #b b}. <i>This method is intended * for {@link Attribute} sub classes, and is normally not needed by class * generators or adapters.</i> - * + * * @param index the start index of the value to be read in {@link #b b}. * @return the read value. */ @@ -1463,7 +1463,7 @@ public class ClassReader { * Reads a signed int value in {@link #b b}. <i>This method is intended for * {@link Attribute} sub classes, and is normally not needed by class * generators or adapters.</i> - * + * * @param index the start index of the value to be read in {@link #b b}. * @return the read value. */ @@ -1477,7 +1477,7 @@ public class ClassReader { * Reads a signed long value in {@link #b b}. <i>This method is intended * for {@link Attribute} sub classes, and is normally not needed by class * generators or adapters.</i> - * + * * @param index the start index of the value to be read in {@link #b b}. * @return the read value. */ @@ -1491,7 +1491,7 @@ public class ClassReader { * Reads an UTF8 string constant pool item in {@link #b b}. <i>This method * is intended for {@link Attribute} sub classes, and is normally not needed * by class generators or adapters.</i> - * + * * @param index the start index of an unsigned short value in {@link #b b}, * whose value is the index of an UTF8 constant pool item. * @param buf buffer to be used to read the item. This buffer must be @@ -1510,7 +1510,7 @@ public class ClassReader { /** * Reads UTF8 string in {@link #b b}. - * + * * @param index start offset of the UTF8 string to be read. * @param utfLen length of the UTF8 string to be read. * @param buf buffer to be used to read the string. This buffer must be @@ -1558,7 +1558,7 @@ public class ClassReader { * Reads a class constant pool item in {@link #b b}. <i>This method is * intended for {@link Attribute} sub classes, and is normally not needed by * class generators or adapters.</i> - * + * * @param index the start index of an unsigned short value in {@link #b b}, * whose value is the index of a class constant pool item. * @param buf buffer to be used to read the item. This buffer must be @@ -1576,7 +1576,7 @@ public class ClassReader { * Reads a numeric or string constant pool item in {@link #b b}. <i>This * method is intended for {@link Attribute} sub classes, and is normally not * needed by class generators or adapters.</i> - * + * * @param item the index of a constant pool item. * @param buf buffer to be used to read the item. This buffer must be * sufficiently large. It is not automatically resized. diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/ClassVisitor.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/ClassVisitor.java index 749c425..edeb587 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/ClassVisitor.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/ClassVisitor.java @@ -35,14 +35,14 @@ package org.objectweb.asm; * <tt>visitOuterClass</tt> ] ( <tt>visitAnnotation</tt> | * <tt>visitAttribute</tt> )* (<tt>visitInnerClass</tt> | * <tt>visitField</tt> | <tt>visitMethod</tt> )* <tt>visitEnd</tt>. - * + * * @author Eric Bruneton */ public interface ClassVisitor { /** * Visits the header of the class. - * + * * @param version the class version. * @param access the class's access flags (see {@link Opcodes}). This * parameter also indicates if the class is deprecated. @@ -69,7 +69,7 @@ public interface ClassVisitor { /** * Visits the source of the class. - * + * * @param source the name of the source file from which the class was * compiled. May be <tt>null</tt>. * @param debug additional debug information to compute the correspondance @@ -81,7 +81,7 @@ public interface ClassVisitor { /** * Visits the enclosing class of the class. This method must be called only * if the class has an enclosing class. - * + * * @param owner internal name of the enclosing class of the class. * @param name the name of the method that contains the class, or * <tt>null</tt> if the class is not enclosed in a method of its @@ -94,7 +94,7 @@ public interface ClassVisitor { /** * Visits an annotation of the class. - * + * * @param desc the class descriptor of the annotation class. * @param visible <tt>true</tt> if the annotation is visible at runtime. * @return a non null visitor to visit the annotation values. @@ -103,7 +103,7 @@ public interface ClassVisitor { /** * Visits a non standard attribute of the class. - * + * * @param attr an attribute. */ void visitAttribute(Attribute attr); @@ -111,7 +111,7 @@ public interface ClassVisitor { /** * Visits information about an inner class. This inner class is not * necessarily a member of the class being visited. - * + * * @param name the internal name of an inner class (see * {@link Type#getInternalName() getInternalName}). * @param outerName the internal name of the class to which the inner class @@ -131,7 +131,7 @@ public interface ClassVisitor { /** * Visits a field of the class. - * + * * @param access the field's access flags (see {@link Opcodes}). This * parameter also indicates if the field is synthetic and/or * deprecated. @@ -163,7 +163,7 @@ public interface ClassVisitor { * Visits a method of the class. This method <i>must</i> return a new * {@link MethodVisitor} instance (or <tt>null</tt>) each time it is * called, i.e., it should not return a previously returned visitor. - * + * * @param access the method's access flags (see {@link Opcodes}). This * parameter also indicates if the method is synthetic and/or * deprecated. diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/ClassWriter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/ClassWriter.java index 22f4e52..81eeeb7 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/ClassWriter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/ClassWriter.java @@ -35,7 +35,7 @@ package org.objectweb.asm; * file format. It can be used alone, to generate a Java class "from scratch", * or with one or more {@link ClassReader ClassReader} and adapter class visitor * to generate a modified class from one or more existing Java classes. - * + * * @author Eric Bruneton */ public class ClassWriter implements ClassVisitor { @@ -442,7 +442,7 @@ public class ClassWriter implements ClassVisitor { /** * Constructs a new {@link ClassWriter ClassWriter} object. - * + * * @param computeMaxs <tt>true</tt> if the maximum stack size and the * maximum number of local variables must be automatically computed. * If this flag is <tt>true</tt>, then the arguments of the @@ -458,7 +458,7 @@ public class ClassWriter implements ClassVisitor { /** * Constructs a new {@link ClassWriter} object. - * + * * @param computeMaxs <tt>true</tt> if the maximum stack size and the * maximum number of local variables must be automatically computed. * If this flag is <tt>true</tt>, then the arguments of the @@ -488,7 +488,7 @@ public class ClassWriter implements ClassVisitor { * Constructs a new {@link ClassWriter} object and enables optimizations for * "mostly add" bytecode transformations. These optimizations are the * following: - * + * * <ul> <li>The constant pool from the original class is copied as is in * the new class, which saves time. New constant pool entries will be added * at the end if necessary, but unused constant pool entries <i>won't be @@ -500,7 +500,7 @@ public class ClassWriter implements ClassVisitor { * that come from a {@link ClassWriter} (and not from a custom * {@link ClassAdapter} or any other {@link ClassVisitor} instance).</li> * </ul> - * + * * @param classReader the {@link ClassReader} used to read the original * class. It will be used to copy the entire constant pool from the * original class and also to copy other fragments of original @@ -642,7 +642,7 @@ public class ClassWriter implements ClassVisitor { /** * Returns the bytecode of the class that was build with this class writer. - * + * * @return the bytecode of the class that was build with this class writer. */ public byte[] toByteArray() { @@ -807,7 +807,7 @@ public class ClassWriter implements ClassVisitor { /** * Adds a number or string constant to the constant pool of the class being * build. Does nothing if the constant pool already contains a similar item. - * + * * @param cst the value of the constant to be added to the constant pool. * This parameter must be an {@link Integer}, a {@link Float}, a * {@link Long}, a {@link Double}, a {@link String} or a @@ -856,7 +856,7 @@ public class ClassWriter implements ClassVisitor { * build. Does nothing if the constant pool already contains a similar item. * <i>This method is intended for {@link Attribute} sub classes, and is * normally not needed by class generators or adapters.</i> - * + * * @param cst the value of the constant to be added to the constant pool. * This parameter must be an {@link Integer}, a {@link Float}, a * {@link Long}, a {@link Double} or a {@link String}. @@ -872,7 +872,7 @@ public class ClassWriter implements ClassVisitor { * nothing if the constant pool already contains a similar item. <i>This * method is intended for {@link Attribute} sub classes, and is normally not * needed by class generators or adapters.</i> - * + * * @param value the String value. * @return the index of a new or already existing UTF8 item. */ @@ -892,7 +892,7 @@ public class ClassWriter implements ClassVisitor { * Does nothing if the constant pool already contains a similar item. * <i>This method is intended for {@link Attribute} sub classes, and is * normally not needed by class generators or adapters.</i> - * + * * @param value the internal name of the class. * @return the index of a new or already existing class reference item. */ @@ -905,7 +905,7 @@ public class ClassWriter implements ClassVisitor { * Does nothing if the constant pool already contains a similar item. * <i>This method is intended for {@link Attribute} sub classes, and is * normally not needed by class generators or adapters.</i> - * + * * @param value the internal name of the class. * @return a new or already existing class reference item. */ @@ -925,7 +925,7 @@ public class ClassWriter implements ClassVisitor { * Does nothing if the constant pool already contains a similar item. * <i>This method is intended for {@link Attribute} sub classes, and is * normally not needed by class generators or adapters.</i> - * + * * @param owner the internal name of the field's owner class. * @param name the field's name. * @param desc the field's descriptor. @@ -946,7 +946,7 @@ public class ClassWriter implements ClassVisitor { /** * Adds a method reference to the constant pool of the class being build. * Does nothing if the constant pool already contains a similar item. - * + * * @param owner the internal name of the method's owner class. * @param name the method's name. * @param desc the method's descriptor. @@ -975,7 +975,7 @@ public class ClassWriter implements ClassVisitor { * Does nothing if the constant pool already contains a similar item. * <i>This method is intended for {@link Attribute} sub classes, and is * normally not needed by class generators or adapters.</i> - * + * * @param owner the internal name of the method's owner class. * @param name the method's name. * @param desc the method's descriptor. @@ -994,7 +994,7 @@ public class ClassWriter implements ClassVisitor { /** * Adds an integer to the constant pool of the class being build. Does * nothing if the constant pool already contains a similar item. - * + * * @param value the int value. * @return a new or already existing int item. */ @@ -1012,7 +1012,7 @@ public class ClassWriter implements ClassVisitor { /** * Adds a float to the constant pool of the class being build. Does nothing * if the constant pool already contains a similar item. - * + * * @param value the float value. * @return a new or already existing float item. */ @@ -1030,7 +1030,7 @@ public class ClassWriter implements ClassVisitor { /** * Adds a long to the constant pool of the class being build. Does nothing * if the constant pool already contains a similar item. - * + * * @param value the long value. * @return a new or already existing long item. */ @@ -1049,7 +1049,7 @@ public class ClassWriter implements ClassVisitor { /** * Adds a double to the constant pool of the class being build. Does nothing * if the constant pool already contains a similar item. - * + * * @param value the double value. * @return a new or already existing double item. */ @@ -1068,7 +1068,7 @@ public class ClassWriter implements ClassVisitor { /** * Adds a string to the constant pool of the class being build. Does nothing * if the constant pool already contains a similar item. - * + * * @param value the String value. * @return a new or already existing string item. */ @@ -1088,7 +1088,7 @@ public class ClassWriter implements ClassVisitor { * nothing if the constant pool already contains a similar item. <i>This * method is intended for {@link Attribute} sub classes, and is normally not * needed by class generators or adapters.</i> - * + * * @param name a name. * @param desc a type descriptor. * @return the index of a new or already existing name and type item. @@ -1107,7 +1107,7 @@ public class ClassWriter implements ClassVisitor { /** * Returns the constant pool's hash table item which is equal to the given * item. - * + * * @param key a constant pool item. * @return the constant pool's hash table item which is equal to the given * item, or <tt>null</tt> if there is no such item. @@ -1123,7 +1123,7 @@ public class ClassWriter implements ClassVisitor { /** * Puts the given item in the constant pool's hash table. The hash table * <i>must</i> not already contains this item. - * + * * @param i the item to be added to the constant pool's hash table. */ private void put(final Item i) { @@ -1151,7 +1151,7 @@ public class ClassWriter implements ClassVisitor { /** * Puts one byte and two shorts into the constant pool. - * + * * @param b a byte. * @param s1 a short. * @param s2 another short. diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/Edge.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/Edge.java index c0bf108..5bada4e 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/Edge.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/Edge.java @@ -31,7 +31,7 @@ package org.objectweb.asm; /** * An edge in the control flow graph of a method body. See {@link Label Label}. - * + * * @author Eric Bruneton */ class Edge { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/FieldVisitor.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/FieldVisitor.java index 0005034..a05cb5a 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/FieldVisitor.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/FieldVisitor.java @@ -33,14 +33,14 @@ package org.objectweb.asm; * A visitor to visit a Java field. The methods of this interface must be called * in the following order: ( <tt>visitAnnotation</tt> | * <tt>visitAttribute</tt> )* <tt>visitEnd</tt>. - * + * * @author Eric Bruneton */ public interface FieldVisitor { /** * Visits an annotation of the field. - * + * * @param desc the class descriptor of the annotation class. * @param visible <tt>true</tt> if the annotation is visible at runtime. * @return a non null visitor to visit the annotation values. @@ -49,7 +49,7 @@ public interface FieldVisitor { /** * Visits a non standard attribute of the field. - * + * * @param attr an attribute. */ void visitAttribute(Attribute attr); diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/FieldWriter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/FieldWriter.java index 7eb3ed4..0adbea9 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/FieldWriter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/FieldWriter.java @@ -31,7 +31,7 @@ package org.objectweb.asm; /** * An {@link FieldVisitor} that generates Java fields in bytecode form. - * + * * @author Eric Bruneton */ final class FieldWriter implements FieldVisitor { @@ -96,7 +96,7 @@ final class FieldWriter implements FieldVisitor { /** * Constructs a new {@link FieldWriter}. - * + * * @param cw the class writer to which this field must be added. * @param access the field's access flags (see {@link Opcodes}). * @param name the field's name. @@ -166,7 +166,7 @@ final class FieldWriter implements FieldVisitor { /** * Returns the size of this field. - * + * * @return the size of this field. */ int getSize() { @@ -209,7 +209,7 @@ final class FieldWriter implements FieldVisitor { /** * Puts the content of this field into the given byte vector. - * + * * @param out where the content of this field must be put. */ void put(final ByteVector out) { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/Handler.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/Handler.java index 8bef845..a1211ae 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/Handler.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/Handler.java @@ -31,7 +31,7 @@ package org.objectweb.asm; /** * Information about an exception handler block. - * + * * @author Eric Bruneton */ class Handler { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/Item.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/Item.java index 4c5285f..fc67b01 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/Item.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/Item.java @@ -32,7 +32,7 @@ package org.objectweb.asm; /** * A constant pool item. Constant pool items can be created with the 'newXXX' * methods in the {@link ClassWriter} class. - * + * * @author Eric Bruneton */ final class Item { @@ -115,7 +115,7 @@ final class Item { /** * Constructs a copy of the given item. - * + * * @param index index of the item to be constructed. * @param i the item that must be copied into the item to be constructed. */ @@ -134,7 +134,7 @@ final class Item { /** * Sets this item to an integer item. - * + * * @param intVal the value of this item. */ void set(final int intVal) { @@ -145,7 +145,7 @@ final class Item { /** * Sets this item to a long item. - * + * * @param longVal the value of this item. */ void set(final long longVal) { @@ -156,7 +156,7 @@ final class Item { /** * Sets this item to a float item. - * + * * @param floatVal the value of this item. */ void set(final float floatVal) { @@ -167,7 +167,7 @@ final class Item { /** * Sets this item to a double item. - * + * * @param doubleVal the value of this item. */ void set(final double doubleVal) { @@ -178,7 +178,7 @@ final class Item { /** * Sets this item to an item that do not hold a primitive value. - * + * * @param type the type of this item. * @param strVal1 first part of the value of this item. * @param strVal2 second part of the value of this item. @@ -206,7 +206,7 @@ final class Item { return; // ClassWriter.FIELD: // ClassWriter.METH: - // ClassWriter.IMETH: + // ClassWriter.IMETH: default: hashCode = 0x7FFFFFFF & (type + strVal1.hashCode() * strVal2.hashCode() * strVal3.hashCode()); @@ -215,7 +215,7 @@ final class Item { /** * Indicates if the given item is equal to this one. - * + * * @param i the item to be compared to this one. * @return <tt>true</tt> if the given item if equal to this one, * <tt>false</tt> otherwise. @@ -240,7 +240,7 @@ final class Item { && i.strVal2.equals(strVal2); // ClassWriter.FIELD: // ClassWriter.METH: - // ClassWriter.IMETH: + // ClassWriter.IMETH: default: return i.strVal1.equals(strVal1) && i.strVal2.equals(strVal2) diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/Label.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/Label.java index 79291f2..3998e5a 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/Label.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/Label.java @@ -32,7 +32,7 @@ package org.objectweb.asm; /** * A label represents a position in the bytecode of a method. Labels are used * for jump, goto, and switch instructions, and for try catch blocks. - * + * * @author Eric Bruneton */ public class Label { @@ -136,7 +136,7 @@ public class Label { * from the start of the method's bytecode. <i>This method is intended for * {@link Attribute} sub classes, and is normally not needed by class * generators or adapters.</i> - * + * * @return the offset corresponding to this label. * @throws IllegalStateException if this label is not resolved yet. */ @@ -152,7 +152,7 @@ public class Label { * position of the label is known, the offset is computed and written * directly. Otherwise, a null offset is written and a new forward reference * is declared for this label. - * + * * @param owner the code writer that calls this method. * @param out the bytecode of the method. * @param source the position of first byte of the bytecode instruction that @@ -190,7 +190,7 @@ public class Label { * for a true forward reference, i.e. only if this label is not resolved * yet. For backward references, the offset of the reference can be, and * must be, computed and stored directly. - * + * * @param sourcePosition the position of the referencing instruction. This * position will be used to compute the offset of this forward * reference. @@ -222,7 +222,7 @@ public class Label { * when this label is added to the bytecode of the method, i.e. when its * position becomes known. This method fills in the blanks that where left * in the bytecode by each forward reference previously added to this label. - * + * * @param owner the code writer that calls this method. * @param position the position of this label in the bytecode. * @param data the bytecode of the method. @@ -290,7 +290,7 @@ public class Label { /** * Returns a string representation of this label. - * + * * @return a string representation of this label. */ public String toString() { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/MethodAdapter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/MethodAdapter.java index c7e127d..a038ac7 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/MethodAdapter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/MethodAdapter.java @@ -34,7 +34,7 @@ package org.objectweb.asm; * {@link MethodVisitor}. This class can be used as a super class to quickly * implement usefull method adapter classes, just by overriding the necessary * methods. - * + * * @author Eric Bruneton */ public class MethodAdapter implements MethodVisitor { @@ -46,7 +46,7 @@ public class MethodAdapter implements MethodVisitor { /** * Constructs a new {@link MethodAdapter} object. - * + * * @param mv the code visitor to which this adapter must delegate calls. */ public MethodAdapter(final MethodVisitor mv) { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/MethodVisitor.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/MethodVisitor.java index 3fccbdf..d56b3bd 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/MethodVisitor.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/MethodVisitor.java @@ -41,7 +41,7 @@ package org.objectweb.asm; * of the visited code, and the <tt>visitLocalVariable</tt> and <tt>visitLineNumber</tt> * methods must be called <i>after</i> the labels passed as arguments have been * visited. - * + * * @author Eric Bruneton */ public interface MethodVisitor { @@ -52,7 +52,7 @@ public interface MethodVisitor { /** * Visits the default value of this annotation interface method. - * + * * @return a non null visitor to the visit the actual default value of this * annotation interface method. The 'name' parameters passed to the * methods of this annotation visitor are ignored. Moreover, exacly @@ -63,7 +63,7 @@ public interface MethodVisitor { /** * Visits an annotation of this method. - * + * * @param desc the class descriptor of the annotation class. * @param visible <tt>true</tt> if the annotation is visible at runtime. * @return a non null visitor to visit the annotation values. @@ -72,7 +72,7 @@ public interface MethodVisitor { /** * Visits an annotation of a parameter this method. - * + * * @param parameter the parameter index. * @param desc the class descriptor of the annotation class. * @param visible <tt>true</tt> if the annotation is visible at runtime. @@ -85,7 +85,7 @@ public interface MethodVisitor { /** * Visits a non standard attribute of this method. - * + * * @param attr an attribute. */ void visitAttribute(Attribute attr); @@ -101,7 +101,7 @@ public interface MethodVisitor { /** * Visits a zero operand instruction. - * + * * @param opcode the opcode of the instruction to be visited. This opcode is * either NOP, ACONST_NULL, ICONST_M1, ICONST_0, ICONST_1, ICONST_2, * ICONST_3, ICONST_4, ICONST_5, LCONST_0, LCONST_1, FCONST_0, @@ -121,7 +121,7 @@ public interface MethodVisitor { /** * Visits an instruction with a single int operand. - * + * * @param opcode the opcode of the instruction to be visited. This opcode is * either BIPUSH, SIPUSH or NEWARRAY. * @param operand the operand of the instruction to be visited.<br> @@ -140,7 +140,7 @@ public interface MethodVisitor { /** * Visits a local variable instruction. A local variable instruction is an * instruction that loads or stores the value of a local variable. - * + * * @param opcode the opcode of the local variable instruction to be visited. * This opcode is either ILOAD, LLOAD, FLOAD, DLOAD, ALOAD, ISTORE, * LSTORE, FSTORE, DSTORE, ASTORE or RET. @@ -152,7 +152,7 @@ public interface MethodVisitor { /** * Visits a type instruction. A type instruction is an instruction that * takes a type descriptor as parameter. - * + * * @param opcode the opcode of the type instruction to be visited. This * opcode is either NEW, ANEWARRAY, CHECKCAST or INSTANCEOF. * @param desc the operand of the instruction to be visited. This operand is @@ -164,7 +164,7 @@ public interface MethodVisitor { /** * Visits a field instruction. A field instruction is an instruction that * loads or stores the value of a field of an object. - * + * * @param opcode the opcode of the type instruction to be visited. This * opcode is either GETSTATIC, PUTSTATIC, GETFIELD or PUTFIELD. * @param owner the internal name of the field's owner class (see {@link @@ -177,7 +177,7 @@ public interface MethodVisitor { /** * Visits a method instruction. A method instruction is an instruction that * invokes a method. - * + * * @param opcode the opcode of the type instruction to be visited. This * opcode is either INVOKEVIRTUAL, INVOKESPECIAL, INVOKESTATIC or * INVOKEINTERFACE. @@ -191,7 +191,7 @@ public interface MethodVisitor { /** * Visits a jump instruction. A jump instruction is an instruction that may * jump to another instruction. - * + * * @param opcode the opcode of the type instruction to be visited. This * opcode is either IFEQ, IFNE, IFLT, IFGE, IFGT, IFLE, IF_ICMPEQ, * IF_ICMPNE, IF_ICMPLT, IF_ICMPGE, IF_ICMPGT, IF_ICMPLE, IF_ACMPEQ, @@ -205,7 +205,7 @@ public interface MethodVisitor { /** * Visits a label. A label designates the instruction that will be visited * just after it. - * + * * @param label a {@link Label Label} object. */ void visitLabel(Label label); @@ -216,7 +216,7 @@ public interface MethodVisitor { /** * Visits a LDC instruction. - * + * * @param cst the constant to be loaded on the stack. This parameter must be * a non null {@link Integer}, a {@link Float}, a {@link Long}, a * {@link Double} a {@link String} (or a {@link Type} for @@ -227,7 +227,7 @@ public interface MethodVisitor { /** * Visits an IINC instruction. - * + * * @param var index of the local variable to be incremented. * @param increment amount to increment the local variable by. */ @@ -235,7 +235,7 @@ public interface MethodVisitor { /** * Visits a TABLESWITCH instruction. - * + * * @param min the minimum key value. * @param max the maximum key value. * @param dflt beginning of the default handler block. @@ -246,7 +246,7 @@ public interface MethodVisitor { /** * Visits a LOOKUPSWITCH instruction. - * + * * @param dflt beginning of the default handler block. * @param keys the values of the keys. * @param labels beginnings of the handler blocks. <tt>labels[i]</tt> is @@ -256,7 +256,7 @@ public interface MethodVisitor { /** * Visits a MULTIANEWARRAY instruction. - * + * * @param desc an array type descriptor (see {@link Type Type}). * @param dims number of dimensions of the array to allocate. */ @@ -269,7 +269,7 @@ public interface MethodVisitor { /** * Visits a try catch block. - * + * * @param start beginning of the exception handler's scope (inclusive). * @param end end of the exception handler's scope (exclusive). * @param handler beginning of the exception handler's code. @@ -281,7 +281,7 @@ public interface MethodVisitor { /** * Visits a local variable declaration. - * + * * @param name the name of a local variable. * @param desc the type descriptor of this local variable. * @param signature the type signature of this local variable. May be @@ -306,7 +306,7 @@ public interface MethodVisitor { /** * Visits a line number declaration. - * + * * @param line a line number. This number refers to the source file from * which the class was compiled. * @param start the first instruction corresponding to this line number. @@ -319,7 +319,7 @@ public interface MethodVisitor { /** * Visits the maximum stack size and the maximum number of local variables * of the method. - * + * * @param maxStack maximum stack size of the method. * @param maxLocals maximum number of local variables for the method. */ diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/MethodWriter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/MethodWriter.java index e131c69..5b841d5 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/MethodWriter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/MethodWriter.java @@ -33,7 +33,7 @@ package org.objectweb.asm; * A {@link MethodVisitor} that generates methods in bytecode form. Each visit * method of this class appends the bytecode corresponding to the visited * instruction to a byte vector, in the order these methods are called. - * + * * @author Eric Bruneton * @author Eugene Kuleshov */ @@ -500,7 +500,7 @@ class MethodWriter implements MethodVisitor { /** * Constructs a new {@link MethodWriter}. - * + * * @param cw the class writer in which the method must be added. * @param access the method's access flags (see {@link Opcodes}). * @param name the method's name. @@ -1056,7 +1056,7 @@ class MethodWriter implements MethodVisitor { .putShort(cw.newUTF8(name)) .putShort(cw.newUTF8(desc)) .putShort(index); - + if(computeMaxs) { // updates max locals char c = desc.charAt(0); @@ -1136,7 +1136,7 @@ class MethodWriter implements MethodVisitor { /** * Computes the size of the arguments and of the return value of a method. - * + * * @param desc the descriptor of a method. * @return the size of the arguments of the method (plus one for the * implicit this argument), argSize, and the size of its return @@ -1174,7 +1174,7 @@ class MethodWriter implements MethodVisitor { /** * Adds a successor to the {@link #currentBlock currentBlock} block. - * + * * @param stackSize the current (relative) stack size in the current block. * @param successor the successor block to be added to the current block. */ @@ -1194,7 +1194,7 @@ class MethodWriter implements MethodVisitor { /** * Returns the size of the bytecode of this method. - * + * * @return the size of the bytecode of this method. */ final int getSize() { @@ -1292,7 +1292,7 @@ class MethodWriter implements MethodVisitor { /** * Puts the bytecode of this method in the given byte vector. - * + * * @param out the byte vector into which the bytecode of this method must be * copied. */ @@ -1484,7 +1484,7 @@ class MethodWriter implements MethodVisitor { * that is being built has been visited</i>. In particular, the * {@link Label Label} objects used to construct the method are no longer * valid after this method has been called. - * + * * @param indexes current positions of the instructions to be resized. Each * instruction must be designated by the index of its <i>last</i> * byte, plus one (or, in other words, by the index of the <i>first</i> @@ -1518,17 +1518,17 @@ class MethodWriter implements MethodVisitor { * so on. The first step of the algorithm consists in finding all the * instructions that need to be resized, without modifying the code. * This is done by the following "fix point" algorithm: - * + * * Parse the code to find the jump instructions whose offset will need * more than 2 bytes to be stored (the future offset is computed from * the current offset and from the number of bytes that will be inserted * or removed between the source and target instructions). For each such * instruction, adds an entry in (a copy of) the indexes and sizes * arrays (if this has not already been done in a previous iteration!). - * + * * If at least one entry has been added during the previous step, go * back to the beginning, otherwise stop. - * + * * In fact the real algorithm is complicated by the fact that the size * of TABLESWITCH and LOOKUPSWITCH instructions depends on their * position in the bytecode (because of padding). In order to ensure the @@ -1909,7 +1909,7 @@ class MethodWriter implements MethodVisitor { /** * Reads an unsigned short value in the given byte array. - * + * * @param b a byte array. * @param index the start index of the value to be read. * @return the read value. @@ -1920,7 +1920,7 @@ class MethodWriter implements MethodVisitor { /** * Reads a signed short value in the given byte array. - * + * * @param b a byte array. * @param index the start index of the value to be read. * @return the read value. @@ -1931,7 +1931,7 @@ class MethodWriter implements MethodVisitor { /** * Reads a signed int value in the given byte array. - * + * * @param b a byte array. * @param index the start index of the value to be read. * @return the read value. @@ -1943,7 +1943,7 @@ class MethodWriter implements MethodVisitor { /** * Writes a short value in the given byte array. - * + * * @param b a byte array. * @param index where the first byte of the short value must be written. * @param s the value to be written in the given byte array. @@ -1958,7 +1958,7 @@ class MethodWriter implements MethodVisitor { * to have several entries for the same instruction in the <tt>indexes</tt> * and <tt>sizes</tt>: two entries (index=a,size=b) and (index=a,size=b') * are equivalent to a single entry (index=a,size=b+b'). - * + * * @param indexes current positions of the instructions to be resized. Each * instruction must be designated by the index of its <i>last</i> * byte, plus one (or, in other words, by the index of the <i>first</i> @@ -1992,10 +1992,10 @@ class MethodWriter implements MethodVisitor { } return offset; } - + /** * Updates the offset of the given label. - * + * * @param indexes current positions of the instructions to be resized. Each * instruction must be designated by the index of its <i>last</i> * byte, plus one (or, in other words, by the index of the <i>first</i> diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/Opcodes.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/Opcodes.java index 94359a3..2728d96 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/Opcodes.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/Opcodes.java @@ -37,7 +37,7 @@ package org.objectweb.asm; * opcodes are therefore not defined in this interface. Likewise for LDC, * automatically replaced by LDC_W or LDC2_W when necessary, WIDE, GOTO_W and * JSR_W. - * + * * @author Eric Bruneton * @author Eugene Kuleshov */ diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/Type.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/Type.java index cf8dbbf..ae314e8 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/Type.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/Type.java @@ -34,7 +34,7 @@ import java.lang.reflect.Method; /** * A Java type. This class can be used to make it easier to manipulate type and * method descriptors. - * + * * @author Eric Bruneton * @author Chris Nokleberg */ @@ -172,7 +172,7 @@ public class Type { /** * Constructs a primitive type. - * + * * @param sort the sort of the primitive type to be constructed. */ private Type(final int sort) { @@ -182,7 +182,7 @@ public class Type { /** * Constructs a reference type. - * + * * @param sort the sort of the reference type to be constructed. * @param buf a buffer containing the descriptor of the previous type. * @param off the offset of this descriptor in the previous buffer. @@ -198,7 +198,7 @@ public class Type { /** * Returns the Java type corresponding to the given type descriptor. - * + * * @param typeDescriptor a type descriptor. * @return the Java type corresponding to the given type descriptor. */ @@ -208,7 +208,7 @@ public class Type { /** * Returns the Java type corresponding to the given class. - * + * * @param c a class. * @return the Java type corresponding to the given class. */ @@ -241,7 +241,7 @@ public class Type { /** * Returns the Java types corresponding to the argument types of the given * method descriptor. - * + * * @param methodDescriptor a method descriptor. * @return the Java types corresponding to the argument types of the given * method descriptor. @@ -276,7 +276,7 @@ public class Type { /** * Returns the Java types corresponding to the argument types of the given * method. - * + * * @param method a method. * @return the Java types corresponding to the argument types of the given * method. @@ -293,7 +293,7 @@ public class Type { /** * Returns the Java type corresponding to the return type of the given * method descriptor. - * + * * @param methodDescriptor a method descriptor. * @return the Java type corresponding to the return type of the given * method descriptor. @@ -306,7 +306,7 @@ public class Type { /** * Returns the Java type corresponding to the return type of the given * method. - * + * * @param method a method. * @return the Java type corresponding to the return type of the given * method. @@ -317,7 +317,7 @@ public class Type { /** * Returns the Java type corresponding to the given type descriptor. - * + * * @param buf a buffer containing a type descriptor. * @param off the offset of this descriptor in the previous buffer. * @return the Java type corresponding to the given type descriptor. @@ -371,7 +371,7 @@ public class Type { /** * Returns the sort of this Java type. - * + * * @return {@link #VOID VOID}, {@link #BOOLEAN BOOLEAN}, * {@link #CHAR CHAR}, {@link #BYTE BYTE}, {@link #SHORT SHORT}, * {@link #INT INT}, {@link #FLOAT FLOAT}, {@link #LONG LONG}, @@ -385,7 +385,7 @@ public class Type { /** * Returns the number of dimensions of this array type. This method should * only be used for an array type. - * + * * @return the number of dimensions of this array type. */ public int getDimensions() { @@ -399,7 +399,7 @@ public class Type { /** * Returns the type of the elements of this array type. This method should * only be used for an array type. - * + * * @return Returns the type of the elements of this array type. */ public Type getElementType() { @@ -408,7 +408,7 @@ public class Type { /** * Returns the name of the class corresponding to this type. - * + * * @return the fully qualified name of the class corresponding to this type. */ public String getClassName() { @@ -447,7 +447,7 @@ public class Type { * Returns the internal name of the class corresponding to this object type. * The internal name of a class is its fully qualified name, where '.' are * replaced by '/'. This method should only be used for an object type. - * + * * @return the internal name of the class corresponding to this object type. */ public String getInternalName() { @@ -460,7 +460,7 @@ public class Type { /** * Returns the descriptor corresponding to this Java type. - * + * * @return the descriptor corresponding to this Java type. */ public String getDescriptor() { @@ -472,7 +472,7 @@ public class Type { /** * Returns the descriptor corresponding to the given argument and return * types. - * + * * @param returnType the return type of the method. * @param argumentTypes the argument types of the method. * @return the descriptor corresponding to the given argument and return @@ -495,7 +495,7 @@ public class Type { /** * Appends the descriptor corresponding to this Java type to the given * string buffer. - * + * * @param buf the string buffer to which the descriptor must be appended. */ private void getDescriptor(final StringBuffer buf) { @@ -542,7 +542,7 @@ public class Type { /** * Returns the internal name of the given class. The internal name of a * class is its fully qualified name, where '.' are replaced by '/'. - * + * * @param c an object class. * @return the internal name of the given class. */ @@ -552,7 +552,7 @@ public class Type { /** * Returns the descriptor corresponding to the given Java type. - * + * * @param c an object class, a primitive class or an array class. * @return the descriptor corresponding to the given class. */ @@ -564,7 +564,7 @@ public class Type { /** * Returns the descriptor corresponding to the given method. - * + * * @param m a {@link Method Method} object. * @return the descriptor of the given method. */ @@ -582,7 +582,7 @@ public class Type { /** * Appends the descriptor of the given class to the given string buffer. - * + * * @param buf the string buffer to which the descriptor must be appended. * @param c the class whose descriptor must be computed. */ @@ -635,7 +635,7 @@ public class Type { /** * Returns the size of values of this type. - * + * * @return the size of values of this type, i.e., 2 for <tt>long</tt> and * <tt>double</tt>, and 1 otherwise. */ @@ -645,7 +645,7 @@ public class Type { /** * Returns a JVM instruction opcode adapted to this Java type. - * + * * @param opcode a JVM instruction opcode. This opcode must be one of ILOAD, * ISTORE, IALOAD, IASTORE, IADD, ISUB, IMUL, IDIV, IREM, INEG, ISHL, * ISHR, IUSHR, IAND, IOR, IXOR and IRETURN. @@ -706,7 +706,7 @@ public class Type { /** * Tests if the given object is equal to this type. - * + * * @param o the object to be compared to this type. * @return <tt>true</tt> if the given object is equal to this type. */ @@ -736,7 +736,7 @@ public class Type { /** * Returns a hash code value for this type. - * + * * @return a hash code value for this type. */ public int hashCode() { @@ -751,7 +751,7 @@ public class Type { /** * Returns a string representation of this type. - * + * * @return the descriptor of this type. */ public String toString() { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/attrs/StackMapAttribute.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/attrs/StackMapAttribute.java index 4df2f7d..f359474 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/attrs/StackMapAttribute.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/attrs/StackMapAttribute.java @@ -56,7 +56,7 @@ import org.objectweb.asm.Label; * represents the type u4.</li> <li>If the maximum size of the operand stack * is 65535 or less, then <tt>ustack</tt> represents the type u2; otherwise * ustack represents the type u4.</li> </ul> - * + * * <pre> * stack_map { // attribute StackMap * u2 attribute_name_index; @@ -65,9 +65,9 @@ import org.objectweb.asm.Label; * stack_map_frame entries[number_of_entries]; * } * </pre> - * + * * Each stack map frame has the following format: - * + * * <pre> * stack_map_frame { * uoffset offset; @@ -77,12 +77,12 @@ import org.objectweb.asm.Label; * verification_type_info stack[number_of_stack_items]; * } * </pre> - * + * * The <tt>verification_type_info</tt> structure consists of a one-byte tag * followed by zero or more bytes, giving more information about the tag. Each * <tt>verification_type_info</tt> structure specifies the verification type * of one or two locations. - * + * * <pre> * union verification_type_info { * Top_variable_info; @@ -95,49 +95,49 @@ import org.objectweb.asm.Label; * Object_variable_info; * Uninitialized_variable_info; * } - * + * * Top_variable_info { * u1 tag = ITEM_Top; // 0 * } - * + * * Integer_variable_info { * u1 tag = ITEM_Integer; // 1 * } - * + * * Float_variable_info { * u1 tag = ITEM_Float; // 2 * } - * + * * Long_variable_info { * u1 tag = ITEM_Long; // 4 * } - * + * * Double_variable_info { * u1 tag = ITEM_Double; // 3 * } - * + * * Null_variable_info { * u1 tag = ITEM_Null; // 5 * } - * + * * UninitializedThis_variable_info { * u1 tag = ITEM_UninitializedThis; // 6 * } - * + * * Object_variable_info { * u1 tag = ITEM_Object; // 7 * u2 cpool_index; * } - * + * * Uninitialized_variable_info { * u1 tag = ITEM_Uninitialized // 8 * uoffset offset; * } * </pre> - * + * * @see <a href="http://www.jcp.org/en/jsr/detail?id=139">JSR 139 : Connected * Limited Device Configuration 1.1</a> - * + * * @author Eugene Kuleshov */ public class StackMapAttribute extends Attribute { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/attrs/StackMapFrame.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/attrs/StackMapFrame.java index bdd4641..d91d8e7 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/attrs/StackMapFrame.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/attrs/StackMapFrame.java @@ -36,15 +36,15 @@ import org.objectweb.asm.Label; /** * Holds the state of the stack and local variables for a single execution * branch. - * + * * <i>Note that Long and Double types are represented by two entries in locals * and stack. Second entry should be always of type Top.</i> - * + * * @see <a href="http://www.jcp.org/en/jsr/detail?id=139">JSR 139 : Connected * Limited Device Configuration 1.1</a> - * + * * @see "ClassFileFormat-Java6.fm Page 138 Friday, April 15, 2005 3:22 PM" - * + * * @author Eugene Kuleshov */ public class StackMapFrame { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/attrs/StackMapTableAttribute.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/attrs/StackMapTableAttribute.java index c0aa9c8..032adf6 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/attrs/StackMapTableAttribute.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/attrs/StackMapTableAttribute.java @@ -67,7 +67,7 @@ import org.objectweb.asm.Type; * represents the type u2; otherwise ulocalvar represents the type u4. If the * maximum size of the operand stack is 65535 or less, then <code>ustack</code> * represents the type u2; otherwise ustack represents the type u4. - * + * * <pre> * stack_map { // attribute StackMapTable * u2 attribute_name_index; @@ -76,7 +76,7 @@ import org.objectweb.asm.Type; * stack_map_frame entries[number_of_entries]; * } * </pre> - * + * * Each stack_map_frame structure specifies the type state at a particular byte * code offset. Each frame type specifies (explicitly or implicitly) a value, * offset_delta, that is used to calulate the actual byte code offset at which @@ -97,7 +97,7 @@ import org.objectweb.asm.Type; * <br> <br> The stack_map_frame structure consists of a one-byte tag followed * by zero or more bytes, giving more information, depending upon the tag. <br> * <br> A stack map frame may belong to one of several frame types - * + * * <pre> * union stack_map_frame { * same_frame; @@ -108,65 +108,65 @@ import org.objectweb.asm.Type; * full_frame; * } * </pre> - * + * * The frame type same_frame is represented by tags in the range [0-63]. If the * frame type is same_frame, it means the frame has exactly the same locals as * the previous stack map frame and that the number of stack items is zero. The * offset_delta value for the frame is the value of the tag field, frame_type. * The form of such a frame is then: - * + * * <pre> * same_frame { * u1 frame_type = SAME; // 0-63 * } * </pre> - * + * * The frame type same_locals_1_stack_item_frame is represented by tags in the * range [64, 127]. If the frame_type is same_locals_1_stack_item_frame, it * means the frame has exactly the same locals as the previous stack map frame * and that the number of stack items is 1. The offset_delta value for the frame * is the value (frame_type - 64). There is a verification_type_info following * the frame_type for the one stack item. The form of such a frame is then: - * + * * <pre> * same_locals_1_stack_item_frame { * u1 frame_type = SAME_LOCALS_1_STACK_ITEM; // 64-127 * verification_type_info stack[1]; * } * </pre> - * + * * Tags in the range [128-247] are reserved for future use. <br> <br> The frame * type chop_frame is represented by tags in the range [248-250]. If the * frame_type is chop_frame, it means that the current locals are the same as * the locals in the previous frame, except that the k last locals are absent. * The value of k is given by the formula 251-frame_type. <br> <br> The form of * such a frame is then: - * + * * <pre> * chop_frame { * u1 frame_type=CHOP; // 248-250 * uoffset offset_delta; * } * </pre> - * + * * The frame type same_frame_extended is represented by the tag value 251. If * the frame type is same_frame_extended, it means the frame has exactly the * same locals as the previous stack map frame and that the number of stack * items is zero. The form of such a frame is then: - * + * * <pre> * same_frame_extended { * u1 frame_type = SAME_FRAME_EXTENDED; // 251 * uoffset offset_delta; * } * </pre> - * + * * The frame type append_frame is represented by tags in the range [252-254]. If * the frame_type is append_frame, it means that the current locals are the same * as the locals in the previous frame, except that k additional locals are * defined. The value of k is given by the formula frame_type-251. <br> <br> The * form of such a frame is then: - * + * * <pre> * append_frame { * u1 frame_type =APPEND; // 252-254 @@ -174,7 +174,7 @@ import org.objectweb.asm.Type; * verification_type_info locals[frame_type -251]; * } * </pre> - * + * * The 0th entry in locals represents the type of the first additional local * variable. If locals[M] represents local variable N, then locals[M+1] * represents local variable N+1 if locals[M] is one of Top_variable_info, @@ -185,7 +185,7 @@ import org.objectweb.asm.Type; * variable whose index is greater than the maximum number of local variables * for the method. <br> <br> The frame type full_frame is represented by the tag * value 255. The form of such a frame is then: - * + * * <pre> * full_frame { * u1 frame_type = FULL_FRAME; // 255 @@ -196,7 +196,7 @@ import org.objectweb.asm.Type; * verification_type_info stack[number_of_stack_items]; * } * </pre> - * + * * The 0th entry in locals represents the type of local variable 0. If locals[M] * represents local variable N, then locals[M+1] represents local variable N+1 * if locals[M] is one of Top_variable_info, Integer_variable_info, @@ -222,7 +222,7 @@ import org.objectweb.asm.Type; * or more bytes, giving more information about the tag. Each * verification_type_info structure specifies the verification type of one or * two locations. - * + * * <pre> * union verification_type_info { * Top_variable_info; @@ -236,119 +236,119 @@ import org.objectweb.asm.Type; * Uninitialized_variable_info; * } * </pre> - * + * * The Top_variable_info type indicates that the local variable has the * verification type top (T.) - * + * * <pre> * Top_variable_info { * u1 tag = ITEM_Top; // 0 * } * </pre> - * + * * The Integer_variable_info type indicates that the location contains the * verification type int. - * + * * <pre> * Integer_variable_info { * u1 tag = ITEM_Integer; // 1 * } * </pre> - * + * * The Float_variable_info type indicates that the location contains the * verification type float. - * + * * <pre> * Float_variable_info { * u1 tag = ITEM_Float; // 2 * } * </pre> - * + * * The Long_variable_info type indicates that the location contains the * verification type long. If the location is a local variable, then: - * + * * <ul> <li>It must not be the local variable with the highest index.</li> * <li>The next higher numbered local variable contains the verification type * T.</li> </ul> - * + * * If the location is an operand stack entry, then: - * + * * <ul> <li>The current location must not be the topmost location of the * operand stack.</li> <li>the next location closer to the top of the operand * stack contains the verification type T.</li> </ul> - * + * * This structure gives the contents of two locations in the operand stack or in * the local variables. - * + * * <pre> * Long_variable_info { * u1 tag = ITEM_Long; // 4 * } * </pre> - * + * * The Double_variable_info type indicates that the location contains the * verification type double. If the location is a local variable, then: - * + * * <ul> <li>It must not be the local variable with the highest index.</li> * <li>The next higher numbered local variable contains the verification type * T. <li> </ul> - * + * * If the location is an operand stack entry, then: - * + * * <ul> <li>The current location must not be the topmost location of the * operand stack.</li> <li>the next location closer to the top of the operand * stack contains the verification type T.</li> </ul> - * + * * This structure gives the contents of two locations in in the operand stack or * in the local variables. - * + * * <pre> * Double_variable_info { * u1 tag = ITEM_Double; // 3 * } * </pre> - * + * * The Null_variable_info type indicates that location contains the verification * type null. - * + * * <pre> * Null_variable_info { * u1 tag = ITEM_Null; // 5 * } * </pre> - * + * * The UninitializedThis_variable_info type indicates that the location contains * the verification type uninitializedThis. - * + * * <pre> * UninitializedThis_variable_info { * u1 tag = ITEM_UninitializedThis; // 6 * } * </pre> - * + * * The Object_variable_info type indicates that the location contains an * instance of the class referenced by the constant pool entry. - * + * * <pre> * Object_variable_info { * u1 tag = ITEM_Object; // 7 * u2 cpool_index; * } * </pre> - * + * * The Uninitialized_variable_info indicates that the location contains the * verification type uninitialized(offset). The offset item indicates the offset * of the new instruction that created the object being stored in the location. - * + * * <pre> * Uninitialized_variable_info { * u1 tag = ITEM_Uninitialized // 8 * uoffset offset; * } * </pre> - * + * * @see "ClassFileFormat-Java6.fm Page 138 Friday, April 15, 2005 3:22 PM" - * + * * @author Eugene Kuleshov */ public class StackMapTableAttribute extends Attribute { @@ -786,7 +786,7 @@ public class StackMapTableAttribute extends Attribute { /** * Use method signature and access flags to resolve initial locals state. - * + * * @param className name of the method's owner class. * @param access access flags of the method. * @param methodName name of the method. diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/attrs/StackMapType.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/attrs/StackMapType.java index ae3b8ce..30cadf1 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/attrs/StackMapType.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/attrs/StackMapType.java @@ -34,12 +34,12 @@ import org.objectweb.asm.Label; /** * Verification type info used by {@link StackMapAttribute}. - * + * * @see <a href="http://www.jcp.org/en/jsr/detail?id=139">JSR 139 : Connected * Limited Device Configuration 1.1</a> - * + * * @see "ClassFileFormat-Java6.fm Page 138 Friday, April 15, 2005 3:22 PM" - * + * * @author Eugene Kuleshov */ diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/AdviceAdapter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/AdviceAdapter.java index 141c8e2..13fbaa6 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/AdviceAdapter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/AdviceAdapter.java @@ -42,16 +42,16 @@ import org.objectweb.asm.Type; * <p> * The behavior is like this: * <ol> - * + * * <li>as long as the INVOKESPECIAL for the object initialization has not been * reached, every bytecode instruction is dispatched in the ctor code visitor</li> - * + * * <li>when this one is reached, it is only added in the ctor code visitor and * a JP invoke is added</li> * <li>after that, only the other code visitor receives the instructions</li> - * + * * </ol> - * + * * @author Eugene Kuleshov * @author Eric Bruneton */ @@ -61,16 +61,16 @@ public abstract class AdviceAdapter extends GeneratorAdapter implements Opcodes protected int methodAccess; protected String methodDesc; - + private boolean constructor; private boolean superInitialized; private ArrayList stackFrame; private HashMap branches; - + /** * Creates a new {@link AdviceAdapter}. - * + * * @param mv the method visitor to which this adapter delegates calls. * @param access the method's access flags (see {@link Opcodes}). * @param name the method's name. @@ -484,8 +484,8 @@ public abstract class AdviceAdapter extends GeneratorAdapter implements Opcodes if (type == THIS && !superInitialized) { onMethodEnter(); superInitialized = true; - // once super has been initialized it is no longer - // necessary to keep track of stack state + // once super has been initialized it is no longer + // necessary to keep track of stack state constructor = false; } break; @@ -583,16 +583,16 @@ public abstract class AdviceAdapter extends GeneratorAdapter implements Opcodes private Object peekValue() { return stackFrame.get(stackFrame.size()-1); } - + private void pushValue(Object o) { stackFrame.add(o); } - + /** - * Called at the beginning of the method or after super + * Called at the beginning of the method or after super * class class call in the constructor. * <br><br> - * + * * <i>Custom code can use or change all the local variables, * but should not change state of the stack.</i> */ @@ -600,9 +600,9 @@ public abstract class AdviceAdapter extends GeneratorAdapter implements Opcodes /** * Called before explicit exit from the method using either - * return or throw. Top element on the stack contains the + * return or throw. Top element on the stack contains the * return value or exception instance. For example: - * + * * <pre> * public void onMethodExit(int opcode) { * if(opcode==RETURN) { @@ -625,19 +625,18 @@ public abstract class AdviceAdapter extends GeneratorAdapter implements Opcodes * public static void onExit(int opcode, Object param) { * ... * </pre> - * + * * <br><br> - * + * * <i>Custom code can use or change all the local variables, * but should not change state of the stack.</i> - * - * @param opcode one of the RETURN, IRETURN, FRETURN, + * + * @param opcode one of the RETURN, IRETURN, FRETURN, * ARETURN, LRETURN, DRETURN or ATHROW - * + * */ protected abstract void onMethodExit(int opcode); // TODO onException, onMethodCall - -} +} diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/EmptyVisitor.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/EmptyVisitor.java index de7cdc4..d979659 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/EmptyVisitor.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/EmptyVisitor.java @@ -38,7 +38,7 @@ import org.objectweb.asm.MethodVisitor; /** * An empty implementation of the ASM visitor interfaces. - * + * * @author Eric Bruneton */ public class EmptyVisitor implements diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/GeneratorAdapter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/GeneratorAdapter.java index 40b4db5..aacb27c 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/GeneratorAdapter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/GeneratorAdapter.java @@ -42,7 +42,7 @@ import org.objectweb.asm.Type; /** * A {@link org.objectweb.asm.MethodAdapter} with convenient methods to generate * code. For example, using this adapter, the class below - * + * * <pre> * public class Example { * public static void main(String[] args) { @@ -50,20 +50,20 @@ import org.objectweb.asm.Type; * } * } * </pre> - * + * * can be generated as follows: - * + * * <pre> * ClassWriter cw = new ClassWriter(true); * cw.visit(V1_1, ACC_PUBLIC, "Example", null, "java/lang/Object", null); - * + * * Method m = Method.getMethod("void <init> ()"); * GeneratorAdapter mg = new GeneratorAdapter(ACC_PUBLIC, m, null, null, cw); * mg.loadThis(); * mg.invokeConstructor(Type.getType(Object.class), m); * mg.returnValue(); * mg.endMethod(); - * + * * m = Method.getMethod("void main (String[])"); * mg = new GeneratorAdapter(ACC_PUBLIC + ACC_STATIC, m, null, null, cw); * mg.getStatic(Type.getType(System.class), "out", Type.getType(PrintStream.class)); @@ -71,10 +71,10 @@ import org.objectweb.asm.Type; * mg.invokeVirtual(Type.getType(PrintStream.class), Method.getMethod("void println (String)")); * mg.returnValue(); * mg.endMethod(); - * + * * cw.visitEnd(); * </pre> - * + * * @author Juozas Baliuka * @author Chris Nokleberg * @author Eric Bruneton @@ -225,7 +225,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Creates a new {@link GeneratorAdapter}. - * + * * @param mv the method visitor to which this adapter delegates calls. * @param access the method's access flags (see {@link Opcodes}). * @param name the method's name. @@ -246,7 +246,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Creates a new {@link GeneratorAdapter}. - * + * * @param access access flags of the adapted method. * @param method the adapted method. * @param mv the method visitor to which this adapter delegates calls. @@ -265,7 +265,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Creates a new {@link GeneratorAdapter}. - * + * * @param access access flags of the adapted method. * @param method the adapted method. * @param signature the signature of the adapted method (may be @@ -290,7 +290,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Returns the internal names of the given types. - * + * * @param types a set of types. * @return the internal names of the given types. */ @@ -311,7 +311,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to push the given value on the stack. - * + * * @param value the value to be pushed on the stack. */ public void push(final boolean value) { @@ -320,7 +320,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to push the given value on the stack. - * + * * @param value the value to be pushed on the stack. */ public void push(final int value) { @@ -337,7 +337,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to push the given value on the stack. - * + * * @param value the value to be pushed on the stack. */ public void push(final long value) { @@ -350,7 +350,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to push the given value on the stack. - * + * * @param value the value to be pushed on the stack. */ public void push(final float value) { @@ -364,7 +364,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to push the given value on the stack. - * + * * @param value the value to be pushed on the stack. */ public void push(final double value) { @@ -378,7 +378,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to push the given value on the stack. - * + * * @param value the value to be pushed on the stack. May be <tt>null</tt>. */ public void push(final String value) { @@ -391,7 +391,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to push the given value on the stack. - * + * * @param value the value to be pushed on the stack. */ public void push(final Type value) { @@ -409,7 +409,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Returns the index of the given method argument in the frame's local * variables array. - * + * * @param arg the index of a method argument. * @return the index of the given method argument in the frame's local * variables array. @@ -424,7 +424,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to push a local variable on the stack. - * + * * @param type the type of the local variable to be loaded. * @param index an index in the frame's local variables array. */ @@ -435,7 +435,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to store the top stack value in a local * variable. - * + * * @param type the type of the local variable to be stored. * @param index an index in the frame's local variables array. */ @@ -455,7 +455,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to load the given method argument on the stack. - * + * * @param arg the index of a method argument. */ public void loadArg(final int arg) { @@ -465,7 +465,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instructions to load the given method arguments on the * stack. - * + * * @param arg the index of the first method argument to be loaded. * @param count the number of method arguments to be loaded. */ @@ -504,7 +504,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to store the top stack value in the given * method argument. - * + * * @param arg the index of a method argument. */ public void storeArg(final int arg) { @@ -517,7 +517,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Creates a new local variable of the given type. - * + * * @param type the type of the local variable to be created. * @return the identifier of the newly created local variable. */ @@ -529,7 +529,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Returns the type of the given local variable. - * + * * @param local a local variable identifier, as returned by {@link #newLocal * newLocal}. * @return the type of the given local variable. @@ -540,7 +540,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Sets the current type of the given local variable. - * + * * @param local a local variable identifier, as returned by {@link #newLocal * newLocal}. * @param type the type of the value being stored in the local variable @@ -554,7 +554,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to load the given local variable on the stack. - * + * * @param local a local variable identifier, as returned by {@link #newLocal * newLocal}. */ @@ -564,7 +564,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to load the given local variable on the stack. - * + * * @param local a local variable identifier, as returned by {@link #newLocal * newLocal}. * @param type the type of this local variable. @@ -577,7 +577,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to store the top stack value in the given local * variable. - * + * * @param local a local variable identifier, as returned by {@link #newLocal * newLocal}. */ @@ -588,7 +588,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to store the top stack value in the given local * variable. - * + * * @param local a local variable identifier, as returned by {@link #newLocal * newLocal}. * @param type the type of this local variable. @@ -600,7 +600,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to load an element from an array. - * + * * @param type the type of the array element to be loaded. */ public void arrayLoad(final Type type) { @@ -609,7 +609,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to store an element in an array. - * + * * @param type the type of the array element to be stored. */ public void arrayStore(final Type type) { @@ -685,7 +685,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instructions to swap the top two stack values. - * + * * @param prev type of the top - 1 stack value. * @param type type of the top stack value. */ @@ -715,7 +715,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to do the specified mathematical or logical * operation. - * + * * @param op a mathematical or logical operation. Must be one of ADD, SUB, * MUL, DIV, REM, NEG, SHL, SHR, USHR, AND, OR, XOR. * @param type the type of the operand(s) for this operation. @@ -735,7 +735,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to increment the given local variable. - * + * * @param local the local variable to be incremented. * @param amount the amount by which the local variable must be incremented. */ @@ -746,7 +746,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instructions to cast a numerical value from one type to * another. - * + * * @param from the type of the top stack value * @param to the type into which this value must be cast. */ @@ -804,7 +804,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instructions to box the top stack value. This value is * replaced by its boxed equivalent on top of the stack. - * + * * @param type the type of the top stack value. */ public void box(final Type type) { @@ -861,7 +861,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instructions to unbox the top stack value. This value is * replaced by its unboxed equivalent on top of the stack. - * + * * @param type the type of the top stack value. */ public void unbox(final Type type) { @@ -906,7 +906,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Creates a new {@link Label}. - * + * * @return a new {@link Label}. */ public Label newLabel() { @@ -915,7 +915,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Marks the current code position with the given label. - * + * * @param label a label. */ public void mark(final Label label) { @@ -924,7 +924,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Marks the current code position with a new label. - * + * * @return the label that was created to mark the current code position. */ public Label mark() { @@ -936,7 +936,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instructions to jump to a label based on the comparison of * the top two stack values. - * + * * @param type the type of the top two stack values. * @param mode how these values must be compared. One of EQ, NE, LT, GE, GT, * LE. @@ -1005,7 +1005,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instructions to jump to a label based on the comparison of * the top two integer stack values. - * + * * @param mode how these values must be compared. One of EQ, NE, LT, GE, GT, * LE. * @param label where to jump if the comparison result is <tt>true</tt>. @@ -1017,7 +1017,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instructions to jump to a label based on the comparison of * the top integer stack value with zero. - * + * * @param mode how these values must be compared. One of EQ, NE, LT, GE, GT, * LE. * @param label where to jump if the comparison result is <tt>true</tt>. @@ -1029,7 +1029,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to jump to the given label if the top stack * value is null. - * + * * @param label where to jump if the condition is <tt>true</tt>. */ public void ifNull(final Label label) { @@ -1039,7 +1039,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to jump to the given label if the top stack * value is not null. - * + * * @param label where to jump if the condition is <tt>true</tt>. */ public void ifNonNull(final Label label) { @@ -1048,7 +1048,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to jump to the given label. - * + * * @param label where to jump if the condition is <tt>true</tt>. */ public void goTo(final Label label) { @@ -1057,7 +1057,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates a RET instruction. - * + * * @param local a local variable identifier, as returned by {@link #newLocal * newLocal}. */ @@ -1067,7 +1067,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instructions for a switch statement. - * + * * @param keys the switch case keys. * @param generator a generator to generate the code for the switch cases. */ @@ -1087,7 +1087,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instructions for a switch statement. - * + * * @param keys the switch case keys. * @param generator a generator to generate the code for the switch cases. * @param useTable <tt>true</tt> to use a TABLESWITCH instruction, or @@ -1154,7 +1154,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates a get field or set field instruction. - * + * * @param opcode the instruction's opcode. * @param ownerType the class in which the field is defined. * @param name the name of the field. @@ -1175,7 +1175,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to push the value of a static field on the * stack. - * + * * @param owner the class in which the field is defined. * @param name the name of the field. * @param type the type of the field. @@ -1187,7 +1187,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to store the top stack value in a static field. - * + * * @param owner the class in which the field is defined. * @param name the name of the field. * @param type the type of the field. @@ -1200,7 +1200,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to push the value of a non static field on the * stack. - * + * * @param owner the class in which the field is defined. * @param name the name of the field. * @param type the type of the field. @@ -1212,7 +1212,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to store the top stack value in a non static * field. - * + * * @param owner the class in which the field is defined. * @param name the name of the field. * @param type the type of the field. @@ -1227,7 +1227,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates an invoke method instruction. - * + * * @param opcode the instruction's opcode. * @param type the class in which the method is defined. * @param method the method to be invoked. @@ -1248,7 +1248,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to invoke a normal method. - * + * * @param owner the class in which the method is defined. * @param method the method to be invoked. */ @@ -1258,7 +1258,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to invoke a constructor. - * + * * @param type the class in which the constructor is defined. * @param method the constructor to be invoked. */ @@ -1268,7 +1268,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to invoke a static method. - * + * * @param owner the class in which the method is defined. * @param method the method to be invoked. */ @@ -1278,7 +1278,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to invoke an interface method. - * + * * @param owner the class in which the method is defined. * @param method the method to be invoked. */ @@ -1292,7 +1292,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates a type dependent instruction. - * + * * @param opcode the instruction's opcode. * @param type the instruction's operand. */ @@ -1308,7 +1308,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to create a new object. - * + * * @param type the class of the object to be created. */ public void newInstance(final Type type) { @@ -1317,7 +1317,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to create a new array. - * + * * @param type the type of the array elements. */ public void newArray(final Type type) { @@ -1375,7 +1375,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instructions to create and throw an exception. The * exception class must have a constructor with a single String argument. - * + * * @param type the class of the exception to be thrown. * @param msg the detailed message of the exception. */ @@ -1390,7 +1390,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to check that the top stack value is of the * given type. - * + * * @param type a class or interface type. */ public void checkCast(final Type type) { @@ -1402,7 +1402,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Generates the instruction to test if the top stack value is of the given * type. - * + * * @param type a class or interface type. */ public void instanceOf(final Type type) { @@ -1438,7 +1438,7 @@ public class GeneratorAdapter extends LocalVariablesSorter { /** * Marks the start of an exception handler. - * + * * @param start beginning of the exception handler's scope (inclusive). * @param end end of the exception handler's scope (exclusive). * @param exception internal name of the type of exceptions handled by the diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/LocalVariablesSorter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/LocalVariablesSorter.java index 1253a0b..bfc8732 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/LocalVariablesSorter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/LocalVariablesSorter.java @@ -39,7 +39,7 @@ import org.objectweb.asm.Type; * A {@link MethodAdapter} that renumbers local variables in their order of * appearance. This adapter allows one to easily add new local variables to a * method. - * + * * @author Chris Nokleberg * @author Eric Bruneton */ @@ -132,5 +132,5 @@ public class LocalVariablesSorter extends MethodAdapter { } return value - 1; } - + } diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/Method.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/Method.java index 741e7b5..c5ce314 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/Method.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/Method.java @@ -36,7 +36,7 @@ import org.objectweb.asm.Type; /** * A named method descriptor. - * + * * @author Juozas Baliuka * @author Chris Nokleberg * @author Eric Bruneton @@ -73,7 +73,7 @@ public class Method { /** * Creates a new {@link Method}. - * + * * @param name the method's name. * @param desc the method's descriptor. */ @@ -84,7 +84,7 @@ public class Method { /** * Creates a new {@link Method}. - * + * * @param name the method's name. * @param returnType the method's return type. * @param argumentTypes the method's argument types. @@ -100,7 +100,7 @@ public class Method { /** * Returns a {@link Method} corresponding to the given Java method * declaration. - * + * * @param method a Java method declaration, without argument names, of the * form "returnType name (argumentType1, ... argumentTypeN)", where * the types are in plain Java (e.g. "int", "float", @@ -168,7 +168,7 @@ public class Method { /** * Returns the name of the method described by this object. - * + * * @return the name of the method described by this object. */ public String getName() { @@ -177,7 +177,7 @@ public class Method { /** * Returns the descriptor of the method described by this object. - * + * * @return the descriptor of the method described by this object. */ public String getDescriptor() { @@ -186,7 +186,7 @@ public class Method { /** * Returns the return type of the method described by this object. - * + * * @return the return type of the method described by this object. */ public Type getReturnType() { @@ -195,7 +195,7 @@ public class Method { /** * Returns the argument types of the method described by this object. - * + * * @return the argument types of the method described by this object. */ public Type[] getArgumentTypes() { @@ -217,4 +217,4 @@ public class Method { public int hashCode() { return name.hashCode() ^ desc.hashCode(); } -}
\ No newline at end of file +} diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/SerialVersionUIDAdder.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/SerialVersionUIDAdder.java index 800ad4b..3932a01 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/SerialVersionUIDAdder.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/SerialVersionUIDAdder.java @@ -46,18 +46,18 @@ import org.objectweb.asm.Opcodes; /** * A {@link ClassAdapter} that adds a serial version unique identifier to a * class if missing. Here is typical usage of this class: - * + * * <pre> * ClassWriter cw = new ClassWriter(...); * ClassVisitor sv = new SerialVersionUIDAdder(cw); * ClassVisitor ca = new MyClassAdapter(sv); * new ClassReader(orginalClass).accept(ca, false); * </pre> - * + * * The SVUID algorithm can be found <a href= * "http://java.sun.com/j2se/1.4.2/docs/guide/serialization/spec/class.html" * >http://java.sun.com/j2se/1.4.2/docs/guide/serialization/spec/class.html</a>: - * + * * <pre> * The serialVersionUID is computed using the signature of a stream of bytes * that reflect the class definition. The National Institute of Standards and @@ -93,9 +93,9 @@ import org.objectweb.asm.Opcodes; * 8. The SHA-1 algorithm is executed on the stream of bytes produced by * DataOutputStream and produces five 32-bit values sha[0..4]. * - * 9. The hash value is assembled from the first and second 32-bit values of + * 9. The hash value is assembled from the first and second 32-bit values of * the SHA-1 message digest. If the result of the message digest, the five - * 32-bit words H0 H1 H2 H3 H4, is in an array of five int values named + * 32-bit words H0 H1 H2 H3 H4, is in an array of five int values named * sha, the hash value would be computed as follows: * * long hash = ((sha[0] >>> 24) & 0xFF) | @@ -107,7 +107,7 @@ import org.objectweb.asm.Opcodes; * ((sha[1] >>> 8) & 0xFF) << 48 | * ((sha[1] >>> 0) & 0xFF) << 56; * </pre> - * + * * @author Rajendra Inamdar, Vishal Vishnoi */ public class SerialVersionUIDAdder extends ClassAdapter { @@ -160,7 +160,7 @@ public class SerialVersionUIDAdder extends ClassAdapter { /** * Creates a new {@link SerialVersionUIDAdder}. - * + * * @param cv a {@link ClassVisitor} to which this visitor will delegate * calls. */ @@ -306,7 +306,7 @@ public class SerialVersionUIDAdder extends ClassAdapter { * Returns the value of SVUID if the class doesn't have one already. Please * note that 0 is returned if the class already has SVUID, thus use * <code>isHasSVUID</code> to determine if the class already had an SVUID. - * + * * @return Returns the serial version UID * @throws IOException */ @@ -347,11 +347,11 @@ public class SerialVersionUIDAdder extends ClassAdapter { /* * 4. For each field of the class sorted by field name (except * private static and private transient fields): - * + * * 1. The name of the field in UTF encoding. 2. The modifiers of the * field written as a 32-bit integer. 3. The descriptor of the field * in UTF encoding - * + * * Note that field signatutes are not dot separated. Method and * constructor signatures are dot separated. Go figure... */ @@ -401,7 +401,7 @@ public class SerialVersionUIDAdder extends ClassAdapter { * digest, the five 32-bit words H0 H1 H2 H3 H4, is in an array of * five int values named sha, the hash value would be computed as * follows: - * + * * long hash = ((sha[0] >>> 24) & 0xFF) | ((sha[0] >>> 16) & 0xFF) << * 8 | ((sha[0] >>> 8) & 0xFF) << 16 | ((sha[0] >>> 0) & 0xFF) << * 24 | ((sha[1] >>> 24) & 0xFF) << 32 | ((sha[1] >>> 16) & 0xFF) << @@ -423,7 +423,7 @@ public class SerialVersionUIDAdder extends ClassAdapter { /** * Returns the SHA-1 message digest of the given value. - * + * * @param value the value whose SHA message digest must be computed. * @return the SHA-1 message digest of the given value. */ @@ -437,7 +437,7 @@ public class SerialVersionUIDAdder extends ClassAdapter { /** * Sorts the items in the collection and writes it to the data output stream - * + * * @param itemCollection collection of items * @param dos a <code>DataOutputStream</code> value * @param dotted a <code>boolean</code> value diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/StaticInitMerger.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/StaticInitMerger.java index 9aabe44..2af409e 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/StaticInitMerger.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/StaticInitMerger.java @@ -36,7 +36,7 @@ import org.objectweb.asm.Opcodes; /** * A {@link ClassAdapter} that merges clinit methods into a single one. - * + * * @author Eric Bruneton */ public class StaticInitMerger extends ClassAdapter { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/TableSwitchGenerator.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/TableSwitchGenerator.java index 73d8d92..c90a9ca 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/TableSwitchGenerator.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/TableSwitchGenerator.java @@ -33,7 +33,7 @@ import org.objectweb.asm.Label; /** * A code generator for switch statements. - * + * * @author Juozas Baliuka * @author Chris Nokleberg * @author Eric Bruneton @@ -42,7 +42,7 @@ public interface TableSwitchGenerator { /** * Generates the code for a switch case. - * + * * @param key the switch case key. * @param end a label that corresponds to the end of the switch statement. */ diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/AnnotationConstantsCollector.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/AnnotationConstantsCollector.java index e35fead..5bceca1 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/AnnotationConstantsCollector.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/AnnotationConstantsCollector.java @@ -35,7 +35,7 @@ import org.objectweb.asm.Type; /** * An {@link AnnotationVisitor} that collects the {@link Constant}s of the * annotations it visits. - * + * * @author Eric Bruneton */ public class AnnotationConstantsCollector implements AnnotationVisitor { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/ClassConstantsCollector.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/ClassConstantsCollector.java index 9cfc6de..4a6efe5 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/ClassConstantsCollector.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/ClassConstantsCollector.java @@ -40,7 +40,7 @@ import org.objectweb.asm.Opcodes; /** * A {@link ClassVisitor} that collects the {@link Constant}s of the classes it * visits. - * + * * @author Eric Bruneton */ public class ClassConstantsCollector extends ClassAdapter { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/ClassOptimizer.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/ClassOptimizer.java index 153b07a..b9a1a42 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/ClassOptimizer.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/ClassOptimizer.java @@ -40,7 +40,7 @@ import org.objectweb.asm.Opcodes; /** * A {@link ClassAdapter} that renames fields and methods, and removes debug * info. - * + * * @author Eric Bruneton */ public class ClassOptimizer extends ClassAdapter { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/Constant.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/Constant.java index b07b7c2..c07599d 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/Constant.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/Constant.java @@ -33,7 +33,7 @@ import org.objectweb.asm.ClassWriter; /** * A constant pool item. - * + * * @author Eric Bruneton */ class Constant { @@ -108,7 +108,7 @@ class Constant { /** * Sets this item to an integer item. - * + * * @param intVal the value of this item. */ void set(final int intVal) { @@ -119,7 +119,7 @@ class Constant { /** * Sets this item to a long item. - * + * * @param longVal the value of this item. */ void set(final long longVal) { @@ -130,7 +130,7 @@ class Constant { /** * Sets this item to a float item. - * + * * @param floatVal the value of this item. */ void set(final float floatVal) { @@ -141,7 +141,7 @@ class Constant { /** * Sets this item to a double item. - * + * * @param doubleVal the value of this item. */ void set(final double doubleVal) { @@ -152,7 +152,7 @@ class Constant { /** * Sets this item to an item that do not hold a primitive value. - * + * * @param type the type of this item. * @param strVal1 first part of the value of this item. * @param strVal2 second part of the value of this item. diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/ConstantPool.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/ConstantPool.java index c918bef..dff17de 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/ConstantPool.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/ConstantPool.java @@ -35,7 +35,7 @@ import org.objectweb.asm.Type; /** * A constant pool. - * + * * @author Eric Bruneton */ public class ConstantPool extends HashMap { @@ -195,4 +195,4 @@ public class ConstantPool extends HashMap { private void put(final Constant cst) { put(cst, cst); } -}
\ No newline at end of file +} diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/FieldConstantsCollector.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/FieldConstantsCollector.java index e5e9b76..ac5d0d3 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/FieldConstantsCollector.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/FieldConstantsCollector.java @@ -36,7 +36,7 @@ import org.objectweb.asm.FieldVisitor; /** * A {@link FieldVisitor} that collects the {@link Constant}s of the fields it * visits. - * + * * @author Eric Bruneton */ public class FieldConstantsCollector implements FieldVisitor { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/JarOptimizer.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/JarOptimizer.java index 8302d99..994b458 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/JarOptimizer.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/JarOptimizer.java @@ -40,7 +40,7 @@ import java.util.zip.ZipOutputStream; /** * A Jar file optimizer. - * + * * @author Eric Bruneton */ public class JarOptimizer { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/MethodConstantsCollector.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/MethodConstantsCollector.java index dc7b1c1..33d82e9 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/MethodConstantsCollector.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/MethodConstantsCollector.java @@ -38,7 +38,7 @@ import org.objectweb.asm.Opcodes; /** * An {@link MethodVisitor} that collects the {@link Constant}s of the methods * it visits. - * + * * @author Eric Bruneton */ public class MethodConstantsCollector extends MethodAdapter { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/MethodOptimizer.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/MethodOptimizer.java index 91fa98b..ea29274 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/MethodOptimizer.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/MethodOptimizer.java @@ -37,7 +37,7 @@ import org.objectweb.asm.MethodVisitor; /** * A {@link MethodAdapter} that renames fields and methods, and removes debug * info. - * + * * @author Eric Bruneton */ public class MethodOptimizer extends MethodAdapter { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/NameMapping.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/NameMapping.java index 9cefb1f..77a856b 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/NameMapping.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/NameMapping.java @@ -39,13 +39,13 @@ import org.objectweb.asm.Type; /** * A mapping from names to names, used to rename classes, fields and methods. - * + * * @author Eric Bruneton */ public class NameMapping extends Properties { public final Set unused; - + public NameMapping(final String file) throws IOException { load(new FileInputStream(file)); unused = new HashSet(keySet()); diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/Shrinker.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/Shrinker.java index 94e4068..86da307 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/Shrinker.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/Shrinker.java @@ -44,7 +44,7 @@ import org.objectweb.asm.ClassWriter; /** * A class file shrinker utility. - * + * * @author Eric Bruneton */ public class Shrinker { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/signature/SignatureReader.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/signature/SignatureReader.java index 363692d..a2f31f3 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/signature/SignatureReader.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/signature/SignatureReader.java @@ -32,7 +32,7 @@ package org.objectweb.asm.signature; /** * A type signature parser to make a signature visitor visit an existing * signature. - * + * * @author Thomas Hallgren * @author Eric Bruneton */ @@ -45,7 +45,7 @@ public class SignatureReader { /** * Constructs a {@link SignatureReader} for the given signature. - * + * * @param signature A <i>ClassSignature</i>, <i>MethodTypeSignature</i>, * or <i>FieldTypeSignature</i>. */ @@ -65,7 +65,7 @@ public class SignatureReader { * parameter of the * {@link org.objectweb.asm.ClassVisitor#visitMethod ClassVisitor.visitMethod} * method). - * + * * @param v the visitor that must visit this signature. */ public void accept(final SignatureVisitor v) { @@ -122,11 +122,11 @@ public class SignatureReader { * method is intended to be called on a {@link SignatureReader} that was * created using a <i>FieldTypeSignature</i>, such as the * <code>signature</code> parameter of the - * {@link org.objectweb.asm.ClassVisitor#visitField - * ClassVisitor.visitField} or {@link + * {@link org.objectweb.asm.ClassVisitor#visitField + * ClassVisitor.visitField} or {@link * org.objectweb.asm.MethodVisitor#visitLocalVariable * MethodVisitor.visitLocalVariable} methods. - * + * * @param v the visitor that must visit this signature. */ public void acceptType(final SignatureVisitor v) { @@ -135,7 +135,7 @@ public class SignatureReader { /** * Parses a field type signature and makes the given visitor visit it. - * + * * @param signature a string containing the signature that must be parsed. * @param pos index of the first character of the signature to parsed. * @param v the visitor that must visit this signature. diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/signature/SignatureVisitor.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/signature/SignatureVisitor.java index 8f087bd..46df8c9 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/signature/SignatureVisitor.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/signature/SignatureVisitor.java @@ -34,21 +34,21 @@ package org.objectweb.asm.signature; * called in one of the three following orders (the last one is the only valid * order for a {@link SignatureVisitor} that is returned by a method of this * interface): <ul> <li><i>ClassSignature</i> = ( - * <tt>visitFormalTypeParameter</tt> + * <tt>visitFormalTypeParameter</tt> * <tt>visitClassBound</tt>? - * <tt>visitInterfaceBound</tt>* )* ( <tt>visitSuperClass</tt> + * <tt>visitInterfaceBound</tt>* )* ( <tt>visitSuperClass</tt> * <tt>visitInterface</tt>* )</li> - * <li><i>MethodSignature</i> = ( <tt>visitFormalTypeParameter</tt> + * <li><i>MethodSignature</i> = ( <tt>visitFormalTypeParameter</tt> * <tt>visitClassBound</tt>? * <tt>visitInterfaceBound</tt>* )* ( <tt>visitParameterType</tt>* - * <tt>visitReturnType</tt> + * <tt>visitReturnType</tt> * <tt>visitExceptionType</tt>* )</li> <li><i>TypeSignature</i> = * <tt>visitBaseType</tt> | <tt>visitTypeVariable</tt> | * <tt>visitArrayType</tt> | ( * <tt>visitClassType</tt> <tt>visitTypeArgument</tt>* ( * <tt>visitInnerClassType</tt> <tt>visitTypeArgument</tt>* )* * <tt>visitEnd</tt> ) )</li> </ul> - * + * * @author Thomas Hallgren * @author Eric Bruneton */ @@ -71,28 +71,28 @@ public interface SignatureVisitor { /** * Visits a formal type parameter. - * + * * @param name the name of the formal parameter. */ void visitFormalTypeParameter(String name); /** * Visits the class bound of the last visited formal type parameter. - * + * * @return a non null visitor to visit the signature of the class bound. */ SignatureVisitor visitClassBound(); /** * Visits an interface bound of the last visited formal type parameter. - * + * * @return a non null visitor to visit the signature of the interface bound. */ SignatureVisitor visitInterfaceBound(); /** * Visits the type of the super class. - * + * * @return a non null visitor to visit the signature of the super class * type. */ @@ -100,35 +100,35 @@ public interface SignatureVisitor { /** * Visits the type of an interface implemented by the class. - * + * * @return a non null visitor to visit the signature of the interface type. */ SignatureVisitor visitInterface(); /** * Visits the type of a method parameter. - * + * * @return a non null visitor to visit the signature of the parameter type. */ SignatureVisitor visitParameterType(); /** * Visits the return type of the method. - * + * * @return a non null visitor to visit the signature of the return type. */ SignatureVisitor visitReturnType(); /** * Visits the type of a method exception. - * + * * @return a non null visitor to visit the signature of the exception type. */ SignatureVisitor visitExceptionType(); /** * Visits a signature corresponding to a primitive type. - * + * * @param descriptor the descriptor of the primitive type, or 'V' for * <tt>void</tt>. */ @@ -136,14 +136,14 @@ public interface SignatureVisitor { /** * Visits a signature corresponding to a type variable. - * + * * @param name the name of the type variable. */ void visitTypeVariable(String name); /** * Visits a signature corresponding to an array type. - * + * * @return a non null visitor to visit the signature of the array element * type. */ @@ -152,14 +152,14 @@ public interface SignatureVisitor { /** * Starts the visit of a signature corresponding to a class or interface * type. - * + * * @param name the internal name of the class or interface. */ void visitClassType(String name); /** * Visits an inner class. - * + * * @param name the local name of the inner class in its enclosing class. */ void visitInnerClassType(String name); @@ -172,7 +172,7 @@ public interface SignatureVisitor { /** * Visits a type argument of the last visited class or inner class type. - * + * * @param wildcard '+', '-' or '='. * @return a non null visitor to visit the signature of the type argument. */ diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/signature/SignatureWriter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/signature/SignatureWriter.java index b78d666..833d688 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/signature/SignatureWriter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/signature/SignatureWriter.java @@ -31,7 +31,7 @@ package org.objectweb.asm.signature; /** * A signature visitor that generates signatures in string format. - * + * * @author Thomas Hallgren * @author Eric Bruneton */ @@ -174,7 +174,7 @@ public class SignatureWriter implements SignatureVisitor { /** * Returns the signature that was built by this signature writer. - * + * * @return the signature that was built by this signature writer. */ public String toString() { @@ -204,4 +204,4 @@ public class SignatureWriter implements SignatureVisitor { } argumentStack /= 2; } -}
\ No newline at end of file +} diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/AbstractInsnNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/AbstractInsnNode.java index 1f695e0..e0009da 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/AbstractInsnNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/AbstractInsnNode.java @@ -33,7 +33,7 @@ import org.objectweb.asm.MethodVisitor; /** * A node that represents a bytecode instruction. - * + * * @author Eric Bruneton */ public abstract class AbstractInsnNode { @@ -110,7 +110,7 @@ public abstract class AbstractInsnNode { /** * Constructs a new {@link AbstractInsnNode}. - * + * * @param opcode the opcode of the instruction to be constructed. */ protected AbstractInsnNode(final int opcode) { @@ -119,7 +119,7 @@ public abstract class AbstractInsnNode { /** * Returns the opcode of this instruction. - * + * * @return the opcode of this instruction. */ public int getOpcode() { @@ -128,7 +128,7 @@ public abstract class AbstractInsnNode { /** * Returns the type of this instruction. - * + * * @return the type of this instruction, i.e. one the constants defined in * this class. */ @@ -136,7 +136,7 @@ public abstract class AbstractInsnNode { /** * Makes the given code visitor visit this instruction. - * + * * @param cv a code visitor. */ public abstract void accept(final MethodVisitor cv); diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/AnnotationNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/AnnotationNode.java index 4911e3e..c9c1cb9 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/AnnotationNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/AnnotationNode.java @@ -36,7 +36,7 @@ import org.objectweb.asm.AnnotationVisitor; /** * A node that represents an annotationn. - * + * * @author Eric Bruneton */ public class AnnotationNode implements AnnotationVisitor { @@ -61,7 +61,7 @@ public class AnnotationNode implements AnnotationVisitor { /** * Constructs a new {@link AnnotationNode}. - * + * * @param desc the class descriptor of the annotation class. */ public AnnotationNode(final String desc) { @@ -70,7 +70,7 @@ public class AnnotationNode implements AnnotationVisitor { /** * Constructs a new {@link AnnotationNode} to visit an array value. - * + * * @param values where the visited values must be stored. */ AnnotationNode(final List values) { @@ -141,7 +141,7 @@ public class AnnotationNode implements AnnotationVisitor { /** * Makes the given visitor visit this annotation. - * + * * @param av an annotation visitor. */ public void accept(final AnnotationVisitor av) { @@ -157,7 +157,7 @@ public class AnnotationNode implements AnnotationVisitor { /** * Makes the given visitor visit a given annotation value. - * + * * @param av an annotation visitor. * @param name the value name. * @param value the actual value. diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/ClassNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/ClassNode.java index 0771c87..85134e3 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/ClassNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/ClassNode.java @@ -40,7 +40,7 @@ import java.util.Arrays; /** * A node that represents a class. - * + * * @author Eric Bruneton */ public class ClassNode extends MemberNode implements ClassVisitor { @@ -115,7 +115,7 @@ public class ClassNode extends MemberNode implements ClassVisitor { /** * Informations about the inner classes of this class. This list is a list * of {@link InnerClassNode} objects. - * + * * @associates org.objectweb.asm.tree.InnerClassNode */ public List innerClasses; @@ -123,7 +123,7 @@ public class ClassNode extends MemberNode implements ClassVisitor { /** * The fields of this class. This list is a list of {@link FieldNode} * objects. - * + * * @associates org.objectweb.asm.tree.FieldNode */ public List fields; @@ -131,7 +131,7 @@ public class ClassNode extends MemberNode implements ClassVisitor { /** * The methods of this class. This list is a list of {@link MethodNode} * objects. - * + * * @associates org.objectweb.asm.tree.MethodNode */ public List methods; @@ -233,7 +233,7 @@ public class ClassNode extends MemberNode implements ClassVisitor { /** * Makes the given class visitor visit this class. - * + * * @param cv a class visitor. */ public void accept(final ClassVisitor cv) { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/FieldInsnNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/FieldInsnNode.java index 4399e3a..2ae5388 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/FieldInsnNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/FieldInsnNode.java @@ -34,7 +34,7 @@ import org.objectweb.asm.MethodVisitor; /** * A node that represents a field instruction. A field instruction is an * instruction that loads or stores the value of a field of an object. - * + * * @author Eric Bruneton */ public class FieldInsnNode extends AbstractInsnNode { @@ -57,7 +57,7 @@ public class FieldInsnNode extends AbstractInsnNode { /** * Constructs a new {@link FieldInsnNode}. - * + * * @param opcode the opcode of the type instruction to be constructed. This * opcode must be GETSTATIC, PUTSTATIC, GETFIELD or PUTFIELD. * @param owner the internal name of the field's owner class (see @@ -79,7 +79,7 @@ public class FieldInsnNode extends AbstractInsnNode { /** * Sets the opcode of this instruction. - * + * * @param opcode the new instruction opcode. This opcode must be GETSTATIC, * PUTSTATIC, GETFIELD or PUTFIELD. */ diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/FieldNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/FieldNode.java index c13ac9e..8a97b1c 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/FieldNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/FieldNode.java @@ -35,7 +35,7 @@ import org.objectweb.asm.FieldVisitor; /** * A node that represents a field. - * + * * @author Eric Bruneton */ public class FieldNode extends MemberNode implements FieldVisitor { @@ -70,7 +70,7 @@ public class FieldNode extends MemberNode implements FieldVisitor { /** * Constructs a new {@link FieldNode}. - * + * * @param access the field's access flags (see * {@link org.objectweb.asm.Opcodes}). This parameter also indicates * if the field is synthetic and/or deprecated. @@ -98,7 +98,7 @@ public class FieldNode extends MemberNode implements FieldVisitor { /** * Makes the given class visitor visit this field. - * + * * @param cv a class visitor. */ public void accept(final ClassVisitor cv) { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/IincInsnNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/IincInsnNode.java index e7e79dc..b5399b0 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/IincInsnNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/IincInsnNode.java @@ -34,7 +34,7 @@ import org.objectweb.asm.Opcodes; /** * A node that represents an IINC instruction. - * + * * @author Eric Bruneton */ public class IincInsnNode extends AbstractInsnNode { @@ -51,7 +51,7 @@ public class IincInsnNode extends AbstractInsnNode { /** * Constructs a new {@link IincInsnNode}. - * + * * @param var index of the local variable to be incremented. * @param incr increment amount to increment the local variable by. */ @@ -68,4 +68,4 @@ public class IincInsnNode extends AbstractInsnNode { public int getType() { return IINC_INSN; } -}
\ No newline at end of file +} diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/InnerClassNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/InnerClassNode.java index a325317..6af060e 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/InnerClassNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/InnerClassNode.java @@ -33,7 +33,7 @@ import org.objectweb.asm.ClassVisitor; /** * A node that represents an inner class. - * + * * @author Eric Bruneton */ public class InnerClassNode { @@ -65,7 +65,7 @@ public class InnerClassNode { /** * Constructs a new {@link InnerClassNode}. - * + * * @param name the internal name of an inner class (see * {@link org.objectweb.asm.Type#getInternalName() getInternalName}). * @param outerName the internal name of the class to which the inner class @@ -92,7 +92,7 @@ public class InnerClassNode { /** * Makes the given class visitor visit this inner class. - * + * * @param cv a class visitor. */ public void accept(final ClassVisitor cv) { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/InsnNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/InsnNode.java index 434dd5b..7182726 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/InsnNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/InsnNode.java @@ -33,7 +33,7 @@ import org.objectweb.asm.MethodVisitor; /** * A node that represents a zero operand instruction. - * + * * @author Eric Bruneton */ public class InsnNode extends AbstractInsnNode { @@ -49,9 +49,9 @@ public class InsnNode extends AbstractInsnNode { /** * Returns the {@link InsnNode} corresponding to the given opcode. - * + * * @deprecated uses the constructor instead. - * + * * @param opcode an instruction opcode. * @return the {@link InsnNode} corresponding to the given opcode. */ @@ -61,7 +61,7 @@ public class InsnNode extends AbstractInsnNode { /** * Constructs a new {@link InsnNode}. - * + * * @param opcode the opcode of the instruction to be constructed. This * opcode must be NOP, ACONST_NULL, ICONST_M1, ICONST_0, ICONST_1, * ICONST_2, ICONST_3, ICONST_4, ICONST_5, LCONST_0, LCONST_1, @@ -83,7 +83,7 @@ public class InsnNode extends AbstractInsnNode { /** * Makes the given visitor visit this instruction. - * + * * @param mv a method visitor. */ public void accept(final MethodVisitor mv) { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/IntInsnNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/IntInsnNode.java index 2c200a5..b9b02e3 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/IntInsnNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/IntInsnNode.java @@ -33,7 +33,7 @@ import org.objectweb.asm.MethodVisitor; /** * A node that represents an instruction with a single int operand. - * + * * @author Eric Bruneton */ public class IntInsnNode extends AbstractInsnNode { @@ -45,7 +45,7 @@ public class IntInsnNode extends AbstractInsnNode { /** * Constructs a new {@link IntInsnNode}. - * + * * @param opcode the opcode of the instruction to be constructed. This * opcode must be BIPUSH, SIPUSH or NEWARRAY. * @param operand the operand of the instruction to be constructed. @@ -57,7 +57,7 @@ public class IntInsnNode extends AbstractInsnNode { /** * Sets the opcode of this instruction. - * + * * @param opcode the new instruction opcode. This opcode must be BIPUSH, * SIPUSH or NEWARRAY. */ diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/JumpInsnNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/JumpInsnNode.java index 5ab6e11..7dccf32 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/JumpInsnNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/JumpInsnNode.java @@ -35,7 +35,7 @@ import org.objectweb.asm.MethodVisitor; /** * A node that represents a jump instruction. A jump instruction is an * instruction that may jump to another instruction. - * + * * @author Eric Bruneton */ public class JumpInsnNode extends AbstractInsnNode { @@ -48,7 +48,7 @@ public class JumpInsnNode extends AbstractInsnNode { /** * Constructs a new {@link JumpInsnNode}. - * + * * @param opcode the opcode of the type instruction to be constructed. This * opcode must be IFEQ, IFNE, IFLT, IFGE, IFGT, IFLE, IF_ICMPEQ, * IF_ICMPNE, IF_ICMPLT, IF_ICMPGE, IF_ICMPGT, IF_ICMPLE, IF_ACMPEQ, @@ -64,7 +64,7 @@ public class JumpInsnNode extends AbstractInsnNode { /** * Sets the opcode of this instruction. - * + * * @param opcode the new instruction opcode. This opcode must be IFEQ, IFNE, * IFLT, IFGE, IFGT, IFLE, IF_ICMPEQ, IF_ICMPNE, IF_ICMPLT, * IF_ICMPGE, IF_ICMPGT, IF_ICMPLE, IF_ACMPEQ, IF_ACMPNE, GOTO, JSR, diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/LabelNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/LabelNode.java index 5eead6e..0f8c933 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/LabelNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/LabelNode.java @@ -51,4 +51,4 @@ public class LabelNode extends AbstractInsnNode { public int getType() { return LABEL; } -}
\ No newline at end of file +} diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/LdcInsnNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/LdcInsnNode.java index ef95513..234b41f 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/LdcInsnNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/LdcInsnNode.java @@ -34,7 +34,7 @@ import org.objectweb.asm.Opcodes; /** * A node that represents an LDC instruction. - * + * * @author Eric Bruneton */ public class LdcInsnNode extends AbstractInsnNode { @@ -48,7 +48,7 @@ public class LdcInsnNode extends AbstractInsnNode { /** * Constructs a new {@link LdcInsnNode}. - * + * * @param cst the constant to be loaded on the stack. This parameter must be * a non null {@link Integer}, a {@link Float}, a {@link Long}, a * {@link Double} or a {@link String}. @@ -65,4 +65,4 @@ public class LdcInsnNode extends AbstractInsnNode { public int getType() { return LDC_INSN; } -}
\ No newline at end of file +} diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/LineNumberNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/LineNumberNode.java index 0d497474..2a34988 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/LineNumberNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/LineNumberNode.java @@ -34,7 +34,7 @@ import org.objectweb.asm.MethodVisitor; /** * A node that represents a line number declaration. - * + * * @author Eric Bruneton */ public class LineNumberNode { @@ -52,7 +52,7 @@ public class LineNumberNode { /** * Constructs a new {@link LineNumberNode}. - * + * * @param line a line number. This number refers to the source file from * which the class was compiled. * @param start the first instruction corresponding to this line number. @@ -64,7 +64,7 @@ public class LineNumberNode { /** * Makes the given visitor visit this line number declaration. - * + * * @param mv a method visitor. */ public void accept(final MethodVisitor mv) { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/LocalVariableNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/LocalVariableNode.java index b9efe44..511dcf9 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/LocalVariableNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/LocalVariableNode.java @@ -34,7 +34,7 @@ import org.objectweb.asm.Label; /** * A node that represents a local variable declaration. - * + * * @author Eric Bruneton */ public class LocalVariableNode { @@ -73,7 +73,7 @@ public class LocalVariableNode { /** * Constructs a new {@link LocalVariableNode}. - * + * * @param name the name of a local variable. * @param desc the type descriptor of this local variable. * @param signature the signature of this local variable. May be @@ -102,7 +102,7 @@ public class LocalVariableNode { /** * Makes the given visitor visit this local variable declaration. - * + * * @param mv a method visitor. */ public void accept(final MethodVisitor mv) { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/LookupSwitchInsnNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/LookupSwitchInsnNode.java index 1c8e69f..31eb234 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/LookupSwitchInsnNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/LookupSwitchInsnNode.java @@ -39,7 +39,7 @@ import java.util.Arrays; /** * A node that represents a LOOKUPSWITCH instruction. - * + * * @author Eric Bruneton */ public class LookupSwitchInsnNode extends AbstractInsnNode { @@ -62,7 +62,7 @@ public class LookupSwitchInsnNode extends AbstractInsnNode { /** * Constructs a new {@link LookupSwitchInsnNode}. - * + * * @param dflt beginning of the default handler block. * @param keys the values of the keys. * @param labels beginnings of the handler blocks. <tt>labels[i]</tt> is diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/MemberNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/MemberNode.java index 86b1c5c..11dfad8 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/MemberNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/MemberNode.java @@ -37,7 +37,7 @@ import org.objectweb.asm.Attribute; /** * An abstract class, field or method node. - * + * * @author Eric Bruneton */ public abstract class MemberNode { @@ -45,7 +45,7 @@ public abstract class MemberNode { /** * The runtime visible annotations of this class, field or method. This list * is a list of {@link AnnotationNode} objects. May be <tt>null</tt>. - * + * * @associates org.objectweb.asm.tree.AnnotationNode * @label visible */ @@ -54,7 +54,7 @@ public abstract class MemberNode { /** * The runtime invisible annotations of this class, field or method. This * list is a list of {@link AnnotationNode} objects. May be <tt>null</tt>. - * + * * @associates org.objectweb.asm.tree.AnnotationNode * @label invisible */ @@ -63,7 +63,7 @@ public abstract class MemberNode { /** * The non standard attributes of this class, field or method. This list is * a list of {@link Attribute} objects. May be <tt>null</tt>. - * + * * @associates org.objectweb.asm.Attribute */ public List attrs; @@ -76,7 +76,7 @@ public abstract class MemberNode { /** * Visits an annotation of this class, field or method. - * + * * @param desc the class descriptor of the annotation class. * @param visible <tt>true</tt> if the annotation is visible at runtime. * @return a visitor to visit the annotation values. @@ -102,7 +102,7 @@ public abstract class MemberNode { /** * Visits a non standard attribute of this class, field or method. - * + * * @param attr an attribute. */ public void visitAttribute(final Attribute attr) { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/MethodInsnNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/MethodInsnNode.java index 714aabe..f227447 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/MethodInsnNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/MethodInsnNode.java @@ -34,7 +34,7 @@ import org.objectweb.asm.MethodVisitor; /** * A node that represents a method instruction. A method instruction is an * instruction that invokes a method. - * + * * @author Eric Bruneton */ public class MethodInsnNode extends AbstractInsnNode { @@ -57,7 +57,7 @@ public class MethodInsnNode extends AbstractInsnNode { /** * Constructs a new {@link MethodInsnNode}. - * + * * @param opcode the opcode of the type instruction to be constructed. This * opcode must be INVOKEVIRTUAL, INVOKESPECIAL, INVOKESTATIC or * INVOKEINTERFACE. @@ -80,7 +80,7 @@ public class MethodInsnNode extends AbstractInsnNode { /** * Sets the opcode of this instruction. - * + * * @param opcode the new instruction opcode. This opcode must be * INVOKEVIRTUAL, INVOKESPECIAL, INVOKESTATIC or INVOKEINTERFACE. */ @@ -95,4 +95,4 @@ public class MethodInsnNode extends AbstractInsnNode { public int getType() { return METHOD_INSN; } -}
\ No newline at end of file +} diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/MethodNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/MethodNode.java index f746bfa..9d0b2e9 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/MethodNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/MethodNode.java @@ -43,7 +43,7 @@ import java.util.Arrays; /** * A node that represents a method. - * + * * @author Eric Bruneton */ public class MethodNode extends MemberNode implements MethodVisitor { @@ -89,7 +89,7 @@ public class MethodNode extends MemberNode implements MethodVisitor { /** * The runtime visible parameter annotations of this method. These lists are * lists of {@link AnnotationNode} objects. May be <tt>null</tt>. - * + * * @associates org.objectweb.asm.tree.AnnotationNode * @label invisible parameters */ @@ -98,7 +98,7 @@ public class MethodNode extends MemberNode implements MethodVisitor { /** * The runtime invisible parameter annotations of this method. These lists * are lists of {@link AnnotationNode} objects. May be <tt>null</tt>. - * + * * @associates org.objectweb.asm.tree.AnnotationNode * @label visible parameters */ @@ -107,7 +107,7 @@ public class MethodNode extends MemberNode implements MethodVisitor { /** * The instructions of this method. This list is a list of * {@link AbstractInsnNode} objects. - * + * * @associates org.objectweb.asm.tree.AbstractInsnNode * @label instructions */ @@ -116,7 +116,7 @@ public class MethodNode extends MemberNode implements MethodVisitor { /** * The try catch blocks of this method. This list is a list of * {@link TryCatchBlockNode} objects. - * + * * @associates org.objectweb.asm.tree.TryCatchBlockNode */ public List tryCatchBlocks; @@ -134,7 +134,7 @@ public class MethodNode extends MemberNode implements MethodVisitor { /** * The local variables of this method. This list is a list of * {@link LocalVariableNode} objects. May be <tt>null</tt> - * + * * @associates org.objectweb.asm.tree.LocalVariableNode */ public List localVariables; @@ -142,14 +142,14 @@ public class MethodNode extends MemberNode implements MethodVisitor { /** * The line numbers of this method. This list is a list of * {@link LineNumberNode} objects. May be <tt>null</tt> - * + * * @associates org.objectweb.asm.tree.LineNumberNode */ public List lineNumbers; /** * Constructs a new {@link MethodNode}. - * + * * @param access the method's access flags (see {@link Opcodes}). This * parameter also indicates if the method is synthetic and/or * deprecated. @@ -341,7 +341,7 @@ public class MethodNode extends MemberNode implements MethodVisitor { /** * Makes the given class visitor visit this method. - * + * * @param cv a class visitor. */ public void accept(final ClassVisitor cv) { @@ -356,10 +356,10 @@ public class MethodNode extends MemberNode implements MethodVisitor { accept(mv); } } - + /** * Makes the given method visitor visit this method. - * + * * @param mv a method visitor. */ public void accept(final MethodVisitor mv) { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/MultiANewArrayInsnNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/MultiANewArrayInsnNode.java index a9cb3c1..ed81347 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/MultiANewArrayInsnNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/MultiANewArrayInsnNode.java @@ -34,7 +34,7 @@ import org.objectweb.asm.MethodVisitor; /** * A node that represents a MULTIANEWARRAY instruction. - * + * * @author Eric Bruneton */ public class MultiANewArrayInsnNode extends AbstractInsnNode { @@ -51,7 +51,7 @@ public class MultiANewArrayInsnNode extends AbstractInsnNode { /** * Constructs a new {@link MultiANewArrayInsnNode}. - * + * * @param desc an array type descriptor (see {@link org.objectweb.asm.Type}). * @param dims number of dimensions of the array to allocate. */ @@ -68,4 +68,4 @@ public class MultiANewArrayInsnNode extends AbstractInsnNode { public int getType() { return MULTIANEWARRAY_INSN; } -}
\ No newline at end of file +} diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/TableSwitchInsnNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/TableSwitchInsnNode.java index fa5e3f8..840309d 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/TableSwitchInsnNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/TableSwitchInsnNode.java @@ -39,7 +39,7 @@ import java.util.List; /** * A node that represents a TABLESWITCH instruction. - * + * * @author Eric Bruneton */ public class TableSwitchInsnNode extends AbstractInsnNode { @@ -67,7 +67,7 @@ public class TableSwitchInsnNode extends AbstractInsnNode { /** * Constructs a new {@link TableSwitchInsnNode}. - * + * * @param min the minimum key value. * @param max the maximum key value. * @param dflt beginning of the default handler block. @@ -99,4 +99,4 @@ public class TableSwitchInsnNode extends AbstractInsnNode { public int getType() { return TABLESWITCH_INSN; } -}
\ No newline at end of file +} diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/TryCatchBlockNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/TryCatchBlockNode.java index 18cd310..56b1465 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/TryCatchBlockNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/TryCatchBlockNode.java @@ -34,7 +34,7 @@ import org.objectweb.asm.MethodVisitor; /** * A node that represents a try catch block. - * + * * @author Eric Bruneton */ public class TryCatchBlockNode { @@ -62,7 +62,7 @@ public class TryCatchBlockNode { /** * Constructs a new {@link TryCatchBlockNode}. - * + * * @param start beginning of the exception handler's scope (inclusive). * @param end end of the exception handler's scope (exclusive). * @param handler beginning of the exception handler's code. @@ -84,7 +84,7 @@ public class TryCatchBlockNode { /** * Makes the given visitor visit this try catch block. - * + * * @param mv a method visitor. */ public void accept(final MethodVisitor mv) { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/TypeInsnNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/TypeInsnNode.java index 67c6b84..9f830b4 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/TypeInsnNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/TypeInsnNode.java @@ -34,7 +34,7 @@ import org.objectweb.asm.MethodVisitor; /** * A node that represents a type instruction. A type instruction is an * instruction that takes a type descriptor as parameter. - * + * * @author Eric Bruneton */ public class TypeInsnNode extends AbstractInsnNode { @@ -47,7 +47,7 @@ public class TypeInsnNode extends AbstractInsnNode { /** * Constructs a new {@link TypeInsnNode}. - * + * * @param opcode the opcode of the type instruction to be constructed. This * opcode must be NEW, ANEWARRAY, CHECKCAST or INSTANCEOF. * @param desc the operand of the instruction to be constructed. This @@ -60,7 +60,7 @@ public class TypeInsnNode extends AbstractInsnNode { /** * Sets the opcode of this instruction. - * + * * @param opcode the new instruction opcode. This opcode must be NEW, * ANEWARRAY, CHECKCAST or INSTANCEOF. */ @@ -75,4 +75,4 @@ public class TypeInsnNode extends AbstractInsnNode { public int getType() { return TYPE_INSN; } -}
\ No newline at end of file +} diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/VarInsnNode.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/VarInsnNode.java index 2fe3a95..92e28de 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/VarInsnNode.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/VarInsnNode.java @@ -35,7 +35,7 @@ import org.objectweb.asm.MethodVisitor; * A node that represents a local variable instruction. A local variable * instruction is an instruction that loads or stores the value of a local * variable. - * + * * @author Eric Bruneton */ public class VarInsnNode extends AbstractInsnNode { @@ -48,7 +48,7 @@ public class VarInsnNode extends AbstractInsnNode { /** * Constructs a new {@link VarInsnNode}. - * + * * @param opcode the opcode of the local variable instruction to be * constructed. This opcode must be ILOAD, LLOAD, FLOAD, DLOAD, * ALOAD, ISTORE, LSTORE, FSTORE, DSTORE, ASTORE or RET. @@ -62,7 +62,7 @@ public class VarInsnNode extends AbstractInsnNode { /** * Sets the opcode of this instruction. - * + * * @param opcode the new instruction opcode. This opcode must be ILOAD, * LLOAD, FLOAD, DLOAD, ALOAD, ISTORE, LSTORE, FSTORE, DSTORE, ASTORE * or RET. @@ -78,4 +78,4 @@ public class VarInsnNode extends AbstractInsnNode { public int getType() { return VAR_INSN; } -}
\ No newline at end of file +} diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/Analyzer.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/Analyzer.java index 9fd4028..cfd4814 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/Analyzer.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/Analyzer.java @@ -47,7 +47,7 @@ import org.objectweb.asm.tree.VarInsnNode; /** * A semantic bytecode analyzer. - * + * * @author Eric Bruneton */ public class Analyzer implements Opcodes { @@ -74,7 +74,7 @@ public class Analyzer implements Opcodes { /** * Constructs a new {@link Analyzer}. - * + * * @param interpreter the interpreter to be used to symbolically interpret * the bytecode instructions. */ @@ -84,7 +84,7 @@ public class Analyzer implements Opcodes { /** * Analyzes the given method. - * + * * @param owner the internal name of the class to which the method belongs. * @param m the method to be analyzed. * @return the symbolic state of the execution stack frame at each bytecode @@ -263,7 +263,7 @@ public class Analyzer implements Opcodes { /** * Returns the symbolic stack frame for each instruction of the last * recently analyzed method. - * + * * @return the symbolic state of the execution stack frame at each bytecode * instruction of the method. The size of the returned array is * equal to the number of instructions (and labels) of the method. A @@ -277,7 +277,7 @@ public class Analyzer implements Opcodes { /** * Returns the index of the given instruction. - * + * * @param insn a {@link Label} or {@link AbstractInsnNode} of the last * recently analyzed method. * @return the index of the given instruction of the last recently analyzed @@ -289,7 +289,7 @@ public class Analyzer implements Opcodes { /** * Returns the exception handlers for the given instruction. - * + * * @param insn the index of an instruction of the last recently analyzed * method. * @return a list of {@link TryCatchBlockNode} objects. @@ -300,7 +300,7 @@ public class Analyzer implements Opcodes { /** * Constructs a new frame with the given size. - * + * * @param nLocals the maximum number of local variables of the frame. * @param nStack the maximum stack size of the frame. * @return the created frame. @@ -311,7 +311,7 @@ public class Analyzer implements Opcodes { /** * Constructs a new frame that is identical to the given frame. - * + * * @param src a frame. * @return the created frame. */ @@ -324,7 +324,7 @@ public class Analyzer implements Opcodes { * method does nothing. It can be overriden in order to construct the * control flow graph of a method (this method is called by the * {@link #analyze analyze} method during its visit of the method's code). - * + * * @param frame the frame corresponding to an instruction. * @param successor the frame corresponding to a successor instruction. */ diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/AnalyzerException.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/AnalyzerException.java index 3e0afac..c024fba 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/AnalyzerException.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/AnalyzerException.java @@ -31,7 +31,7 @@ package org.objectweb.asm.tree.analysis; /** * Thrown if a problem occurs during the analysis of a method. - * + * * @author Bing Ran * @author Eric Bruneton */ diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/BasicInterpreter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/BasicInterpreter.java index b92b57c..5e0c702 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/BasicInterpreter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/BasicInterpreter.java @@ -43,7 +43,7 @@ import org.objectweb.asm.tree.TypeInsnNode; /** * An {@link Interpreter} for {@link BasicValue} values. - * + * * @author Eric Bruneton * @author Bing Ran */ diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/BasicValue.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/BasicValue.java index 19cdb33..46b8cf4 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/BasicValue.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/BasicValue.java @@ -35,7 +35,7 @@ import org.objectweb.asm.Type; * A {@link Value} that is represented by its type in a seven types type sytem. * This type system distinguishes the UNINITIALZED, INT, FLOAT, LONG, DOUBLE, * REFERENCE and RETURNADDRESS types. - * + * * @author Eric Bruneton */ public class BasicValue implements Value { @@ -102,4 +102,4 @@ public class BasicValue implements Value { return type.getDescriptor(); } } -}
\ No newline at end of file +} diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/BasicVerifier.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/BasicVerifier.java index 0a797d4..f65b56d 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/BasicVerifier.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/BasicVerifier.java @@ -39,7 +39,7 @@ import org.objectweb.asm.tree.MethodInsnNode; /** * An extended {@link BasicInterpreter} that checks that bytecode instructions * are correctly used. - * + * * @author Eric Bruneton * @author Bing Ran */ diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/DataflowInterpreter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/DataflowInterpreter.java index 07edd74..3847d49 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/DataflowInterpreter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/DataflowInterpreter.java @@ -42,7 +42,7 @@ import org.objectweb.asm.tree.MethodInsnNode; /** * An {@link Interpreter} for {@link DataflowValue} values. - * + * * @author Eric Bruneton */ public class DataflowInterpreter implements Opcodes, Interpreter { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/DataflowValue.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/DataflowValue.java index 0019d7f..7b7756f 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/DataflowValue.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/DataflowValue.java @@ -36,7 +36,7 @@ import org.objectweb.asm.tree.AbstractInsnNode; /** * A {@link Value} that is represented by its type in a two types type system. * This type system distinguishes the ONEWORD and TWOWORDS types. - * + * * @author Eric Bruneton */ public class DataflowValue implements Value { @@ -50,7 +50,7 @@ public class DataflowValue implements Value { * The instructions that can produce this value. For example, for the Java * code below, the instructions that can produce the value of <tt>i</tt> * at line 5 are the txo ISTORE instructions at line 1 and 3: - * + * * <pre> * 1: i = 0; * 2: if (...) { @@ -58,7 +58,7 @@ public class DataflowValue implements Value { * 4: } * 5: return i; * </pre> - * + * * This field is a set of {@link AbstractInsnNode} objects. */ public final Set insns; diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/Frame.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/Frame.java index bc2d873..1edf40c 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/Frame.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/Frame.java @@ -45,7 +45,7 @@ import org.objectweb.asm.tree.VarInsnNode; * variable slots, and an operand stack. Warning: long and double values are * represented by <i>two</i> slots in local variables, and by <i>one</i> slot * in the operand stack. - * + * * @author Eric Bruneton */ public class Frame { @@ -67,7 +67,7 @@ public class Frame { /** * Constructs a new frame with the given size. - * + * * @param nLocals the maximum number of local variables of the frame. * @param nStack the maximum stack size of the frame. */ @@ -78,7 +78,7 @@ public class Frame { /** * Constructs a new frame that is identical to the given frame. - * + * * @param src a frame. */ public Frame(final Frame src) { @@ -88,7 +88,7 @@ public class Frame { /** * Copies the state of the given frame into this frame. - * + * * @param src a frame. * @return this frame. */ @@ -100,7 +100,7 @@ public class Frame { /** * Returns the maximum number of local variables of this frame. - * + * * @return the maximum number of local variables of this frame. */ public int getLocals() { @@ -109,7 +109,7 @@ public class Frame { /** * Returns the value of the given local variable. - * + * * @param i a local variable index. * @return the value of the given local variable. * @throws IndexOutOfBoundsException if the variable does not exist. @@ -123,7 +123,7 @@ public class Frame { /** * Sets the value of the given local variable. - * + * * @param i a local variable index. * @param value the new value of this local variable. * @throws IndexOutOfBoundsException if the variable does not exist. @@ -140,7 +140,7 @@ public class Frame { /** * Returns the number of values in the operand stack of this frame. Long and * double values are treated as single values. - * + * * @return the number of values in the operand stack of this frame. */ public int getStackSize() { @@ -149,7 +149,7 @@ public class Frame { /** * Returns the value of the given operand stack slot. - * + * * @param i the index of an operand stack slot. * @return the value of the given operand stack slot. * @throws IndexOutOfBoundsException if the operand stack slot does not @@ -171,7 +171,7 @@ public class Frame { /** * Pops a value from the operand stack of this frame. - * + * * @return the value that has been popped from the stack. * @throws IndexOutOfBoundsException if the operand stack is empty. */ @@ -184,7 +184,7 @@ public class Frame { /** * Pushes a value into the operand stack of this frame. - * + * * @param value the value that must be pushed into the stack. * @throws IndexOutOfBoundsException if the operand stack is full. */ @@ -607,7 +607,7 @@ public class Frame { /** * Merges this frame with the given frame. - * + * * @param frame a frame. * @param interpreter the interpreter used to merge values. * @return <tt>true</tt> if this frame has been changed as a result of the @@ -633,7 +633,7 @@ public class Frame { /** * Merges this frame with the given frame (case of a RET instruction). - * + * * @param frame a frame * @param access the local variables that have been accessed by the * subroutine to which the RET instruction corresponds. @@ -653,7 +653,7 @@ public class Frame { /** * Returns a string representation of this frame. - * + * * @return a string representation of this frame. */ public String toString() { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/IntMap.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/IntMap.java index 9528482..cac091c 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/IntMap.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/IntMap.java @@ -31,7 +31,7 @@ package org.objectweb.asm.tree.analysis; /** * A fixed size map of integer values. - * + * * @author Eric Bruneton */ class IntMap { @@ -50,7 +50,7 @@ class IntMap { public int get(final Object key) { int n = size; - int h = (key.hashCode() & 0x7FFFFFFF) % n; + int h = (key.hashCode() & 0x7FFFFFFF) % n; int i = h; while (keys[i] != key) { i = (i + 1) % n; @@ -70,4 +70,4 @@ class IntMap { keys[i] = key; values[i] = value; } -}
\ No newline at end of file +} diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/Interpreter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/Interpreter.java index f7a2f53..f989f4b 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/Interpreter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/Interpreter.java @@ -41,18 +41,18 @@ import org.objectweb.asm.tree.AbstractInsnNode; * This separation allows a generic bytecode {@link Analyzer} to work with * various semantic interpreters, without needing to duplicate the code to * simulate the transfer of values. - * + * * @author Eric Bruneton */ public interface Interpreter { /** * Creates a new value that represents the given type. - * + * * Called for method parameters (including <code>this</code>), - * exception handler variable and with <code>null</code> type + * exception handler variable and with <code>null</code> type * for variables reserved by long and double types. - * + * * @param type a primitive or reference type, or <tt>null</tt> to * represent an uninitialized value. * @return a value that represents the given type. The size of the returned @@ -63,11 +63,11 @@ public interface Interpreter { /** * Interprets a bytecode instruction without arguments. This method is * called for the following opcodes: - * + * * ACONST_NULL, ICONST_M1, ICONST_0, ICONST_1, ICONST_2, ICONST_3, ICONST_4, * ICONST_5, LCONST_0, LCONST_1, FCONST_0, FCONST_1, FCONST_2, DCONST_0, * DCONST_1, BIPUSH, SIPUSH, LDC, JSR, GETSTATIC, NEW - * + * * @param insn the bytecode instruction to be interpreted. * @return the result of the interpretation of the given instruction. * @throws AnalyzerException if an error occured during the interpretation. @@ -77,10 +77,10 @@ public interface Interpreter { /** * Interprets a bytecode instruction that moves a value on the stack or to * or from local variables. This method is called for the following opcodes: - * + * * ILOAD, LLOAD, FLOAD, DLOAD, ALOAD, ISTORE, LSTORE, FSTORE, DSTORE, * ASTORE, DUP, DUP_X1, DUP_X2, DUP2, DUP2_X1, DUP2_X2, SWAP - * + * * @param insn the bytecode instruction to be interpreted. * @param value the value that must be moved by the instruction. * @return the result of the interpretation of the given instruction. The @@ -93,13 +93,13 @@ public interface Interpreter { /** * Interprets a bytecode instruction with a single argument. This method is * called for the following opcodes: - * + * * INEG, LNEG, FNEG, DNEG, IINC, I2L, I2F, I2D, L2I, L2F, L2D, F2I, F2L, * F2D, D2I, D2L, D2F, I2B, I2C, I2S, IFEQ, IFNE, IFLT, IFGE, IFGT, IFLE, * TABLESWITCH, LOOKUPSWITCH, IRETURN, LRETURN, FRETURN, DRETURN, ARETURN, * PUTSTATIC, GETFIELD, NEWARRAY, ANEWARRAY, ARRAYLENGTH, ATHROW, CHECKCAST, * INSTANCEOF, MONITORENTER, MONITOREXIT, IFNULL, IFNONNULL - * + * * @param insn the bytecode instruction to be interpreted. * @param value the argument of the instruction to be interpreted. * @return the result of the interpretation of the given instruction. @@ -111,14 +111,14 @@ public interface Interpreter { /** * Interprets a bytecode instruction with two arguments. This method is * called for the following opcodes: - * + * * IALOAD, LALOAD, FALOAD, DALOAD, AALOAD, BALOAD, CALOAD, SALOAD, IADD, * LADD, FADD, DADD, ISUB, LSUB, FSUB, DSUB, IMUL, LMUL, FMUL, DMUL, IDIV, * LDIV, FDIV, DDIV, IREM, LREM, FREM, DREM, ISHL, LSHL, ISHR, LSHR, IUSHR, * LUSHR, IAND, LAND, IOR, LOR, IXOR, LXOR, LCMP, FCMPL, FCMPG, DCMPL, * DCMPG, IF_ICMPEQ, IF_ICMPNE, IF_ICMPLT, IF_ICMPGE, IF_ICMPGT, IF_ICMPLE, * IF_ACMPEQ, IF_ACMPNE, PUTFIELD - * + * * @param insn the bytecode instruction to be interpreted. * @param value1 the first argument of the instruction to be interpreted. * @param value2 the second argument of the instruction to be interpreted. @@ -131,9 +131,9 @@ public interface Interpreter { /** * Interprets a bytecode instruction with three arguments. This method is * called for the following opcodes: - * + * * IASTORE, LASTORE, FASTORE, DASTORE, AASTORE, BASTORE, CASTORE, SASTORE - * + * * @param insn the bytecode instruction to be interpreted. * @param value1 the first argument of the instruction to be interpreted. * @param value2 the second argument of the instruction to be interpreted. @@ -150,10 +150,10 @@ public interface Interpreter { /** * Interprets a bytecode instruction with a variable number of arguments. * This method is called for the following opcodes: - * + * * INVOKEVIRTUAL, INVOKESPECIAL, INVOKESTATIC, INVOKEINTERFACE, * MULTIANEWARRAY - * + * * @param insn the bytecode instruction to be interpreted. * @param values the arguments of the instruction to be interpreted. * @return the result of the interpretation of the given instruction. @@ -168,7 +168,7 @@ public interface Interpreter { * the merged value must be a common super type of the two types. If the two * values are integer intervals, the merged value must be an interval that * contains the previous ones. Likewise for other types of values). - * + * * @param v a value. * @param w another value. * @return the merged value. If the merged value is equal to <tt>v</tt>, diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/SimpleVerifier.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/SimpleVerifier.java index 808b3f4..1329f77 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/SimpleVerifier.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/SimpleVerifier.java @@ -37,7 +37,7 @@ import org.objectweb.asm.Type; * An extended {@link BasicVerifier} that performs more precise verifications. * This verifier computes exact class types, instead of using a single "object * reference" type (as done in the {@link BasicVerifier}). - * + * * @author Eric Bruneton * @author Bing Ran */ @@ -73,7 +73,7 @@ public class SimpleVerifier extends BasicVerifier { /** * Constructs a new {@link SimpleVerifier} to verify a specific class. This * class will not be loaded into the JVM since it may be incorrect. - * + * * @param currentClass the class that is verified. * @param currentSuperClass the super class of the class that is verified. * @param isInterface if the class that is verified is an interface. @@ -89,7 +89,7 @@ public class SimpleVerifier extends BasicVerifier { /** * Constructs a new {@link SimpleVerifier} to verify a specific class. This * class will not be loaded into the JVM since it may be incorrect. - * + * * @param currentClass the class that is verified. * @param currentSuperClass the super class of the class that is verified. * @param currentClassInterfaces the interfaces implemented by the class diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/SmallSet.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/SmallSet.java index 74bd590..3049d5a 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/SmallSet.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/SmallSet.java @@ -36,7 +36,7 @@ import java.util.Set; /** * A set of at most two elements. - * + * * @author Eric Bruneton */ class SmallSet extends AbstractSet implements Iterator { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/Subroutine.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/Subroutine.java index 44120a7..5ae0109 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/Subroutine.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/Subroutine.java @@ -37,7 +37,7 @@ import org.objectweb.asm.tree.JumpInsnNode; /** * A method subroutine (corresponds to a JSR instruction). - * + * * @author Eric Bruneton */ class Subroutine { @@ -93,4 +93,4 @@ class Subroutine { } return changes; } -}
\ No newline at end of file +} diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/Value.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/Value.java index 6578b79..4baf1b4 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/Value.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/Value.java @@ -31,14 +31,14 @@ package org.objectweb.asm.tree.analysis; /** * An immutable symbolic value for semantic interpretation of bytecode. - * + * * @author Eric Bruneton */ public interface Value { /** * Returns the size of this value in words. - * + * * @return either 1 or 2. */ int getSize(); diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/ASMifierAbstractVisitor.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/ASMifierAbstractVisitor.java index 4ebc7fc..940bc11 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/ASMifierAbstractVisitor.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/ASMifierAbstractVisitor.java @@ -38,7 +38,7 @@ import org.objectweb.asm.util.attrs.ASMifiable; /** * An abstract ASMifier visitor. - * + * * @author Eric Bruneton */ public class ASMifierAbstractVisitor extends AbstractVisitor { @@ -56,7 +56,7 @@ public class ASMifierAbstractVisitor extends AbstractVisitor { /** * Constructs a new {@link ASMifierAbstractVisitor}. - * + * * @param name the name of the variable for this visitor in the produced * code. */ @@ -66,7 +66,7 @@ public class ASMifierAbstractVisitor extends AbstractVisitor { /** * Prints the ASM code that generates the given annotation. - * + * * @param desc the class descriptor of the annotation class. * @param visible <tt>true</tt> if the annotation is visible at runtime. * @return a visitor to visit the annotation values. @@ -91,7 +91,7 @@ public class ASMifierAbstractVisitor extends AbstractVisitor { /** * Prints the ASM code that generates the given attribute. - * + * * @param attr an attribute. */ public void visitAttribute(final Attribute attr) { @@ -121,7 +121,7 @@ public class ASMifierAbstractVisitor extends AbstractVisitor { /** * Appends a string representation of the given constant to the given * buffer. - * + * * @param cst an {@link Integer}, {@link Float}, {@link Long}, * {@link Double} or {@link String} object. May be <tt>null</tt>. */ @@ -132,7 +132,7 @@ public class ASMifierAbstractVisitor extends AbstractVisitor { /** * Appends a string representation of the given constant to the given * buffer. - * + * * @param buf a string buffer. * @param cst an {@link Integer}, {@link Float}, {@link Long}, * {@link Double} or {@link String} object. May be <tt>null</tt>. diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/ASMifierAnnotationVisitor.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/ASMifierAnnotationVisitor.java index bb48e2c..0f766b3 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/ASMifierAnnotationVisitor.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/ASMifierAnnotationVisitor.java @@ -34,7 +34,7 @@ import org.objectweb.asm.AnnotationVisitor; /** * An {@link AnnotationVisitor} that prints the ASM code that generates the * annotations it visits. - * + * * @author Eric Bruneton */ public class ASMifierAnnotationVisitor extends AbstractVisitor implements @@ -48,7 +48,7 @@ public class ASMifierAnnotationVisitor extends AbstractVisitor implements /** * Constructs a new {@link ASMifierAnnotationVisitor}. - * + * * @param id identifier of the annotation visitor variable in the produced * code. */ diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/ASMifierClassVisitor.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/ASMifierClassVisitor.java index 222325f..d7b73fb7 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/ASMifierClassVisitor.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/ASMifierClassVisitor.java @@ -49,28 +49,28 @@ import org.objectweb.asm.Type; * {@link #main main} method);</li> <li>edit the generated source code, if * necessary.</li> </ul> The source code printed when visiting the * <tt>Hello</tt> class is the following: <p> <blockquote> - * + * * <pre> * import org.objectweb.asm.*; - * + * * public class HelloDump implements Opcodes { - * + * * public static byte[] dump() throws Exception { - * + * * ClassWriter cw = new ClassWriter(false); * FieldVisitor fv; * MethodVisitor mv; * AnnotationVisitor av0; - * + * * cw.visit(49, * ACC_PUBLIC + ACC_SUPER, * "Hello", * null, * "java/lang/Object", * null); - * + * * cw.visitSource("Hello.java", null); - * + * * { * mv = cw.visitMethod(ACC_PUBLIC, "<init>", "()V", null, null); * mv.visitVarInsn(ALOAD, 0); @@ -102,26 +102,26 @@ import org.objectweb.asm.Type; * mv.visitEnd(); * } * cw.visitEnd(); - * + * * return cw.toByteArray(); * } * } - * + * * </pre> - * + * * </blockquote> where <tt>Hello</tt> is defined by: <p> <blockquote> - * + * * <pre> * public class Hello { - * + * * public static void main(String[] args) { * System.out.println("hello"); * } * } * </pre> - * + * * </blockquote> - * + * * @author Eric Bruneton * @author Eugene Kuleshov */ @@ -153,9 +153,9 @@ public class ASMifierClassVisitor extends ASMifierAbstractVisitor implements * Prints the ASM source code to generate the given class to the standard * output. <p> Usage: ASMifierClassVisitor [-debug] <fully qualified * class name or class file name> - * + * * @param args the command line arguments. - * + * * @throws Exception if the class cannot be found, or if an IO exception * occurs. */ @@ -194,7 +194,7 @@ public class ASMifierClassVisitor extends ASMifierAbstractVisitor implements /** * Constructs a new {@link ASMifierClassVisitor} object. - * + * * @param pw the print writer to be used to print the class. */ public ASMifierClassVisitor(final PrintWriter pw) { @@ -423,7 +423,7 @@ public class ASMifierClassVisitor extends ASMifierAbstractVisitor implements /** * Appends a string representation of the given access modifiers to {@link * #buf buf}. - * + * * @param access some access modifiers. */ void appendAccess(final int access) { @@ -578,7 +578,7 @@ public class ASMifierClassVisitor extends ASMifierAbstractVisitor implements /** * Appends a string representation of the given constant to the given * buffer. - * + * * @param buf a string buffer. * @param cst an {@link java.lang.Integer Integer}, {@link java.lang.Float * Float}, {@link java.lang.Long Long}, diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/ASMifierFieldVisitor.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/ASMifierFieldVisitor.java index 9da152c..6732179 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/ASMifierFieldVisitor.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/ASMifierFieldVisitor.java @@ -34,7 +34,7 @@ import org.objectweb.asm.FieldVisitor; /** * A {@link FieldVisitor} that prints the ASM code that generates the fields it * visits. - * + * * @author Eric Bruneton */ public class ASMifierFieldVisitor extends ASMifierAbstractVisitor implements diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/ASMifierMethodVisitor.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/ASMifierMethodVisitor.java index 33404d9..57c55ee 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/ASMifierMethodVisitor.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/ASMifierMethodVisitor.java @@ -39,7 +39,7 @@ import java.util.HashMap; /** * A {@link MethodVisitor} that prints the ASM code that generates the methods * it visits. - * + * * @author Eric Bruneton * @author Eugene Kuleshov */ @@ -322,7 +322,7 @@ public class ASMifierMethodVisitor extends ASMifierAbstractVisitor implements * Appends a declaration of the given label to {@link #buf buf}. This * declaration is of the form "Label lXXX = new Label();". Does nothing if * the given label has already been declared. - * + * * @param l a label. */ private void declareLabel(final Label l) { @@ -338,7 +338,7 @@ public class ASMifierMethodVisitor extends ASMifierAbstractVisitor implements * Appends the name of the given label to {@link #buf buf}. The given label * <i>must</i> already have a name. One way to ensure this is to always * call {@link #declareLabel declared} before calling this method. - * + * * @param l a label. */ private void appendLabel(final Label l) { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/AbstractVisitor.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/AbstractVisitor.java index 3e329f7..557d5c8 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/AbstractVisitor.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/AbstractVisitor.java @@ -39,7 +39,7 @@ import org.objectweb.asm.util.attrs.ASMStackMapTableAttribute; /** * An abstract visitor. - * + * * @author Eric Bruneton */ public abstract class AbstractVisitor { @@ -124,7 +124,7 @@ public abstract class AbstractVisitor { /** * Returns the text printed by this visitor. - * + * * @return the text printed by this visitor. */ public List getText() { @@ -133,7 +133,7 @@ public abstract class AbstractVisitor { /** * Appends a quoted string to a given buffer. - * + * * @param buf the buffer where the string must be added. * @param s the string to be added. */ @@ -168,7 +168,7 @@ public abstract class AbstractVisitor { /** * Prints the given string tree. - * + * * @param pw the writer to be used to print the tree. * @param l a string tree, i.e., a string list that can contain other string * lists, and so on recursively. @@ -186,7 +186,7 @@ public abstract class AbstractVisitor { /** * Returns the default {@link ASMifiable} prototypes. - * + * * @return the default {@link ASMifiable} prototypes. */ public static Attribute[] getDefaultAttributes() { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/CheckAnnotationAdapter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/CheckAnnotationAdapter.java index d00933c..228ff04 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/CheckAnnotationAdapter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/CheckAnnotationAdapter.java @@ -34,7 +34,7 @@ import org.objectweb.asm.Type; /** * An {@link AnnotationVisitor} that checks that its methods are properly used. - * + * * @author Eric Bruneton */ public class CheckAnnotationAdapter implements AnnotationVisitor { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/CheckClassAdapter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/CheckClassAdapter.java index 640e8b0..1ca97ad 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/CheckClassAdapter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/CheckClassAdapter.java @@ -58,7 +58,7 @@ import org.objectweb.asm.tree.analysis.Frame; * <tt>visitField(ACC_PUBLIC, "i", "I", null)</tt> <tt>visitField(ACC_PUBLIC, * "i", "D", null)</tt> * will <i>not</i> be detected by this class adapter. - * + * * @author Eric Bruneton */ public class CheckClassAdapter extends ClassAdapter { @@ -86,9 +86,9 @@ public class CheckClassAdapter extends ClassAdapter { /** * Checks a given class. <p> Usage: CheckClassAdapter <fully qualified * class name or class file name> - * + * * @param args the command line arguments. - * + * * @throws Exception if the class cannot be found, or if an IO exception * occurs. */ @@ -111,8 +111,8 @@ public class CheckClassAdapter extends ClassAdapter { /** * Checks a given class - * - * @param cr a <code>ClassReader</code> that contains bytecode for the analysis. + * + * @param cr a <code>ClassReader</code> that contains bytecode for the analysis. * @param dump true if bytecode should be printed out not only when errors are found. * @param pw write where results going to be printed */ @@ -143,7 +143,7 @@ public class CheckClassAdapter extends ClassAdapter { pw.println(method.name + method.desc); for (int j = 0; j < method.instructions.size(); ++j) { ((AbstractInsnNode) method.instructions.get(j)).accept(mv); - + StringBuffer s = new StringBuffer(); Frame f = frames[j]; if (f == null) { @@ -184,7 +184,7 @@ public class CheckClassAdapter extends ClassAdapter { /** * Constructs a new {@link CheckClassAdapter}. - * + * * @param cv the class visitor to which this adapter must delegate calls. */ public CheckClassAdapter(final ClassVisitor cv) { @@ -390,7 +390,7 @@ public class CheckClassAdapter extends ClassAdapter { * Checks that the given access flags do not contain invalid flags. This * method also checks that mutually incompatible flags are not set * simultaneously. - * + * * @param access the access flags to be checked * @param possibleAccess the valid access flags. */ diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/CheckMethodAdapter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/CheckMethodAdapter.java index 1cd77c6..0123eee 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/CheckMethodAdapter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/CheckMethodAdapter.java @@ -48,7 +48,7 @@ import java.util.HashMap; * in a method whose signature is <tt>void m ()</tt>, the invalid instruction * IRETURN, or the invalid sequence IADD L2I will <i>not</i> be detected by * this code adapter. - * + * * @author Eric Bruneton */ public class CheckMethodAdapter extends MethodAdapter { @@ -304,7 +304,7 @@ public class CheckMethodAdapter extends MethodAdapter { /** * Constructs a new {@link CheckMethodAdapter} object. - * + * * @param cv the code visitor to which this adapter must delegate calls. */ public CheckMethodAdapter(final MethodVisitor cv) { @@ -622,7 +622,7 @@ public class CheckMethodAdapter extends MethodAdapter { /** * Checks that the type of the given opcode is equal to the given type. - * + * * @param opcode the opcode to be checked. * @param type the expected opcode type. */ @@ -634,7 +634,7 @@ public class CheckMethodAdapter extends MethodAdapter { /** * Checks that the given value is a signed byte. - * + * * @param value the value to be checked. * @param msg an message to be used in case of error. */ @@ -647,7 +647,7 @@ public class CheckMethodAdapter extends MethodAdapter { /** * Checks that the given value is a signed short. - * + * * @param value the value to be checked. * @param msg an message to be used in case of error. */ @@ -660,7 +660,7 @@ public class CheckMethodAdapter extends MethodAdapter { /** * Checks that the given value is an unsigned short. - * + * * @param value the value to be checked. * @param msg an message to be used in case of error. */ @@ -674,7 +674,7 @@ public class CheckMethodAdapter extends MethodAdapter { /** * Checks that the given value is an {@link Integer}, a{@link Float}, a * {@link Long}, a {@link Double} or a {@link String}. - * + * * @param cst the value to be checked. */ static void checkConstant(final Object cst) { @@ -688,7 +688,7 @@ public class CheckMethodAdapter extends MethodAdapter { /** * Checks that the given string is a valid Java identifier. - * + * * @param name the string to be checked. * @param msg a message to be used in case of error. */ @@ -698,7 +698,7 @@ public class CheckMethodAdapter extends MethodAdapter { /** * Checks that the given substring is a valid Java identifier. - * + * * @param name the string to be checked. * @param start index of the first character of the identifier (inclusive). * @param end index of the last character of the identifier (exclusive). -1 @@ -733,7 +733,7 @@ public class CheckMethodAdapter extends MethodAdapter { /** * Checks that the given string is a valid Java identifier or is equal to * '<init>' or '<clinit>'. - * + * * @param name the string to be checked. * @param msg a message to be used in case of error. */ @@ -763,7 +763,7 @@ public class CheckMethodAdapter extends MethodAdapter { /** * Checks that the given string is a valid internal class name. - * + * * @param name the string to be checked. * @param msg a message to be used in case of error. */ @@ -773,7 +773,7 @@ public class CheckMethodAdapter extends MethodAdapter { /** * Checks that the given substring is a valid internal class name. - * + * * @param name the string to be checked. * @param start index of the first character of the identifier (inclusive). * @param end index of the last character of the identifier (exclusive). -1 @@ -813,7 +813,7 @@ public class CheckMethodAdapter extends MethodAdapter { /** * Checks that the given string is a valid type descriptor. - * + * * @param desc the string to be checked. * @param canBeVoid <tt>true</tt> if <tt>V</tt> can be considered valid. */ @@ -826,7 +826,7 @@ public class CheckMethodAdapter extends MethodAdapter { /** * Checks that a the given substring is a valid type descriptor. - * + * * @param desc the string to be checked. * @param start index of the first character of the identifier (inclusive). * @param canBeVoid <tt>true</tt> if <tt>V</tt> can be considered valid. @@ -890,7 +890,7 @@ public class CheckMethodAdapter extends MethodAdapter { /** * Checks that the given string is a valid method descriptor. - * + * * @param desc the string to be checked. */ static void checkMethodDesc(final String desc) { @@ -919,7 +919,7 @@ public class CheckMethodAdapter extends MethodAdapter { /** * Checks that the given label is not null. This method can also check that * the label has been visited. - * + * * @param label the label to be checked. * @param checkVisited <tt>true</tt> to check that the label has been * visited. diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceAbstractVisitor.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceAbstractVisitor.java index 4250c81..8a3d4d0 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceAbstractVisitor.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceAbstractVisitor.java @@ -35,7 +35,7 @@ import org.objectweb.asm.util.attrs.Traceable; /** * An abstract trace visitor. - * + * * @author Eric Bruneton */ public abstract class TraceAbstractVisitor extends AbstractVisitor { @@ -102,7 +102,7 @@ public abstract class TraceAbstractVisitor extends AbstractVisitor { /** * Prints a disassembled view of the given annotation. - * + * * @param desc the class descriptor of the annotation class. * @param visible <tt>true</tt> if the annotation is visible at runtime. * @return a visitor to visit the annotation values. @@ -124,7 +124,7 @@ public abstract class TraceAbstractVisitor extends AbstractVisitor { /** * Prints a disassembled view of the given attribute. - * + * * @param attr an attribute. */ public void visitAttribute(final Attribute attr) { @@ -159,7 +159,7 @@ public abstract class TraceAbstractVisitor extends AbstractVisitor { /** * Appends an internal name, a type descriptor or a type signature to * {@link #buf buf}. - * + * * @param type indicates if desc is an internal name, a field descriptor, a * method descriptor, a class signature, ... * @param desc an internal name, type descriptor, or type signature. May be diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceAnnotationVisitor.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceAnnotationVisitor.java index 827225b..ae812d8 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceAnnotationVisitor.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceAnnotationVisitor.java @@ -35,7 +35,7 @@ import org.objectweb.asm.Type; /** * An {@link AnnotationVisitor} that prints a disassembled view of the * annotations it visits. - * + * * @author Eric Bruneton */ public class TraceAnnotationVisitor extends TraceAbstractVisitor implements diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceClassVisitor.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceClassVisitor.java index 9a727e5..bbadc91 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceClassVisitor.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceClassVisitor.java @@ -48,7 +48,7 @@ import org.objectweb.asm.signature.SignatureReader; * visitor chain to trace the class that is visited at a given point in this * chain. This may be uselful for debugging purposes. <p> The trace printed when * visiting the <tt>Hello</tt> class is the following: <p> <blockquote> - * + * * <pre> * // class version 49.0 (49) * // access flags 33 @@ -74,9 +74,9 @@ import org.objectweb.asm.signature.SignatureReader; * MAXLOCALS = 1 * } * </pre> - * + * * </blockquote> where <tt>Hello</tt> is defined by: <p> <blockquote> - * + * * <pre> * public class Hello { * @@ -85,9 +85,9 @@ import org.objectweb.asm.signature.SignatureReader; * } * } * </pre> - * + * * </blockquote> - * + * * @author Eric Bruneton * @author Eugene Kuleshov */ @@ -110,9 +110,9 @@ public class TraceClassVisitor extends TraceAbstractVisitor implements * Prints a disassembled view of the given class to the standard output. <p> * Usage: TraceClassVisitor [-debug] <fully qualified class name or class * file name > - * + * * @param args the command line arguments. - * + * * @throws Exception if the class cannot be found, or if an IO exception * occurs. */ @@ -152,7 +152,7 @@ public class TraceClassVisitor extends TraceAbstractVisitor implements /** * Constructs a new {@link TraceClassVisitor}. - * + * * @param pw the print writer to be used to print the class. */ public TraceClassVisitor(final PrintWriter pw) { @@ -161,7 +161,7 @@ public class TraceClassVisitor extends TraceAbstractVisitor implements /** * Constructs a new {@link TraceClassVisitor}. - * + * * @param cv the {@link ClassVisitor} to which this visitor delegates calls. * May be <tt>null</tt>. * @param pw the print writer to be used to print the class. @@ -490,7 +490,7 @@ public class TraceClassVisitor extends TraceAbstractVisitor implements /** * Appends a string representation of the given access modifiers to {@link * #buf buf}. - * + * * @param access some access modifiers. */ private void appendAccess(final int access) { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceFieldVisitor.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceFieldVisitor.java index 7546a3c..4d20efd 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceFieldVisitor.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceFieldVisitor.java @@ -36,7 +36,7 @@ import org.objectweb.asm.FieldVisitor; /** * A {@link FieldVisitor} that prints a disassembled view of the fields it * visits. - * + * * @author Eric Bruneton */ public class TraceFieldVisitor extends TraceAbstractVisitor implements diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceMethodVisitor.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceMethodVisitor.java index 899f52e..73a511b 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceMethodVisitor.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceMethodVisitor.java @@ -43,7 +43,7 @@ import java.util.HashMap; /** * A {@link MethodVisitor} that prints a disassembled view of the methods it * visits. - * + * * @author Eric Bruneton */ public class TraceMethodVisitor extends TraceAbstractVisitor implements @@ -85,7 +85,7 @@ public class TraceMethodVisitor extends TraceAbstractVisitor implements /** * Constructs a new {@link TraceMethodVisitor}. - * + * * @param mv the {@link MethodVisitor} to which this visitor delegates * calls. May be <tt>null</tt>. */ @@ -472,7 +472,7 @@ public class TraceMethodVisitor extends TraceAbstractVisitor implements /** * Appends the name of the given label to {@link #buf buf}. Creates a new * label name if the given label does not yet have one. - * + * * @param l a label. */ public void appendLabel(final Label l) { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceSignatureVisitor.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceSignatureVisitor.java index c7145c0..e8346c6 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceSignatureVisitor.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/TraceSignatureVisitor.java @@ -35,7 +35,7 @@ import org.objectweb.asm.signature.SignatureVisitor; /** * A {@link SignatureVisitor} that prints a disassembled view of the signature * it visits. - * + * * @author Eugene Kuleshov * @author Eric Bruneton */ diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/attrs/ASMStackMapAttribute.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/attrs/ASMStackMapAttribute.java index 88c7af8..e71e116 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/attrs/ASMStackMapAttribute.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/attrs/ASMStackMapAttribute.java @@ -41,7 +41,7 @@ import org.objectweb.asm.attrs.StackMapType; /** * An {@link ASMifiable} {@link StackMapAttribute} sub class. - * + * * @author Eugene Kuleshov */ public class ASMStackMapAttribute extends StackMapAttribute implements diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/attrs/ASMStackMapTableAttribute.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/attrs/ASMStackMapTableAttribute.java index b878357..e591cb9 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/attrs/ASMStackMapTableAttribute.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/attrs/ASMStackMapTableAttribute.java @@ -41,7 +41,7 @@ import org.objectweb.asm.attrs.StackMapType; /** * An {@link ASMifiable} {@link StackMapTableAttribute} sub class. - * + * * @author Eugene Kuleshov */ public class ASMStackMapTableAttribute extends StackMapTableAttribute implements diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/attrs/ASMifiable.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/attrs/ASMifiable.java index 149d7da..f9067bf 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/attrs/ASMifiable.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/attrs/ASMifiable.java @@ -33,17 +33,17 @@ import java.util.Map; /** * An attribute that can print the ASM code to create an equivalent attribute. - * + * * Implementation should print the ASM code that generates attribute data * structures for current attribute state. - * + * * @author Eugene Kuleshov */ public interface ASMifiable { /** * Prints the ASM code to create an attribute equal to this attribute. - * + * * @param buf A buffer used for printing Java code. * @param varName name of the variable in a printed code used to store * attribute instance. diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/attrs/Traceable.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/attrs/Traceable.java index c40d2a6..44680b5 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/attrs/Traceable.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/attrs/Traceable.java @@ -33,18 +33,18 @@ import java.util.Map; /** * An attribute that can print eadable representation of the attribute. - * + * * Implementation should construct readable output from an attribute data * structures for current attribute state. Such representation could be used in * unit test assertions. - * + * * @author Eugene Kuleshov */ public interface Traceable { /** * Build a human readable representation of the attribute. - * + * * @param buf A buffer used for printing Java code. * @param labelNames map of label instances to their names. */ diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/ASMContentHandler.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/ASMContentHandler.java index 466b93c..826a7fe 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/ASMContentHandler.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/ASMContentHandler.java @@ -54,10 +54,10 @@ import org.xml.sax.helpers.DefaultHandler; * A {@link org.xml.sax.ContentHandler ContentHandler} that transforms XML * document into Java class file. This class can be feeded by any kind of SAX * 2.0 event producers, e.g. XML parser, XSLT or XPath engines, or custom code. - * + * * @see org.objectweb.asm.xml.SAXClassAdapter * @see org.objectweb.asm.xml.Processor - * + * * @author Eugene Kuleshov */ public class ASMContentHandler extends DefaultHandler implements Opcodes { @@ -321,7 +321,7 @@ public class ASMContentHandler extends DefaultHandler implements Opcodes { /** * Constructs a new {@link ASMContentHandler ASMContentHandler} object. - * + * * @param os output stream to write generated class. * @param computeMax <tt>true</tt> if the maximum stack size and the * maximum number of local variables must be automatically computed. @@ -335,7 +335,7 @@ public class ASMContentHandler extends DefaultHandler implements Opcodes { /** * Returns the bytecode of the class that was build with underneath class * writer. - * + * * @return the bytecode of the class that was build with underneath class * writer or null if there are no classwriter created. */ @@ -345,7 +345,7 @@ public class ASMContentHandler extends DefaultHandler implements Opcodes { /** * Process notification of the start of an XML element being reached. - * + * * @param ns - The Namespace URI, or the empty string if the element has no * Namespace URI or if Namespace processing is not being performed. * @param localName - The local name (without prefix), or the empty string @@ -385,14 +385,14 @@ public class ASMContentHandler extends DefaultHandler implements Opcodes { /** * Process notification of the end of an XML element being reached. - * + * * @param ns - The Namespace URI, or the empty string if the element has no * Namespace URI or if Namespace processing is not being performed. * @param localName - The local name (without prefix), or the empty string * if Namespace processing is not being performed. * @param qName - The qualified XML 1.0 name (with prefix), or the empty * string if qualified names are not available. - * + * * @exception SAXException if a parsing error is to be reported */ public final void endElement(String ns, String localName, String qName) @@ -422,7 +422,7 @@ public class ASMContentHandler extends DefaultHandler implements Opcodes { /** * Process notification of the end of a document and write generated * bytecode into output stream. - * + * * @exception SAXException if parsing or writing error is to be reported. */ public final void endDocument() throws SAXException { @@ -436,7 +436,7 @@ public class ASMContentHandler extends DefaultHandler implements Opcodes { /** * Return the top object on the stack without removing it. If there are no * objects on the stack, return <code>null</code>. - * + * * @return the top object on the stack without removing it. */ final Object peek() { @@ -447,7 +447,7 @@ public class ASMContentHandler extends DefaultHandler implements Opcodes { * Return the n'th object down the stack, where 0 is the top element and * [getCount()-1] is the bottom element. If the specified index is out of * range, return <code>null</code>. - * + * * @param n Index of the desired element, where 0 is the top of the stack, 1 * is the next element down, and so on. * @return the n'th object down the stack. @@ -459,7 +459,7 @@ public class ASMContentHandler extends DefaultHandler implements Opcodes { /** * Pop the top object off of the stack, and return it. If there are no * objects on the stack, return <code>null</code>. - * + * * @return the top object off of the stack. */ final Object pop() { @@ -468,7 +468,7 @@ public class ASMContentHandler extends DefaultHandler implements Opcodes { /** * Push a new object onto the top of the object stack. - * + * * @param object The new object */ final void push(Object object) { @@ -653,7 +653,7 @@ public class ASMContentHandler extends DefaultHandler implements Opcodes { protected final MethodVisitor getCodeVisitor() { return (MethodVisitor) peek(); } - + protected final int getAccess(String s) { int access = 0; if (s.indexOf("public") != -1) diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/Processor.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/Processor.java index 2baeb0f..28bf2ec 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/Processor.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/Processor.java @@ -71,20 +71,20 @@ import org.xml.sax.helpers.XMLReaderFactory; * directed by XSL transformation. <p> In order to use a concrete XSLT engine, * system property <tt>javax.xml.transform.TransformerFactory</tt> must be set * to one of the following values. - * + * * <blockquote> <table border="1" cellspacing="0" cellpadding="3"> <tr> <td>jd.xslt</td> * <td>jd.xml.xslt.trax.TransformerFactoryImpl</td> </tr> - * + * * <tr> <td>Saxon</td> <td>net.sf.saxon.TransformerFactoryImpl</td> </tr> - * + * * <tr> <td>Caucho</td> <td>com.caucho.xsl.Xsl</td> </tr> - * + * * <tr> <td>Xalan interpeter</td> <td>org.apache.xalan.processor.TransformerFactory</td> * </tr> - * + * * <tr> <td>Xalan xsltc</td> <td>org.apache.xalan.xsltc.trax.TransformerFactoryImpl</td> * </tr> </table> </blockquote> - * + * * @author Eugene Kuleshov */ public class Processor { @@ -358,7 +358,7 @@ public class Processor { /* * (non-Javadoc) - * + * * @see java.util.Observer#update(java.util.Observable, java.lang.Object) */ protected void update(Object arg, int n) { @@ -479,7 +479,7 @@ public class Processor { /** * Creates an instance of the content handler. - * + * * @return content handler */ ContentHandler createContentHandler(); @@ -583,7 +583,7 @@ public class Processor { * A {@link org.xml.sax.ContentHandler ContentHandler} and * {@link org.xml.sax.ext.LexicalHandler LexicalHandler} that serializes XML * from SAX 2.0 events into {@link java.io.Writer Writer}. - * + * * <i><blockquote> This implementation does not support namespaces, entity * definitions (uncluding DTD), CDATA and text elements. </blockquote></i> */ @@ -602,7 +602,7 @@ public class Processor { /** * Creates <code>SAXWriter</code>. - * + * * @param w writer * @param optimizeEmptyElements if set to <code>true</code>, short * XML syntax will be used for empty elements @@ -720,7 +720,7 @@ public class Processor { /** * Encode string with escaping. - * + * * @param str string to encode. * @return encoded string */ @@ -804,7 +804,7 @@ public class Processor { /** * Constructs a new {@link InputSlicingHandler SubdocumentHandler} * object. - * + * * @param subdocumentRoot name/path to the root element of the * subdocument * @param rootHandler content handler for the entire document @@ -914,7 +914,7 @@ public class Processor { /** * Constructs a new {@link OutputSlicingHandler SubdocumentHandler} * object. - * + * * @param subdocumentHandlerFactory a * {@link ContentHandlerFactory ContentHandlerFactory} used to * create {@link ContentHandler ContentHandler} instances for diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/SAXAdapter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/SAXAdapter.java index c8f6ecb..5168fb5 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/SAXAdapter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/SAXAdapter.java @@ -35,7 +35,7 @@ import org.xml.sax.SAXException; /** * SAXAdapter - * + * * @author Eugene Kuleshov */ public abstract class SAXAdapter { diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/SAXAnnotationAdapter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/SAXAnnotationAdapter.java index e738241..6e9605c 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/SAXAnnotationAdapter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/SAXAnnotationAdapter.java @@ -36,7 +36,7 @@ import org.xml.sax.helpers.AttributesImpl; /** * SAXAnnotationAdapter - * + * * @author Eugene Kuleshov */ public class SAXAnnotationAdapter extends SAXAdapter implements diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/SAXClassAdapter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/SAXClassAdapter.java index ba362d0..55b9eff 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/SAXClassAdapter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/SAXClassAdapter.java @@ -43,10 +43,10 @@ import org.xml.sax.helpers.AttributesImpl; * events from the visited class. It can feed any kind of * {@link org.xml.sax.ContentHandler ContentHandler}, e.g. XML serializer, XSLT * or XQuery engines. - * + * * @see org.objectweb.asm.xml.Processor * @see org.objectweb.asm.xml.ASMContentHandler - * + * * @author Eugene Kuleshov */ public final class SAXClassAdapter extends SAXAdapter implements ClassVisitor { @@ -54,7 +54,7 @@ public final class SAXClassAdapter extends SAXAdapter implements ClassVisitor { /** * Constructs a new {@link SAXClassAdapter SAXClassAdapter} object. - * + * * @param h content handler that will be used to send SAX 2.0 events. * @param singleDocument if <tt>true</tt> adapter will not produce * {@link ContentHandler#startDocument() startDocument()} and diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/SAXCodeAdapter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/SAXCodeAdapter.java index abea7fb..decb492 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/SAXCodeAdapter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/SAXCodeAdapter.java @@ -45,10 +45,10 @@ import org.xml.sax.helpers.AttributesImpl; /** * A {@link MethodVisitor} that generates SAX 2.0 events from the visited * method. - * + * * @see org.objectweb.asm.xml.SAXClassAdapter * @see org.objectweb.asm.xml.Processor - * + * * @author Eugene Kuleshov */ public final class SAXCodeAdapter extends SAXAdapter implements MethodVisitor { @@ -56,7 +56,7 @@ public final class SAXCodeAdapter extends SAXAdapter implements MethodVisitor { /** * Constructs a new {@link SAXCodeAdapter SAXCodeAdapter} object. - * + * * @param h content handler that will be used to send SAX 2.0 events. * @param access */ diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/SAXFieldAdapter.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/SAXFieldAdapter.java index eabf00d..edfba04 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/SAXFieldAdapter.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/SAXFieldAdapter.java @@ -38,7 +38,7 @@ import org.xml.sax.helpers.AttributesImpl; /** * SAXFieldAdapter - * + * * @author Eugene Kuleshov */ public class SAXFieldAdapter implements FieldVisitor { diff --git a/libjava/classpath/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaLexer.java b/libjava/classpath/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaLexer.java index 053f122..58d7b3f 100644 --- a/libjava/classpath/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaLexer.java +++ b/libjava/classpath/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaLexer.java @@ -1,6 +1,6 @@ // $ANTLR 2.7.7 (20080530): "java-expression.g" -> "JavaLexer.java"$ - - package gnu.classpath.tools.gjdoc.expr; + + package gnu.classpath.tools.gjdoc.expr; import java.io.InputStream; import antlr.TokenStreamException; @@ -29,1934 +29,1934 @@ import antlr.SemanticException; public class JavaLexer extends antlr.CharScanner implements JavaTokenTypes, TokenStream { public JavaLexer(InputStream in) { - this(new ByteBuffer(in)); + this(new ByteBuffer(in)); } public JavaLexer(Reader in) { - this(new CharBuffer(in)); + this(new CharBuffer(in)); } public JavaLexer(InputBuffer ib) { - this(new LexerSharedInputState(ib)); + this(new LexerSharedInputState(ib)); } public JavaLexer(LexerSharedInputState state) { - super(state); - caseSensitiveLiterals = true; - setCaseSensitive(true); - literals = new Hashtable(); - literals.put(new ANTLRHashString("String", this), new Integer(55)); - literals.put(new ANTLRHashString("final", this), new Integer(39)); - literals.put(new ANTLRHashString("false", this), new Integer(84)); - literals.put(new ANTLRHashString("true", this), new Integer(83)); - literals.put(new ANTLRHashString("void", this), new Integer(46)); - literals.put(new ANTLRHashString("float", this), new Integer(52)); - literals.put(new ANTLRHashString("boolean", this), new Integer(47)); - literals.put(new ANTLRHashString("long", this), new Integer(53)); - literals.put(new ANTLRHashString("null", this), new Integer(85)); - literals.put(new ANTLRHashString("short", this), new Integer(50)); - literals.put(new ANTLRHashString("char", this), new Integer(49)); - literals.put(new ANTLRHashString("abstract", this), new Integer(40)); - literals.put(new ANTLRHashString("byte", this), new Integer(48)); - literals.put(new ANTLRHashString("int", this), new Integer(51)); - literals.put(new ANTLRHashString("double", this), new Integer(54)); - literals.put(new ANTLRHashString("strictfp", this), new Integer(41)); + super(state); + caseSensitiveLiterals = true; + setCaseSensitive(true); + literals = new Hashtable(); + literals.put(new ANTLRHashString("String", this), new Integer(55)); + literals.put(new ANTLRHashString("final", this), new Integer(39)); + literals.put(new ANTLRHashString("false", this), new Integer(84)); + literals.put(new ANTLRHashString("true", this), new Integer(83)); + literals.put(new ANTLRHashString("void", this), new Integer(46)); + literals.put(new ANTLRHashString("float", this), new Integer(52)); + literals.put(new ANTLRHashString("boolean", this), new Integer(47)); + literals.put(new ANTLRHashString("long", this), new Integer(53)); + literals.put(new ANTLRHashString("null", this), new Integer(85)); + literals.put(new ANTLRHashString("short", this), new Integer(50)); + literals.put(new ANTLRHashString("char", this), new Integer(49)); + literals.put(new ANTLRHashString("abstract", this), new Integer(40)); + literals.put(new ANTLRHashString("byte", this), new Integer(48)); + literals.put(new ANTLRHashString("int", this), new Integer(51)); + literals.put(new ANTLRHashString("double", this), new Integer(54)); + literals.put(new ANTLRHashString("strictfp", this), new Integer(41)); } public Token nextToken() throws TokenStreamException { - Token theRetToken=null; + Token theRetToken=null; tryAgain: - for (;;) { - Token _token = null; - int _ttype = Token.INVALID_TYPE; - resetText(); - try { // for char stream error handling - try { // for lexical error handling - switch ( LA(1)) { - case '?': - { - mQUESTION(true); - theRetToken=_returnToken; - break; - } - case '(': - { - mLPAREN(true); - theRetToken=_returnToken; - break; - } - case ')': - { - mRPAREN(true); - theRetToken=_returnToken; - break; - } - case '[': - { - mLBRACK(true); - theRetToken=_returnToken; - break; - } - case ']': - { - mRBRACK(true); - theRetToken=_returnToken; - break; - } - case '{': - { - mLCURLY(true); - theRetToken=_returnToken; - break; - } - case '}': - { - mRCURLY(true); - theRetToken=_returnToken; - break; - } - case ':': - { - mCOLON(true); - theRetToken=_returnToken; - break; - } - case ',': - { - mCOMMA(true); - theRetToken=_returnToken; - break; - } - case '~': - { - mBNOT(true); - theRetToken=_returnToken; - break; - } - case ';': - { - mSEMI(true); - theRetToken=_returnToken; - break; - } - case '\t': case '\n': case '\u000c': case '\r': - case ' ': - { - mWS(true); - theRetToken=_returnToken; - break; - } - case '\'': - { - mCHAR_LITERAL(true); - theRetToken=_returnToken; - break; - } - case '"': - { - mSTRING_LITERAL(true); - theRetToken=_returnToken; - break; - } - case '$': case 'A': case 'B': case 'C': - case 'D': case 'E': case 'F': case 'G': - case 'H': case 'I': case 'J': case 'K': - case 'L': case 'M': case 'N': case 'O': - case 'P': case 'Q': case 'R': case 'S': - case 'T': case 'U': case 'V': case 'W': - case 'X': case 'Y': case 'Z': case '_': - case 'a': case 'b': case 'c': case 'd': - case 'e': case 'f': case 'g': case 'h': - case 'i': case 'j': case 'k': case 'l': - case 'm': case 'n': case 'o': case 'p': - case 'q': case 'r': case 's': case 't': - case 'u': case 'v': case 'w': case 'x': - case 'y': case 'z': - { - mIDENT(true); - theRetToken=_returnToken; - break; - } - case '.': case '0': case '1': case '2': - case '3': case '4': case '5': case '6': - case '7': case '8': case '9': - { - mNUM_INT(true); - theRetToken=_returnToken; - break; - } - default: - if ((LA(1)=='>') && (LA(2)=='>') && (LA(3)=='>') && (LA(4)=='=')) { - mBSR_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='>') && (LA(2)=='>') && (LA(3)=='=')) { - mSR_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='>') && (LA(2)=='>') && (LA(3)=='>') && (true)) { - mBSR(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='<') && (LA(2)=='<') && (LA(3)=='=')) { - mSL_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='=') && (LA(2)=='=')) { - mEQUAL(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='!') && (LA(2)=='=')) { - mNOT_EQUAL(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='/') && (LA(2)=='=')) { - mDIV_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='+') && (LA(2)=='=')) { - mPLUS_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='+') && (LA(2)=='+')) { - mINC(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='-') && (LA(2)=='=')) { - mMINUS_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='-') && (LA(2)=='-')) { - mDEC(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='*') && (LA(2)=='=')) { - mSTAR_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='%') && (LA(2)=='=')) { - mMOD_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='>') && (LA(2)=='>') && (true)) { - mSR(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='>') && (LA(2)=='=')) { - mGE(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='<') && (LA(2)=='<') && (true)) { - mSL(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='<') && (LA(2)=='=')) { - mLE(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='^') && (LA(2)=='=')) { - mBXOR_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='|') && (LA(2)=='=')) { - mBOR_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='|') && (LA(2)=='|')) { - mLOR(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='&') && (LA(2)=='=')) { - mBAND_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='&') && (LA(2)=='&')) { - mLAND(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='/') && (LA(2)=='/')) { - mSL_COMMIT(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='/') && (LA(2)=='*')) { - mML_COMMENT(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='=') && (true)) { - mASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='!') && (true)) { - mLNOT(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='/') && (true)) { - mDIV(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='+') && (true)) { - mPLUS(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='-') && (true)) { - mMINUS(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='*') && (true)) { - mSTAR(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='%') && (true)) { - mMOD(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='>') && (true)) { - mGT(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='<') && (true)) { - mLT(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='^') && (true)) { - mBXOR(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='|') && (true)) { - mBOR(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='&') && (true)) { - mBAND(true); - theRetToken=_returnToken; - } - else { - if (LA(1)==EOF_CHAR) {uponEOF(); _returnToken = makeToken(Token.EOF_TYPE);} - else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} - } - } - if ( _returnToken==null ) continue tryAgain; // found SKIP token - _ttype = _returnToken.getType(); - _returnToken.setType(_ttype); - return _returnToken; - } - catch (RecognitionException e) { - throw new TokenStreamRecognitionException(e); - } - } - catch (CharStreamException cse) { - if ( cse instanceof CharStreamIOException ) { - throw new TokenStreamIOException(((CharStreamIOException)cse).io); - } - else { - throw new TokenStreamException(cse.getMessage()); - } - } - } + for (;;) { + Token _token = null; + int _ttype = Token.INVALID_TYPE; + resetText(); + try { // for char stream error handling + try { // for lexical error handling + switch ( LA(1)) { + case '?': + { + mQUESTION(true); + theRetToken=_returnToken; + break; + } + case '(': + { + mLPAREN(true); + theRetToken=_returnToken; + break; + } + case ')': + { + mRPAREN(true); + theRetToken=_returnToken; + break; + } + case '[': + { + mLBRACK(true); + theRetToken=_returnToken; + break; + } + case ']': + { + mRBRACK(true); + theRetToken=_returnToken; + break; + } + case '{': + { + mLCURLY(true); + theRetToken=_returnToken; + break; + } + case '}': + { + mRCURLY(true); + theRetToken=_returnToken; + break; + } + case ':': + { + mCOLON(true); + theRetToken=_returnToken; + break; + } + case ',': + { + mCOMMA(true); + theRetToken=_returnToken; + break; + } + case '~': + { + mBNOT(true); + theRetToken=_returnToken; + break; + } + case ';': + { + mSEMI(true); + theRetToken=_returnToken; + break; + } + case '\t': case '\n': case '\u000c': case '\r': + case ' ': + { + mWS(true); + theRetToken=_returnToken; + break; + } + case '\'': + { + mCHAR_LITERAL(true); + theRetToken=_returnToken; + break; + } + case '"': + { + mSTRING_LITERAL(true); + theRetToken=_returnToken; + break; + } + case '$': case 'A': case 'B': case 'C': + case 'D': case 'E': case 'F': case 'G': + case 'H': case 'I': case 'J': case 'K': + case 'L': case 'M': case 'N': case 'O': + case 'P': case 'Q': case 'R': case 'S': + case 'T': case 'U': case 'V': case 'W': + case 'X': case 'Y': case 'Z': case '_': + case 'a': case 'b': case 'c': case 'd': + case 'e': case 'f': case 'g': case 'h': + case 'i': case 'j': case 'k': case 'l': + case 'm': case 'n': case 'o': case 'p': + case 'q': case 'r': case 's': case 't': + case 'u': case 'v': case 'w': case 'x': + case 'y': case 'z': + { + mIDENT(true); + theRetToken=_returnToken; + break; + } + case '.': case '0': case '1': case '2': + case '3': case '4': case '5': case '6': + case '7': case '8': case '9': + { + mNUM_INT(true); + theRetToken=_returnToken; + break; + } + default: + if ((LA(1)=='>') && (LA(2)=='>') && (LA(3)=='>') && (LA(4)=='=')) { + mBSR_ASSIGN(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='>') && (LA(2)=='>') && (LA(3)=='=')) { + mSR_ASSIGN(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='>') && (LA(2)=='>') && (LA(3)=='>') && (true)) { + mBSR(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='<') && (LA(2)=='<') && (LA(3)=='=')) { + mSL_ASSIGN(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='=') && (LA(2)=='=')) { + mEQUAL(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='!') && (LA(2)=='=')) { + mNOT_EQUAL(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='/') && (LA(2)=='=')) { + mDIV_ASSIGN(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='+') && (LA(2)=='=')) { + mPLUS_ASSIGN(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='+') && (LA(2)=='+')) { + mINC(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='-') && (LA(2)=='=')) { + mMINUS_ASSIGN(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='-') && (LA(2)=='-')) { + mDEC(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='*') && (LA(2)=='=')) { + mSTAR_ASSIGN(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='%') && (LA(2)=='=')) { + mMOD_ASSIGN(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='>') && (LA(2)=='>') && (true)) { + mSR(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='>') && (LA(2)=='=')) { + mGE(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='<') && (LA(2)=='<') && (true)) { + mSL(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='<') && (LA(2)=='=')) { + mLE(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='^') && (LA(2)=='=')) { + mBXOR_ASSIGN(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='|') && (LA(2)=='=')) { + mBOR_ASSIGN(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='|') && (LA(2)=='|')) { + mLOR(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='&') && (LA(2)=='=')) { + mBAND_ASSIGN(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='&') && (LA(2)=='&')) { + mLAND(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='/') && (LA(2)=='/')) { + mSL_COMMIT(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='/') && (LA(2)=='*')) { + mML_COMMENT(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='=') && (true)) { + mASSIGN(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='!') && (true)) { + mLNOT(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='/') && (true)) { + mDIV(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='+') && (true)) { + mPLUS(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='-') && (true)) { + mMINUS(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='*') && (true)) { + mSTAR(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='%') && (true)) { + mMOD(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='>') && (true)) { + mGT(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='<') && (true)) { + mLT(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='^') && (true)) { + mBXOR(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='|') && (true)) { + mBOR(true); + theRetToken=_returnToken; + } + else if ((LA(1)=='&') && (true)) { + mBAND(true); + theRetToken=_returnToken; + } + else { + if (LA(1)==EOF_CHAR) {uponEOF(); _returnToken = makeToken(Token.EOF_TYPE);} + else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} + } + } + if ( _returnToken==null ) continue tryAgain; // found SKIP token + _ttype = _returnToken.getType(); + _returnToken.setType(_ttype); + return _returnToken; + } + catch (RecognitionException e) { + throw new TokenStreamRecognitionException(e); + } + } + catch (CharStreamException cse) { + if ( cse instanceof CharStreamIOException ) { + throw new TokenStreamIOException(((CharStreamIOException)cse).io); + } + else { + throw new TokenStreamException(cse.getMessage()); + } + } + } } - public final void mQUESTION(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = QUESTION; - int _saveIndex; - - match('?'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mLPAREN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = LPAREN; - int _saveIndex; - - match('('); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mRPAREN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = RPAREN; - int _saveIndex; - - match(')'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mLBRACK(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = LBRACK; - int _saveIndex; - - match('['); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mRBRACK(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = RBRACK; - int _saveIndex; - - match(']'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mLCURLY(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = LCURLY; - int _saveIndex; - - match('{'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mRCURLY(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = RCURLY; - int _saveIndex; - - match('}'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mCOLON(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = COLON; - int _saveIndex; - - match(':'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mCOMMA(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = COMMA; - int _saveIndex; - - match(','); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = ASSIGN; - int _saveIndex; - - match('='); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mEQUAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = EQUAL; - int _saveIndex; - - match("=="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mLNOT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = LNOT; - int _saveIndex; - - match('!'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mBNOT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = BNOT; - int _saveIndex; - - match('~'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mNOT_EQUAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = NOT_EQUAL; - int _saveIndex; - - match("!="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mDIV(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = DIV; - int _saveIndex; - - match('/'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mDIV_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = DIV_ASSIGN; - int _saveIndex; - - match("/="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mPLUS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = PLUS; - int _saveIndex; - - match('+'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mPLUS_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = PLUS_ASSIGN; - int _saveIndex; - - match("+="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mINC(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = INC; - int _saveIndex; - - match("++"); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mMINUS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = MINUS; - int _saveIndex; - - match('-'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mMINUS_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = MINUS_ASSIGN; - int _saveIndex; - - match("-="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mDEC(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = DEC; - int _saveIndex; - - match("--"); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mSTAR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = STAR; - int _saveIndex; - - match('*'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mSTAR_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = STAR_ASSIGN; - int _saveIndex; - - match("*="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mMOD(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = MOD; - int _saveIndex; - - match('%'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mMOD_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = MOD_ASSIGN; - int _saveIndex; - - match("%="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mSR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = SR; - int _saveIndex; - - match(">>"); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mSR_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = SR_ASSIGN; - int _saveIndex; - - match(">>="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mBSR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = BSR; - int _saveIndex; - - match(">>>"); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mBSR_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = BSR_ASSIGN; - int _saveIndex; - - match(">>>="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mGE(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = GE; - int _saveIndex; - - match(">="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mGT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = GT; - int _saveIndex; - - match(">"); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mSL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = SL; - int _saveIndex; - - match("<<"); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mSL_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = SL_ASSIGN; - int _saveIndex; - - match("<<="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mLE(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = LE; - int _saveIndex; - - match("<="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mLT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = LT; - int _saveIndex; - - match('<'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mBXOR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = BXOR; - int _saveIndex; - - match('^'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mBXOR_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = BXOR_ASSIGN; - int _saveIndex; - - match("^="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mBOR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = BOR; - int _saveIndex; - - match('|'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mBOR_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = BOR_ASSIGN; - int _saveIndex; - - match("|="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mLOR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = LOR; - int _saveIndex; - - match("||"); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mBAND(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = BAND; - int _saveIndex; - - match('&'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mBAND_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = BAND_ASSIGN; - int _saveIndex; - - match("&="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mLAND(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = LAND; - int _saveIndex; - - match("&&"); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mSEMI(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = SEMI; - int _saveIndex; - - match(';'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mWS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = WS; - int _saveIndex; - - { - int _cnt105=0; - _loop105: - do { - switch ( LA(1)) { - case ' ': - { - match(' '); - break; - } - case '\t': - { - match('\t'); - break; - } - case '\u000c': - { - match('\f'); - break; - } - case '\n': case '\r': - { - { - if ((LA(1)=='\r') && (LA(2)=='\n') && (true) && (true)) { - match("\r\n"); - } - else if ((LA(1)=='\r') && (true) && (true) && (true)) { - match('\r'); - } - else if ((LA(1)=='\n')) { - match('\n'); - } - else { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - - } - if ( inputState.guessing==0 ) { - newline(); - } - break; - } - default: - { - if ( _cnt105>=1 ) { break _loop105; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} - } - } - _cnt105++; - } while (true); - } - if ( inputState.guessing==0 ) { - _ttype = Token.SKIP; - } - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mSL_COMMIT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = SL_COMMIT; - int _saveIndex; - - match("//"); - { - _loop109: - do { - if ((_tokenSet_0.member(LA(1)))) { - { - match(_tokenSet_0); - } - } - else { - break _loop109; - } - - } while (true); - } - { - switch ( LA(1)) { - case '\n': - { - match('\n'); - break; - } - case '\r': - { - match('\r'); - { - if ((LA(1)=='\n')) { - match('\n'); - } - else { - } - - } - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - if ( inputState.guessing==0 ) { - _ttype = Token.SKIP; newline(); - } - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mML_COMMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = ML_COMMENT; - int _saveIndex; - - match("/*"); - { - _loop115: - do { - if ((LA(1)=='\r') && (LA(2)=='\n') && ((LA(3) >= '\u0003' && LA(3) <= '\uffff')) && ((LA(4) >= '\u0003' && LA(4) <= '\uffff'))) { - match('\r'); - match('\n'); - if ( inputState.guessing==0 ) { - newline(); - } - } - else if (((LA(1)=='*') && ((LA(2) >= '\u0003' && LA(2) <= '\uffff')) && ((LA(3) >= '\u0003' && LA(3) <= '\uffff')))&&( LA(2)!='/' )) { - match('*'); - } - else if ((LA(1)=='\r') && ((LA(2) >= '\u0003' && LA(2) <= '\uffff')) && ((LA(3) >= '\u0003' && LA(3) <= '\uffff')) && (true)) { - match('\r'); - if ( inputState.guessing==0 ) { - newline(); - } - } - else if ((LA(1)=='\n')) { - match('\n'); - if ( inputState.guessing==0 ) { - newline(); - } - } - else if ((_tokenSet_1.member(LA(1)))) { - { - match(_tokenSet_1); - } - } - else { - break _loop115; - } - - } while (true); - } - match("*/"); - if ( inputState.guessing==0 ) { - _ttype = Token.SKIP; - } - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mCHAR_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = CHAR_LITERAL; - int _saveIndex; - - match('\''); - { - if ((LA(1)=='\\')) { - mESC(false); - } - else if ((_tokenSet_2.member(LA(1)))) { - { - match(_tokenSet_2); - } - } - else { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - - } - match('\''); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - protected final void mESC(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = ESC; - int _saveIndex; - - match('\\'); - { - switch ( LA(1)) { - case 'n': - { - match('n'); - break; - } - case 'r': - { - match('r'); - break; - } - case 't': - { - match('t'); - break; - } - case 'b': - { - match('b'); - break; - } - case 'f': - { - match('f'); - break; - } - case '"': - { - match('"'); - break; - } - case '\'': - { - match('\''); - break; - } - case '\\': - { - match('\\'); - break; - } - case 'u': - { - { - int _cnt126=0; - _loop126: - do { - if ((LA(1)=='u')) { - match('u'); - } - else { - if ( _cnt126>=1 ) { break _loop126; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} - } - - _cnt126++; - } while (true); - } - mHEX_DIGIT(false); - mHEX_DIGIT(false); - mHEX_DIGIT(false); - mHEX_DIGIT(false); - break; - } - case '0': case '1': case '2': case '3': - { - matchRange('0','3'); - { - if (((LA(1) >= '0' && LA(1) <= '7')) && (_tokenSet_0.member(LA(2))) && (true) && (true)) { - matchRange('0','7'); - { - if (((LA(1) >= '0' && LA(1) <= '7')) && (_tokenSet_0.member(LA(2))) && (true) && (true)) { - matchRange('0','7'); - } - else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true)) { - } - else { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - - } - } - else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true)) { - } - else { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - - } - break; - } - case '4': case '5': case '6': case '7': - { - matchRange('4','7'); - { - if (((LA(1) >= '0' && LA(1) <= '7')) && (_tokenSet_0.member(LA(2))) && (true) && (true)) { - matchRange('0','7'); - } - else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true)) { - } - else { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - - } - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mSTRING_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = STRING_LITERAL; - int _saveIndex; - - match('"'); - { - _loop122: - do { - if ((LA(1)=='\\')) { - mESC(false); - } - else if ((_tokenSet_3.member(LA(1)))) { - { - match(_tokenSet_3); - } - } - else { - break _loop122; - } - - } while (true); - } - match('"'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - protected final void mHEX_DIGIT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = HEX_DIGIT; - int _saveIndex; - - { - switch ( LA(1)) { - case '0': case '1': case '2': case '3': - case '4': case '5': case '6': case '7': - case '8': case '9': - { - matchRange('0','9'); - break; - } - case 'A': case 'B': case 'C': case 'D': - case 'E': case 'F': - { - matchRange('A','F'); - break; - } - case 'a': case 'b': case 'c': case 'd': - case 'e': case 'f': - { - matchRange('a','f'); - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - protected final void mVOCAB(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = VOCAB; - int _saveIndex; - - matchRange('\3','\377'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mIDENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = IDENT; - int _saveIndex; - - { - switch ( LA(1)) { - case 'a': case 'b': case 'c': case 'd': - case 'e': case 'f': case 'g': case 'h': - case 'i': case 'j': case 'k': case 'l': - case 'm': case 'n': case 'o': case 'p': - case 'q': case 'r': case 's': case 't': - case 'u': case 'v': case 'w': case 'x': - case 'y': case 'z': - { - matchRange('a','z'); - break; - } - case 'A': case 'B': case 'C': case 'D': - case 'E': case 'F': case 'G': case 'H': - case 'I': case 'J': case 'K': case 'L': - case 'M': case 'N': case 'O': case 'P': - case 'Q': case 'R': case 'S': case 'T': - case 'U': case 'V': case 'W': case 'X': - case 'Y': case 'Z': - { - matchRange('A','Z'); - break; - } - case '_': - { - match('_'); - break; - } - case '$': - { - match('$'); - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - { - _loop136: - do { - switch ( LA(1)) { - case 'a': case 'b': case 'c': case 'd': - case 'e': case 'f': case 'g': case 'h': - case 'i': case 'j': case 'k': case 'l': - case 'm': case 'n': case 'o': case 'p': - case 'q': case 'r': case 's': case 't': - case 'u': case 'v': case 'w': case 'x': - case 'y': case 'z': - { - matchRange('a','z'); - break; - } - case 'A': case 'B': case 'C': case 'D': - case 'E': case 'F': case 'G': case 'H': - case 'I': case 'J': case 'K': case 'L': - case 'M': case 'N': case 'O': case 'P': - case 'Q': case 'R': case 'S': case 'T': - case 'U': case 'V': case 'W': case 'X': - case 'Y': case 'Z': - { - matchRange('A','Z'); - break; - } - case '_': - { - match('_'); - break; - } - case '0': case '1': case '2': case '3': - case '4': case '5': case '6': case '7': - case '8': case '9': - { - matchRange('0','9'); - break; - } - case '$': - { - match('$'); - break; - } - default: - { - break _loop136; - } - } - } while (true); - } - _ttype = testLiteralsTable(_ttype); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mNUM_INT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = NUM_INT; - int _saveIndex; - Token f1=null; - Token f2=null; - Token f3=null; - Token f4=null; - boolean isDecimal=false; Token t=null; - - switch ( LA(1)) { - case '.': - { - match('.'); - if ( inputState.guessing==0 ) { - _ttype = DOT; - } - { - if (((LA(1) >= '0' && LA(1) <= '9'))) { - { - int _cnt140=0; - _loop140: - do { - if (((LA(1) >= '0' && LA(1) <= '9'))) { - matchRange('0','9'); - } - else { - if ( _cnt140>=1 ) { break _loop140; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} - } - - _cnt140++; - } while (true); - } - { - if ((LA(1)=='E'||LA(1)=='e')) { - mEXPONENT(false); - } - else { - } - - } - { - if ((LA(1)=='D'||LA(1)=='F'||LA(1)=='d'||LA(1)=='f')) { - mFLOAT_SUFFIX(true); - f1=_returnToken; - if ( inputState.guessing==0 ) { - t=f1; - } - } - else { - } - - } - if ( inputState.guessing==0 ) { - - if (t != null && t.getText().toUpperCase().indexOf('F')>=0) { - _ttype = NUM_FLOAT; - } - else { - _ttype = NUM_DOUBLE; // assume double - } - - } - } - else { - } - - } - break; - } - case '0': case '1': case '2': case '3': - case '4': case '5': case '6': case '7': - case '8': case '9': - { - { - switch ( LA(1)) { - case '0': - { - match('0'); - if ( inputState.guessing==0 ) { - isDecimal = true; - } - { - if ((LA(1)=='X'||LA(1)=='x')) { - { - switch ( LA(1)) { - case 'x': - { - match('x'); - break; - } - case 'X': - { - match('X'); - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - { - int _cnt147=0; - _loop147: - do { - if ((_tokenSet_4.member(LA(1))) && (true) && (true) && (true)) { - mHEX_DIGIT(false); - } - else { - if ( _cnt147>=1 ) { break _loop147; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} - } - - _cnt147++; - } while (true); - } - } - else { - boolean synPredMatched152 = false; - if ((((LA(1) >= '0' && LA(1) <= '9')) && (true) && (true) && (true))) { - int _m152 = mark(); - synPredMatched152 = true; - inputState.guessing++; - try { - { - { - int _cnt150=0; - _loop150: - do { - if (((LA(1) >= '0' && LA(1) <= '9'))) { - matchRange('0','9'); - } - else { - if ( _cnt150>=1 ) { break _loop150; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} - } - - _cnt150++; - } while (true); - } - { - switch ( LA(1)) { - case '.': - { - match('.'); - break; - } - case 'E': case 'e': - { - mEXPONENT(false); - break; - } - case 'D': case 'F': case 'd': case 'f': - { - mFLOAT_SUFFIX(false); - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - } - } - catch (RecognitionException pe) { - synPredMatched152 = false; - } - rewind(_m152); + public final void mQUESTION(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = QUESTION; + int _saveIndex; + + match('?'); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mLPAREN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = LPAREN; + int _saveIndex; + + match('('); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mRPAREN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = RPAREN; + int _saveIndex; + + match(')'); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mLBRACK(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = LBRACK; + int _saveIndex; + + match('['); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mRBRACK(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = RBRACK; + int _saveIndex; + + match(']'); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mLCURLY(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = LCURLY; + int _saveIndex; + + match('{'); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mRCURLY(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = RCURLY; + int _saveIndex; + + match('}'); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mCOLON(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = COLON; + int _saveIndex; + + match(':'); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mCOMMA(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = COMMA; + int _saveIndex; + + match(','); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = ASSIGN; + int _saveIndex; + + match('='); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mEQUAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = EQUAL; + int _saveIndex; + + match("=="); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mLNOT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = LNOT; + int _saveIndex; + + match('!'); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mBNOT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = BNOT; + int _saveIndex; + + match('~'); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mNOT_EQUAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = NOT_EQUAL; + int _saveIndex; + + match("!="); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mDIV(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = DIV; + int _saveIndex; + + match('/'); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mDIV_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = DIV_ASSIGN; + int _saveIndex; + + match("/="); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mPLUS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = PLUS; + int _saveIndex; + + match('+'); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mPLUS_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = PLUS_ASSIGN; + int _saveIndex; + + match("+="); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mINC(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = INC; + int _saveIndex; + + match("++"); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mMINUS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = MINUS; + int _saveIndex; + + match('-'); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mMINUS_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = MINUS_ASSIGN; + int _saveIndex; + + match("-="); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mDEC(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = DEC; + int _saveIndex; + + match("--"); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mSTAR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = STAR; + int _saveIndex; + + match('*'); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mSTAR_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = STAR_ASSIGN; + int _saveIndex; + + match("*="); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mMOD(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = MOD; + int _saveIndex; + + match('%'); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mMOD_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = MOD_ASSIGN; + int _saveIndex; + + match("%="); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mSR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = SR; + int _saveIndex; + + match(">>"); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mSR_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = SR_ASSIGN; + int _saveIndex; + + match(">>="); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mBSR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = BSR; + int _saveIndex; + + match(">>>"); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mBSR_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = BSR_ASSIGN; + int _saveIndex; + + match(">>>="); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mGE(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = GE; + int _saveIndex; + + match(">="); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mGT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = GT; + int _saveIndex; + + match(">"); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mSL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = SL; + int _saveIndex; + + match("<<"); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mSL_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = SL_ASSIGN; + int _saveIndex; + + match("<<="); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mLE(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = LE; + int _saveIndex; + + match("<="); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mLT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = LT; + int _saveIndex; + + match('<'); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mBXOR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = BXOR; + int _saveIndex; + + match('^'); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mBXOR_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = BXOR_ASSIGN; + int _saveIndex; + + match("^="); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mBOR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = BOR; + int _saveIndex; + + match('|'); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mBOR_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = BOR_ASSIGN; + int _saveIndex; + + match("|="); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mLOR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = LOR; + int _saveIndex; + + match("||"); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mBAND(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = BAND; + int _saveIndex; + + match('&'); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mBAND_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = BAND_ASSIGN; + int _saveIndex; + + match("&="); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mLAND(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = LAND; + int _saveIndex; + + match("&&"); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mSEMI(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = SEMI; + int _saveIndex; + + match(';'); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mWS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = WS; + int _saveIndex; + + { + int _cnt105=0; + _loop105: + do { + switch ( LA(1)) { + case ' ': + { + match(' '); + break; + } + case '\t': + { + match('\t'); + break; + } + case '\u000c': + { + match('\f'); + break; + } + case '\n': case '\r': + { + { + if ((LA(1)=='\r') && (LA(2)=='\n') && (true) && (true)) { + match("\r\n"); + } + else if ((LA(1)=='\r') && (true) && (true) && (true)) { + match('\r'); + } + else if ((LA(1)=='\n')) { + match('\n'); + } + else { + throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); + } + + } + if ( inputState.guessing==0 ) { + newline(); + } + break; + } + default: + { + if ( _cnt105>=1 ) { break _loop105; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} + } + } + _cnt105++; + } while (true); + } + if ( inputState.guessing==0 ) { + _ttype = Token.SKIP; + } + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mSL_COMMIT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = SL_COMMIT; + int _saveIndex; + + match("//"); + { + _loop109: + do { + if ((_tokenSet_0.member(LA(1)))) { + { + match(_tokenSet_0); + } + } + else { + break _loop109; + } + + } while (true); + } + { + switch ( LA(1)) { + case '\n': + { + match('\n'); + break; + } + case '\r': + { + match('\r'); + { + if ((LA(1)=='\n')) { + match('\n'); + } + else { + } + + } + break; + } + default: + { + throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); + } + } + } + if ( inputState.guessing==0 ) { + _ttype = Token.SKIP; newline(); + } + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mML_COMMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = ML_COMMENT; + int _saveIndex; + + match("/*"); + { + _loop115: + do { + if ((LA(1)=='\r') && (LA(2)=='\n') && ((LA(3) >= '\u0003' && LA(3) <= '\uffff')) && ((LA(4) >= '\u0003' && LA(4) <= '\uffff'))) { + match('\r'); + match('\n'); + if ( inputState.guessing==0 ) { + newline(); + } + } + else if (((LA(1)=='*') && ((LA(2) >= '\u0003' && LA(2) <= '\uffff')) && ((LA(3) >= '\u0003' && LA(3) <= '\uffff')))&&( LA(2)!='/' )) { + match('*'); + } + else if ((LA(1)=='\r') && ((LA(2) >= '\u0003' && LA(2) <= '\uffff')) && ((LA(3) >= '\u0003' && LA(3) <= '\uffff')) && (true)) { + match('\r'); + if ( inputState.guessing==0 ) { + newline(); + } + } + else if ((LA(1)=='\n')) { + match('\n'); + if ( inputState.guessing==0 ) { + newline(); + } + } + else if ((_tokenSet_1.member(LA(1)))) { + { + match(_tokenSet_1); + } + } + else { + break _loop115; + } + + } while (true); + } + match("*/"); + if ( inputState.guessing==0 ) { + _ttype = Token.SKIP; + } + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mCHAR_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = CHAR_LITERAL; + int _saveIndex; + + match('\''); + { + if ((LA(1)=='\\')) { + mESC(false); + } + else if ((_tokenSet_2.member(LA(1)))) { + { + match(_tokenSet_2); + } + } + else { + throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); + } + + } + match('\''); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + protected final void mESC(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = ESC; + int _saveIndex; + + match('\\'); + { + switch ( LA(1)) { + case 'n': + { + match('n'); + break; + } + case 'r': + { + match('r'); + break; + } + case 't': + { + match('t'); + break; + } + case 'b': + { + match('b'); + break; + } + case 'f': + { + match('f'); + break; + } + case '"': + { + match('"'); + break; + } + case '\'': + { + match('\''); + break; + } + case '\\': + { + match('\\'); + break; + } + case 'u': + { + { + int _cnt126=0; + _loop126: + do { + if ((LA(1)=='u')) { + match('u'); + } + else { + if ( _cnt126>=1 ) { break _loop126; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} + } + + _cnt126++; + } while (true); + } + mHEX_DIGIT(false); + mHEX_DIGIT(false); + mHEX_DIGIT(false); + mHEX_DIGIT(false); + break; + } + case '0': case '1': case '2': case '3': + { + matchRange('0','3'); + { + if (((LA(1) >= '0' && LA(1) <= '7')) && (_tokenSet_0.member(LA(2))) && (true) && (true)) { + matchRange('0','7'); + { + if (((LA(1) >= '0' && LA(1) <= '7')) && (_tokenSet_0.member(LA(2))) && (true) && (true)) { + matchRange('0','7'); + } + else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true)) { + } + else { + throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); + } + + } + } + else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true)) { + } + else { + throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); + } + + } + break; + } + case '4': case '5': case '6': case '7': + { + matchRange('4','7'); + { + if (((LA(1) >= '0' && LA(1) <= '7')) && (_tokenSet_0.member(LA(2))) && (true) && (true)) { + matchRange('0','7'); + } + else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true)) { + } + else { + throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); + } + + } + break; + } + default: + { + throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); + } + } + } + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mSTRING_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = STRING_LITERAL; + int _saveIndex; + + match('"'); + { + _loop122: + do { + if ((LA(1)=='\\')) { + mESC(false); + } + else if ((_tokenSet_3.member(LA(1)))) { + { + match(_tokenSet_3); + } + } + else { + break _loop122; + } + + } while (true); + } + match('"'); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + protected final void mHEX_DIGIT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = HEX_DIGIT; + int _saveIndex; + + { + switch ( LA(1)) { + case '0': case '1': case '2': case '3': + case '4': case '5': case '6': case '7': + case '8': case '9': + { + matchRange('0','9'); + break; + } + case 'A': case 'B': case 'C': case 'D': + case 'E': case 'F': + { + matchRange('A','F'); + break; + } + case 'a': case 'b': case 'c': case 'd': + case 'e': case 'f': + { + matchRange('a','f'); + break; + } + default: + { + throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); + } + } + } + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + protected final void mVOCAB(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = VOCAB; + int _saveIndex; + + matchRange('\3','\377'); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mIDENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = IDENT; + int _saveIndex; + + { + switch ( LA(1)) { + case 'a': case 'b': case 'c': case 'd': + case 'e': case 'f': case 'g': case 'h': + case 'i': case 'j': case 'k': case 'l': + case 'm': case 'n': case 'o': case 'p': + case 'q': case 'r': case 's': case 't': + case 'u': case 'v': case 'w': case 'x': + case 'y': case 'z': + { + matchRange('a','z'); + break; + } + case 'A': case 'B': case 'C': case 'D': + case 'E': case 'F': case 'G': case 'H': + case 'I': case 'J': case 'K': case 'L': + case 'M': case 'N': case 'O': case 'P': + case 'Q': case 'R': case 'S': case 'T': + case 'U': case 'V': case 'W': case 'X': + case 'Y': case 'Z': + { + matchRange('A','Z'); + break; + } + case '_': + { + match('_'); + break; + } + case '$': + { + match('$'); + break; + } + default: + { + throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); + } + } + } + { + _loop136: + do { + switch ( LA(1)) { + case 'a': case 'b': case 'c': case 'd': + case 'e': case 'f': case 'g': case 'h': + case 'i': case 'j': case 'k': case 'l': + case 'm': case 'n': case 'o': case 'p': + case 'q': case 'r': case 's': case 't': + case 'u': case 'v': case 'w': case 'x': + case 'y': case 'z': + { + matchRange('a','z'); + break; + } + case 'A': case 'B': case 'C': case 'D': + case 'E': case 'F': case 'G': case 'H': + case 'I': case 'J': case 'K': case 'L': + case 'M': case 'N': case 'O': case 'P': + case 'Q': case 'R': case 'S': case 'T': + case 'U': case 'V': case 'W': case 'X': + case 'Y': case 'Z': + { + matchRange('A','Z'); + break; + } + case '_': + { + match('_'); + break; + } + case '0': case '1': case '2': case '3': + case '4': case '5': case '6': case '7': + case '8': case '9': + { + matchRange('0','9'); + break; + } + case '$': + { + match('$'); + break; + } + default: + { + break _loop136; + } + } + } while (true); + } + _ttype = testLiteralsTable(_ttype); + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + public final void mNUM_INT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = NUM_INT; + int _saveIndex; + Token f1=null; + Token f2=null; + Token f3=null; + Token f4=null; + boolean isDecimal=false; Token t=null; + + switch ( LA(1)) { + case '.': + { + match('.'); + if ( inputState.guessing==0 ) { + _ttype = DOT; + } + { + if (((LA(1) >= '0' && LA(1) <= '9'))) { + { + int _cnt140=0; + _loop140: + do { + if (((LA(1) >= '0' && LA(1) <= '9'))) { + matchRange('0','9'); + } + else { + if ( _cnt140>=1 ) { break _loop140; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} + } + + _cnt140++; + } while (true); + } + { + if ((LA(1)=='E'||LA(1)=='e')) { + mEXPONENT(false); + } + else { + } + + } + { + if ((LA(1)=='D'||LA(1)=='F'||LA(1)=='d'||LA(1)=='f')) { + mFLOAT_SUFFIX(true); + f1=_returnToken; + if ( inputState.guessing==0 ) { + t=f1; + } + } + else { + } + + } + if ( inputState.guessing==0 ) { + + if (t != null && t.getText().toUpperCase().indexOf('F')>=0) { + _ttype = NUM_FLOAT; + } + else { + _ttype = NUM_DOUBLE; // assume double + } + + } + } + else { + } + + } + break; + } + case '0': case '1': case '2': case '3': + case '4': case '5': case '6': case '7': + case '8': case '9': + { + { + switch ( LA(1)) { + case '0': + { + match('0'); + if ( inputState.guessing==0 ) { + isDecimal = true; + } + { + if ((LA(1)=='X'||LA(1)=='x')) { + { + switch ( LA(1)) { + case 'x': + { + match('x'); + break; + } + case 'X': + { + match('X'); + break; + } + default: + { + throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); + } + } + } + { + int _cnt147=0; + _loop147: + do { + if ((_tokenSet_4.member(LA(1))) && (true) && (true) && (true)) { + mHEX_DIGIT(false); + } + else { + if ( _cnt147>=1 ) { break _loop147; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} + } + + _cnt147++; + } while (true); + } + } + else { + boolean synPredMatched152 = false; + if ((((LA(1) >= '0' && LA(1) <= '9')) && (true) && (true) && (true))) { + int _m152 = mark(); + synPredMatched152 = true; + inputState.guessing++; + try { + { + { + int _cnt150=0; + _loop150: + do { + if (((LA(1) >= '0' && LA(1) <= '9'))) { + matchRange('0','9'); + } + else { + if ( _cnt150>=1 ) { break _loop150; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} + } + + _cnt150++; + } while (true); + } + { + switch ( LA(1)) { + case '.': + { + match('.'); + break; + } + case 'E': case 'e': + { + mEXPONENT(false); + break; + } + case 'D': case 'F': case 'd': case 'f': + { + mFLOAT_SUFFIX(false); + break; + } + default: + { + throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); + } + } + } + } + } + catch (RecognitionException pe) { + synPredMatched152 = false; + } + rewind(_m152); inputState.guessing--; - } - if ( synPredMatched152 ) { - { - int _cnt154=0; - _loop154: - do { - if (((LA(1) >= '0' && LA(1) <= '9'))) { - matchRange('0','9'); - } - else { - if ( _cnt154>=1 ) { break _loop154; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} - } - - _cnt154++; - } while (true); - } - } - else if (((LA(1) >= '0' && LA(1) <= '7')) && (true) && (true) && (true)) { - { - int _cnt156=0; - _loop156: - do { - if (((LA(1) >= '0' && LA(1) <= '7'))) { - matchRange('0','7'); - } - else { - if ( _cnt156>=1 ) { break _loop156; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} - } - - _cnt156++; - } while (true); - } - } - else { - } - } - } - break; - } - case '1': case '2': case '3': case '4': - case '5': case '6': case '7': case '8': - case '9': - { - { - matchRange('1','9'); - } - { - _loop159: - do { - if (((LA(1) >= '0' && LA(1) <= '9'))) { - matchRange('0','9'); - } - else { - break _loop159; - } - - } while (true); - } - if ( inputState.guessing==0 ) { - isDecimal=true; - } - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - { - if ((LA(1)=='L'||LA(1)=='l')) { - { - switch ( LA(1)) { - case 'l': - { - match('l'); - break; - } - case 'L': - { - match('L'); - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - if ( inputState.guessing==0 ) { - _ttype = NUM_LONG; - } - } - else if (((LA(1)=='.'||LA(1)=='D'||LA(1)=='E'||LA(1)=='F'||LA(1)=='d'||LA(1)=='e'||LA(1)=='f'))&&(isDecimal)) { - { - switch ( LA(1)) { - case '.': - { - match('.'); - { - _loop164: - do { - if (((LA(1) >= '0' && LA(1) <= '9'))) { - matchRange('0','9'); - } - else { - break _loop164; - } - - } while (true); - } - { - if ((LA(1)=='E'||LA(1)=='e')) { - mEXPONENT(false); - } - else { - } - - } - { - if ((LA(1)=='D'||LA(1)=='F'||LA(1)=='d'||LA(1)=='f')) { - mFLOAT_SUFFIX(true); - f2=_returnToken; - if ( inputState.guessing==0 ) { - t=f2; - } - } - else { - } - - } - break; - } - case 'E': case 'e': - { - mEXPONENT(false); - { - if ((LA(1)=='D'||LA(1)=='F'||LA(1)=='d'||LA(1)=='f')) { - mFLOAT_SUFFIX(true); - f3=_returnToken; - if ( inputState.guessing==0 ) { - t=f3; - } - } - else { - } - - } - break; - } - case 'D': case 'F': case 'd': case 'f': - { - mFLOAT_SUFFIX(true); - f4=_returnToken; - if ( inputState.guessing==0 ) { - t=f4; - } - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - if ( inputState.guessing==0 ) { - - if (t != null && t.getText().toUpperCase() .indexOf('F') >= 0) { - _ttype = NUM_FLOAT; - } - else { - _ttype = NUM_DOUBLE; // assume double - } - - } - } - else { - } - - } - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - protected final void mEXPONENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = EXPONENT; - int _saveIndex; - - { - switch ( LA(1)) { - case 'e': - { - match('e'); - break; - } - case 'E': - { - match('E'); - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - { - switch ( LA(1)) { - case '+': - { - match('+'); - break; - } - case '-': - { - match('-'); - break; - } - case '0': case '1': case '2': case '3': - case '4': case '5': case '6': case '7': - case '8': case '9': - { - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - { - int _cnt172=0; - _loop172: - do { - if (((LA(1) >= '0' && LA(1) <= '9'))) { - matchRange('0','9'); - } - else { - if ( _cnt172>=1 ) { break _loop172; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} - } - - _cnt172++; - } while (true); - } - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - protected final void mFLOAT_SUFFIX(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = FLOAT_SUFFIX; - int _saveIndex; - - switch ( LA(1)) { - case 'f': - { - match('f'); - break; - } - case 'F': - { - match('F'); - break; - } - case 'd': - { - match('d'); - break; - } - case 'D': - { - match('D'); - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - - private static final long[] mk_tokenSet_0() { - long[] data = new long[2048]; - data[0]=-9224L; - for (int i = 1; i<=1023; i++) { data[i]=-1L; } - return data; - } - public static final BitSet _tokenSet_0 = new BitSet(mk_tokenSet_0()); - private static final long[] mk_tokenSet_1() { - long[] data = new long[2048]; - data[0]=-4398046520328L; - for (int i = 1; i<=1023; i++) { data[i]=-1L; } - return data; - } - public static final BitSet _tokenSet_1 = new BitSet(mk_tokenSet_1()); - private static final long[] mk_tokenSet_2() { - long[] data = new long[2048]; - data[0]=-549755823112L; - data[1]=-268435457L; - for (int i = 2; i<=1023; i++) { data[i]=-1L; } - return data; - } - public static final BitSet _tokenSet_2 = new BitSet(mk_tokenSet_2()); - private static final long[] mk_tokenSet_3() { - long[] data = new long[2048]; - data[0]=-17179878408L; - data[1]=-268435457L; - for (int i = 2; i<=1023; i++) { data[i]=-1L; } - return data; - } - public static final BitSet _tokenSet_3 = new BitSet(mk_tokenSet_3()); - private static final long[] mk_tokenSet_4() { - long[] data = new long[1025]; - data[0]=287948901175001088L; - data[1]=541165879422L; - return data; - } - public static final BitSet _tokenSet_4 = new BitSet(mk_tokenSet_4()); - - } + } + if ( synPredMatched152 ) { + { + int _cnt154=0; + _loop154: + do { + if (((LA(1) >= '0' && LA(1) <= '9'))) { + matchRange('0','9'); + } + else { + if ( _cnt154>=1 ) { break _loop154; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} + } + + _cnt154++; + } while (true); + } + } + else if (((LA(1) >= '0' && LA(1) <= '7')) && (true) && (true) && (true)) { + { + int _cnt156=0; + _loop156: + do { + if (((LA(1) >= '0' && LA(1) <= '7'))) { + matchRange('0','7'); + } + else { + if ( _cnt156>=1 ) { break _loop156; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} + } + + _cnt156++; + } while (true); + } + } + else { + } + } + } + break; + } + case '1': case '2': case '3': case '4': + case '5': case '6': case '7': case '8': + case '9': + { + { + matchRange('1','9'); + } + { + _loop159: + do { + if (((LA(1) >= '0' && LA(1) <= '9'))) { + matchRange('0','9'); + } + else { + break _loop159; + } + + } while (true); + } + if ( inputState.guessing==0 ) { + isDecimal=true; + } + break; + } + default: + { + throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); + } + } + } + { + if ((LA(1)=='L'||LA(1)=='l')) { + { + switch ( LA(1)) { + case 'l': + { + match('l'); + break; + } + case 'L': + { + match('L'); + break; + } + default: + { + throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); + } + } + } + if ( inputState.guessing==0 ) { + _ttype = NUM_LONG; + } + } + else if (((LA(1)=='.'||LA(1)=='D'||LA(1)=='E'||LA(1)=='F'||LA(1)=='d'||LA(1)=='e'||LA(1)=='f'))&&(isDecimal)) { + { + switch ( LA(1)) { + case '.': + { + match('.'); + { + _loop164: + do { + if (((LA(1) >= '0' && LA(1) <= '9'))) { + matchRange('0','9'); + } + else { + break _loop164; + } + + } while (true); + } + { + if ((LA(1)=='E'||LA(1)=='e')) { + mEXPONENT(false); + } + else { + } + + } + { + if ((LA(1)=='D'||LA(1)=='F'||LA(1)=='d'||LA(1)=='f')) { + mFLOAT_SUFFIX(true); + f2=_returnToken; + if ( inputState.guessing==0 ) { + t=f2; + } + } + else { + } + + } + break; + } + case 'E': case 'e': + { + mEXPONENT(false); + { + if ((LA(1)=='D'||LA(1)=='F'||LA(1)=='d'||LA(1)=='f')) { + mFLOAT_SUFFIX(true); + f3=_returnToken; + if ( inputState.guessing==0 ) { + t=f3; + } + } + else { + } + + } + break; + } + case 'D': case 'F': case 'd': case 'f': + { + mFLOAT_SUFFIX(true); + f4=_returnToken; + if ( inputState.guessing==0 ) { + t=f4; + } + break; + } + default: + { + throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); + } + } + } + if ( inputState.guessing==0 ) { + + if (t != null && t.getText().toUpperCase() .indexOf('F') >= 0) { + _ttype = NUM_FLOAT; + } + else { + _ttype = NUM_DOUBLE; // assume double + } + + } + } + else { + } + + } + break; + } + default: + { + throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); + } + } + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + protected final void mEXPONENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = EXPONENT; + int _saveIndex; + + { + switch ( LA(1)) { + case 'e': + { + match('e'); + break; + } + case 'E': + { + match('E'); + break; + } + default: + { + throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); + } + } + } + { + switch ( LA(1)) { + case '+': + { + match('+'); + break; + } + case '-': + { + match('-'); + break; + } + case '0': case '1': case '2': case '3': + case '4': case '5': case '6': case '7': + case '8': case '9': + { + break; + } + default: + { + throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); + } + } + } + { + int _cnt172=0; + _loop172: + do { + if (((LA(1) >= '0' && LA(1) <= '9'))) { + matchRange('0','9'); + } + else { + if ( _cnt172>=1 ) { break _loop172; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} + } + + _cnt172++; + } while (true); + } + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + protected final void mFLOAT_SUFFIX(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { + int _ttype; Token _token=null; int _begin=text.length(); + _ttype = FLOAT_SUFFIX; + int _saveIndex; + + switch ( LA(1)) { + case 'f': + { + match('f'); + break; + } + case 'F': + { + match('F'); + break; + } + case 'd': + { + match('d'); + break; + } + case 'D': + { + match('D'); + break; + } + default: + { + throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); + } + } + if ( _createToken && _token==null && _ttype!=Token.SKIP ) { + _token = makeToken(_ttype); + _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); + } + _returnToken = _token; + } + + + private static final long[] mk_tokenSet_0() { + long[] data = new long[2048]; + data[0]=-9224L; + for (int i = 1; i<=1023; i++) { data[i]=-1L; } + return data; + } + public static final BitSet _tokenSet_0 = new BitSet(mk_tokenSet_0()); + private static final long[] mk_tokenSet_1() { + long[] data = new long[2048]; + data[0]=-4398046520328L; + for (int i = 1; i<=1023; i++) { data[i]=-1L; } + return data; + } + public static final BitSet _tokenSet_1 = new BitSet(mk_tokenSet_1()); + private static final long[] mk_tokenSet_2() { + long[] data = new long[2048]; + data[0]=-549755823112L; + data[1]=-268435457L; + for (int i = 2; i<=1023; i++) { data[i]=-1L; } + return data; + } + public static final BitSet _tokenSet_2 = new BitSet(mk_tokenSet_2()); + private static final long[] mk_tokenSet_3() { + long[] data = new long[2048]; + data[0]=-17179878408L; + data[1]=-268435457L; + for (int i = 2; i<=1023; i++) { data[i]=-1L; } + return data; + } + public static final BitSet _tokenSet_3 = new BitSet(mk_tokenSet_3()); + private static final long[] mk_tokenSet_4() { + long[] data = new long[1025]; + data[0]=287948901175001088L; + data[1]=541165879422L; + return data; + } + public static final BitSet _tokenSet_4 = new BitSet(mk_tokenSet_4()); + + } diff --git a/libjava/classpath/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaRecognizer.java b/libjava/classpath/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaRecognizer.java index 9dfc9db..bd43bf3 100644 --- a/libjava/classpath/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaRecognizer.java +++ b/libjava/classpath/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaRecognizer.java @@ -1,6 +1,6 @@ // $ANTLR 2.7.7 (20080530): "java-expression.g" -> "JavaRecognizer.java"$ - - package gnu.classpath.tools.gjdoc.expr; + + package gnu.classpath.tools.gjdoc.expr; import antlr.TokenBuffer; import antlr.TokenStreamException; @@ -53,1354 +53,1354 @@ public JavaRecognizer(ParserSharedInputState state) { astFactory = new ASTFactory(getTokenTypeToASTClassMap()); } - public final Type builtInTypeSpec( - boolean addImagNode - ) throws RecognitionException, TokenStreamException { - Type t = null; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST builtInTypeSpec_AST = null; - Token lb = null; - AST lb_AST = null; - - t=builtInType(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop3: - do { - if ((LA(1)==LBRACK)) { - lb = LT(1); - lb_AST = astFactory.create(lb); - astFactory.makeASTRoot(currentAST, lb_AST); - match(LBRACK); - if ( inputState.guessing==0 ) { - lb_AST.setType(ARRAY_DECLARATOR); - } - match(RBRACK); - } - else { - break _loop3; - } - - } while (true); - } - if ( inputState.guessing==0 ) { - builtInTypeSpec_AST = (AST)currentAST.root; - - if ( addImagNode ) { - builtInTypeSpec_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(TYPE,"TYPE")).add(builtInTypeSpec_AST)); - } - - currentAST.root = builtInTypeSpec_AST; - currentAST.child = builtInTypeSpec_AST!=null &&builtInTypeSpec_AST.getFirstChild()!=null ? - builtInTypeSpec_AST.getFirstChild() : builtInTypeSpec_AST; - currentAST.advanceChildToEnd(); - } - builtInTypeSpec_AST = (AST)currentAST.root; - returnAST = builtInTypeSpec_AST; - return t; - } - - public final Type builtInType() throws RecognitionException, TokenStreamException { - Type t = null; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST builtInType_AST = null; - - switch ( LA(1)) { - case LITERAL_void: - { - AST tmp2_AST = null; - tmp2_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp2_AST); - match(LITERAL_void); - if ( inputState.guessing==0 ) { - t=Type.VOID; - } - builtInType_AST = (AST)currentAST.root; - break; - } - case LITERAL_boolean: - { - AST tmp3_AST = null; - tmp3_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp3_AST); - match(LITERAL_boolean); - if ( inputState.guessing==0 ) { - t=Type.BOOLEAN; - } - builtInType_AST = (AST)currentAST.root; - break; - } - case LITERAL_byte: - { - AST tmp4_AST = null; - tmp4_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp4_AST); - match(LITERAL_byte); - if ( inputState.guessing==0 ) { - t=Type.BYTE; - } - builtInType_AST = (AST)currentAST.root; - break; - } - case LITERAL_char: - { - AST tmp5_AST = null; - tmp5_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp5_AST); - match(LITERAL_char); - if ( inputState.guessing==0 ) { - t=Type.CHAR; - } - builtInType_AST = (AST)currentAST.root; - break; - } - case LITERAL_short: - { - AST tmp6_AST = null; - tmp6_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp6_AST); - match(LITERAL_short); - if ( inputState.guessing==0 ) { - t=Type.SHORT; - } - builtInType_AST = (AST)currentAST.root; - break; - } - case LITERAL_int: - { - AST tmp7_AST = null; - tmp7_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp7_AST); - match(LITERAL_int); - if ( inputState.guessing==0 ) { - t=Type.INTEGER; - } - builtInType_AST = (AST)currentAST.root; - break; - } - case LITERAL_float: - { - AST tmp8_AST = null; - tmp8_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp8_AST); - match(LITERAL_float); - if ( inputState.guessing==0 ) { - t=Type.FLOAT; - } - builtInType_AST = (AST)currentAST.root; - break; - } - case LITERAL_long: - { - AST tmp9_AST = null; - tmp9_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp9_AST); - match(LITERAL_long); - if ( inputState.guessing==0 ) { - t=Type.LONG; - } - builtInType_AST = (AST)currentAST.root; - break; - } - case LITERAL_double: - { - AST tmp10_AST = null; - tmp10_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp10_AST); - match(LITERAL_double); - if ( inputState.guessing==0 ) { - t=Type.DOUBLE; - } - builtInType_AST = (AST)currentAST.root; - break; - } - case LITERAL_String: - { - AST tmp11_AST = null; - tmp11_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp11_AST); - match(LITERAL_String); - if ( inputState.guessing==0 ) { - t=Type.STRING; - } - builtInType_AST = (AST)currentAST.root; - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - returnAST = builtInType_AST; - return t; - } - - public final Type type() throws RecognitionException, TokenStreamException { - Type t; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST type_AST = null; - - t=builtInType(); - astFactory.addASTChild(currentAST, returnAST); - type_AST = (AST)currentAST.root; - returnAST = type_AST; - return t; - } - - public final String identifier() throws RecognitionException, TokenStreamException { - String s = null;; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST identifier_AST = null; - Token i = null; - AST i_AST = null; - Token i2 = null; - AST i2_AST = null; - - i = LT(1); - i_AST = astFactory.create(i); - astFactory.addASTChild(currentAST, i_AST); - match(IDENT); - if ( inputState.guessing==0 ) { - s=i.getText(); - } - { - _loop8: - do { - if ((LA(1)==DOT)) { - AST tmp12_AST = null; - tmp12_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp12_AST); - match(DOT); - i2 = LT(1); - i2_AST = astFactory.create(i2); - astFactory.addASTChild(currentAST, i2_AST); - match(IDENT); - if ( inputState.guessing==0 ) { - s+="."+i2.getText(); - } - } - else { - break _loop8; - } - - } while (true); - } - identifier_AST = (AST)currentAST.root; - returnAST = identifier_AST; - return s; - } - - public final Expression expression() throws RecognitionException, TokenStreamException { - Expression e = null; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST expression_AST = null; - - e=conditionalExpression(); - astFactory.addASTChild(currentAST, returnAST); - match(Token.EOF_TYPE); - expression_AST = (AST)currentAST.root; - returnAST = expression_AST; - return e; - } - - public final Expression conditionalExpression() throws RecognitionException, TokenStreamException { - Expression e = null; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST conditionalExpression_AST = null; - Expression a,b,c; - - e=logicalOrExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - switch ( LA(1)) { - case QUESTION: - { - AST tmp14_AST = null; - tmp14_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp14_AST); - match(QUESTION); - b=conditionalExpression(); - astFactory.addASTChild(currentAST, returnAST); - match(COLON); - c=conditionalExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new ConditionalExpression(e,b,c); - } - break; - } - case EOF: - case COLON: - case RPAREN: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - conditionalExpression_AST = (AST)currentAST.root; - returnAST = conditionalExpression_AST; - return e; - } - - public final Expression logicalOrExpression() throws RecognitionException, TokenStreamException { - Expression e = null; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST logicalOrExpression_AST = null; - Expression a,b; - - e=logicalAndExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop14: - do { - if ((LA(1)==LOR)) { - AST tmp16_AST = null; - tmp16_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp16_AST); - match(LOR); - b=logicalAndExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new LogicalOrExpression(e,b); - } - } - else { - break _loop14; - } - - } while (true); - } - logicalOrExpression_AST = (AST)currentAST.root; - returnAST = logicalOrExpression_AST; - return e; - } - - public final Expression logicalAndExpression() throws RecognitionException, TokenStreamException { - Expression e = null; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST logicalAndExpression_AST = null; - Expression a,b; - - e=inclusiveOrExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop17: - do { - if ((LA(1)==LAND)) { - AST tmp17_AST = null; - tmp17_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp17_AST); - match(LAND); - b=inclusiveOrExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new LogicalAndExpression(e,b); - } - } - else { - break _loop17; - } - - } while (true); - } - logicalAndExpression_AST = (AST)currentAST.root; - returnAST = logicalAndExpression_AST; - return e; - } - - public final Expression inclusiveOrExpression() throws RecognitionException, TokenStreamException { - Expression e = null; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST inclusiveOrExpression_AST = null; - Expression a,b; - - e=exclusiveOrExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop20: - do { - if ((LA(1)==BOR)) { - AST tmp18_AST = null; - tmp18_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp18_AST); - match(BOR); - b=exclusiveOrExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new InclusiveOrExpression(e,b); - } - } - else { - break _loop20; - } - - } while (true); - } - inclusiveOrExpression_AST = (AST)currentAST.root; - returnAST = inclusiveOrExpression_AST; - return e; - } - - public final Expression exclusiveOrExpression() throws RecognitionException, TokenStreamException { - Expression e = null; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST exclusiveOrExpression_AST = null; - Expression a,b; - - e=andExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop23: - do { - if ((LA(1)==BXOR)) { - AST tmp19_AST = null; - tmp19_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp19_AST); - match(BXOR); - b=andExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new ExclusiveOrExpression(e,b); - } - } - else { - break _loop23; - } - - } while (true); - } - exclusiveOrExpression_AST = (AST)currentAST.root; - returnAST = exclusiveOrExpression_AST; - return e; - } - - public final Expression andExpression() throws RecognitionException, TokenStreamException { - Expression e = null; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST andExpression_AST = null; - Expression a,b; - - e=equalityExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop26: - do { - if ((LA(1)==BAND)) { - AST tmp20_AST = null; - tmp20_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp20_AST); - match(BAND); - b=equalityExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new AndExpression(e,b); - } - } - else { - break _loop26; - } - - } while (true); - } - andExpression_AST = (AST)currentAST.root; - returnAST = andExpression_AST; - return e; - } - - public final Expression equalityExpression() throws RecognitionException, TokenStreamException { - Expression e = null; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST equalityExpression_AST = null; - Expression a,b; - - e=relationalExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop30: - do { - if ((LA(1)==NOT_EQUAL||LA(1)==EQUAL)) { - { - switch ( LA(1)) { - case NOT_EQUAL: - { - AST tmp21_AST = null; - tmp21_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp21_AST); - match(NOT_EQUAL); - a=relationalExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new NotEqualExpression(e,a); - } - break; - } - case EQUAL: - { - AST tmp22_AST = null; - tmp22_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp22_AST); - match(EQUAL); - a=relationalExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new EqualExpression(e,a); - } - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - } - else { - break _loop30; - } - - } while (true); - } - equalityExpression_AST = (AST)currentAST.root; - returnAST = equalityExpression_AST; - return e; - } - - public final Expression relationalExpression() throws RecognitionException, TokenStreamException { - Expression e = null; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST relationalExpression_AST = null; - Expression a,b; - - e=shiftExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - { - _loop35: - do { - if (((LA(1) >= LT && LA(1) <= GE))) { - { - switch ( LA(1)) { - case LT: - { - AST tmp23_AST = null; - tmp23_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp23_AST); - match(LT); - a=shiftExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new LessThanExpression(e,a); - } - break; - } - case GT: - { - AST tmp24_AST = null; - tmp24_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp24_AST); - match(GT); - a=shiftExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new GreaterThanExpression(e,a); - } - break; - } - case LE: - { - AST tmp25_AST = null; - tmp25_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp25_AST); - match(LE); - a=shiftExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new LessThanOrEqualExpression(e,a); - } - break; - } - case GE: - { - AST tmp26_AST = null; - tmp26_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp26_AST); - match(GE); - a=shiftExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new GreaterThanOrEqualExpression(e,a); - } - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - } - else { - break _loop35; - } - - } while (true); - } - } - relationalExpression_AST = (AST)currentAST.root; - returnAST = relationalExpression_AST; - return e; - } - - public final Expression shiftExpression() throws RecognitionException, TokenStreamException { - Expression e = null; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST shiftExpression_AST = null; - Expression a,b; - - e=additiveExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop39: - do { - if (((LA(1) >= SL && LA(1) <= BSR))) { - { - switch ( LA(1)) { - case SL: - { - AST tmp27_AST = null; - tmp27_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp27_AST); - match(SL); - a=additiveExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new ShiftLeftExpression(e,a); - } - break; - } - case SR: - { - AST tmp28_AST = null; - tmp28_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp28_AST); - match(SR); - a=additiveExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new ShiftRightExpression(e,a); - } - break; - } - case BSR: - { - AST tmp29_AST = null; - tmp29_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp29_AST); - match(BSR); - a=additiveExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new BitShiftRightExpression(e,a); - } - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - } - else { - break _loop39; - } - - } while (true); - } - shiftExpression_AST = (AST)currentAST.root; - returnAST = shiftExpression_AST; - return e; - } - - public final Expression additiveExpression() throws RecognitionException, TokenStreamException { - Expression e = null; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST additiveExpression_AST = null; - Expression a,b; - - e=multiplicativeExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop43: - do { - if ((LA(1)==PLUS||LA(1)==MINUS)) { - { - switch ( LA(1)) { - case PLUS: - { - AST tmp30_AST = null; - tmp30_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp30_AST); - match(PLUS); - a=multiplicativeExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new AdditionExpression(e,a); - } - break; - } - case MINUS: - { - AST tmp31_AST = null; - tmp31_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp31_AST); - match(MINUS); - a=multiplicativeExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new SubtractionExpression(e,a); - } - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - } - else { - break _loop43; - } - - } while (true); - } - additiveExpression_AST = (AST)currentAST.root; - returnAST = additiveExpression_AST; - return e; - } - - public final Expression multiplicativeExpression() throws RecognitionException, TokenStreamException { - Expression e = null; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST multiplicativeExpression_AST = null; - Expression a,b; - - e=unaryExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop47: - do { - if (((LA(1) >= STAR && LA(1) <= MOD))) { - { - switch ( LA(1)) { - case STAR: - { - AST tmp32_AST = null; - tmp32_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp32_AST); - match(STAR); - a=unaryExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new MultiplicationExpression(e,a); - } - break; - } - case DIV: - { - AST tmp33_AST = null; - tmp33_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp33_AST); - match(DIV); - a=unaryExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new DivisionExpression(e,a); - } - break; - } - case MOD: - { - AST tmp34_AST = null; - tmp34_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp34_AST); - match(MOD); - a=unaryExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new ModuloExpression(e,a); - } - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - } - else { - break _loop47; - } - - } while (true); - } - multiplicativeExpression_AST = (AST)currentAST.root; - returnAST = multiplicativeExpression_AST; - return e; - } - - public final Expression unaryExpression() throws RecognitionException, TokenStreamException { - Expression e = null; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST unaryExpression_AST = null; - Expression a,b; - - switch ( LA(1)) { - case MINUS: - { - AST tmp35_AST = null; - tmp35_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp35_AST); - match(MINUS); - if ( inputState.guessing==0 ) { - tmp35_AST.setType(UNARY_MINUS); - } - a=unaryExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new NegateExpression(a); - } - unaryExpression_AST = (AST)currentAST.root; - break; - } - case PLUS: - { - AST tmp36_AST = null; - tmp36_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp36_AST); - match(PLUS); - if ( inputState.guessing==0 ) { - tmp36_AST.setType(UNARY_PLUS); - } - e=unaryExpression(); - astFactory.addASTChild(currentAST, returnAST); - unaryExpression_AST = (AST)currentAST.root; - break; - } - case IDENT: - case BNOT: - case LNOT: - case LPAREN: - case LITERAL_true: - case LITERAL_false: - case LITERAL_null: - case NUM_INT: - case CHAR_LITERAL: - case STRING_LITERAL: - case NUM_FLOAT: - case NUM_LONG: - case NUM_DOUBLE: - { - e=unaryExpressionNotPlusMinus(); - astFactory.addASTChild(currentAST, returnAST); - unaryExpression_AST = (AST)currentAST.root; - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - returnAST = unaryExpression_AST; - return e; - } - - public final Expression unaryExpressionNotPlusMinus() throws RecognitionException, TokenStreamException { - Expression e = null; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST unaryExpressionNotPlusMinus_AST = null; - Token lpb = null; - AST lpb_AST = null; - Expression a; Type t; - - switch ( LA(1)) { - case BNOT: - { - AST tmp37_AST = null; - tmp37_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp37_AST); - match(BNOT); - a=unaryExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new NotExpression(a); - } - unaryExpressionNotPlusMinus_AST = (AST)currentAST.root; - break; - } - case LNOT: - { - AST tmp38_AST = null; - tmp38_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp38_AST); - match(LNOT); - a=unaryExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new LogicalNotExpression(a); - } - unaryExpressionNotPlusMinus_AST = (AST)currentAST.root; - break; - } - default: - boolean synPredMatched51 = false; - if (((LA(1)==LPAREN) && ((LA(2) >= LITERAL_void && LA(2) <= LITERAL_String)))) { - int _m51 = mark(); - synPredMatched51 = true; - inputState.guessing++; - try { - { - match(LPAREN); - builtInTypeSpec(true); - match(RPAREN); - } - } - catch (RecognitionException pe) { - synPredMatched51 = false; - } - rewind(_m51); + public final Type builtInTypeSpec( + boolean addImagNode + ) throws RecognitionException, TokenStreamException { + Type t = null; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST builtInTypeSpec_AST = null; + Token lb = null; + AST lb_AST = null; + + t=builtInType(); + astFactory.addASTChild(currentAST, returnAST); + { + _loop3: + do { + if ((LA(1)==LBRACK)) { + lb = LT(1); + lb_AST = astFactory.create(lb); + astFactory.makeASTRoot(currentAST, lb_AST); + match(LBRACK); + if ( inputState.guessing==0 ) { + lb_AST.setType(ARRAY_DECLARATOR); + } + match(RBRACK); + } + else { + break _loop3; + } + + } while (true); + } + if ( inputState.guessing==0 ) { + builtInTypeSpec_AST = (AST)currentAST.root; + + if ( addImagNode ) { + builtInTypeSpec_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(TYPE,"TYPE")).add(builtInTypeSpec_AST)); + } + + currentAST.root = builtInTypeSpec_AST; + currentAST.child = builtInTypeSpec_AST!=null &&builtInTypeSpec_AST.getFirstChild()!=null ? + builtInTypeSpec_AST.getFirstChild() : builtInTypeSpec_AST; + currentAST.advanceChildToEnd(); + } + builtInTypeSpec_AST = (AST)currentAST.root; + returnAST = builtInTypeSpec_AST; + return t; + } + + public final Type builtInType() throws RecognitionException, TokenStreamException { + Type t = null; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST builtInType_AST = null; + + switch ( LA(1)) { + case LITERAL_void: + { + AST tmp2_AST = null; + tmp2_AST = astFactory.create(LT(1)); + astFactory.addASTChild(currentAST, tmp2_AST); + match(LITERAL_void); + if ( inputState.guessing==0 ) { + t=Type.VOID; + } + builtInType_AST = (AST)currentAST.root; + break; + } + case LITERAL_boolean: + { + AST tmp3_AST = null; + tmp3_AST = astFactory.create(LT(1)); + astFactory.addASTChild(currentAST, tmp3_AST); + match(LITERAL_boolean); + if ( inputState.guessing==0 ) { + t=Type.BOOLEAN; + } + builtInType_AST = (AST)currentAST.root; + break; + } + case LITERAL_byte: + { + AST tmp4_AST = null; + tmp4_AST = astFactory.create(LT(1)); + astFactory.addASTChild(currentAST, tmp4_AST); + match(LITERAL_byte); + if ( inputState.guessing==0 ) { + t=Type.BYTE; + } + builtInType_AST = (AST)currentAST.root; + break; + } + case LITERAL_char: + { + AST tmp5_AST = null; + tmp5_AST = astFactory.create(LT(1)); + astFactory.addASTChild(currentAST, tmp5_AST); + match(LITERAL_char); + if ( inputState.guessing==0 ) { + t=Type.CHAR; + } + builtInType_AST = (AST)currentAST.root; + break; + } + case LITERAL_short: + { + AST tmp6_AST = null; + tmp6_AST = astFactory.create(LT(1)); + astFactory.addASTChild(currentAST, tmp6_AST); + match(LITERAL_short); + if ( inputState.guessing==0 ) { + t=Type.SHORT; + } + builtInType_AST = (AST)currentAST.root; + break; + } + case LITERAL_int: + { + AST tmp7_AST = null; + tmp7_AST = astFactory.create(LT(1)); + astFactory.addASTChild(currentAST, tmp7_AST); + match(LITERAL_int); + if ( inputState.guessing==0 ) { + t=Type.INTEGER; + } + builtInType_AST = (AST)currentAST.root; + break; + } + case LITERAL_float: + { + AST tmp8_AST = null; + tmp8_AST = astFactory.create(LT(1)); + astFactory.addASTChild(currentAST, tmp8_AST); + match(LITERAL_float); + if ( inputState.guessing==0 ) { + t=Type.FLOAT; + } + builtInType_AST = (AST)currentAST.root; + break; + } + case LITERAL_long: + { + AST tmp9_AST = null; + tmp9_AST = astFactory.create(LT(1)); + astFactory.addASTChild(currentAST, tmp9_AST); + match(LITERAL_long); + if ( inputState.guessing==0 ) { + t=Type.LONG; + } + builtInType_AST = (AST)currentAST.root; + break; + } + case LITERAL_double: + { + AST tmp10_AST = null; + tmp10_AST = astFactory.create(LT(1)); + astFactory.addASTChild(currentAST, tmp10_AST); + match(LITERAL_double); + if ( inputState.guessing==0 ) { + t=Type.DOUBLE; + } + builtInType_AST = (AST)currentAST.root; + break; + } + case LITERAL_String: + { + AST tmp11_AST = null; + tmp11_AST = astFactory.create(LT(1)); + astFactory.addASTChild(currentAST, tmp11_AST); + match(LITERAL_String); + if ( inputState.guessing==0 ) { + t=Type.STRING; + } + builtInType_AST = (AST)currentAST.root; + break; + } + default: + { + throw new NoViableAltException(LT(1), getFilename()); + } + } + returnAST = builtInType_AST; + return t; + } + + public final Type type() throws RecognitionException, TokenStreamException { + Type t; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST type_AST = null; + + t=builtInType(); + astFactory.addASTChild(currentAST, returnAST); + type_AST = (AST)currentAST.root; + returnAST = type_AST; + return t; + } + + public final String identifier() throws RecognitionException, TokenStreamException { + String s = null;; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST identifier_AST = null; + Token i = null; + AST i_AST = null; + Token i2 = null; + AST i2_AST = null; + + i = LT(1); + i_AST = astFactory.create(i); + astFactory.addASTChild(currentAST, i_AST); + match(IDENT); + if ( inputState.guessing==0 ) { + s=i.getText(); + } + { + _loop8: + do { + if ((LA(1)==DOT)) { + AST tmp12_AST = null; + tmp12_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp12_AST); + match(DOT); + i2 = LT(1); + i2_AST = astFactory.create(i2); + astFactory.addASTChild(currentAST, i2_AST); + match(IDENT); + if ( inputState.guessing==0 ) { + s+="."+i2.getText(); + } + } + else { + break _loop8; + } + + } while (true); + } + identifier_AST = (AST)currentAST.root; + returnAST = identifier_AST; + return s; + } + + public final Expression expression() throws RecognitionException, TokenStreamException { + Expression e = null; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST expression_AST = null; + + e=conditionalExpression(); + astFactory.addASTChild(currentAST, returnAST); + match(Token.EOF_TYPE); + expression_AST = (AST)currentAST.root; + returnAST = expression_AST; + return e; + } + + public final Expression conditionalExpression() throws RecognitionException, TokenStreamException { + Expression e = null; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST conditionalExpression_AST = null; + Expression a,b,c; + + e=logicalOrExpression(); + astFactory.addASTChild(currentAST, returnAST); + { + switch ( LA(1)) { + case QUESTION: + { + AST tmp14_AST = null; + tmp14_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp14_AST); + match(QUESTION); + b=conditionalExpression(); + astFactory.addASTChild(currentAST, returnAST); + match(COLON); + c=conditionalExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new ConditionalExpression(e,b,c); + } + break; + } + case EOF: + case COLON: + case RPAREN: + { + break; + } + default: + { + throw new NoViableAltException(LT(1), getFilename()); + } + } + } + conditionalExpression_AST = (AST)currentAST.root; + returnAST = conditionalExpression_AST; + return e; + } + + public final Expression logicalOrExpression() throws RecognitionException, TokenStreamException { + Expression e = null; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST logicalOrExpression_AST = null; + Expression a,b; + + e=logicalAndExpression(); + astFactory.addASTChild(currentAST, returnAST); + { + _loop14: + do { + if ((LA(1)==LOR)) { + AST tmp16_AST = null; + tmp16_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp16_AST); + match(LOR); + b=logicalAndExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new LogicalOrExpression(e,b); + } + } + else { + break _loop14; + } + + } while (true); + } + logicalOrExpression_AST = (AST)currentAST.root; + returnAST = logicalOrExpression_AST; + return e; + } + + public final Expression logicalAndExpression() throws RecognitionException, TokenStreamException { + Expression e = null; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST logicalAndExpression_AST = null; + Expression a,b; + + e=inclusiveOrExpression(); + astFactory.addASTChild(currentAST, returnAST); + { + _loop17: + do { + if ((LA(1)==LAND)) { + AST tmp17_AST = null; + tmp17_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp17_AST); + match(LAND); + b=inclusiveOrExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new LogicalAndExpression(e,b); + } + } + else { + break _loop17; + } + + } while (true); + } + logicalAndExpression_AST = (AST)currentAST.root; + returnAST = logicalAndExpression_AST; + return e; + } + + public final Expression inclusiveOrExpression() throws RecognitionException, TokenStreamException { + Expression e = null; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST inclusiveOrExpression_AST = null; + Expression a,b; + + e=exclusiveOrExpression(); + astFactory.addASTChild(currentAST, returnAST); + { + _loop20: + do { + if ((LA(1)==BOR)) { + AST tmp18_AST = null; + tmp18_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp18_AST); + match(BOR); + b=exclusiveOrExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new InclusiveOrExpression(e,b); + } + } + else { + break _loop20; + } + + } while (true); + } + inclusiveOrExpression_AST = (AST)currentAST.root; + returnAST = inclusiveOrExpression_AST; + return e; + } + + public final Expression exclusiveOrExpression() throws RecognitionException, TokenStreamException { + Expression e = null; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST exclusiveOrExpression_AST = null; + Expression a,b; + + e=andExpression(); + astFactory.addASTChild(currentAST, returnAST); + { + _loop23: + do { + if ((LA(1)==BXOR)) { + AST tmp19_AST = null; + tmp19_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp19_AST); + match(BXOR); + b=andExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new ExclusiveOrExpression(e,b); + } + } + else { + break _loop23; + } + + } while (true); + } + exclusiveOrExpression_AST = (AST)currentAST.root; + returnAST = exclusiveOrExpression_AST; + return e; + } + + public final Expression andExpression() throws RecognitionException, TokenStreamException { + Expression e = null; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST andExpression_AST = null; + Expression a,b; + + e=equalityExpression(); + astFactory.addASTChild(currentAST, returnAST); + { + _loop26: + do { + if ((LA(1)==BAND)) { + AST tmp20_AST = null; + tmp20_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp20_AST); + match(BAND); + b=equalityExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new AndExpression(e,b); + } + } + else { + break _loop26; + } + + } while (true); + } + andExpression_AST = (AST)currentAST.root; + returnAST = andExpression_AST; + return e; + } + + public final Expression equalityExpression() throws RecognitionException, TokenStreamException { + Expression e = null; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST equalityExpression_AST = null; + Expression a,b; + + e=relationalExpression(); + astFactory.addASTChild(currentAST, returnAST); + { + _loop30: + do { + if ((LA(1)==NOT_EQUAL||LA(1)==EQUAL)) { + { + switch ( LA(1)) { + case NOT_EQUAL: + { + AST tmp21_AST = null; + tmp21_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp21_AST); + match(NOT_EQUAL); + a=relationalExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new NotEqualExpression(e,a); + } + break; + } + case EQUAL: + { + AST tmp22_AST = null; + tmp22_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp22_AST); + match(EQUAL); + a=relationalExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new EqualExpression(e,a); + } + break; + } + default: + { + throw new NoViableAltException(LT(1), getFilename()); + } + } + } + } + else { + break _loop30; + } + + } while (true); + } + equalityExpression_AST = (AST)currentAST.root; + returnAST = equalityExpression_AST; + return e; + } + + public final Expression relationalExpression() throws RecognitionException, TokenStreamException { + Expression e = null; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST relationalExpression_AST = null; + Expression a,b; + + e=shiftExpression(); + astFactory.addASTChild(currentAST, returnAST); + { + { + _loop35: + do { + if (((LA(1) >= LT && LA(1) <= GE))) { + { + switch ( LA(1)) { + case LT: + { + AST tmp23_AST = null; + tmp23_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp23_AST); + match(LT); + a=shiftExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new LessThanExpression(e,a); + } + break; + } + case GT: + { + AST tmp24_AST = null; + tmp24_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp24_AST); + match(GT); + a=shiftExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new GreaterThanExpression(e,a); + } + break; + } + case LE: + { + AST tmp25_AST = null; + tmp25_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp25_AST); + match(LE); + a=shiftExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new LessThanOrEqualExpression(e,a); + } + break; + } + case GE: + { + AST tmp26_AST = null; + tmp26_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp26_AST); + match(GE); + a=shiftExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new GreaterThanOrEqualExpression(e,a); + } + break; + } + default: + { + throw new NoViableAltException(LT(1), getFilename()); + } + } + } + } + else { + break _loop35; + } + + } while (true); + } + } + relationalExpression_AST = (AST)currentAST.root; + returnAST = relationalExpression_AST; + return e; + } + + public final Expression shiftExpression() throws RecognitionException, TokenStreamException { + Expression e = null; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST shiftExpression_AST = null; + Expression a,b; + + e=additiveExpression(); + astFactory.addASTChild(currentAST, returnAST); + { + _loop39: + do { + if (((LA(1) >= SL && LA(1) <= BSR))) { + { + switch ( LA(1)) { + case SL: + { + AST tmp27_AST = null; + tmp27_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp27_AST); + match(SL); + a=additiveExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new ShiftLeftExpression(e,a); + } + break; + } + case SR: + { + AST tmp28_AST = null; + tmp28_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp28_AST); + match(SR); + a=additiveExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new ShiftRightExpression(e,a); + } + break; + } + case BSR: + { + AST tmp29_AST = null; + tmp29_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp29_AST); + match(BSR); + a=additiveExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new BitShiftRightExpression(e,a); + } + break; + } + default: + { + throw new NoViableAltException(LT(1), getFilename()); + } + } + } + } + else { + break _loop39; + } + + } while (true); + } + shiftExpression_AST = (AST)currentAST.root; + returnAST = shiftExpression_AST; + return e; + } + + public final Expression additiveExpression() throws RecognitionException, TokenStreamException { + Expression e = null; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST additiveExpression_AST = null; + Expression a,b; + + e=multiplicativeExpression(); + astFactory.addASTChild(currentAST, returnAST); + { + _loop43: + do { + if ((LA(1)==PLUS||LA(1)==MINUS)) { + { + switch ( LA(1)) { + case PLUS: + { + AST tmp30_AST = null; + tmp30_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp30_AST); + match(PLUS); + a=multiplicativeExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new AdditionExpression(e,a); + } + break; + } + case MINUS: + { + AST tmp31_AST = null; + tmp31_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp31_AST); + match(MINUS); + a=multiplicativeExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new SubtractionExpression(e,a); + } + break; + } + default: + { + throw new NoViableAltException(LT(1), getFilename()); + } + } + } + } + else { + break _loop43; + } + + } while (true); + } + additiveExpression_AST = (AST)currentAST.root; + returnAST = additiveExpression_AST; + return e; + } + + public final Expression multiplicativeExpression() throws RecognitionException, TokenStreamException { + Expression e = null; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST multiplicativeExpression_AST = null; + Expression a,b; + + e=unaryExpression(); + astFactory.addASTChild(currentAST, returnAST); + { + _loop47: + do { + if (((LA(1) >= STAR && LA(1) <= MOD))) { + { + switch ( LA(1)) { + case STAR: + { + AST tmp32_AST = null; + tmp32_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp32_AST); + match(STAR); + a=unaryExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new MultiplicationExpression(e,a); + } + break; + } + case DIV: + { + AST tmp33_AST = null; + tmp33_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp33_AST); + match(DIV); + a=unaryExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new DivisionExpression(e,a); + } + break; + } + case MOD: + { + AST tmp34_AST = null; + tmp34_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp34_AST); + match(MOD); + a=unaryExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new ModuloExpression(e,a); + } + break; + } + default: + { + throw new NoViableAltException(LT(1), getFilename()); + } + } + } + } + else { + break _loop47; + } + + } while (true); + } + multiplicativeExpression_AST = (AST)currentAST.root; + returnAST = multiplicativeExpression_AST; + return e; + } + + public final Expression unaryExpression() throws RecognitionException, TokenStreamException { + Expression e = null; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST unaryExpression_AST = null; + Expression a,b; + + switch ( LA(1)) { + case MINUS: + { + AST tmp35_AST = null; + tmp35_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp35_AST); + match(MINUS); + if ( inputState.guessing==0 ) { + tmp35_AST.setType(UNARY_MINUS); + } + a=unaryExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new NegateExpression(a); + } + unaryExpression_AST = (AST)currentAST.root; + break; + } + case PLUS: + { + AST tmp36_AST = null; + tmp36_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp36_AST); + match(PLUS); + if ( inputState.guessing==0 ) { + tmp36_AST.setType(UNARY_PLUS); + } + e=unaryExpression(); + astFactory.addASTChild(currentAST, returnAST); + unaryExpression_AST = (AST)currentAST.root; + break; + } + case IDENT: + case BNOT: + case LNOT: + case LPAREN: + case LITERAL_true: + case LITERAL_false: + case LITERAL_null: + case NUM_INT: + case CHAR_LITERAL: + case STRING_LITERAL: + case NUM_FLOAT: + case NUM_LONG: + case NUM_DOUBLE: + { + e=unaryExpressionNotPlusMinus(); + astFactory.addASTChild(currentAST, returnAST); + unaryExpression_AST = (AST)currentAST.root; + break; + } + default: + { + throw new NoViableAltException(LT(1), getFilename()); + } + } + returnAST = unaryExpression_AST; + return e; + } + + public final Expression unaryExpressionNotPlusMinus() throws RecognitionException, TokenStreamException { + Expression e = null; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST unaryExpressionNotPlusMinus_AST = null; + Token lpb = null; + AST lpb_AST = null; + Expression a; Type t; + + switch ( LA(1)) { + case BNOT: + { + AST tmp37_AST = null; + tmp37_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp37_AST); + match(BNOT); + a=unaryExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new NotExpression(a); + } + unaryExpressionNotPlusMinus_AST = (AST)currentAST.root; + break; + } + case LNOT: + { + AST tmp38_AST = null; + tmp38_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp38_AST); + match(LNOT); + a=unaryExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new LogicalNotExpression(a); + } + unaryExpressionNotPlusMinus_AST = (AST)currentAST.root; + break; + } + default: + boolean synPredMatched51 = false; + if (((LA(1)==LPAREN) && ((LA(2) >= LITERAL_void && LA(2) <= LITERAL_String)))) { + int _m51 = mark(); + synPredMatched51 = true; + inputState.guessing++; + try { + { + match(LPAREN); + builtInTypeSpec(true); + match(RPAREN); + } + } + catch (RecognitionException pe) { + synPredMatched51 = false; + } + rewind(_m51); inputState.guessing--; - } - if ( synPredMatched51 ) { - lpb = LT(1); - lpb_AST = astFactory.create(lpb); - astFactory.makeASTRoot(currentAST, lpb_AST); - match(LPAREN); - if ( inputState.guessing==0 ) { - lpb_AST.setType(TYPECAST); - } - t=builtInTypeSpec(true); - astFactory.addASTChild(currentAST, returnAST); - match(RPAREN); - a=unaryExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new TypeCastExpression(t,a); - } - unaryExpressionNotPlusMinus_AST = (AST)currentAST.root; - } - else if ((_tokenSet_0.member(LA(1))) && (_tokenSet_1.member(LA(2)))) { - e=primaryExpression(); - astFactory.addASTChild(currentAST, returnAST); - unaryExpressionNotPlusMinus_AST = (AST)currentAST.root; - } - else { - throw new NoViableAltException(LT(1), getFilename()); - } - } - returnAST = unaryExpressionNotPlusMinus_AST; - return e; - } - - public final Expression primaryExpression() throws RecognitionException, TokenStreamException { - Expression e = null; String i = null;; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST primaryExpression_AST = null; - - switch ( LA(1)) { - case NUM_INT: - case CHAR_LITERAL: - case STRING_LITERAL: - case NUM_FLOAT: - case NUM_LONG: - case NUM_DOUBLE: - { - e=constant(); - astFactory.addASTChild(currentAST, returnAST); - primaryExpression_AST = (AST)currentAST.root; - break; - } - case IDENT: - { - i=identifier(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - e=new IdentifierExpression(i); - } - primaryExpression_AST = (AST)currentAST.root; - break; - } - case LITERAL_true: - { - AST tmp40_AST = null; - tmp40_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp40_AST); - match(LITERAL_true); - if ( inputState.guessing==0 ) { - e=new ConstantBoolean(true); - } - primaryExpression_AST = (AST)currentAST.root; - break; - } - case LITERAL_false: - { - AST tmp41_AST = null; - tmp41_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp41_AST); - match(LITERAL_false); - if ( inputState.guessing==0 ) { - e=new ConstantBoolean(false); - } - primaryExpression_AST = (AST)currentAST.root; - break; - } - case LITERAL_null: - { - AST tmp42_AST = null; - tmp42_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp42_AST); - match(LITERAL_null); - if ( inputState.guessing==0 ) { - e=new ConstantNull(); - } - primaryExpression_AST = (AST)currentAST.root; - break; - } - case LPAREN: - { - match(LPAREN); - e=conditionalExpression(); - astFactory.addASTChild(currentAST, returnAST); - match(RPAREN); - primaryExpression_AST = (AST)currentAST.root; - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - returnAST = primaryExpression_AST; - return e; - } - - public final Expression constant() throws RecognitionException, TokenStreamException { - Expression e = null; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST constant_AST = null; - Token l1 = null; - AST l1_AST = null; - Token l2 = null; - AST l2_AST = null; - Token l3 = null; - AST l3_AST = null; - Token l4 = null; - AST l4_AST = null; - Token l5 = null; - AST l5_AST = null; - Token l6 = null; - AST l6_AST = null; - - switch ( LA(1)) { - case NUM_INT: - { - l1 = LT(1); - l1_AST = astFactory.create(l1); - astFactory.addASTChild(currentAST, l1_AST); - match(NUM_INT); - if ( inputState.guessing==0 ) { - e=new ConstantInteger(l1.getText()); - } - constant_AST = (AST)currentAST.root; - break; - } - case CHAR_LITERAL: - { - l2 = LT(1); - l2_AST = astFactory.create(l2); - astFactory.addASTChild(currentAST, l2_AST); - match(CHAR_LITERAL); - if ( inputState.guessing==0 ) { - e=new ConstantChar(l2.getText()); - } - constant_AST = (AST)currentAST.root; - break; - } - case STRING_LITERAL: - { - l3 = LT(1); - l3_AST = astFactory.create(l3); - astFactory.addASTChild(currentAST, l3_AST); - match(STRING_LITERAL); - if ( inputState.guessing==0 ) { - e=new ConstantString(l3.getText().substring(1, l3.getText().length()-1)); - } - constant_AST = (AST)currentAST.root; - break; - } - case NUM_FLOAT: - { - l4 = LT(1); - l4_AST = astFactory.create(l4); - astFactory.addASTChild(currentAST, l4_AST); - match(NUM_FLOAT); - if ( inputState.guessing==0 ) { - e=new ConstantFloat(l4.getText()); - } - constant_AST = (AST)currentAST.root; - break; - } - case NUM_LONG: - { - l5 = LT(1); - l5_AST = astFactory.create(l5); - astFactory.addASTChild(currentAST, l5_AST); - match(NUM_LONG); - if ( inputState.guessing==0 ) { - e=new ConstantLong(l5.getText()); - } - constant_AST = (AST)currentAST.root; - break; - } - case NUM_DOUBLE: - { - l6 = LT(1); - l6_AST = astFactory.create(l6); - astFactory.addASTChild(currentAST, l6_AST); - match(NUM_DOUBLE); - if ( inputState.guessing==0 ) { - e=new ConstantDouble(l6.getText()); - } - constant_AST = (AST)currentAST.root; - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - returnAST = constant_AST; - return e; - } - + } + if ( synPredMatched51 ) { + lpb = LT(1); + lpb_AST = astFactory.create(lpb); + astFactory.makeASTRoot(currentAST, lpb_AST); + match(LPAREN); + if ( inputState.guessing==0 ) { + lpb_AST.setType(TYPECAST); + } + t=builtInTypeSpec(true); + astFactory.addASTChild(currentAST, returnAST); + match(RPAREN); + a=unaryExpression(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new TypeCastExpression(t,a); + } + unaryExpressionNotPlusMinus_AST = (AST)currentAST.root; + } + else if ((_tokenSet_0.member(LA(1))) && (_tokenSet_1.member(LA(2)))) { + e=primaryExpression(); + astFactory.addASTChild(currentAST, returnAST); + unaryExpressionNotPlusMinus_AST = (AST)currentAST.root; + } + else { + throw new NoViableAltException(LT(1), getFilename()); + } + } + returnAST = unaryExpressionNotPlusMinus_AST; + return e; + } + + public final Expression primaryExpression() throws RecognitionException, TokenStreamException { + Expression e = null; String i = null;; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST primaryExpression_AST = null; + + switch ( LA(1)) { + case NUM_INT: + case CHAR_LITERAL: + case STRING_LITERAL: + case NUM_FLOAT: + case NUM_LONG: + case NUM_DOUBLE: + { + e=constant(); + astFactory.addASTChild(currentAST, returnAST); + primaryExpression_AST = (AST)currentAST.root; + break; + } + case IDENT: + { + i=identifier(); + astFactory.addASTChild(currentAST, returnAST); + if ( inputState.guessing==0 ) { + e=new IdentifierExpression(i); + } + primaryExpression_AST = (AST)currentAST.root; + break; + } + case LITERAL_true: + { + AST tmp40_AST = null; + tmp40_AST = astFactory.create(LT(1)); + astFactory.addASTChild(currentAST, tmp40_AST); + match(LITERAL_true); + if ( inputState.guessing==0 ) { + e=new ConstantBoolean(true); + } + primaryExpression_AST = (AST)currentAST.root; + break; + } + case LITERAL_false: + { + AST tmp41_AST = null; + tmp41_AST = astFactory.create(LT(1)); + astFactory.addASTChild(currentAST, tmp41_AST); + match(LITERAL_false); + if ( inputState.guessing==0 ) { + e=new ConstantBoolean(false); + } + primaryExpression_AST = (AST)currentAST.root; + break; + } + case LITERAL_null: + { + AST tmp42_AST = null; + tmp42_AST = astFactory.create(LT(1)); + astFactory.addASTChild(currentAST, tmp42_AST); + match(LITERAL_null); + if ( inputState.guessing==0 ) { + e=new ConstantNull(); + } + primaryExpression_AST = (AST)currentAST.root; + break; + } + case LPAREN: + { + match(LPAREN); + e=conditionalExpression(); + astFactory.addASTChild(currentAST, returnAST); + match(RPAREN); + primaryExpression_AST = (AST)currentAST.root; + break; + } + default: + { + throw new NoViableAltException(LT(1), getFilename()); + } + } + returnAST = primaryExpression_AST; + return e; + } + + public final Expression constant() throws RecognitionException, TokenStreamException { + Expression e = null; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST constant_AST = null; + Token l1 = null; + AST l1_AST = null; + Token l2 = null; + AST l2_AST = null; + Token l3 = null; + AST l3_AST = null; + Token l4 = null; + AST l4_AST = null; + Token l5 = null; + AST l5_AST = null; + Token l6 = null; + AST l6_AST = null; + + switch ( LA(1)) { + case NUM_INT: + { + l1 = LT(1); + l1_AST = astFactory.create(l1); + astFactory.addASTChild(currentAST, l1_AST); + match(NUM_INT); + if ( inputState.guessing==0 ) { + e=new ConstantInteger(l1.getText()); + } + constant_AST = (AST)currentAST.root; + break; + } + case CHAR_LITERAL: + { + l2 = LT(1); + l2_AST = astFactory.create(l2); + astFactory.addASTChild(currentAST, l2_AST); + match(CHAR_LITERAL); + if ( inputState.guessing==0 ) { + e=new ConstantChar(l2.getText()); + } + constant_AST = (AST)currentAST.root; + break; + } + case STRING_LITERAL: + { + l3 = LT(1); + l3_AST = astFactory.create(l3); + astFactory.addASTChild(currentAST, l3_AST); + match(STRING_LITERAL); + if ( inputState.guessing==0 ) { + e=new ConstantString(l3.getText().substring(1, l3.getText().length()-1)); + } + constant_AST = (AST)currentAST.root; + break; + } + case NUM_FLOAT: + { + l4 = LT(1); + l4_AST = astFactory.create(l4); + astFactory.addASTChild(currentAST, l4_AST); + match(NUM_FLOAT); + if ( inputState.guessing==0 ) { + e=new ConstantFloat(l4.getText()); + } + constant_AST = (AST)currentAST.root; + break; + } + case NUM_LONG: + { + l5 = LT(1); + l5_AST = astFactory.create(l5); + astFactory.addASTChild(currentAST, l5_AST); + match(NUM_LONG); + if ( inputState.guessing==0 ) { + e=new ConstantLong(l5.getText()); + } + constant_AST = (AST)currentAST.root; + break; + } + case NUM_DOUBLE: + { + l6 = LT(1); + l6_AST = astFactory.create(l6); + astFactory.addASTChild(currentAST, l6_AST); + match(NUM_DOUBLE); + if ( inputState.guessing==0 ) { + e=new ConstantDouble(l6.getText()); + } + constant_AST = (AST)currentAST.root; + break; + } + default: + { + throw new NoViableAltException(LT(1), getFilename()); + } + } + returnAST = constant_AST; + return e; + } + /** Match a, a.b.c refs */ - public final Expression identPrimary() throws RecognitionException, TokenStreamException { - Expression e = null; - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST identPrimary_AST = null; - - AST tmp45_AST = null; - tmp45_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp45_AST); - match(IDENT); - { - _loop55: - do { - if ((LA(1)==DOT)) { - AST tmp46_AST = null; - tmp46_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp46_AST); - match(DOT); - AST tmp47_AST = null; - tmp47_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp47_AST); - match(IDENT); - } - else { - break _loop55; - } - - } while (true); - } - identPrimary_AST = (AST)currentAST.root; - returnAST = identPrimary_AST; - return e; - } - - - public static final String[] _tokenNames = { - "<0>", - "EOF", - "<2>", - "NULL_TREE_LOOKAHEAD", - "BLOCK", - "MODIFIERS", - "OBJBLOCK", - "SLIST", - "CTOR_DEF", - "METHOD_DEF", - "VARIABLE_DEF", - "INSTANCE_INIT", - "STATIC_INIT", - "TYPE", - "CLASS_DEF", - "INTERFACE_DEF", - "PACKAGE_DEF", - "ARRAY_DECLARATOR", - "EXTENDS_CLAUSE", - "IMPLEMENTS_CLAUSE", - "PARAMETERS", - "PARAMETER_DEF", - "LABELED_STAT", - "TYPECAST", - "INDEX_OP", - "POST_INC", - "POST_DEC", - "METHOD_CALL", - "EXPR", - "ARRAY_INIT", - "IMPORT", - "UNARY_MINUS", - "UNARY_PLUS", - "CASE_GROUP", - "ELIST", - "FOR_INIT", - "FOR_CONDITION", - "FOR_ITERATOR", - "EMPTY_STAT", - "\"final\"", - "\"abstract\"", - "\"strictfp\"", - "SUPER_CTOR_CALL", - "CTOR_CALL", - "LBRACK", - "RBRACK", - "\"void\"", - "\"boolean\"", - "\"byte\"", - "\"char\"", - "\"short\"", - "\"int\"", - "\"float\"", - "\"long\"", - "\"double\"", - "\"String\"", - "IDENT", - "DOT", - "QUESTION", - "COLON", - "LOR", - "LAND", - "BOR", - "BXOR", - "BAND", - "NOT_EQUAL", - "EQUAL", - "LT", - "GT", - "LE", - "GE", - "SL", - "SR", - "BSR", - "PLUS", - "MINUS", - "STAR", - "DIV", - "MOD", - "BNOT", - "LNOT", - "LPAREN", - "RPAREN", - "\"true\"", - "\"false\"", - "\"null\"", - "NUM_INT", - "CHAR_LITERAL", - "STRING_LITERAL", - "NUM_FLOAT", - "NUM_LONG", - "NUM_DOUBLE", - "LCURLY", - "RCURLY", - "COMMA", - "ASSIGN", - "DIV_ASSIGN", - "PLUS_ASSIGN", - "INC", - "MINUS_ASSIGN", - "DEC", - "STAR_ASSIGN", - "MOD_ASSIGN", - "SR_ASSIGN", - "BSR_ASSIGN", - "SL_ASSIGN", - "BXOR_ASSIGN", - "BOR_ASSIGN", - "BAND_ASSIGN", - "SEMI", - "WS", - "SL_COMMIT", - "ML_COMMENT", - "ESC", - "HEX_DIGIT", - "VOCAB", - "EXPONENT", - "FLOAT_SUFFIX" - }; - - protected void buildTokenTypeASTClassMap() { - tokenTypeToASTClassMap=null; - }; - - private static final long[] mk_tokenSet_0() { - long[] data = { 72057594037927936L, 268042240L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_0 = new BitSet(mk_tokenSet_0()); - private static final long[] mk_tokenSet_1() { - long[] data = { -72057594037927934L, 268435455L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_1 = new BitSet(mk_tokenSet_1()); - - } + public final Expression identPrimary() throws RecognitionException, TokenStreamException { + Expression e = null; + + returnAST = null; + ASTPair currentAST = new ASTPair(); + AST identPrimary_AST = null; + + AST tmp45_AST = null; + tmp45_AST = astFactory.create(LT(1)); + astFactory.addASTChild(currentAST, tmp45_AST); + match(IDENT); + { + _loop55: + do { + if ((LA(1)==DOT)) { + AST tmp46_AST = null; + tmp46_AST = astFactory.create(LT(1)); + astFactory.makeASTRoot(currentAST, tmp46_AST); + match(DOT); + AST tmp47_AST = null; + tmp47_AST = astFactory.create(LT(1)); + astFactory.addASTChild(currentAST, tmp47_AST); + match(IDENT); + } + else { + break _loop55; + } + + } while (true); + } + identPrimary_AST = (AST)currentAST.root; + returnAST = identPrimary_AST; + return e; + } + + + public static final String[] _tokenNames = { + "<0>", + "EOF", + "<2>", + "NULL_TREE_LOOKAHEAD", + "BLOCK", + "MODIFIERS", + "OBJBLOCK", + "SLIST", + "CTOR_DEF", + "METHOD_DEF", + "VARIABLE_DEF", + "INSTANCE_INIT", + "STATIC_INIT", + "TYPE", + "CLASS_DEF", + "INTERFACE_DEF", + "PACKAGE_DEF", + "ARRAY_DECLARATOR", + "EXTENDS_CLAUSE", + "IMPLEMENTS_CLAUSE", + "PARAMETERS", + "PARAMETER_DEF", + "LABELED_STAT", + "TYPECAST", + "INDEX_OP", + "POST_INC", + "POST_DEC", + "METHOD_CALL", + "EXPR", + "ARRAY_INIT", + "IMPORT", + "UNARY_MINUS", + "UNARY_PLUS", + "CASE_GROUP", + "ELIST", + "FOR_INIT", + "FOR_CONDITION", + "FOR_ITERATOR", + "EMPTY_STAT", + "\"final\"", + "\"abstract\"", + "\"strictfp\"", + "SUPER_CTOR_CALL", + "CTOR_CALL", + "LBRACK", + "RBRACK", + "\"void\"", + "\"boolean\"", + "\"byte\"", + "\"char\"", + "\"short\"", + "\"int\"", + "\"float\"", + "\"long\"", + "\"double\"", + "\"String\"", + "IDENT", + "DOT", + "QUESTION", + "COLON", + "LOR", + "LAND", + "BOR", + "BXOR", + "BAND", + "NOT_EQUAL", + "EQUAL", + "LT", + "GT", + "LE", + "GE", + "SL", + "SR", + "BSR", + "PLUS", + "MINUS", + "STAR", + "DIV", + "MOD", + "BNOT", + "LNOT", + "LPAREN", + "RPAREN", + "\"true\"", + "\"false\"", + "\"null\"", + "NUM_INT", + "CHAR_LITERAL", + "STRING_LITERAL", + "NUM_FLOAT", + "NUM_LONG", + "NUM_DOUBLE", + "LCURLY", + "RCURLY", + "COMMA", + "ASSIGN", + "DIV_ASSIGN", + "PLUS_ASSIGN", + "INC", + "MINUS_ASSIGN", + "DEC", + "STAR_ASSIGN", + "MOD_ASSIGN", + "SR_ASSIGN", + "BSR_ASSIGN", + "SL_ASSIGN", + "BXOR_ASSIGN", + "BOR_ASSIGN", + "BAND_ASSIGN", + "SEMI", + "WS", + "SL_COMMIT", + "ML_COMMENT", + "ESC", + "HEX_DIGIT", + "VOCAB", + "EXPONENT", + "FLOAT_SUFFIX" + }; + + protected void buildTokenTypeASTClassMap() { + tokenTypeToASTClassMap=null; + }; + + private static final long[] mk_tokenSet_0() { + long[] data = { 72057594037927936L, 268042240L, 0L, 0L}; + return data; + } + public static final BitSet _tokenSet_0 = new BitSet(mk_tokenSet_0()); + private static final long[] mk_tokenSet_1() { + long[] data = { -72057594037927934L, 268435455L, 0L, 0L}; + return data; + } + public static final BitSet _tokenSet_1 = new BitSet(mk_tokenSet_1()); + + } diff --git a/libjava/classpath/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaTokenTypes.java b/libjava/classpath/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaTokenTypes.java index 2962388..9387c93 100644 --- a/libjava/classpath/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaTokenTypes.java +++ b/libjava/classpath/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaTokenTypes.java @@ -1,122 +1,122 @@ // $ANTLR 2.7.7 (20080530): "java-expression.g" -> "JavaLexer.java"$ - - package gnu.classpath.tools.gjdoc.expr; + + package gnu.classpath.tools.gjdoc.expr; public interface JavaTokenTypes { - int EOF = 1; - int NULL_TREE_LOOKAHEAD = 3; - int BLOCK = 4; - int MODIFIERS = 5; - int OBJBLOCK = 6; - int SLIST = 7; - int CTOR_DEF = 8; - int METHOD_DEF = 9; - int VARIABLE_DEF = 10; - int INSTANCE_INIT = 11; - int STATIC_INIT = 12; - int TYPE = 13; - int CLASS_DEF = 14; - int INTERFACE_DEF = 15; - int PACKAGE_DEF = 16; - int ARRAY_DECLARATOR = 17; - int EXTENDS_CLAUSE = 18; - int IMPLEMENTS_CLAUSE = 19; - int PARAMETERS = 20; - int PARAMETER_DEF = 21; - int LABELED_STAT = 22; - int TYPECAST = 23; - int INDEX_OP = 24; - int POST_INC = 25; - int POST_DEC = 26; - int METHOD_CALL = 27; - int EXPR = 28; - int ARRAY_INIT = 29; - int IMPORT = 30; - int UNARY_MINUS = 31; - int UNARY_PLUS = 32; - int CASE_GROUP = 33; - int ELIST = 34; - int FOR_INIT = 35; - int FOR_CONDITION = 36; - int FOR_ITERATOR = 37; - int EMPTY_STAT = 38; - int FINAL = 39; - int ABSTRACT = 40; - int STRICTFP = 41; - int SUPER_CTOR_CALL = 42; - int CTOR_CALL = 43; - int LBRACK = 44; - int RBRACK = 45; - int LITERAL_void = 46; - int LITERAL_boolean = 47; - int LITERAL_byte = 48; - int LITERAL_char = 49; - int LITERAL_short = 50; - int LITERAL_int = 51; - int LITERAL_float = 52; - int LITERAL_long = 53; - int LITERAL_double = 54; - int LITERAL_String = 55; - int IDENT = 56; - int DOT = 57; - int QUESTION = 58; - int COLON = 59; - int LOR = 60; - int LAND = 61; - int BOR = 62; - int BXOR = 63; - int BAND = 64; - int NOT_EQUAL = 65; - int EQUAL = 66; - int LT = 67; - int GT = 68; - int LE = 69; - int GE = 70; - int SL = 71; - int SR = 72; - int BSR = 73; - int PLUS = 74; - int MINUS = 75; - int STAR = 76; - int DIV = 77; - int MOD = 78; - int BNOT = 79; - int LNOT = 80; - int LPAREN = 81; - int RPAREN = 82; - int LITERAL_true = 83; - int LITERAL_false = 84; - int LITERAL_null = 85; - int NUM_INT = 86; - int CHAR_LITERAL = 87; - int STRING_LITERAL = 88; - int NUM_FLOAT = 89; - int NUM_LONG = 90; - int NUM_DOUBLE = 91; - int LCURLY = 92; - int RCURLY = 93; - int COMMA = 94; - int ASSIGN = 95; - int DIV_ASSIGN = 96; - int PLUS_ASSIGN = 97; - int INC = 98; - int MINUS_ASSIGN = 99; - int DEC = 100; - int STAR_ASSIGN = 101; - int MOD_ASSIGN = 102; - int SR_ASSIGN = 103; - int BSR_ASSIGN = 104; - int SL_ASSIGN = 105; - int BXOR_ASSIGN = 106; - int BOR_ASSIGN = 107; - int BAND_ASSIGN = 108; - int SEMI = 109; - int WS = 110; - int SL_COMMIT = 111; - int ML_COMMENT = 112; - int ESC = 113; - int HEX_DIGIT = 114; - int VOCAB = 115; - int EXPONENT = 116; - int FLOAT_SUFFIX = 117; + int EOF = 1; + int NULL_TREE_LOOKAHEAD = 3; + int BLOCK = 4; + int MODIFIERS = 5; + int OBJBLOCK = 6; + int SLIST = 7; + int CTOR_DEF = 8; + int METHOD_DEF = 9; + int VARIABLE_DEF = 10; + int INSTANCE_INIT = 11; + int STATIC_INIT = 12; + int TYPE = 13; + int CLASS_DEF = 14; + int INTERFACE_DEF = 15; + int PACKAGE_DEF = 16; + int ARRAY_DECLARATOR = 17; + int EXTENDS_CLAUSE = 18; + int IMPLEMENTS_CLAUSE = 19; + int PARAMETERS = 20; + int PARAMETER_DEF = 21; + int LABELED_STAT = 22; + int TYPECAST = 23; + int INDEX_OP = 24; + int POST_INC = 25; + int POST_DEC = 26; + int METHOD_CALL = 27; + int EXPR = 28; + int ARRAY_INIT = 29; + int IMPORT = 30; + int UNARY_MINUS = 31; + int UNARY_PLUS = 32; + int CASE_GROUP = 33; + int ELIST = 34; + int FOR_INIT = 35; + int FOR_CONDITION = 36; + int FOR_ITERATOR = 37; + int EMPTY_STAT = 38; + int FINAL = 39; + int ABSTRACT = 40; + int STRICTFP = 41; + int SUPER_CTOR_CALL = 42; + int CTOR_CALL = 43; + int LBRACK = 44; + int RBRACK = 45; + int LITERAL_void = 46; + int LITERAL_boolean = 47; + int LITERAL_byte = 48; + int LITERAL_char = 49; + int LITERAL_short = 50; + int LITERAL_int = 51; + int LITERAL_float = 52; + int LITERAL_long = 53; + int LITERAL_double = 54; + int LITERAL_String = 55; + int IDENT = 56; + int DOT = 57; + int QUESTION = 58; + int COLON = 59; + int LOR = 60; + int LAND = 61; + int BOR = 62; + int BXOR = 63; + int BAND = 64; + int NOT_EQUAL = 65; + int EQUAL = 66; + int LT = 67; + int GT = 68; + int LE = 69; + int GE = 70; + int SL = 71; + int SR = 72; + int BSR = 73; + int PLUS = 74; + int MINUS = 75; + int STAR = 76; + int DIV = 77; + int MOD = 78; + int BNOT = 79; + int LNOT = 80; + int LPAREN = 81; + int RPAREN = 82; + int LITERAL_true = 83; + int LITERAL_false = 84; + int LITERAL_null = 85; + int NUM_INT = 86; + int CHAR_LITERAL = 87; + int STRING_LITERAL = 88; + int NUM_FLOAT = 89; + int NUM_LONG = 90; + int NUM_DOUBLE = 91; + int LCURLY = 92; + int RCURLY = 93; + int COMMA = 94; + int ASSIGN = 95; + int DIV_ASSIGN = 96; + int PLUS_ASSIGN = 97; + int INC = 98; + int MINUS_ASSIGN = 99; + int DEC = 100; + int STAR_ASSIGN = 101; + int MOD_ASSIGN = 102; + int SR_ASSIGN = 103; + int BSR_ASSIGN = 104; + int SL_ASSIGN = 105; + int BXOR_ASSIGN = 106; + int BOR_ASSIGN = 107; + int BAND_ASSIGN = 108; + int SEMI = 109; + int WS = 110; + int SL_COMMIT = 111; + int ML_COMMENT = 112; + int ESC = 113; + int HEX_DIGIT = 114; + int VOCAB = 115; + int EXPONENT = 116; + int FLOAT_SUFFIX = 117; } diff --git a/libjava/classpath/tools/gnu/classpath/tools/FileSystemClassLoader.java b/libjava/classpath/tools/gnu/classpath/tools/FileSystemClassLoader.java index 3a21fe96..a6bd728 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/FileSystemClassLoader.java +++ b/libjava/classpath/tools/gnu/classpath/tools/FileSystemClassLoader.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -134,7 +134,7 @@ public class FileSystemClassLoader extends ClassLoader { } } - private byte[] readFromStream(InputStream in, long size) + private byte[] readFromStream(InputStream in, long size) throws IOException { byte[] result = new byte[(int)size]; @@ -232,7 +232,7 @@ public class FileSystemClassLoader extends ClassLoader { return new URL(urlString); } } - + private StreamInfo getResourceStream(String path) { for (int i = 0; i < pathComponents.length; ++i) { @@ -258,8 +258,8 @@ public class FileSystemClassLoader extends ClassLoader { return null; } - private byte[] loadClassData(String className) - throws ClassNotFoundException + private byte[] loadClassData(String className) + throws ClassNotFoundException { String classFileName = className.replace('.', File.separatorChar) + ".class"; StreamInfo streamInfo = getResourceStream(classFileName); @@ -310,4 +310,3 @@ public class FileSystemClassLoader extends ClassLoader { return null; } } - diff --git a/libjava/classpath/tools/gnu/classpath/tools/IOToolkit.java b/libjava/classpath/tools/gnu/classpath/tools/IOToolkit.java index 8b6b954..e0ee7ba 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/IOToolkit.java +++ b/libjava/classpath/tools/gnu/classpath/tools/IOToolkit.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -90,7 +90,7 @@ public class IOToolkit * @param out the Writer to which to write character data */ public static void copyStream(Reader in, Writer out) - throws IOException + throws IOException { char[] buf = new char[256]; int nread; @@ -114,10 +114,10 @@ public class IOToolkit * subdirectory of the source directory which should be excluded * from recursive copying. */ - public static void copyDirectory(File sourceDir, File targetDir, + public static void copyDirectory(File sourceDir, File targetDir, boolean recursive, - Set excludeDirs) - throws IOException + Set excludeDirs) + throws IOException { if (!targetDir.exists() && !targetDir.mkdirs()) { throw new IOException("Cannot create directory " + targetDir); @@ -126,9 +126,9 @@ public class IOToolkit File[] sourceFiles = sourceDir.listFiles(); for (int i=0; i<sourceFiles.length; ++i) { if (sourceFiles[i].isDirectory()) { - if (recursive && (null == excludeDirs + if (recursive && (null == excludeDirs || !excludeDirs.contains(sourceFiles[i].getName()))) { - File targetSubDir = new File(targetDir, + File targetSubDir = new File(targetDir, sourceFiles[i].getName()); if (targetSubDir.exists() || targetSubDir.mkdir()) { copyDirectory(sourceFiles[i], targetSubDir, recursive, null); @@ -151,8 +151,8 @@ public class IOToolkit * @param sourceFile specifies the file to copy * @param targetFile specifies the file to create */ - public static void copyFile(File sourceFile, File targetFile) - throws IOException + public static void copyFile(File sourceFile, File targetFile) + throws IOException { InputStream in = new FileInputStream(sourceFile); OutputStream out = new FileOutputStream(targetFile); @@ -180,7 +180,7 @@ public class IOToolkit char[] chunk = new char[readBufferSize]; int nread; while ((nread=reader.read(chunk))>=0) { - writer.write(chunk,0,nread); + writer.write(chunk,0,nread); } StringBuffer buffer = writer.getBuffer(); char[] result = new char[buffer.length()]; diff --git a/libjava/classpath/tools/gnu/classpath/tools/MalformedInputEvent.java b/libjava/classpath/tools/gnu/classpath/tools/MalformedInputEvent.java index 9afcf04..951766f 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/MalformedInputEvent.java +++ b/libjava/classpath/tools/gnu/classpath/tools/MalformedInputEvent.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/MalformedInputListener.java b/libjava/classpath/tools/gnu/classpath/tools/MalformedInputListener.java index caa471e..53f806b 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/MalformedInputListener.java +++ b/libjava/classpath/tools/gnu/classpath/tools/MalformedInputListener.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/NotifyingInputStreamReader.java b/libjava/classpath/tools/gnu/classpath/tools/NotifyingInputStreamReader.java index 03121dd..70e19b1 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/NotifyingInputStreamReader.java +++ b/libjava/classpath/tools/gnu/classpath/tools/NotifyingInputStreamReader.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -81,7 +81,7 @@ import java.util.Set; * * @author Julian Scheid */ -public class NotifyingInputStreamReader +public class NotifyingInputStreamReader extends Reader { /** @@ -121,7 +121,7 @@ public class NotifyingInputStreamReader * read(). */ private CharBuffer charBuffer; - + /** * This is the primitive byte array wrapped in byteBuffer for * passing to to InputStream.read(). @@ -299,7 +299,7 @@ public class NotifyingInputStreamReader byteBuffer.get(readBuffer, 0, nRemainingBytes); } byteBuffer.rewind(); - int nread = in.read(readBuffer, nRemainingBytes, + int nread = in.read(readBuffer, nRemainingBytes, readBuffer.length - nRemainingBytes); if (nread < 0) { allInputConsumed = true; @@ -353,7 +353,7 @@ public class NotifyingInputStreamReader listener.malformedInputEncountered(event); } } - + public int read(char[] cbuf, int offset, int length) throws IOException { @@ -364,7 +364,7 @@ public class NotifyingInputStreamReader int nread = 0; while (nread < length && !flushed) { while (charBuffer.hasRemaining() && nread < length) { - int copyLen = Math.min(length - nread, + int copyLen = Math.min(length - nread, charBuffer.remaining()); charBuffer.get(cbuf, offset + nread, copyLen); nread += copyLen; diff --git a/libjava/classpath/tools/gnu/classpath/tools/StringToolkit.java b/libjava/classpath/tools/gnu/classpath/tools/StringToolkit.java index d70ea93..dbb5527 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/StringToolkit.java +++ b/libjava/classpath/tools/gnu/classpath/tools/StringToolkit.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java b/libjava/classpath/tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java index 32ab316..6522a9e 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java +++ b/libjava/classpath/tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java @@ -46,7 +46,7 @@ import java.util.PropertyPermission; class AppletSecurityManager extends SecurityManager { private boolean plugin; - + AppletSecurityManager(boolean plugin) { this.plugin = plugin; @@ -63,19 +63,19 @@ class AppletSecurityManager extends SecurityManager // to be able to execute "addr2line" to get proper stack traces. if (permission instanceof FilePermission) return; - + // FIXME: we need to restrict this. if (permission instanceof SecurityPermission) return; - + // FIXME: is this really needed ? if (permission instanceof PropertyPermission) return; - + // Needed to allow to access AWT event queue. if (permission.getName().equals("accessEventQueue")) return; - + // Needed to create a class loader for each codebase. if (permission.getName().equals("createClassLoader")) return; @@ -83,12 +83,12 @@ class AppletSecurityManager extends SecurityManager // FIXME: we need to allow access to codebase here. if (permission instanceof SocketPermission // for net access - || permission instanceof RuntimePermission) // for checkWrite(FileDescriptor) + || permission instanceof RuntimePermission) // for checkWrite(FileDescriptor) return; if (! plugin && permission.getName().equals("exitVM")) return; - + // Reject all other permissions. throw new SecurityException(); } diff --git a/libjava/classpath/tools/gnu/classpath/tools/appletviewer/AppletTag.java b/libjava/classpath/tools/gnu/classpath/tools/appletviewer/AppletTag.java index 80d5728..d3910a2 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/appletviewer/AppletTag.java +++ b/libjava/classpath/tools/gnu/classpath/tools/appletviewer/AppletTag.java @@ -62,37 +62,37 @@ import java.util.Locale; */ class AppletTag { - + /** * The document base of this applet. */ URL documentbase; - + /** - * name of applet tag. + * name of applet tag. */ String name = ""; - + /** * code of applet tag. */ String code = ""; - + /** * codebase of applet tag. */ String codebase = ""; - + /** * The archives. */ ArrayList archives = new ArrayList(); - + /** * The parameters. */ HashMap parameters = new HashMap(); - + /** * The screen size. */ @@ -105,14 +105,14 @@ class AppletTag { // Do nothing. } - + /** * Constructs an AppletTag and parses the given applet element. - * + * * @param appElement - the Applet element to parse. */ AppletTag(DomHTMLAppletElement appElement) - { + { name = appElement.getName(); parameters.put("name", name); @@ -123,9 +123,9 @@ class AppletTag parameters.put("hspace", Integer.toString(appElement.getHspace())); parameters.put("vspace", Integer.toString(appElement.getVspace())); parameters.put("width", appElement.getWidth()); - + TagParser.parseParams(appElement, this); - + if (code.equals("")) { code = appElement.getCode(); @@ -140,26 +140,26 @@ class AppletTag if (codebase.equals("")) codebase = appElement.getSrc(); } - + if (archives.size() == 0) { String arcs = ""; String arch = appElement.getArchive(); - + if (code.indexOf(".") < 0) arcs = code + ".jar"; - + if (!arch.equals("")) arcs += "," + arch; - + if (!arcs.equals("")) archives = TagParser.parseArchives(arcs, this); } } - + /** * Constructs an AppletTag and parses the given embed element. - * + * * @param embElement - the Embed element to parse. */ AppletTag(DomHTMLEmbedElement embElement) @@ -172,10 +172,10 @@ class AppletTag // should be interpreted as a parameter. For example if "java_code" // and "code" attributes are present in the EMBED tag then the // "code" attribute is interpreted as a parameter. - + name = embElement.getName(); parameters.put("name", name); - + String jobj = embElement.getJavaObject(); if (!jobj.equals("")) parameters.put("java_object", jobj); @@ -193,7 +193,7 @@ class AppletTag parameters.put("type", embElement.getType()); parameters.put("java_type", embElement.getJavaType()); parameters.put("vspace", Integer.toString(embElement.getVspace())); - + TagParser.parseParams(embElement, this); // Must initialize codebase before archives @@ -212,23 +212,23 @@ class AppletTag if (!jcode.equals("")) code = jcode; else - code = embElement.getCode(); + code = embElement.getCode(); } - + if (archives.size() == 0) { String arcs = ""; String jarch = embElement.getJavaArchive(); String arch = embElement.getArchive(); - + if (code.indexOf(".") < 0) arcs = code + ".jar"; - + if (!jarch.equals("")) arcs += "," + jarch; else if (!arch.equals("")) arcs += "," + arch; - + if (!arcs.equals("")) archives = TagParser.parseArchives(arcs, this); } @@ -236,7 +236,7 @@ class AppletTag /** * Constructs an AppletTag and parses the given object element. - * + * * @param objElement - the Object element to parse. */ AppletTag(DomHTMLObjectElement objElement) @@ -294,31 +294,31 @@ class AppletTag if (!jcode.equals("")) code = jcode; else - code = objElement.getCode(); + code = objElement.getCode(); } - + if (archives.size() == 0) { String arcs = ""; String jarch = objElement.getJavaArchive(); String arch = objElement.getArchive(); - + if (code.indexOf(".") < 0) arcs = code + ".jar"; - + if (!jarch.equals("")) arcs += "," + jarch; else if (!arch.equals("")) arcs += "," + arch; - + if (!arcs.equals("")) archives = TagParser.parseArchives(arcs, this); } } - + /** * String representation of the tag. - * + * * @return the string representation. */ public String toString() @@ -327,10 +327,10 @@ class AppletTag + codebase + "\n" + " archive=" + archives + "\n" + " parameters=" + parameters + "\n" + " documentbase=" + documentbase + "\n"); } - + /** * Returns the size of the applet. - * + * * @return the size. */ Dimension getSize() @@ -340,7 +340,7 @@ class AppletTag try { String widthStr = (String) parameters.get("width"); - + if (widthStr != null && ! widthStr.equals("")) { if (widthStr.charAt(widthStr.length() - 1) == '%') @@ -379,50 +379,50 @@ class AppletTag return size; } - + /** * Gets the code base. - * + * * @return the codebase. */ String getCodeBase() { return codebase; } - + /** * Gets the archive list. - * + * * @return the archive list. */ ArrayList getArchives() { return archives; } - + /** * Gets the code. - * + * * @return the code. */ String getCode() { return code; } - + /** * Gets the document base. - * + * * @return the document base. */ URL getDocumentBase() { return documentbase; } - + /** * Gets the specified parameter. - * + * * @param name - the specified parameter. * @return the parameter. */ @@ -430,17 +430,17 @@ class AppletTag { return (String) parameters.get(name.toLowerCase()); } - + /** * Prepends the base to the codebase. - * + * * @return the new URL. */ URL prependCodeBase(String base) throws MalformedURLException { if (documentbase == null) documentbase = TagParser.db; - + URL fullcodebase; //If no codebase was specified, default to documentbase. @@ -470,7 +470,7 @@ class AppletTag { // codebase was specified. URL codebaseURL = new URL(documentbase, codebase); - + if ("file".equals(codebaseURL.getProtocol())) { if (new File(codebaseURL.getFile()).isDirectory() && !codebase.endsWith(File.separator)) @@ -483,7 +483,7 @@ class AppletTag else fullcodebase = new URL(documentbase, codebase + File.separator); } - + return new URL(fullcodebase, base); } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java b/libjava/classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java index 7e118e9..ebdd359 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java +++ b/libjava/classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java @@ -90,11 +90,11 @@ abstract class CommonAppletContext while (i.hasNext()) { - a = (Applet) i.next(); + a = (Applet) i.next(); - appletName = a.getParameter("name"); - if (a != null && appletName != null && appletName.equals(name)) - return a; + appletName = a.getParameter("name"); + if (a != null && appletName != null && appletName.equals(name)) + return a; } return null; } diff --git a/libjava/classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java b/libjava/classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java index 24b305a..bf14db5 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java +++ b/libjava/classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java @@ -61,7 +61,7 @@ class CommonAppletStub //////////////////////////////// ////// AppletStub Methods ////// //////////////////////////////// - + /** * Tests whether or not this applet is currently active. An applet * becomes active just before the browser invokes start (), and @@ -94,7 +94,7 @@ class CommonAppletStub { try { - return tag.prependCodeBase(""); + return tag.prependCodeBase(""); } catch (MalformedURLException e) { diff --git a/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java b/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java index 4eff8f5..f6e02db 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java +++ b/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java @@ -60,7 +60,7 @@ import java.util.List; class Main { private static HashMap classLoaderCache = new HashMap(); - + private static ClassLoader getClassLoader(URL codebase, ArrayList archives) { // Should load class loader each time. It is possible that there @@ -70,7 +70,7 @@ class Main return loader; } - + private static String code = null; private static String codebase = null; private static String archive = null; @@ -254,13 +254,13 @@ class Main if (pluginMode) { // Plugin will warn user about missing security manager. - InputStream in; - OutputStream out; + InputStream in; + OutputStream out; in = new FileInputStream(pipeInName); out = new FileOutputStream(pipeOutName); - PluginAppletViewer.start(in, out); + PluginAppletViewer.start(in, out); } else { diff --git a/libjava/classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java b/libjava/classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java index d77aad3..da8399b 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java +++ b/libjava/classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java @@ -82,55 +82,55 @@ class PluginAppletViewer while (true) { - if (message.startsWith("instance")) - { - // Read applet instance identifier. - String key = message.substring(9); - - if (appletWindows.get(key) == null) - appletWindows.put(key, new PluginAppletWindow()); - - currentWindow = (PluginAppletWindow) appletWindows.get(key); - } - else if (message.startsWith("tag")) - { - int pos = message.indexOf(' ', 4); - String documentbase = message.substring(4, pos); + if (message.startsWith("instance")) + { + // Read applet instance identifier. + String key = message.substring(9); + + if (appletWindows.get(key) == null) + appletWindows.put(key, new PluginAppletWindow()); + + currentWindow = (PluginAppletWindow) appletWindows.get(key); + } + else if (message.startsWith("tag")) + { + int pos = message.indexOf(' ', 4); + String documentbase = message.substring(4, pos); String tag = message.substring(pos + 1); currentWindow.setParser(tag, documentbase); - } - else if (message.startsWith("handle")) - { - long handle = Long.parseLong(message.substring(7)); - - currentWindow.setHandle(handle); - } - else if (message.startsWith("width")) - { - int width = Integer.parseInt(message.substring(6)); - - currentWindow.setSize(width, currentWindow.getHeight()); - } - else if (message.startsWith("height")) - { - int height = Integer.parseInt(message.substring(7)); - - currentWindow.setSize(currentWindow.getWidth(), height); - } - else if (message.startsWith("destroy")) - { - appletWindows.remove(currentWindow); - currentWindow.dispose(); - } - - // Read next message. - message = read(); + } + else if (message.startsWith("handle")) + { + long handle = Long.parseLong(message.substring(7)); + + currentWindow.setHandle(handle); + } + else if (message.startsWith("width")) + { + int width = Integer.parseInt(message.substring(6)); + + currentWindow.setSize(width, currentWindow.getHeight()); + } + else if (message.startsWith("height")) + { + int height = Integer.parseInt(message.substring(7)); + + currentWindow.setSize(currentWindow.getWidth(), height); + } + else if (message.startsWith("destroy")) + { + appletWindows.remove(currentWindow); + currentWindow.dispose(); + } + + // Read next message. + message = read(); } } /** * Write string to plugin. - * + * * @param message the message to write * * @exception IOException if an error occurs @@ -163,14 +163,14 @@ class PluginAppletViewer if (message == null || message.equals("shutdown")) { - // Close input/output channels to plugin. - pluginInputStream.close(); - pluginOutputStream.close(); + // Close input/output channels to plugin. + pluginInputStream.close(); + pluginOutputStream.close(); - System.err.println + System.err.println (Messages.getString("PluginAppletViewer.AppletViewerExiting")); - System.exit(0); + System.exit(0); } return message; diff --git a/libjava/classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java b/libjava/classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java index bcf5780..bc44a73 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java +++ b/libjava/classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java @@ -68,12 +68,12 @@ class PluginAppletWindow MouseMotionListener, InputMethodListener, HierarchyListener, HierarchyBoundsListener { - + // This class implements various listeners because the author of an applet - // may attach listeners to it, unaware of the applet's parent (this class). + // may attach listeners to it, unaware of the applet's parent (this class). // So, we must pass all listener events on this plugin applet window to the // actual applet. - + private static HashMap contexts = new HashMap(); private Applet applet; private TagParser parser; @@ -89,15 +89,15 @@ class PluginAppletWindow addInputMethodListener(this); addHierarchyListener(this); addHierarchyBoundsListener(this); - } - + } + /////////////////////////////////// /// ContainerListener Methods ///// /////////////////////////////////// - + /** * This method is called when a component is added to the container. - * + * * @param event the <code>ContainerEvent</code> indicating component * addition */ @@ -113,7 +113,7 @@ class PluginAppletWindow /** * This method is called when a component is removed from the container. - * + * * @param event the <code>ContainerEvent</code> indicating component removal */ public void componentRemoved(ContainerEvent event) @@ -125,11 +125,11 @@ class PluginAppletWindow l[i].componentRemoved(event); } } - + /////////////////////////////////// /// ComponentListener Methods ///// /////////////////////////////////// - + /** * This method is called when the component is resized. * @@ -189,11 +189,11 @@ class PluginAppletWindow l[i].componentHidden(event); } } - + /////////////////////////////////// ////// MouseListener Methods ////// /////////////////////////////////// - + /** * This method is called when the mouse is clicked (pressed and released * in short succession) on a component. @@ -255,7 +255,7 @@ class PluginAppletWindow } } - /** + /** * This method is called when the mouse exits a component. * * @param event the <code>MouseEvent</code> for the exit @@ -269,11 +269,11 @@ class PluginAppletWindow l[i].mouseExited(event); } } - + /////////////////////////////////// /// MouseMotionListener Methods /// /////////////////////////////////// - + /** * This method is called when the mouse is moved over a component * while a button has been pressed. @@ -305,11 +305,11 @@ class PluginAppletWindow l[i].mouseMoved(event); } } - + /////////////////////////////////// /// InputMethodListener Methods /// /////////////////////////////////// - + /** * This method is called when the text is changed. * @@ -339,11 +339,11 @@ class PluginAppletWindow l[i].caretPositionChanged(event); } } - + /////////////////////////////////// //// HierarchyListener Methods //// /////////////////////////////////// - + /** * Called when the hierarchy of this component changes. Use * <code>getChangeFlags()</code> on the event to see what exactly changed. @@ -359,11 +359,11 @@ class PluginAppletWindow l[i].hierarchyChanged(event); } } - + ///////////////////////////////////////// //// HierarchyBoundsListener Methods //// ///////////////////////////////////////// - + /** * Called when an ancestor component of the source is moved. * @@ -393,7 +393,7 @@ class PluginAppletWindow l[i].ancestorResized(e); } } - + void setParser(String tag, String documentbase) throws MalformedURLException, IOException { URL documentbaseURL = TagParser.getLocationToURL(documentbase); @@ -407,7 +407,7 @@ class PluginAppletWindow /** * Set the native handle of the window system to embed the window in. - * + * * @param handle the native handle. */ public void setHandle(long handle) @@ -435,8 +435,8 @@ class PluginAppletWindow Dimension size = getSize(); if (size.width == 0 || size.height == 0) size = tag.getSize(); - applet.setSize(size); - + applet.setSize(size); + // Initialize the applet before showing this window so that // the applet doesn't receive events before it has been // initialized. diff --git a/libjava/classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java b/libjava/classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java index cc3a65c..a59b03b 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java +++ b/libjava/classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java @@ -83,7 +83,7 @@ class StandaloneAppletViewer extends Main (Messages.getString("StandaloneAppletViewer.CodeOptionError")); System.exit(1); } - + String tagString = "<EMBED" + " CODE=\"" + code + "\"" @@ -102,7 +102,7 @@ class StandaloneAppletViewer extends Main "<PARAM NAME=" + paramTokenizer.nextToken().trim() + " VALUE=" + paramTokenizer.nextToken().trim() + ">"; } - + tagString += "</EMBED>"; StringReader reader = new StringReader(tagString); @@ -139,7 +139,7 @@ class StandaloneAppletViewer extends Main for (int i = 0; i < appletTags.size(); i++) { AppletTag tag = (AppletTag) appletTags.get(i); - + // Create a StandaloneAppletWindow and add it to the // appletWindows list. new StandaloneAppletWindow(tag, appletWindows); diff --git a/libjava/classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java b/libjava/classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java index b92dc50..64d3007 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java +++ b/libjava/classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java @@ -72,12 +72,12 @@ class StandaloneAppletWindow MouseListener, MouseMotionListener, InputMethodListener, HierarchyListener, HierarchyBoundsListener { - + // This class implements various listeners because the author of an applet - // may attach listeners to it, unaware of the applet's parent (this class). + // may attach listeners to it, unaware of the applet's parent (this class). // So, we must pass all listener events on this plugin applet window to the // actual applet. - + private static int testWindowCount; private static HashMap contexts = new HashMap(); private Applet applet; @@ -112,14 +112,14 @@ class StandaloneAppletWindow addWindowListener(new WindowAdapter() { - public void windowClosing(WindowEvent event) - { - applet.stop(); - StandaloneAppletWindow.this.hide(); - System.exit(0); - } + public void windowClosing(WindowEvent event) + { + applet.stop(); + StandaloneAppletWindow.this.hide(); + System.exit(0); + } }); - + addContainerListener(this); addComponentListener(this); addMouseListener(this); @@ -127,7 +127,7 @@ class StandaloneAppletWindow addInputMethodListener(this); addHierarchyListener(this); addHierarchyBoundsListener(this); - + restartItem = new MenuItem(Messages.getString("StandaloneAppletWindow.MenuRestart")); restartItem.setEnabled(false); restartItem.addActionListener(this); @@ -240,11 +240,11 @@ class StandaloneAppletWindow } else if (e.getSource() == closeItem) { - // Close current window. - closeWindow(); - - // Exit if there are other windows left. - if (StandaloneAppletViewer.appletWindows.isEmpty()) + // Close current window. + closeWindow(); + + // Exit if there are other windows left. + if (StandaloneAppletViewer.appletWindows.isEmpty()) System.exit(0); } } @@ -253,15 +253,15 @@ class StandaloneAppletWindow { this.status.setText(status); } - + /////////////////////////////////// /// ContainerListener Methods ///// /////////////////////////////////// - + /** * This method is called when a component is added to the container. - * + * * @param event the <code>ContainerEvent</code> indicating component * addition */ @@ -277,7 +277,7 @@ class StandaloneAppletWindow /** * This method is called when a component is removed from the container. - * + * * @param event the <code>ContainerEvent</code> indicating component removal */ public void componentRemoved(ContainerEvent event) @@ -289,11 +289,11 @@ class StandaloneAppletWindow l[i].componentRemoved(event); } } - + /////////////////////////////////// /// ComponentListener Methods ///// /////////////////////////////////// - + /** * This method is called when the component is resized. * @@ -353,11 +353,11 @@ class StandaloneAppletWindow l[i].componentHidden(event); } } - + /////////////////////////////////// ////// MouseListener Methods ////// /////////////////////////////////// - + /** * This method is called when the mouse is clicked (pressed and released * in short succession) on a component. @@ -419,7 +419,7 @@ class StandaloneAppletWindow } } - /** + /** * This method is called when the mouse exits a component. * * @param event the <code>MouseEvent</code> for the exit @@ -433,11 +433,11 @@ class StandaloneAppletWindow l[i].mouseExited(event); } } - + /////////////////////////////////// /// MouseMotionListener Methods /// /////////////////////////////////// - + /** * This method is called when the mouse is moved over a component * while a button has been pressed. @@ -469,11 +469,11 @@ class StandaloneAppletWindow l[i].mouseMoved(event); } } - + /////////////////////////////////// /// InputMethodListener Methods /// /////////////////////////////////// - + /** * This method is called when the text is changed. * @@ -503,11 +503,11 @@ class StandaloneAppletWindow l[i].caretPositionChanged(event); } } - + /////////////////////////////////// //// HierarchyListener Methods //// /////////////////////////////////// - + /** * Called when the hierarchy of this component changes. Use * <code>getChangeFlags()</code> on the event to see what exactly changed. @@ -523,11 +523,11 @@ class StandaloneAppletWindow l[i].hierarchyChanged(event); } } - + ///////////////////////////////////////// //// HierarchyBoundsListener Methods //// ///////////////////////////////////////// - + /** * Called when an ancestor component of the source is moved. * diff --git a/libjava/classpath/tools/gnu/classpath/tools/appletviewer/TagParser.java b/libjava/classpath/tools/gnu/classpath/tools/appletviewer/TagParser.java index c1e5cac..711b26e 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/appletviewer/TagParser.java +++ b/libjava/classpath/tools/gnu/classpath/tools/appletviewer/TagParser.java @@ -64,27 +64,27 @@ import org.w3c.dom.NodeList; public class TagParser { - + /** * Parsed document. */ DomHTMLDocument document; - + /** * The document base of this applet. */ URL documentbase; - + /** * The document base of all the applets. */ static URL db; - - /** + + /** * The tags in the document. */ Vector tags = new Vector(); - + /** * Default constructor. */ @@ -95,7 +95,7 @@ public class TagParser /** * Constructs and parses document using the given location. - * + * * @param location - location of applet */ TagParser(String location) throws IOException @@ -108,7 +108,7 @@ public class TagParser /** * Constructs and parses document. - * + * * @param in - Reader to parse document from. * @param documentBase - the URL of the applet * @throws IOException - is thrown if any IO error occurs. @@ -119,19 +119,19 @@ public class TagParser db = documentbase; document = (DomHTMLDocument) (new DomHTMLParser(HTML_401F.getInstance()).parseDocument(in)); } - + /** * Parses all applet tags in document. - * + * * @return a list of AppletTag objects representing the applet tags * in document */ ArrayList parseAppletTags() - { + { ArrayList allTags = new ArrayList(); if (document == null) return null; - + recurseDocument(document.getChildNodes()); int sz = tags.size(); @@ -151,13 +151,13 @@ public class TagParser a.documentbase = documentbase; allTags.add(a); } - + return allTags; } - + /** * Recurses the document in search for the appropriate tags. - * + * * @param list - the Node list. */ private void recurseDocument(NodeList list) @@ -167,17 +167,17 @@ public class TagParser for (int i = 0; i < length; i++) { DomNode curr = (DomNode) list.item(i); - if ((curr instanceof DomHTMLEmbedElement) || + if ((curr instanceof DomHTMLEmbedElement) || (curr instanceof DomHTMLAppletElement) || (curr instanceof DomHTMLObjectElement)) tags.add(curr); recurseDocument(curr.getChildNodes()); } } - + /** * Parses the param elements for a given node. - * + * * @param node - the node element to parse. */ static void parseParams(DomNode node, AppletTag t) @@ -187,7 +187,7 @@ public class TagParser boolean jc = false; NodeList l = node.getChildNodes(); int size = l.getLength(); - + if (size != 0) for (int i = 0; i < size; i++) { @@ -197,7 +197,7 @@ public class TagParser DomHTMLParamElement curr = (DomHTMLParamElement) c; String key = curr.getName(); String val = curr.getValue(); - + if (key.equals("java_code")) { jc = true; @@ -234,10 +234,10 @@ public class TagParser t.parameters.put(key.toLowerCase(), val); } } - + /** * This method does the same thing as the g_strcompress function in glib. - * + * * @param value * @return value in its original one-byte equivalence. */ @@ -288,10 +288,10 @@ public class TagParser } return unescVal; } - + /** * Parses the archive string and returns a list. - * + * * @param arcs the list of archives (comma-separated) in a String. */ static ArrayList parseArchives(String arcs, AppletTag t) @@ -311,10 +311,10 @@ public class TagParser } return null; } - + /** * Gets the location to the URL, given a location. - * + * * @param location - the given location. * @return the URL. */ @@ -323,10 +323,10 @@ public class TagParser URL tmpDocumentBase = null; try - { + { // Try parsing location as a URL. tmpDocumentBase = new URL(location); - + // If no file was specified in the URL the assume the user // meant the root page. String f = tmpDocumentBase.getFile(); @@ -346,11 +346,11 @@ public class TagParser + location).getCanonicalPath(); tmpDocumentBase = new URL("file", "", path); - + if (new File(tmpDocumentBase.getFile()).isDirectory()) tmpDocumentBase = new URL("file", "", path + File.separator); } - + return tmpDocumentBase; } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/common/CallbackUtil.java b/libjava/classpath/tools/gnu/classpath/tools/common/CallbackUtil.java index 398bb6c..838d740 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/common/CallbackUtil.java +++ b/libjava/classpath/tools/gnu/classpath/tools/common/CallbackUtil.java @@ -66,7 +66,7 @@ public abstract class CallbackUtil * <p> * If no <i>Security Provider</i> for this type of callback was found, this * method returns the default GNU implementation. - * + * * @return a console {@link CallbackHandler} implementation. */ public static final CallbackHandler getConsoleHandler() @@ -89,7 +89,7 @@ public abstract class CallbackUtil * the handler from those providers. As soon as one provider returns a non- * null instance of the callback handler, the search stops and that instance * is returned. - * + * * @return a {@link CallbackHandler} of the designated type, or * <code>null</code> if no provider was found for theis type of * callback. diff --git a/libjava/classpath/tools/gnu/classpath/tools/common/ClasspathToolParser.java b/libjava/classpath/tools/gnu/classpath/tools/common/ClasspathToolParser.java index b2e5087..d740646 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/common/ClasspathToolParser.java +++ b/libjava/classpath/tools/gnu/classpath/tools/common/ClasspathToolParser.java @@ -63,7 +63,7 @@ public class ClasspathToolParser private static String getVersionString(String programName) { String fmt = (Messages.getString("ClasspathToolParser.VersionFormat")); //$NON-NLS-1$ - return MessageFormat.format(fmt, + return MessageFormat.format(fmt, new Object[] { programName, @@ -93,15 +93,15 @@ public class ClasspathToolParser } public void parse(String[] inArgs, FileArgumentCallback files, - boolean handleFileLists) + boolean handleFileLists) { FileArgumentCallback cb; - + if (handleFileLists) cb = new AtFileArgumentCallback(files); else cb = files; - + parse(inArgs, cb); } @@ -111,22 +111,22 @@ public class ClasspathToolParser final FileArgumentCallback cb = new FileArgumentCallback() { - public void notifyFile(String fileArgument) - { - fileResult.add(fileArgument); - } + public void notifyFile(String fileArgument) + { + fileResult.add(fileArgument); + } }; - + if (handleFileLists) parse(inArgs, new AtFileArgumentCallback(cb)); else parse(inArgs, cb); - + return fileResult.toArray(new String[fileResult.size()]); } - /** + /** * Simple function that takes the given {@link Reader}, treats it like * a textfile and reads all the whitespace separated entries from it * and adds them to the @{link FileArgumentCallback} instance. @@ -136,7 +136,7 @@ public class ClasspathToolParser * @throws OptionException if an error occurs reading the list. */ public void parseFileList(Reader reader, FileArgumentCallback cb) - throws OptionException + throws OptionException { BufferedReader breader = new BufferedReader(reader); String line = null; @@ -145,17 +145,17 @@ public class ClasspathToolParser { while ((line = breader.readLine()) != null) parseLine(line, cb); - + reader.close(); } catch (IOException ioe) { throw new OptionException("I/O error while reading a file list", ioe); } - + } - - /** + + /** * Parses whitespace separated file entries. * * Note: This is not coping with whitespace in files or quoting. @@ -172,31 +172,31 @@ public class ClasspathToolParser int start = 0; int end = 0; - // While not reached end of line ... + // While not reached end of line ... while (start < length) { - // Search for first non-whitespace character for the start of a word. + // Search for first non-whitespace character for the start of a word. while (Character.isWhitespace(line.codePointAt(start))) { start++; - + if (start == length) return; } - + end = start + 1; - - // Search for first whitespace character for the end of a word. + + // Search for first whitespace character for the end of a word. while (end < length && !Character.isWhitespace(line.codePointAt(end))) end++; - + cb.notifyFile(line.substring(start, end)); - + start = end + 1; } } - /** + /** * Implementation of {@link FileArgumentCallback} that handles * file arguments in {@link #notifyFile} starting with a <code>@</code> * through {@link ClasspathToolParser#parseFileList}. @@ -204,7 +204,7 @@ public class ClasspathToolParser class AtFileArgumentCallback extends FileArgumentCallback { FileArgumentCallback cb; - + AtFileArgumentCallback(FileArgumentCallback cb) { this.cb = cb; @@ -215,25 +215,25 @@ public class ClasspathToolParser throws OptionException { if (fileArgument.codePointAt(0) == '@') - { - FileReader fr = null; - - try - { - fr = new FileReader(fileArgument.substring(1)); - } - catch (FileNotFoundException fnfe) - { - throw new OptionException("File not found: " + fileArgument.substring(1), - fnfe); - } - - ClasspathToolParser.this.parseFileList(fr, cb); - } + { + FileReader fr = null; + + try + { + fr = new FileReader(fileArgument.substring(1)); + } + catch (FileNotFoundException fnfe) + { + throw new OptionException("File not found: " + fileArgument.substring(1), + fnfe); + } + + ClasspathToolParser.this.parseFileList(fr, cb); + } else - cb.notifyFile(fileArgument); + cb.notifyFile(fileArgument); } - + } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/common/Persistent.java b/libjava/classpath/tools/gnu/classpath/tools/common/Persistent.java index 5a2b48a..5c85c90 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/common/Persistent.java +++ b/libjava/classpath/tools/gnu/classpath/tools/common/Persistent.java @@ -43,7 +43,7 @@ import java.util.TimerTask; /** * The static fields, shared by the multiple classes, implementing the * persistent work. - * + * * @author Audrius Meskauskas (audriusa@bioinformatics.org) */ public interface Persistent @@ -58,7 +58,7 @@ public interface Persistent System.exit(0); } } - + /** * The timer, sheduling all disk database update events, shared by all * instances. @@ -78,10 +78,10 @@ public interface Persistent * be stored to the disk. */ static long ALWAYS_UPDATE = 300000; - + /** * Write the database content to the disk. */ - void writeContent(); - + void writeContent(); + } diff --git a/libjava/classpath/tools/gnu/classpath/tools/common/ProviderUtil.java b/libjava/classpath/tools/gnu/classpath/tools/common/ProviderUtil.java index 8d04344..bc6d931 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/common/ProviderUtil.java +++ b/libjava/classpath/tools/gnu/classpath/tools/common/ProviderUtil.java @@ -64,7 +64,7 @@ public abstract class ProviderUtil * <p> * <b>IMPORTANT</b>: This method overrides the security check usually carried * out by the security manager when inserting a new {@link Provider}. - * + * * @param providerClass a fully qualified, non-null, class name of a * <i>Security Provider</i> to add if it is not already installed. * @return an instance of {@link SecurityProviderInfo} referencing the @@ -110,7 +110,7 @@ public abstract class ProviderUtil * <p> * <b>IMPORTANT</b>: This method overrides the security check usually carried * out by the security manager when inserting a new {@link Provider}. - * + * * @param provider a non-null <i>Security Provider</i> to add if it is not * already installed. * @return the new position of the designated provider in the list if it was @@ -142,7 +142,7 @@ public abstract class ProviderUtil * <p> * <b>IMPORTANT</b>: This method overrides the security check usually carried * out by the security manager when removing a {@link Provider}. - * + * * @param providerName the name of the {@link Provider} to remove. */ public static final void removeProvider(final String providerName) diff --git a/libjava/classpath/tools/gnu/classpath/tools/common/SecurityProviderInfo.java b/libjava/classpath/tools/gnu/classpath/tools/common/SecurityProviderInfo.java index e12ee4f..44faebf 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/common/SecurityProviderInfo.java +++ b/libjava/classpath/tools/gnu/classpath/tools/common/SecurityProviderInfo.java @@ -56,7 +56,7 @@ public class SecurityProviderInfo * <p> * Used by {@link ProviderUtil} to indicate the result of adding a provider, * given its class name. - * + * * @param provider the possibly <code>null</code> {@link Provider}. * @param position the position of <code>provider</code> in the list of * <i>Security Providers</i> in the underlying JVM runtime. <code>-1</code> diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/AbstractDoclet.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/AbstractDoclet.java index 8ac9add..4369782 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/AbstractDoclet.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/AbstractDoclet.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -141,7 +141,7 @@ public abstract class AbstractDoclet protected abstract void run() throws DocletConfigurationException, IOException; - public static boolean start(RootDoc rootDoc) + public static boolean start(RootDoc rootDoc) { try { @@ -189,7 +189,7 @@ public abstract class AbstractDoclet // Process command line options for (int i=0, ilim=rootDoc.options().length; i<ilim; ++i) { - + String[] optionArr = rootDoc.options()[i]; String _optionTag = optionArr[0]; @@ -209,7 +209,7 @@ public abstract class AbstractDoclet if (!getTargetDirectory().exists()) { if (!getTargetDirectory().mkdirs()) { - throw new DocletConfigurationException("Cannot create target directory " + throw new DocletConfigurationException("Cannot create target directory " + getTargetDirectory()); } } @@ -222,44 +222,44 @@ public abstract class AbstractDoclet return optionTargetDirectory.getValue(); } - private DocletOptionFile optionTargetDirectory = - new DocletOptionFile("-d", + private DocletOptionFile optionTargetDirectory = + new DocletOptionFile("-d", new File(System.getProperty("user.dir"))); - private DocletOptionFlag optionNoEmailWarn = + private DocletOptionFlag optionNoEmailWarn = new DocletOptionFlag("-noemailwarn"); - private DocletOptionFlag optionAuthor = + private DocletOptionFlag optionAuthor = new DocletOptionFlag("-author"); - private DocletOptionFlag optionVersion = + private DocletOptionFlag optionVersion = new DocletOptionFlag("-version"); - private DocletOptionFlag optionNoSince = + private DocletOptionFlag optionNoSince = new DocletOptionFlag("-nosince"); - private DocletOptionFlag optionNoDeprecated = + private DocletOptionFlag optionNoDeprecated = new DocletOptionFlag("-nodeprecated"); - private DocletOptionGroup optionGroup = + private DocletOptionGroup optionGroup = new DocletOptionGroup("-group"); - private DocletOptionPackageWildcard optionNoQualifier = + private DocletOptionPackageWildcard optionNoQualifier = new DocletOptionPackageWildcard("-noqualifier", true); - private DocletOptionFlag optionDocFilesSubDirs = + private DocletOptionFlag optionDocFilesSubDirs = new DocletOptionFlag("-docfilessubdirs"); - private DocletOptionColonSeparated optionExcludeDocFilesSubDir = + private DocletOptionColonSeparated optionExcludeDocFilesSubDir = new DocletOptionColonSeparated("-excludedocfilessubdir"); - private DocletOptionTagletPath optionTagletPath = + private DocletOptionTagletPath optionTagletPath = new DocletOptionTagletPath("-tagletpath"); - private DocletOptionTag optionTaglet = + private DocletOptionTag optionTaglet = new DocletOptionTag("-taglet"); - private DocletOptionTag optionTag = + private DocletOptionTag optionTag = new DocletOptionTag("-tag"); private class DocletOptionTaglet @@ -269,7 +269,7 @@ public abstract class AbstractDoclet { super(optionName); } - + public int getLength() { return 2; @@ -340,14 +340,14 @@ public abstract class AbstractDoclet } } - private class DocletOptionGroup + private class DocletOptionGroup extends DocletOption { DocletOptionGroup(String optionName) { super(optionName); } - + public int getLength() { return 3; @@ -363,7 +363,7 @@ public abstract class AbstractDoclet String packageWildcard = tokenizer.nextToken(); packageMatcher.addWildcard(packageWildcard); } - + SortedSet groupPackages = packageMatcher.filter(rootDoc.specifiedPackages()); packageGroups.add(new PackageGroup(optionArr[1], groupPackages)); @@ -384,7 +384,7 @@ public abstract class AbstractDoclet { super(optionName); } - + public int getLength() { return 2; @@ -404,7 +404,7 @@ public abstract class AbstractDoclet { super(optionName); } - + public int getLength() { return 2; @@ -426,7 +426,7 @@ public abstract class AbstractDoclet } else { mentionedTags.add(taglet); - + // re-append taglet tagletMap.remove(tagSpec); tagletMap.put(tagSpec, taglet); @@ -456,11 +456,11 @@ public abstract class AbstractDoclet boolean tagScopeMethods = false; boolean tagScopeFields = false; boolean tagDisabled = false; - + tag_option_loop: for (int n=ndx1+1; n<ndx2; ++n) { switch (tagSpec.charAt(n)) { - case 'X': + case 'X': tagDisabled = true; break; case 'a': @@ -494,7 +494,7 @@ public abstract class AbstractDoclet break tag_option_loop; } } - + if (validTagSpec) { GenericTaglet taglet = new GenericTaglet(tagName, @@ -518,7 +518,7 @@ public abstract class AbstractDoclet } } - private DocletOption[] commonOptions = + private DocletOption[] commonOptions = { optionTargetDirectory, optionAuthor, @@ -553,7 +553,7 @@ public abstract class AbstractDoclet private boolean optionsRegistered = false; - private void registerOption(DocletOption option) + private void registerOption(DocletOption option) { nameToOptionMap.put(option.getName(), option); } @@ -618,14 +618,14 @@ public abstract class AbstractDoclet return name; } } - + private Map categorizedIndex; protected Map getCategorizedIndex() { if (null == categorizedIndex) { categorizedIndex = new LinkedHashMap(); - + Map indexMap = getIndexByName(); LinkedList keys = new LinkedList(); //indexMap.keySet().size()); keys.addAll(indexMap.keySet()); @@ -658,7 +658,7 @@ public abstract class AbstractDoclet // Create index // Collect index - + indexByName = new HashMap(); //TreeMap(); // Add packages to index @@ -707,7 +707,7 @@ public abstract class AbstractDoclet tagletMap.put(taglet.getName(), taglet); } - protected void printTaglets(Tag[] tags, TagletContext context, TagletPrinter output, boolean inline) + protected void printTaglets(Tag[] tags, TagletContext context, TagletPrinter output, boolean inline) { for (Iterator it = tagletMap.keySet().iterator(); it.hasNext(); ) { String tagName = (String)it.next(); @@ -715,9 +715,9 @@ public abstract class AbstractDoclet Taglet taglet = (Taglet)o; Doc doc = context.getDoc(); if (inline == taglet.isInlineTag() - && ((doc == null + && ((doc == null && taglet.inOverview()) - || (doc != null + || (doc != null && ((doc.isConstructor() && taglet.inConstructor()) || (doc.isField() && taglet.inField()) || (doc.isMethod() && taglet.inMethod()) @@ -750,7 +750,7 @@ public abstract class AbstractDoclet } } - protected void printInlineTaglet(Tag tag, TagletContext context, TagletPrinter output) + protected void printInlineTaglet(Tag tag, TagletContext context, TagletPrinter output) { Taglet taglet = (Taglet)tagletMap.get(tag.name().substring(1)); if (null != taglet) { @@ -770,7 +770,7 @@ public abstract class AbstractDoclet } } - protected void printMainTaglets(Tag[] tags, TagletContext context, TagletPrinter output) + protected void printMainTaglets(Tag[] tags, TagletContext context, TagletPrinter output) { printTaglets(tags, context, output, false); } @@ -811,7 +811,7 @@ public abstract class AbstractDoclet ClassDoc[] classes = rootDoc.classes(); for (int i = 0, ilim = classes.length; i < ilim; ++ i) { ClassDoc clazz = classes[i]; - + if (clazz.isInterface()) { // classes implementing InterfaceRelation relation @@ -825,7 +825,7 @@ public abstract class AbstractDoclet } else { // classes derived from - for (ClassDoc superclass = clazz.superclass(); superclass != null; + for (ClassDoc superclass = clazz.superclass(); superclass != null; superclass = superclass.superclass()) { addUsedBy(_usedClassToPackagesMap, superclass, UsageType.CLASS_DERIVED_FROM, clazz, clazz.containingPackage()); @@ -836,11 +836,11 @@ public abstract class AbstractDoclet for (int j = 0, jlim = fields.length; j < jlim; ++ j) { FieldDoc field = fields[j]; - // fields of type + // fields of type ClassDoc fieldType = field.type().asClassDoc(); if (null != fieldType) { addUsedBy(_usedClassToPackagesMap, - fieldType, UsageType.FIELD_OF_TYPE, + fieldType, UsageType.FIELD_OF_TYPE, field, clazz.containingPackage()); } } @@ -854,7 +854,7 @@ public abstract class AbstractDoclet ClassDoc returnType = method.returnType().asClassDoc(); if (null != returnType) { addUsedBy(_usedClassToPackagesMap, - returnType, UsageType.METHOD_WITH_RETURN_TYPE, + returnType, UsageType.METHOD_WITH_RETURN_TYPE, method, clazz.containingPackage()); } Parameter[] parameters = method.parameters(); @@ -866,7 +866,7 @@ public abstract class AbstractDoclet ClassDoc parameterType = parameter.type().asClassDoc(); if (null != parameterType) { addUsedBy(_usedClassToPackagesMap, - parameterType, UsageType.METHOD_WITH_PARAMETER_TYPE, + parameterType, UsageType.METHOD_WITH_PARAMETER_TYPE, method, clazz.containingPackage()); } } @@ -877,11 +877,11 @@ public abstract class AbstractDoclet for (int k = 0, klim = thrownExceptions.length; k < klim; ++ k) { ClassDoc thrownException = thrownExceptions[k]; addUsedBy(_usedClassToPackagesMap, - thrownException, UsageType.METHOD_WITH_THROWN_TYPE, + thrownException, UsageType.METHOD_WITH_THROWN_TYPE, method, clazz.containingPackage()); } } - + ConstructorDoc[] constructors = clazz.constructors(); for (int j = 0, jlim = constructors.length; j < jlim; ++ j) { @@ -891,12 +891,12 @@ public abstract class AbstractDoclet for (int k = 0, klim = parameters.length; k < klim; ++ k) { // constructors with parameter type - + Parameter parameter = parameters[k]; ClassDoc parameterType = parameter.type().asClassDoc(); if (null != parameterType) { addUsedBy(_usedClassToPackagesMap, - parameterType, UsageType.CONSTRUCTOR_WITH_PARAMETER_TYPE, + parameterType, UsageType.CONSTRUCTOR_WITH_PARAMETER_TYPE, constructor, clazz.containingPackage()); } } @@ -907,7 +907,7 @@ public abstract class AbstractDoclet for (int k = 0, klim = thrownExceptions.length; k < klim; ++ k) { ClassDoc thrownException = thrownExceptions[k]; addUsedBy(_usedClassToPackagesMap, - thrownException, UsageType.CONSTRUCTOR_WITH_THROWN_TYPE, + thrownException, UsageType.CONSTRUCTOR_WITH_THROWN_TYPE, constructor, clazz.containingPackage()); } } @@ -948,8 +948,8 @@ public abstract class AbstractDoclet return this.id.compareTo(((UsageType)other).id); } - public String toString() { - return "UsageType{id=" + id + "}"; + public String toString() { + return "UsageType{id=" + id + "}"; } public String getId() { @@ -1062,33 +1062,33 @@ public abstract class AbstractDoclet throw new IOException("Couldn't locate source file for class " + classDoc.qualifiedTypeName()); } - protected void printError(String error) + protected void printError(String error) { if (null != rootDoc) { - rootDoc.printError(error); + rootDoc.printError(error); } else { - System.err.println("ERROR: "+error); + System.err.println("ERROR: "+error); } } - protected void printWarning(String warning) + protected void printWarning(String warning) { if (null != rootDoc) { - rootDoc.printWarning(warning); + rootDoc.printWarning(warning); } else { - System.err.println("WARNING: "+warning); + System.err.println("WARNING: "+warning); } } - protected void printNotice(String notice) + protected void printNotice(String notice) { if (null != rootDoc) { - rootDoc.printNotice(notice); + rootDoc.printNotice(notice); } else { - System.err.println(notice); + System.err.println(notice); } } @@ -1130,7 +1130,7 @@ public abstract class AbstractDoclet protected String possiblyQualifiedName(Type type) { - if (null == type.asClassDoc() + if (null == type.asClassDoc() || !omitPackageQualifier(type.asClassDoc().containingPackage())) { return type.qualifiedTypeName(); } @@ -1224,7 +1224,7 @@ public abstract class AbstractDoclet Iterator it = interfaceRelations.keySet().iterator(); while (it.hasNext()) { ClassDoc interfaceDoc = (ClassDoc)it.next(); - InterfaceRelation relation + InterfaceRelation relation = (InterfaceRelation)interfaceRelations.get(interfaceDoc); Iterator superIt = relation.superInterfaces.iterator(); while (superIt.hasNext()) { @@ -1306,7 +1306,7 @@ public abstract class AbstractDoclet } protected abstract String renderTag(String tagName, Tag[] tags, TagletContext context); - + protected abstract String getDocletVersion(); protected SortedSet getThrownExceptions(ExecutableMemberDoc execMemberDoc) @@ -1319,7 +1319,7 @@ public abstract class AbstractDoclet return result; } - protected boolean isUncheckedException(ClassDoc classDoc) + protected boolean isUncheckedException(ClassDoc classDoc) { if (classDoc.isException()) { while (null != classDoc) { @@ -1360,7 +1360,7 @@ public abstract class AbstractDoclet ClassDoc[] interfaces = cd.interfaces(); for (int i=0; i<interfaces.length; ++i) { result.add(interfaces[i]); - InterfaceRelation relation + InterfaceRelation relation = (InterfaceRelation)getInterfaceRelations().get(interfaces[i]); if (null != relation) { result.addAll(relation.superInterfaces); diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletConfigurationException.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletConfigurationException.java index 6db6cc7..0e29df9 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletConfigurationException.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletConfigurationException.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -44,7 +44,7 @@ package gnu.classpath.tools.doclets; * * @see AbstractDoclet */ -public class DocletConfigurationException +public class DocletConfigurationException extends Exception { public DocletConfigurationException(String message) diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOption.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOption.java index ccfb7fa..fa67f5e 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOption.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOption.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOptionColonSeparated.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOptionColonSeparated.java index 5bc4a6c..e02e1eb 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOptionColonSeparated.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOptionColonSeparated.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -54,7 +54,7 @@ public class DocletOptionColonSeparated { super(optionName); } - + public int getLength() { return 2; @@ -74,4 +74,3 @@ public class DocletOptionColonSeparated return components; } } - diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOptionFile.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOptionFile.java index f1daf2d..b836857 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOptionFile.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOptionFile.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOptionFlag.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOptionFlag.java index e6d206f..13afe40 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOptionFlag.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOptionFlag.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOptionPackageWildcard.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOptionPackageWildcard.java index 37a359b..33a637d 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOptionPackageWildcard.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOptionPackageWildcard.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -62,7 +62,7 @@ public class DocletOptionPackageWildcard super(optionName); this.allowAll = allowAll; } - + public int getLength() { return 2; @@ -82,7 +82,7 @@ public class DocletOptionPackageWildcard } else { packageMatcher = new PackageMatcher(); - + StringTokenizer tokenizer = new StringTokenizer(optionArr[2], ":"); while (tokenizer.hasMoreTokens()) { String packageWildcard = tokenizer.nextToken(); @@ -122,4 +122,3 @@ public class DocletOptionPackageWildcard } } } - diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOptionString.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOptionString.java index 2bff9ce..ecab865 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOptionString.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/DocletOptionString.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/InlineTagRenderer.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/InlineTagRenderer.java index 2897153..f7d4ac5 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/InlineTagRenderer.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/InlineTagRenderer.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/InvalidPackageWildcardException.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/InvalidPackageWildcardException.java index eaef3e4..8f34288 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/InvalidPackageWildcardException.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/InvalidPackageWildcardException.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -49,4 +49,3 @@ public class InvalidPackageWildcardException super(msg); } } - diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/PackageGroup.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/PackageGroup.java index bad38f8..4278ffb 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/PackageGroup.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/PackageGroup.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/PackageMatcher.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/PackageMatcher.java index 0f1b53f..196b74c 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/PackageMatcher.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/PackageMatcher.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -54,7 +54,7 @@ import com.sun.javadoc.PackageDoc; public class PackageMatcher { private Set patterns = new HashSet(); - + /** * Add a wildcard to be matched. Wildcards can contain asterisk * characters which match zero or more characters. @@ -62,7 +62,7 @@ public class PackageMatcher * @throw InvalidPackageWildcardException if the wildcard cannot * match any valid package name. */ - public void addWildcard(String wildcard) + public void addWildcard(String wildcard) throws InvalidPackageWildcardException { final int STATE_ID_START = 0; diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/StandardTaglet.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/StandardTaglet.java index 7701a6e..f43f2a1 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/StandardTaglet.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/StandardTaglet.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -63,11 +63,11 @@ public class StandardTaglet public boolean inConstructor() { return true; } - + public boolean inMethod() { return true; } - + public boolean inOverview() { return true; } @@ -79,14 +79,14 @@ public class StandardTaglet public boolean inType() { return true; } - + public boolean isInlineTag() { return false; } public String getName() { return this.name; - } + } public String toString(Tag tag) { //assert(false); diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/TagletPrinter.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/TagletPrinter.java index 2029d6c..b59704a 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/TagletPrinter.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/TagletPrinter.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -44,4 +44,3 @@ public interface TagletPrinter { public void printTagletString(String s); } - diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/debugdoclet/DebugDoclet.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/debugdoclet/DebugDoclet.java index ff93f8b..18bf579 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/debugdoclet/DebugDoclet.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/debugdoclet/DebugDoclet.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -55,7 +55,7 @@ public class DebugDoclet new DebugDoclet().run(rootDoc); return true; } - + private PrintStream out; public DebugDoclet() @@ -84,7 +84,7 @@ public class DebugDoclet out.println(); } - private void run(RootDoc rootDoc) + private void run(RootDoc rootDoc) { printHeader("Overview"); @@ -159,7 +159,7 @@ public class DebugDoclet private void printTag(Tag tag) { - if (null != tag.text()) { + if (null != tag.text()) { System.out.println(tag.text()); } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/htmldoclet/CssClass.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/htmldoclet/CssClass.java index 48f1c19..ba4c8b6 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/htmldoclet/CssClass.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/htmldoclet/CssClass.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/htmldoclet/ExternalDocSet.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/htmldoclet/ExternalDocSet.java index 4c5eb1d..f3b2fa8 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/htmldoclet/ExternalDocSet.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/htmldoclet/ExternalDocSet.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -115,7 +115,7 @@ public class ExternalDocSet Properties properties = new Properties(); properties.load(propertiesIn); propertiesIn.close(); - + String gjdocCompatProperty = properties.getProperty("gjdoc.compat"); if (null != gjdocCompatProperty) { javadocCompatible = "true".equals(properties.getProperty("gjdoc.compat")); @@ -127,7 +127,7 @@ public class ExternalDocSet else { javadocCompatible = true; } - } + } catch (FileNotFoundException e) { javadocCompatible = true; } diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/htmldoclet/HtmlDoclet.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/htmldoclet/HtmlDoclet.java index 7d5202c..5ec9806 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/htmldoclet/HtmlDoclet.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/htmldoclet/HtmlDoclet.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -159,7 +159,7 @@ public class HtmlDoclet output.endAnchor(); output.endSpan(CssClass.NAVBAR_ITEM_ENABLED); } - + output.print(" "); } @@ -240,7 +240,7 @@ public class HtmlDoclet if (optionLinkSource.getValue()) { output.print(" "); - + if ("source".equals(currentPage)) { output.beginSpan(CssClass.NAVBAR_ITEM_ACTIVE); output.print("Source"); @@ -249,7 +249,7 @@ public class HtmlDoclet else { if (null != currentClass) { - + output.beginSpan(CssClass.NAVBAR_ITEM_ENABLED); String targetClassName = currentClass.name(); String targetAnchor = ""; @@ -275,7 +275,7 @@ public class HtmlDoclet if (!optionNoTree.getValue()) { output.print(" "); - if ("full-tree".equals(currentPage) + if ("full-tree".equals(currentPage) || "package-tree".equals(currentPage)) { output.beginSpan(CssClass.NAVBAR_ITEM_ACTIVE); output.print("Tree"); @@ -341,7 +341,7 @@ public class HtmlDoclet if (outputHelpPage) { if (!optionNoHelp.getValue()) { output.print(" "); - + if ("help".equals(currentPage)) { output.beginSpan(CssClass.NAVBAR_ITEM_ACTIVE); output.print("Help"); @@ -410,7 +410,7 @@ public class HtmlDoclet printNavBarTop(output, currentPage, null, null, null); } - private void printNavBarTop(HtmlPage output, String currentPage, + private void printNavBarTop(HtmlPage output, String currentPage, ClassDoc currentClass, Object prev, Object next) { if (!optionNoNavBar.getValue()) { @@ -468,16 +468,16 @@ public class HtmlDoclet output.beginCell(CssClass.NAVBAR_TOP_NAVI); output.print("Summary: "); - + if (currentClass.innerClasses().length > 0) { - output.anchor("#summary-inner", "Nested"); + output.anchor("#summary-inner", "Nested"); } else { output.print("Nested"); } output.print(" | "); - + if (currentClass.fields().length > 0) { output.anchor("#summary-fields", "Field"); } @@ -486,7 +486,7 @@ public class HtmlDoclet } output.print(" | "); - + if (currentClass.methods().length > 0) { output.anchor("#summary-methods", "Method"); } @@ -495,7 +495,7 @@ public class HtmlDoclet } output.print(" | "); - + if (currentClass.constructors().length > 0) { output.anchor("#summary-constructors", "Constr"); } @@ -507,16 +507,16 @@ public class HtmlDoclet output.beginCell(CssClass.NAVBAR_TOP_NAVI); output.print("Detail: "); - + if (currentClass.innerClasses().length > 0) { - output.anchor("#detail-inner", "Nested"); + output.anchor("#detail-inner", "Nested"); } else { output.print("Nested"); } output.print(" | "); - + if (currentClass.fields().length > 0) { output.anchor("#detail-fields", "Field"); } @@ -525,7 +525,7 @@ public class HtmlDoclet } output.print(" | "); - + if (currentClass.methods().length > 0) { output.anchor("#detail-methods", "Method"); } @@ -534,7 +534,7 @@ public class HtmlDoclet } output.print(" | "); - + if (currentClass.constructors().length > 0) { output.anchor("#detail-constructors", "Constr"); } @@ -549,7 +549,7 @@ public class HtmlDoclet } } - private void printNavBarTopPackage(HtmlPage output, String currentPage, + private void printNavBarTopPackage(HtmlPage output, String currentPage, PackageDoc prevPackage, PackageDoc nextPackage) { if (!optionNoNavBar.getValue()) { @@ -637,7 +637,7 @@ public class HtmlDoclet ClassDoc classDoc = classDocs[i]; if (classDoc.isIncluded()) { output.beginRow(); - + output.beginCell(CssClass.PACKAGE_SUMMARY_LEFT); printType(output, classDoc); output.endCell(); @@ -673,9 +673,9 @@ public class HtmlDoclet out.close(); } - private void printPackagePage(File packageDir, String pathToRoot, - PackageDoc packageDoc, - PackageDoc prevPackageDoc, + private void printPackagePage(File packageDir, String pathToRoot, + PackageDoc packageDoc, + PackageDoc prevPackageDoc, PackageDoc nextPackageDoc) throws IOException { @@ -703,14 +703,14 @@ public class HtmlDoclet output.beginDiv(CssClass.PACKAGE_DESCRIPTION_TOP); printTags(output, packageDoc, packageDoc.firstSentenceTags(), true); output.endDiv(CssClass.PACKAGE_DESCRIPTION_TOP); - - printPackagePageClasses(output, packageDoc.interfaces(), + + printPackagePageClasses(output, packageDoc.interfaces(), "Interface Summary"); - printPackagePageClasses(output, packageDoc.ordinaryClasses(), + printPackagePageClasses(output, packageDoc.ordinaryClasses(), "Class Summary"); - printPackagePageClasses(output, packageDoc.exceptions(), + printPackagePageClasses(output, packageDoc.exceptions(), "Exception Summary"); - printPackagePageClasses(output, packageDoc.errors(), + printPackagePageClasses(output, packageDoc.errors(), "Error Summary"); output.anchorName("description"); @@ -733,7 +733,7 @@ public class HtmlDoclet TreeNode(ClassDoc classDoc) { TreeNode.this.classDoc = classDoc; } - + public boolean equals(Object other) { return classDoc.equals(((TreeNode)other).classDoc); @@ -814,7 +814,7 @@ public class HtmlDoclet if (null != parentNode) { parentClassDoc = parentNode.classDoc; } - if (interfaces.length > 0 + if (interfaces.length > 0 && !(interfaces.length == 1 && interfaces[0].equals(parentClassDoc))) { if (node.classDoc.isInterface()) { output.print(" (also implements "); @@ -860,7 +860,7 @@ public class HtmlDoclet } private void printClassTree(HtmlPage output, ClassDoc[] classDocs) - { + { Map classTreeMap = new HashMap(); for (int i=0; i<classDocs.length; ++i) { @@ -912,7 +912,7 @@ public class HtmlDoclet HtmlPage output = newHtmlPage(new File(packageDir, "tree" + filenameExtension), pathToRoot); - output.beginPage(getPageTitle(packageDoc.name() + " Hierarchy"), + output.beginPage(getPageTitle(packageDoc.name() + " Hierarchy"), getOutputCharset(), getStylesheets()); output.beginBody(CssClass.BODY_CONTENT_PACKAGE_TREE); @@ -936,7 +936,7 @@ public class HtmlDoclet HtmlPage output = newHtmlPage(new File(getTargetDirectory(), "tree" + filenameExtension), "."); - output.beginPage(getPageTitle("Hierarchy"), + output.beginPage(getPageTitle("Hierarchy"), getOutputCharset(), getStylesheets()); output.beginBody(CssClass.BODY_CONTENT_FULL_TREE); @@ -1053,31 +1053,31 @@ public class HtmlDoclet "index" + filenameExtension), ".", HtmlPage.DOCTYPE_FRAMESET); - + String title = getWindowTitle(); output.beginPage(title, getOutputCharset(), getStylesheets()); output.beginElement("frameset", "cols", "20%,80%"); String contentURL; if (isSinglePackage()) { - output.atomicElement("frame", - new String[] { "src", "name" }, + output.atomicElement("frame", + new String[] { "src", "name" }, new String[] { getPackageURL(getSinglePackage()) + "classes" + filenameExtension, "classes" }); contentURL = getPackageURL(getSinglePackage()) + "package-summary.html"; } else { output.beginElement("frameset", "rows", "25%,75%"); - output.atomicElement("frame", - new String[] { "src", "name" }, + output.atomicElement("frame", + new String[] { "src", "name" }, new String[] { "all-packages" + filenameExtension, "packages" }); - output.atomicElement("frame", - new String[] { "src", "name" }, + output.atomicElement("frame", + new String[] { "src", "name" }, new String[] { "all-classes" + filenameExtension, "classes" }); output.endElement("frameset"); contentURL = "overview-summary" + filenameExtension; } - output.atomicElement("frame", - new String[] { "src", "name" }, + output.atomicElement("frame", + new String[] { "src", "name" }, new String[] { contentURL, "content" }); output.endElement("frameset"); output.endPage(); @@ -1134,7 +1134,7 @@ public class HtmlDoclet { CssClass entryClass; if (classDoc.isInterface()) { - entryClass = CssClass.CLASS_MENU_ENTRY_INTERFACE; + entryClass = CssClass.CLASS_MENU_ENTRY_INTERFACE; } else { entryClass = CssClass.CLASS_MENU_ENTRY_CLASS; @@ -1228,7 +1228,7 @@ public class HtmlDoclet "classes" + filenameExtension), pathToRoot); - output.beginPage(getPageTitle(packageDoc.name() + " Class Menu"), + output.beginPage(getPageTitle(packageDoc.name() + " Class Menu"), getOutputCharset(), getStylesheets()); output.beginBody(CssClass.BODY_MENU_CLASSES, false); @@ -1280,7 +1280,7 @@ public class HtmlDoclet HtmlPage output = newHtmlPage(new File(getTargetDirectory(), pageName + filenameExtension), "."); - output.beginPage(getPageTitle("Alphabetical Index"), + output.beginPage(getPageTitle("Alphabetical Index"), getOutputCharset(), getStylesheets()); output.beginBody(CssClass.BODY_CONTENT_INDEX); @@ -1289,7 +1289,7 @@ public class HtmlDoclet } else { printNavBarTop(output, "split-index", null, - (index > 1) ? new Integer(index - 1) : null, + (index > 1) ? new Integer(index - 1) : null, (index < maxIndex) ? new Integer(index + 1) : null); } @@ -1319,7 +1319,7 @@ public class HtmlDoclet } output.print(c.toString()); output.endAnchor(); - output.endSpan(CssClass.INDEX_LETTER); + output.endSpan(CssClass.INDEX_LETTER); output.beginSpan(CssClass.INDEX_LETTER_SPACER); output.print(" "); output.endSpan(CssClass.INDEX_LETTER_SPACER); @@ -1375,7 +1375,7 @@ public class HtmlDoclet while (it.hasNext()) { Doc doc = (Doc)it.next(); output.beginRow(); - + output.beginCell(CssClass.DEPRECATION_SUMMARY_LEFT); if (doc instanceof Type) { printType(output, (Type)doc); @@ -1412,7 +1412,7 @@ public class HtmlDoclet HtmlPage output = newHtmlPage(new File(getTargetDirectory(), "serialized-form" + filenameExtension), "."); - output.beginPage(getPageTitle("Serialized Form"), + output.beginPage(getPageTitle("Serialized Form"), getOutputCharset(), getStylesheets()); output.beginBody(CssClass.BODY_CONTENT_DEPRECATED); @@ -1466,12 +1466,12 @@ public class HtmlDoclet output.endDiv(CssClass.SERIALIZED_SVUID_OUTER); } } - printMemberDetails(output, - classDoc.serializationMethods(), + printMemberDetails(output, + classDoc.serializationMethods(), "Serialization Methods", true, null); - printMemberDetails(output, - classDoc.serializableFields(), + printMemberDetails(output, + classDoc.serializableFields(), "Serialized Fields", true, null); } @@ -1492,7 +1492,7 @@ public class HtmlDoclet HtmlPage output = newHtmlPage(new File(getTargetDirectory(), "deprecated" + filenameExtension), "."); - output.beginPage(getPageTitle("Deprecated API"), + output.beginPage(getPageTitle("Deprecated API"), getOutputCharset(), getStylesheets()); output.beginBody(CssClass.BODY_CONTENT_DEPRECATED); @@ -1628,7 +1628,7 @@ public class HtmlDoclet output.beginDiv(CssClass.DEPRECATION_EMPTY); output.print("No deprecated classes or class members in this API."); output.endDiv(CssClass.DEPRECATION_EMPTY); - + } printNavBarBottom(output, "deprecated"); @@ -1643,7 +1643,7 @@ public class HtmlDoclet HtmlPage output = newHtmlPage(new File(getTargetDirectory(), "about" + filenameExtension), "."); - output.beginPage(getPageTitle("About"), + output.beginPage(getPageTitle("About"), getOutputCharset(), getStylesheets()); output.beginBody(CssClass.BODY_CONTENT_ABOUT); @@ -1663,10 +1663,10 @@ public class HtmlDoclet output.endAnchor(); output.print(", on "); DateFormat format = DateFormat.getDateTimeInstance(DateFormat.LONG, - DateFormat.LONG, - Locale.US); + DateFormat.LONG, + Locale.US); Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("UTC"), - Locale.US); + Locale.US); format.setCalendar(cal); output.print(format.format(new Date())); output.print("."); @@ -1682,10 +1682,10 @@ public class HtmlDoclet private void printSourcePage(File packageDir, ClassDoc classDoc, String sourceXhtml) throws IOException { - HtmlPage output = newHtmlPage(new File(packageDir, + HtmlPage output = newHtmlPage(new File(packageDir, classDoc.name() + "-source" + filenameExtension), getPathToRoot(packageDir, getTargetDirectory())); - output.beginPage(getPageTitle("Source for " + classDoc.qualifiedTypeName()), + output.beginPage(getPageTitle("Source for " + classDoc.qualifiedTypeName()), getOutputCharset(), getStylesheets()); @@ -1712,7 +1712,7 @@ public class HtmlDoclet HtmlPage output = newHtmlPage(new File(getTargetDirectory(), "help" + filenameExtension), "."); - output.beginPage(getPageTitle("Help"), + output.beginPage(getPageTitle("Help"), getOutputCharset(), getStylesheets()); output.beginBody(CssClass.BODY_CONTENT_HELP); @@ -1720,7 +1720,7 @@ public class HtmlDoclet printNavBarTop(output, "help"); InputStream helpIn; - if (null != optionHelpFile.getValue()){ + if (null != optionHelpFile.getValue()){ helpIn = new FileInputStream(optionHelpFile.getValue()); } else { @@ -1742,7 +1742,7 @@ public class HtmlDoclet HtmlPage output = newHtmlPage(new File(getTargetDirectory(), "overview-summary" + filenameExtension), "."); - output.beginPage(getWindowTitle(), + output.beginPage(getWindowTitle(), getOutputCharset(), getStylesheets()); output.beginBody(CssClass.BODY_CONTENT_OVERVIEW); @@ -1771,7 +1771,7 @@ public class HtmlDoclet List packageGroups = getPackageGroups(); if (packageGroups.isEmpty()) { - + printOverviewPackages(output, getAllPackages(), "All Packages"); } @@ -1782,14 +1782,14 @@ public class HtmlDoclet Iterator it = packageGroups.iterator(); while (it.hasNext()) { PackageGroup packageGroup = (PackageGroup)it.next(); - printOverviewPackages(output, + printOverviewPackages(output, packageGroup.getPackages(), packageGroup.getName()); otherPackages.removeAll(packageGroup.getPackages()); } if (!otherPackages.isEmpty()) { - printOverviewPackages(output, + printOverviewPackages(output, otherPackages, "Other Packages"); } @@ -1816,7 +1816,7 @@ public class HtmlDoclet while (it.hasNext()) { PackageDoc packageDoc = (PackageDoc)it.next(); output.beginRow(); - + output.beginCell(CssClass.OVERVIEW_SUMMARY_LEFT); output.beginAnchor(getPackageURL(packageDoc) + "package-summary" + filenameExtension); output.print(packageDoc.name()); @@ -1842,8 +1842,8 @@ public class HtmlDoclet output.beginBody(CssClass.BODY_CONTENT_USES); printNavBarTop(output, "uses", classDoc, null, null); - output.div(CssClass.USAGE_TITLE, - "Uses of " + getClassTypeName(classDoc) + output.div(CssClass.USAGE_TITLE, + "Uses of " + getClassTypeName(classDoc) + " " + classDoc.qualifiedName()); Map packageToUsageTypeMap = getUsageOfClass(classDoc); @@ -1859,9 +1859,9 @@ public class HtmlDoclet Iterator usageTypeIterator = usageTypeToUsersMap.keySet().iterator(); while (usageTypeIterator.hasNext()) { UsageType usageType = (UsageType)usageTypeIterator.next(); - + output.beginTable(CssClass.USAGE_SUMMARY, new String[] { "border", "width" }, new String[] { "1", "100%" }); - output.rowDiv(CssClass.USAGE_TABLE_HEADER, format("usagetype." + usageType.getId(), + output.rowDiv(CssClass.USAGE_TABLE_HEADER, format("usagetype." + usageType.getId(), classDoc.qualifiedName())); Set users = (Set)usageTypeToUsersMap.get(usageType); @@ -1939,7 +1939,7 @@ public class HtmlDoclet printParameters(output, (ExecutableMemberDoc)user); output.endDiv(CssClass.USAGE_SUMMARY_SYNOPSIS); output.beginDiv(CssClass.USAGE_SUMMARY_DESCRIPTION); - printTags(output, ((ConstructorDoc)user), + printTags(output, ((ConstructorDoc)user), ((ConstructorDoc)user).firstSentenceTags(), true); output.endDiv(CssClass.USAGE_SUMMARY_DESCRIPTION); output.endCell(); @@ -1953,7 +1953,7 @@ public class HtmlDoclet } else { output.div(CssClass.USAGE_EMPTY, - getClassTypeName(classDoc) + getClassTypeName(classDoc) + " " + classDoc.qualifiedName() + " is not used by any class in this documentation set."); } printNavBarBottom(output, "uses", classDoc); @@ -1989,7 +1989,7 @@ public class HtmlDoclet } } - private static boolean isSubInterface(ClassDoc classDoc, ClassDoc otherClassDoc) + private static boolean isSubInterface(ClassDoc classDoc, ClassDoc otherClassDoc) { ClassDoc[] interfaces = otherClassDoc.interfaces(); for (int i=0; i<interfaces.length; ++i) { @@ -2004,8 +2004,8 @@ public class HtmlDoclet } private void printCommaSeparatedTypes(HtmlPage output, - Collection list, - String header, + Collection list, + String header, CssClass cssClass) { if (!list.isEmpty()) { @@ -2025,7 +2025,7 @@ public class HtmlDoclet } } - private void printClassPage(File packageDir, String pathToRoot, + private void printClassPage(File packageDir, String pathToRoot, ClassDoc classDoc, ClassDoc prevClassDoc, ClassDoc nextClassDoc) throws IOException { @@ -2048,19 +2048,19 @@ public class HtmlDoclet } } String parameters = getTypeParameters(classDoc); - + output.beginPage(getPageTitle(classDoc.name()), getOutputCharset(), keywords, getStylesheets()); output.beginBody(CssClass.BODY_CONTENT_CLASS); printNavBarTop(output, "class", classDoc, prevClassDoc, nextClassDoc); - + output.beginDiv(CssClass.CLASS_TITLE); - output.div(CssClass.CLASS_TITLE_PACKAGE, + output.div(CssClass.CLASS_TITLE_PACKAGE, classDoc.containingPackage().name()); - output.div(CssClass.CLASS_TITLE_CLASS, - getClassTypeName(classDoc) + output.div(CssClass.CLASS_TITLE_CLASS, + getClassTypeName(classDoc) + " " + classDoc.name() - + parameters); + + parameters); output.endDiv(CssClass.CLASS_TITLE); boolean needSep = false; @@ -2071,17 +2071,17 @@ public class HtmlDoclet = (InterfaceRelation)getInterfaceRelations().get(classDoc); printCommaSeparatedTypes(output, - relation.superInterfaces, + relation.superInterfaces, "All Superinterfaces:", CssClass.CLASS_KNOWNIMPLEMENTING); printCommaSeparatedTypes(output, - relation.subInterfaces, + relation.subInterfaces, "Known Subinterfaces:", CssClass.CLASS_KNOWNIMPLEMENTING); printCommaSeparatedTypes(output, - relation.implementingClasses, + relation.implementingClasses, "Known Implementing Classes:", CssClass.CLASS_KNOWNIMPLEMENTING); @@ -2089,7 +2089,7 @@ public class HtmlDoclet || !relation.subInterfaces.isEmpty() || !relation.implementingClasses.isEmpty(); } - else { + else { needSep = true; if (!"java.lang.Object".equals(classDoc.qualifiedName())) { @@ -2102,7 +2102,7 @@ public class HtmlDoclet printSuperTreeRec(output, superClasses.listIterator(superClasses.size()), 0); output.endElement("ul"); output.endDiv(CssClass.CLASS_INHERITANCETREE); - + if (null != classDoc.containingClass()) { output.beginDiv(CssClass.CLASS_ENCLOSINGCLASS); output.div(CssClass.CLASS_ENCLOSINGCLASS_HEADER, "Enclosing Class:"); @@ -2115,7 +2115,7 @@ public class HtmlDoclet Set implementedInterfaces = getImplementedInterfaces(classDoc); printCommaSeparatedTypes(output, - implementedInterfaces, + implementedInterfaces, "Implemented Interfaces:", CssClass.CLASS_KNOWNIMPLEMENTING); @@ -2145,7 +2145,7 @@ public class HtmlDoclet output.beginDiv(CssClass.CLASS_SYNOPSIS); output.beginDiv(CssClass.CLASS_SYNOPSIS_DECLARATION); - output.print(getFullModifiers(classDoc) + ' ' + getClassTypeKeyword(classDoc) + output.print(getFullModifiers(classDoc) + ' ' + getClassTypeKeyword(classDoc) + ' '); output.beginSpan(CssClass.CLASS_SYNOPSIS_NAME); if (optionLinkSource.getValue() && null != classDoc.position()) { @@ -2207,7 +2207,7 @@ public class HtmlDoclet if (!classDoc.isInterface()) { ClassDoc superClassDoc = classDoc.superclass(); while (null != superClassDoc - && (!haveInheritedFields + && (!haveInheritedFields || !haveInheritedMethods || !haveInheritedClasses)) { if (superClassDoc.fields().length > 0) { @@ -2223,8 +2223,8 @@ public class HtmlDoclet } } } - - printProgramElementDocs(output, getSortedInnerClasses(classDoc), + + printProgramElementDocs(output, getSortedInnerClasses(classDoc), "Nested Class Summary", haveInheritedClasses, "summary-inner"); @@ -2238,7 +2238,7 @@ public class HtmlDoclet } } - printProgramElementDocs(output, getSortedFields(classDoc), + printProgramElementDocs(output, getSortedFields(classDoc), "Field Summary", haveInheritedFields, "summary-fields"); @@ -2255,7 +2255,7 @@ public class HtmlDoclet { Iterator it = implementedInterfaces.iterator(); while (it.hasNext()) { - ClassDoc implementedInterface + ClassDoc implementedInterface = (ClassDoc)it.next(); if (!"java.io.Serializable".equals(implementedInterface.qualifiedName()) && !"java.io.Externalizable".equals(implementedInterface.qualifiedName())) { @@ -2263,10 +2263,10 @@ public class HtmlDoclet "Fields inherited from interface {0}", implementedInterface); } - } + } } - printProgramElementDocs(output, getSortedConstructors(classDoc), + printProgramElementDocs(output, getSortedConstructors(classDoc), "Constructor Summary", false, "summary-constructors"); printProgramElementDocs(output, getSortedMethods(classDoc), @@ -2274,7 +2274,7 @@ public class HtmlDoclet "summary-methods"); if (classDoc.isInterface()) { - InterfaceRelation relation + InterfaceRelation relation = (InterfaceRelation)getInterfaceRelations().get(classDoc); Iterator it = relation.superInterfaces.iterator(); while (it.hasNext()) { @@ -2294,9 +2294,9 @@ public class HtmlDoclet } } - printMemberDetails(output, getSortedFields(classDoc), + printMemberDetails(output, getSortedFields(classDoc), "Field Details", false, "detail-fields"); - printMemberDetails(output, getSortedConstructors(classDoc), + printMemberDetails(output, getSortedConstructors(classDoc), "Constructor Details", false, "detail-constructors"); printMemberDetails(output, getSortedMethods(classDoc), "Method Details", false, "detail-methods"); @@ -2309,7 +2309,7 @@ public class HtmlDoclet } private void printInheritedMembers(HtmlPage output, - ProgramElementDoc[] memberDocs, + ProgramElementDoc[] memberDocs, String headerFormat, ClassDoc superclass) { @@ -2325,9 +2325,9 @@ public class HtmlDoclet else { superclassLink = createTypeHref(output, superclass, true); } - output.rowDiv(CssClass.TABLE_SUB_HEADER, - new MessageFormat(headerFormat).format(new Object[] { - superclassLink + output.rowDiv(CssClass.TABLE_SUB_HEADER, + new MessageFormat(headerFormat).format(new Object[] { + superclassLink })); output.beginRow(); @@ -2343,7 +2343,7 @@ public class HtmlDoclet } else if (memberDoc.isInterface()) { title = "interface " + ((ClassDoc)memberDoc).qualifiedName(); - } + } else if (memberDoc.isClass()) { title = "class " + ((ClassDoc)memberDoc).qualifiedName(); } @@ -2360,7 +2360,7 @@ public class HtmlDoclet } } - private void collectSpecifiedByRecursive(Set specifyingInterfaces, + private void collectSpecifiedByRecursive(Set specifyingInterfaces, ClassDoc classDoc, MethodDoc methodDoc) { @@ -2433,7 +2433,7 @@ public class HtmlDoclet else { type = ((FieldDoc)memberDoc).type(); } - + synopsis.append(" "); synopsisLength ++; synopsis.append(createTypeHref(output, type, false)); @@ -2527,14 +2527,14 @@ public class HtmlDoclet Set specifyingInterfaces = new LinkedHashSet(); if (memberDoc.containingClass().isInterface()) { collectSpecifiedByRecursive(specifyingInterfaces, - memberDoc.containingClass(), + memberDoc.containingClass(), (MethodDoc)memberDoc); } else { for (ClassDoc cd = memberDoc.containingClass(); null != cd; cd = cd.superclass()) { collectSpecifiedByRecursive(specifyingInterfaces, - cd, + cd, (MethodDoc)memberDoc); } } @@ -2547,7 +2547,7 @@ public class HtmlDoclet while (it.hasNext()) { MethodDoc specifyingInterfaceMethod = (MethodDoc)it.next(); output.beginDiv(CssClass.MEMBER_DETAIL_SPECIFIED_BY_ITEM); - output.beginAnchor(getMemberDocURL(output, + output.beginAnchor(getMemberDocURL(output, specifyingInterfaceMethod)); output.print(memberDoc.name()); output.endAnchor(); @@ -2557,14 +2557,14 @@ public class HtmlDoclet } output.endDiv(CssClass.MEMBER_DETAIL_SPECIFIED_BY_LIST); } - + ClassDoc overriddenClassDoc = null; MemberDoc specifyingSuperMethod = null; for (ClassDoc superclassDoc = memberDoc.containingClass().superclass(); null != superclassDoc && null == overriddenClassDoc; superclassDoc = superclassDoc.superclass()) { - + MethodDoc[] methods = superclassDoc.methods(); for (int j=0; j<methods.length; ++j) { if (methods[j].name().equals(memberDoc.name()) @@ -2581,7 +2581,7 @@ public class HtmlDoclet output.div(CssClass.MEMBER_DETAIL_OVERRIDDEN_HEADER, "Overrides:"); output.beginDiv(CssClass.MEMBER_DETAIL_OVERRIDDEN_ITEM); - output.beginAnchor(getMemberDocURL(output, + output.beginAnchor(getMemberDocURL(output, specifyingSuperMethod)); output.print(memberDoc.name()); output.endAnchor(); @@ -2612,7 +2612,7 @@ public class HtmlDoclet break; } } - + if (null != paramTag) { output.beginDiv(CssClass.MEMBER_DETAIL_PARAMETER_ITEM); output.beginSpan(CssClass.MEMBER_DETAIL_PARAMETER_ITEM_NAME); @@ -2630,7 +2630,7 @@ public class HtmlDoclet output.endDiv(CssClass.MEMBER_DETAIL_PARAMETER_LIST); } - if (execMemberDoc.isMethod() + if (execMemberDoc.isMethod() && !"void".equals(((MethodDoc)execMemberDoc).returnType().typeName())) { Tag[] returnTags = execMemberDoc.tags("return"); @@ -2697,7 +2697,7 @@ public class HtmlDoclet if (null != fieldDoc.constantValue()) { output.beginDiv(CssClass.MEMBER_DETAIL_THROWN_LIST); output.div(CssClass.MEMBER_DETAIL_THROWN_HEADER, "Field Value:"); - output.div(CssClass.MEMBER_DETAIL_THROWN_ITEM, + output.div(CssClass.MEMBER_DETAIL_THROWN_ITEM, fieldDoc.constantValueExpression().toString()); output.endDiv(CssClass.MEMBER_DETAIL_THROWN_LIST); } @@ -2731,7 +2731,7 @@ public class HtmlDoclet } private void printProgramElementDocs(HtmlPage output, - ProgramElementDoc[] memberDocs, + ProgramElementDoc[] memberDocs, String header, boolean forceOutputHeader, String anchor) @@ -2815,7 +2815,7 @@ public class HtmlDoclet } } - private void printTag(final HtmlPage output, + private void printTag(final HtmlPage output, HtmlRepairer repairer, Tag tag, boolean firstSentence, boolean inline, @@ -2844,7 +2844,7 @@ public class HtmlDoclet /* if (!optionNoComment.getValue()) { output.print(renderInlineTags(tag.firstSentenceTags(), output)); - HtmlRepairer repairer = new HtmlRepairer(getRootDoc(), + HtmlRepairer repairer = new HtmlRepairer(getRootDoc(), true, false, null, null, true); @@ -2858,9 +2858,9 @@ public class HtmlDoclet private String getClassDocURL(HtmlPage output, ClassDoc classDoc) { - return output.getPathToRoot() + return output.getPathToRoot() + "/" - + getPackageURL(classDoc.containingPackage()) + + getPackageURL(classDoc.containingPackage()) + classDoc.name() + filenameExtension; } @@ -2905,7 +2905,7 @@ public class HtmlDoclet if (type.qualifiedTypeName().length() > type.typeName().length()) { String packageName = type.qualifiedTypeName(); packageName = packageName.substring(0, packageName.length() - type.typeName().length() - 1); - + ExternalDocSet externalDocSet = (ExternalDocSet)packageNameToDocSet.get(packageName); if (null != externalDocSet) { @@ -2915,9 +2915,9 @@ public class HtmlDoclet } StringBuffer result = new StringBuffer(); - + if (null != url && null != asClassDoc) { - String parameters = getTypeParameters(asClassDoc); + String parameters = getTypeParameters(asClassDoc); if (fullyQualified) { result.append(output.createHrefString(url,possiblyQualifiedName(asClassDoc) + parameters)); } @@ -2936,7 +2936,7 @@ public class HtmlDoclet return result.toString(); } - private void printTaglets(final HtmlPage output, Tag[] tags, TagletContext context) + private void printTaglets(final HtmlPage output, Tag[] tags, TagletContext context) { super.printMainTaglets(tags, context, new TagletPrinter() { public void printTagletString(String tagletString) { @@ -2977,7 +2977,7 @@ public class HtmlDoclet externalDocSet = (ExternalDocSet)packageNameToDocSet.get(classDoc.containingPackage().name()); } if (null != externalDocSet) { - return externalDocSet.getClassDocURL(classDoc.containingPackage().name(), + return externalDocSet.getClassDocURL(classDoc.containingPackage().name(), classDoc.name()); } else { @@ -3006,7 +3006,7 @@ public class HtmlDoclet Iterator it = externalDocSets.iterator(); while (it.hasNext()) { ExternalDocSet externalDocSet = (ExternalDocSet)it.next(); - printNotice("Fetching package list for external documentation set."); + printNotice("Fetching package list for external documentation set."); try { externalDocSet.load(getTargetDirectory()); if (!isJavadocCompatibleNames() && externalDocSet.isJavadocCompatible() @@ -3081,7 +3081,7 @@ public class HtmlDoclet resourceName); InputStream in = getClass().getResourceAsStream("/htmldoclet/" + resourceName); if (in == null) { - in = new FileInputStream("src/resources/htmldoclet/" + resourceName); + in = new FileInputStream("src/resources/htmldoclet/" + resourceName); } FileOutputStream out = new FileOutputStream(targetFile); IOToolkit.copyStream(in, out); @@ -3091,7 +3091,7 @@ public class HtmlDoclet // Copy stylesheets - if (null != optionAddStylesheet.getValue()) { + if (null != optionAddStylesheet.getValue()) { File addStylesheetTargetFile = new File(resourcesDir, "user.css"); @@ -3099,7 +3099,7 @@ public class HtmlDoclet addStylesheetTargetFile); } - if (null != optionStylesheetFile.getValue()) { + if (null != optionStylesheetFile.getValue()) { File stylesheetTargetFile = new File(resourcesDir, "user.css"); @@ -3167,7 +3167,7 @@ public class HtmlDoclet for (int j=0; j<classDocs.length; ++j) { ClassDoc classDoc = classDocs[j]; if (classDoc.isIncluded()) { - printClassPage(packageDir, pathToRoot, + printClassPage(packageDir, pathToRoot, classDocs[j], (j > 0) ? classDocs[j - 1] : null, (j < classDocs.length - 1) ? classDocs[j + 1] : null @@ -3184,13 +3184,13 @@ public class HtmlDoclet properties.setProperty("isCodeSnippet", "true"); properties.setProperty("hasLineNumbers", "true"); java2xhtml.setProperties(properties); - + StringWriter sourceBuffer = new StringWriter(); FileReader sourceReader = new FileReader(sourceFile); IOToolkit.copyStream(sourceReader, sourceBuffer); sourceReader.close(); String result = java2xhtml.makeHTML(sourceBuffer.getBuffer(), sourceFile.getName()); - + printSourcePage(packageDir, classDoc, result); @@ -3220,7 +3220,7 @@ public class HtmlDoclet return result.toString(); } - private String getClassTypeName(ClassDoc classDoc) + private String getClassTypeName(ClassDoc classDoc) { if (classDoc.isInterface()) { return "Interface"; @@ -3230,7 +3230,7 @@ public class HtmlDoclet } } - private String getClassTypeKeyword(ClassDoc classDoc) + private String getClassTypeKeyword(ClassDoc classDoc) { if (classDoc.isInterface()) { return "interface"; @@ -3311,63 +3311,63 @@ public class HtmlDoclet return options; } - private DocletOptionFlag optionNoNavBar = + private DocletOptionFlag optionNoNavBar = new DocletOptionFlag("-nonavbar"); - private DocletOptionFlag optionNoTree = + private DocletOptionFlag optionNoTree = new DocletOptionFlag("-notree"); - private DocletOptionFlag optionNoDeprecatedList = + private DocletOptionFlag optionNoDeprecatedList = new DocletOptionFlag("-nodeprecatedlist"); - private DocletOptionFlag optionNoIndex = + private DocletOptionFlag optionNoIndex = new DocletOptionFlag("-noindex"); - private DocletOptionFlag optionUse = + private DocletOptionFlag optionUse = new DocletOptionFlag("-use"); - private DocletOptionFlag optionNoHelp = + private DocletOptionFlag optionNoHelp = new DocletOptionFlag("-nohelp"); - private DocletOptionFlag optionNoComment = + private DocletOptionFlag optionNoComment = new DocletOptionFlag("-nocomment"); - private DocletOptionFlag optionSerialWarn = + private DocletOptionFlag optionSerialWarn = new DocletOptionFlag("-serialwarn"); - private DocletOptionFlag optionSplitIndex = + private DocletOptionFlag optionSplitIndex = new DocletOptionFlag("-splitindex"); - private DocletOptionString optionHeader = + private DocletOptionString optionHeader = new DocletOptionString("-header"); - private DocletOptionString optionFooter = + private DocletOptionString optionFooter = new DocletOptionString("-footer"); - private DocletOptionString optionBottom = + private DocletOptionString optionBottom = new DocletOptionString("-bottom"); - private DocletOptionString optionWindowTitle = + private DocletOptionString optionWindowTitle = new DocletOptionString("-windowtitle"); - private DocletOptionString optionDocTitle = + private DocletOptionString optionDocTitle = new DocletOptionString("-doctitle"); - private DocletOptionString optionTitle = + private DocletOptionString optionTitle = new DocletOptionString("-title"); - private DocletOptionFile optionHelpFile = + private DocletOptionFile optionHelpFile = new DocletOptionFile("-helpfile"); - private DocletOptionFile optionStylesheetFile = + private DocletOptionFile optionStylesheetFile = new DocletOptionFile("-stylesheetfile"); - private DocletOptionFlag optionLinkSource = + private DocletOptionFlag optionLinkSource = new DocletOptionFlag("-linksource"); - private DocletOption optionLink = + private DocletOption optionLink = new DocletOption("-link") { - + public int getLength() { return 2; @@ -3380,9 +3380,9 @@ public class HtmlDoclet } }; - private DocletOption optionLinkOffline = + private DocletOption optionLinkOffline = new DocletOption("-linkoffline") { - + public int getLength() { return 3; @@ -3404,16 +3404,16 @@ public class HtmlDoclet private DocletOptionString optionCharset = new DocletOptionString("-charset"); - private DocletOptionFile optionAddStylesheet = + private DocletOptionFile optionAddStylesheet = new DocletOptionFile("-addstylesheet"); - private DocletOptionFlag optionValidHtml = + private DocletOptionFlag optionValidHtml = new DocletOptionFlag("-validhtml"); - private DocletOptionString optionBaseUrl = + private DocletOptionString optionBaseUrl = new DocletOptionString("-baseurl"); - private DocletOption[] options = + private DocletOption[] options = { optionNoNavBar, optionNoTree, @@ -3497,7 +3497,7 @@ public class HtmlDoclet { StringBuffer result = new StringBuffer(); - HtmlRepairer repairer = new HtmlRepairer(getRootDoc(), + HtmlRepairer repairer = new HtmlRepairer(getRootDoc(), true, false, null, null, true); @@ -3515,7 +3515,7 @@ public class HtmlDoclet else if ("@linkplain".equals(tag.name())) { result.append(renderSeeTag((SeeTag)tag, context, true)); } - else if ("@docRoot".equals(tag.name())) { + else if ("@docRoot".equals(tag.name())) { result.append(((HtmlTagletContext)context).getOutput().getPathToRoot()); } else { @@ -3615,7 +3615,7 @@ public class HtmlDoclet if (null != referencedMemberName) { label += '.'; label += referencedMemberName; - href += '#' + transformReferencedMemberName(referencedMemberName, + href += '#' + transformReferencedMemberName(referencedMemberName, externalDocSet.isJavadocCompatible()); } else if (null != seeTag.referencedMemberName()) { @@ -3624,7 +3624,7 @@ public class HtmlDoclet } } } - + if (null != seeTag.label() && seeTag.label().length() > 0) { label = seeTag.label(); @@ -3640,7 +3640,7 @@ public class HtmlDoclet } label.trim(); } - + if (null != href) { result.append("<a href=\""); result.append(href); @@ -3676,7 +3676,7 @@ public class HtmlDoclet || (doc.isClass() && (((ClassDoc)doc).isSerializable() || ((ClassDoc)doc).isExternalizable())))) { - + StringBuffer result = new StringBuffer(); result.append("<dl class=\"tag list\">"); result.append("<dt class=\"tag section header\"><b>"); @@ -3719,7 +3719,7 @@ public class HtmlDoclet result.append("</dl>"); return result.toString(); } - else if (tags.length > 0 + else if (tags.length > 0 && "serial".equals(tagName) && ((HtmlTagletContext)context).isOnSerializedPage()) { @@ -3762,8 +3762,8 @@ public class HtmlDoclet { Map sheets = new HashMap(); if (null != optionStylesheetFile.getValue()) { - sheets.put("User-specified", new String[] { - "resources/user.css" + sheets.put("User-specified", new String[] { + "resources/user.css" }); } else { @@ -3783,7 +3783,7 @@ public class HtmlDoclet if (getRootDoc().firstSentenceTags().length > 0) { return false; } - else if (null != optionDocTitle.getValue() + else if (null != optionDocTitle.getValue() || null != optionTitle.getValue()) { return false; } @@ -3798,25 +3798,25 @@ public class HtmlDoclet TypeVariable[] params = classDoc.typeParameters(); if (params != null && params.length > 0) { - parameters = "<"; - for (int a = 0; a < params.length; ++a) - { - parameters += params[a].typeName(); - Type[] bounds = params[a].bounds(); - if (bounds != null) - { - parameters += " extends "; - for (int b = 0; a < bounds.length; ++b) - { - parameters += bounds[a]; - if (b != bounds.length - 1) - parameters += " & "; - } - } - if (a != params.length - 1) - parameters += ","; - } - parameters += ">"; + parameters = "<"; + for (int a = 0; a < params.length; ++a) + { + parameters += params[a].typeName(); + Type[] bounds = params[a].bounds(); + if (bounds != null) + { + parameters += " extends "; + for (int b = 0; a < bounds.length; ++b) + { + parameters += bounds[a]; + if (b != bounds.length - 1) + parameters += " & "; + } + } + if (a != params.length - 1) + parameters += ","; + } + parameters += ">"; } return parameters; } diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/htmldoclet/HtmlPage.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/htmldoclet/HtmlPage.java index e833627..0315cb5 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/htmldoclet/HtmlPage.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/htmldoclet/HtmlPage.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -63,7 +63,7 @@ import com.sun.javadoc.Tag; * Allows outputting an HTML document without having to build the * document tree in-memory. */ -public class HtmlPage +public class HtmlPage { private File file; private PrintWriter out; @@ -207,7 +207,7 @@ public class HtmlPage print('>'); } - + public void beginDiv(CssClass cssClass) { String[] divAttributeNames = cssClass.getAttributeNames(); @@ -221,7 +221,7 @@ public class HtmlPage String[] attributeNames = new String[1 + divAttributeNames.length]; String[] attributeValues = new String[1 + divAttributeValues.length]; - + System.arraycopy(divAttributeNames, 0, attributeNames, 1, divAttributeNames.length); System.arraycopy(divAttributeValues, 0, attributeValues, 1, divAttributeNames.length); @@ -261,7 +261,7 @@ public class HtmlPage { atomicElement("br"); } - + public void print(String text) { out.print(text); @@ -292,7 +292,7 @@ public class HtmlPage beginPage(title, charset, Collections.EMPTY_SET, stylesheets); } - public void beginPage(String title, String charset, + public void beginPage(String title, String charset, Collection keywords, Map stylesheets) throws IOException { @@ -310,25 +310,25 @@ public class HtmlPage url.delete(url.length() - 1, url.length()); } url.append(file.getCanonicalPath().substring(rootDir.getCanonicalPath().length())); - atomicElement("base", + atomicElement("base", new String[] { "href" }, new String[] { url.toString() }); } - beginElement("script", + beginElement("script", new String[] { "src", "type" }, new String[] { pathToRoot + "/resources/gjdoc.js", "text/javascript" }); print("<!-- this comment required for konqueror 3.2.2 -->"); endElement("script"); - atomicElement("meta", + atomicElement("meta", new String[] { "http-equiv", "content" }, new String[] { "Content-Type", "text/html; charset=" + charset }); - atomicElement("meta", + atomicElement("meta", new String[] { "name", "content" }, new String[] { "generator", "GNU Gjdoc Standard Doclet" }); Iterator keywordIt = keywords.iterator(); while (keywordIt.hasNext()) { String keyword = (String)keywordIt.next(); - atomicElement("meta", + atomicElement("meta", new String[] { "name", "content" }, new String[] { "keywords", keyword }); } @@ -340,9 +340,9 @@ public class HtmlPage for (int i=0; i<sheetFiles.length; ++i) { String sheetFile = sheetFiles[i]; - atomicElement("link", + atomicElement("link", new String[] { "rel", "type", "href", "title" }, - new String[] { "stylesheet", "text/css", + new String[] { "stylesheet", "text/css", pathToRoot + "/" + sheetFile, sheetName }); } } @@ -440,14 +440,14 @@ public class HtmlPage public void beginAnchor(String href, String title) { - beginElement("a", + beginElement("a", new String[] { "href", "title" }, new String[] { href, title }); } public void beginAnchor(String href, String title, String target) { - beginElement("a", + beginElement("a", new String[] { "href", "title", "target" }, new String[] { href, title, target }); } @@ -482,7 +482,7 @@ public class HtmlPage public void beginBody(CssClass cssClass, boolean setTitle) { if (setTitle) { - beginElement("body", + beginElement("body", new String[] { "class", "onload" }, new String[] { cssClass.getName(), "if(parent.contentPageLoaded)parent.contentPageLoaded(document.title)" } ); diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/htmldoclet/HtmlTagletContext.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/htmldoclet/HtmlTagletContext.java index 5cd272d..7b89613 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/htmldoclet/HtmlTagletContext.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/htmldoclet/HtmlTagletContext.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -40,7 +40,7 @@ package gnu.classpath.tools.doclets.htmldoclet; import com.sun.javadoc.Doc; import gnu.classpath.tools.taglets.TagletContext; -public class HtmlTagletContext +public class HtmlTagletContext extends TagletContext { private HtmlPage output; diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/Driver.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/Driver.java index b08d490..29a9e09 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/Driver.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/Driver.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -198,13 +198,13 @@ public class Driver { /** * Path to the directory where temporary files should be stored. - * Defaults to system tempdir, but can be overridden by user + * Defaults to system tempdir, but can be overridden by user * with -workpath. */ private String workingPath = System.getProperty("java.io.tmpdir"); /** - * Temporary directory created by this doclet where all + * Temporary directory created by this doclet where all * temporary files will be stored in. If no temporary * files are needed (i.e. no XSLT postprocessing stage * specified by user), this is <code>null</code>. @@ -272,7 +272,7 @@ public class Driver { /** * Stores options to be passed to the DocTranslet. */ - private DocTransletOptions docTransletOptions = new DocTransletOptions(); + private DocTransletOptions docTransletOptions = new DocTransletOptions(); /** * Stores the package groups specified in the user @@ -301,7 +301,7 @@ public class Driver { * Output an XML tag describing a com.sun.javadoc.Type object. * Assumes that the tag does not have subtags. * - * @param level Level of indentation. Will be multiplied by + * @param level Level of indentation. Will be multiplied by * <code>indentStep</code> to yield actual amount * of whitespace inserted at start of line. * @param tag Identifier for the XML tag being output. @@ -321,11 +321,11 @@ public class Driver { packageName = typeAsClassDoc.containingPackage().name(); } println(level, "<"+tagPrefix+":"+tag + " typename=\""+type.typeName()+"\""+ - " qualifiedtypename=\""+type.qualifiedTypeName()+"\"" - +(type.dimension().length()==0?"":" dimension=\""+type.dimension()+"\"") + " qualifiedtypename=\""+type.qualifiedTypeName()+"\"" + +(type.dimension().length()==0?"":" dimension=\""+type.dimension()+"\"") +(isIncluded?" isIncluded=\"true\"" : "") +((null != packageName)?" package=\"" + packageName + "\"" : "") - +(atomic?"/":"")+">"); + +(atomic?"/":"")+">"); } protected void outputExecutableMemberDocBody(int level, ExecutableMemberDoc memberDoc) { @@ -336,24 +336,24 @@ public class Driver { Parameter[] parameters = memberDoc.parameters(); for (int i=0, ilim=parameters.length; i<ilim; ++i) { - Parameter parameter = parameters[i]; - outputType(level, "parameter name=\""+parameter.name()+"\"", parameter.type()); + Parameter parameter = parameters[i]; + outputType(level, "parameter name=\""+parameter.name()+"\"", parameter.type()); } ClassDoc[] exceptions = memberDoc.thrownExceptions(); for (int i=0, ilim=exceptions.length; i<ilim; ++i) { - ClassDoc exception = exceptions[i]; - outputType(level, "thrownException", exception); + ClassDoc exception = exceptions[i]; + outputType(level, "thrownException", exception); } printAtomTag(level, "signature full=\""+memberDoc.signature()+"\" flat=\""+memberDoc.flatSignature()+"\""); if (memberDoc.isNative()) { - printAtomTag(level, "isNative"); + printAtomTag(level, "isNative"); } if (memberDoc.isSynchronized()) { - printAtomTag(level, "isSynchronized"); + printAtomTag(level, "isSynchronized"); } } @@ -373,10 +373,10 @@ public class Driver { protected void outputFieldDocBody(int level, FieldDoc fieldDoc) { outputType(level, "type", fieldDoc.type()); if (fieldDoc.isTransient()) { - printAtomTag(level, "isTransient"); + printAtomTag(level, "isTransient"); } if (fieldDoc.isVolatile()) { - printAtomTag(level, "isVolatile"); + printAtomTag(level, "isVolatile"); } } @@ -397,13 +397,13 @@ public class Driver { protected void outputSuperInterfacesRec(int level, ClassDoc classDoc) { if (null!=classDoc) { - ClassDoc[] interfaces = classDoc.interfaces(); + ClassDoc[] interfaces = classDoc.interfaces(); if (null != interfaces) { for (int i=0, ilim=interfaces.length; i<ilim; ++i) { outputType(level, "superimplements", interfaces[i]); } } - outputSuperInterfacesRec(level, classDoc.superclass()); + outputSuperInterfacesRec(level, classDoc.superclass()); } } @@ -411,12 +411,12 @@ public class Driver { println(); printOpenTag(1, "classdoc name=\""+classDoc.name()+"\" qualifiedtypename=\""+classDoc.qualifiedName()+"\" isIncluded=\"true\""); if (null!=classDoc.superclass()) { - outputType(2, "superclass", classDoc.superclass()); + outputType(2, "superclass", classDoc.superclass()); } ClassDoc[] interfaces = classDoc.interfaces(); for (int i=0, ilim=interfaces.length; i<ilim; ++i) { - outputType(2, "implements", interfaces[i]); + outputType(2, "implements", interfaces[i]); } outputSuperInterfacesRec(2, classDoc.superclass()); @@ -441,33 +441,33 @@ public class Driver { println(); printOpenTag(1, "packagedoc name=\""+packageDoc.name()+"\""); if (packageDoc.firstSentenceTags().length > 0) { - printOpenTag(2, "firstSentenceTags", false); - outputTags(3, packageDoc.firstSentenceTags(), true, CONTEXT_PACKAGE); - printCloseTag(0, "firstSentenceTags"); - printOpenTag(2, "inlineTags", false); - outputTags(3, packageDoc.inlineTags(), true, CONTEXT_PACKAGE); - printCloseTag(0, "inlineTags"); + printOpenTag(2, "firstSentenceTags", false); + outputTags(3, packageDoc.firstSentenceTags(), true, CONTEXT_PACKAGE); + printCloseTag(0, "firstSentenceTags"); + printOpenTag(2, "inlineTags", false); + outputTags(3, packageDoc.inlineTags(), true, CONTEXT_PACKAGE); + printCloseTag(0, "inlineTags"); } if (packageDoc.tags().length > 0) { - printOpenTag(2, "tags"); - outputTags(3, packageDoc.tags(), true, CONTEXT_PACKAGE); - printCloseTag(2, "tags"); + printOpenTag(2, "tags"); + outputTags(3, packageDoc.tags(), true, CONTEXT_PACKAGE); + printCloseTag(2, "tags"); } if (packageDoc.seeTags().length > 0) { - printOpenTag(2, "seeTags"); - outputTags(3, packageDoc.seeTags(), true, CONTEXT_PACKAGE); - printCloseTag(2, "seeTags"); + printOpenTag(2, "seeTags"); + outputTags(3, packageDoc.seeTags(), true, CONTEXT_PACKAGE); + printCloseTag(2, "seeTags"); } ClassDoc[] allClasses = (ClassDoc[]) packageDoc.allClasses().clone(); Arrays.sort(allClasses); if (false) { - for (int i = 0, ilim = allClasses.length; i < ilim; ++ i) { - printAtomTag(2, "containsClass qualifiedtypename=\""+allClasses[i].qualifiedTypeName()+"\""); - } + for (int i = 0, ilim = allClasses.length; i < ilim; ++ i) { + printAtomTag(2, "containsClass qualifiedtypename=\""+allClasses[i].qualifiedTypeName()+"\""); + } } printCloseTag(1, "packagedoc"); @@ -482,44 +482,44 @@ public class Driver { ClassDoc[] interfaces = classDoc.interfaces(); for (int i=0, ilim=interfaces.length; i<ilim; ++i) { - outputType(2, "implements", interfaces[i]); + outputType(2, "implements", interfaces[i]); } outputSuperInterfacesRec(2, classDoc.superclass()); outputProgramElementDocBody(2, classDoc); if (classDoc.isAbstract()) - printAtomTag(2, "isAbstract"); + printAtomTag(2, "isAbstract"); if (classDoc.isSerializable()) - printAtomTag(2, "isSerializable"); + printAtomTag(2, "isSerializable"); if (classDoc.isExternalizable()) - printAtomTag(2, "isExternalizable"); + printAtomTag(2, "isExternalizable"); if (classDoc.definesSerializableFields()) { - printAtomTag(2, "definesSerializableFields"); + printAtomTag(2, "definesSerializableFields"); } ConstructorDoc[] constructors = classDoc.constructors(); for (int i=0, ilim=constructors.length; i<ilim; ++i) { - outputConstructorDoc(2, constructors[i]); + outputConstructorDoc(2, constructors[i]); } MethodDoc[] methods = classDoc.methods(); for (int i=0, ilim=methods.length; i<ilim; ++i) { - outputMethodDoc(2, methods[i]); + outputMethodDoc(2, methods[i]); } FieldDoc[] fields = classDoc.fields(); for (int i=0, ilim=fields.length; i<ilim; ++i) { - outputFieldDoc(2, fields[i]); + outputFieldDoc(2, fields[i]); } if (classDoc.serializableFields().length > 0) { - printOpenTag(2, "serializableFields"); + printOpenTag(2, "serializableFields"); FieldDoc[] sfields = classDoc.serializableFields(); for (int i=0, ilim=sfields.length; i<ilim; ++i) { outputFieldDoc(2, sfields[i]); } - printCloseTag(2, "serializableFields"); + printCloseTag(2, "serializableFields"); } Java2xhtml java2xhtml = new Java2xhtml(); @@ -536,12 +536,12 @@ public class Driver { FileReader sourceReader = new FileReader(sourceFile); IOToolkit.copyStream(sourceReader, sourceBuffer); print(java2xhtml.makeHTML(sourceBuffer.getBuffer(), sourceFile.getName())); - printCloseTag(2, "source"); + printCloseTag(2, "source"); } ClassDoc superclassDoc = classDoc.superclass(); while (superclassDoc != null) { - outputType(2, "superclass", superclassDoc, false); + outputType(2, "superclass", superclassDoc, false); // FIXME: remove the following after adjusting the XSLT sheets: printAtomTag(3, "containingPackage name=\"" + superclassDoc.containingPackage().name() + "\""); @@ -552,7 +552,7 @@ public class Driver { printAtomTag(3, "methoddoc name=\"" + superMethods[i].name() + "\" signature=\"" + superMethods[i].signature() + "\""); } } - + FieldDoc[] superFields = superclassDoc.fields(); if (null != superFields) { for (int i=0, ilim=superFields.length; i<ilim; ++i) { @@ -560,7 +560,7 @@ public class Driver { } } printCloseTag(2, "superclass"); - + superclassDoc = superclassDoc.superclass(); } @@ -598,7 +598,7 @@ public class Driver { int context = CONTEXT_TYPE; if (doc.isClass()) { - printAtomTag(level, "isClass"); + printAtomTag(level, "isClass"); ClassDoc classDoc = (ClassDoc)doc; ClassDoc[] classes = rootDoc.classes(); @@ -612,24 +612,24 @@ public class Driver { outputHeritageClose(level, classDoc); } if (doc.isConstructor()) { - printAtomTag(level, "isConstructor"); + printAtomTag(level, "isConstructor"); context = CONTEXT_CONSTRUCTOR; } if (doc.isError()) { - printAtomTag(level, "isError"); + printAtomTag(level, "isError"); } if (doc.isException()) { - printAtomTag(level, "isException"); + printAtomTag(level, "isException"); } if (doc.isField()) { - printAtomTag(level, "isField"); + printAtomTag(level, "isField"); context = CONTEXT_FIELD; } if (doc.isIncluded()) { - printAtomTag(level, "isIncluded"); + printAtomTag(level, "isIncluded"); } if (doc.isInterface()) { - printAtomTag(level, "isInterface"); + printAtomTag(level, "isInterface"); ClassDoc classDoc = (ClassDoc)doc; ClassDoc[] classes = rootDoc.classes(); @@ -649,40 +649,40 @@ public class Driver { } } if (doc.isMethod()) { - printAtomTag(level, "isMethod"); + printAtomTag(level, "isMethod"); context = CONTEXT_METHOD; } if (doc.isOrdinaryClass()) { - printAtomTag(level, "isOrdinaryClass"); + printAtomTag(level, "isOrdinaryClass"); } if (doc.inlineTags().length > 0) { - printOpenTag(level, "inlineTags", false); - outputTags(level+1, doc.inlineTags(), true, context); - printCloseTag(0, "inlineTags"); + printOpenTag(level, "inlineTags", false); + outputTags(level+1, doc.inlineTags(), true, context); + printCloseTag(0, "inlineTags"); } if (doc.firstSentenceTags().length > 0) { - printOpenTag(level, "firstSentenceTags", false); - outputTags(level+1, doc.firstSentenceTags(), true, context); - printCloseTag(0, "firstSentenceTags"); + printOpenTag(level, "firstSentenceTags", false); + outputTags(level+1, doc.firstSentenceTags(), true, context); + printCloseTag(0, "firstSentenceTags"); } if (doc.tags().length > 0) { - printOpenTag(level, "tags"); + printOpenTag(level, "tags"); outputTaglets(level+1, doc.tags(), true, context); - printCloseTag(level, "tags"); + printCloseTag(level, "tags"); } if (doc.seeTags().length > 0) { - printOpenTag(level, "seeTags"); - outputTags(level+1, doc.seeTags(), true, context); - printCloseTag(level, "seeTags"); + printOpenTag(level, "seeTags"); + outputTags(level+1, doc.seeTags(), true, context); + printCloseTag(level, "seeTags"); } SourcePosition position = doc.position(); if (null != position) { - printAtomTag(level, "position file=\"" + position.file().getAbsolutePath() + "\" line=\"" + position.line() + "\" column=\"" + position.column() + "\""); + printAtomTag(level, "position file=\"" + position.file().getAbsolutePath() + "\" line=\"" + position.line() + "\" column=\"" + position.column() + "\""); } } @@ -690,24 +690,24 @@ public class Driver { outputDocBody(level, programElementDoc); printAtomTag(level, "containingPackage name=\""+programElementDoc.containingPackage().name()+"\""); if (null!=programElementDoc.containingClass()) { - outputType(level, "containingClass", programElementDoc.containingClass()); + outputType(level, "containingClass", programElementDoc.containingClass()); } String access; - if (programElementDoc.isPublic()) - access="public"; - else if (programElementDoc.isProtected()) - access="protected"; - else if (programElementDoc.isPrivate()) - access="private"; - else if (programElementDoc.isPackagePrivate()) - access="package"; + if (programElementDoc.isPublic()) + access="public"; + else if (programElementDoc.isProtected()) + access="protected"; + else if (programElementDoc.isPrivate()) + access="private"; + else if (programElementDoc.isPackagePrivate()) + access="package"; else - throw new RuntimeException("Huh? "+programElementDoc+" is neither public, protected, private nor package protected."); + throw new RuntimeException("Huh? "+programElementDoc+" is neither public, protected, private nor package protected."); printAtomTag(level, "access scope=\""+access+"\""); if (programElementDoc.isFinal()) - printAtomTag(level, "isFinal"); + printAtomTag(level, "isFinal"); if (programElementDoc.isStatic()) - printAtomTag(level, "isStatic"); + printAtomTag(level, "isStatic"); } protected void outputTags(int level, Tag[] tags, boolean descend, int context) { @@ -720,7 +720,7 @@ public class Driver { protected void outputTag(Tag tag, int level, boolean descend, int context, boolean lastTag) { if (!"Text".equals(tag.name())) { - printOpenTag(0 /* don't introduce additional whitespace */, + printOpenTag(0 /* don't introduce additional whitespace */, "tag kind=\""+tag.kind()+"\" name=\""+tag.name()+"\"", false); } if (tag instanceof ThrowsTag) { @@ -782,7 +782,7 @@ public class Driver { outputTags(level+2, tag.firstSentenceTags(), false, context); printCloseTag(0, "firstSentenceTags"); } - + if (tag.inlineTags().length>0) { printOpenTag(level+1, "inlineTags", false); outputTags(level+2, tag.firstSentenceTags(), false, context); @@ -810,7 +810,7 @@ public class Driver { } } - void outputTaglets(int level, Tag[] tags, boolean descend, int context) + void outputTaglets(int level, Tag[] tags, boolean descend, int context) { for (Iterator it = tagletMap.keySet().iterator(); it.hasNext(); ) { String tagName = (String)it.next(); @@ -824,7 +824,7 @@ public class Driver { || (context != CONTEXT_OVERVIEW || taglet.inOverview()) || (context != CONTEXT_PACKAGE || taglet.inPackage()) || (context != CONTEXT_TYPE || taglet.inType()))) { - + List tagsOfThisType = new ArrayList(); for (int i=0, ilim=tags.length; i<ilim; ++i) { if (tags[i].name().substring(1).equals(tagName)) { @@ -887,113 +887,113 @@ public class Driver { DeprecatedTaglet.setTagletEnabled(true); try { - { - - // Process command line options passed through to this doclet - - TargetContext targetContext = null; - - TargetContext htmlTargetContext - = new TargetContext(DocTranslet.fromClasspath("/doctranslets/html/gjdoc.xsl"), + { + + // Process command line options passed through to this doclet + + TargetContext targetContext = null; + + TargetContext htmlTargetContext + = new TargetContext(DocTranslet.fromClasspath("/doctranslets/html/gjdoc.xsl"), targetDirectory); - for (int i=0, ilim=rootDoc.options().length; i<ilim; ++i) { + for (int i=0, ilim=rootDoc.options().length; i<ilim; ++i) { - String[] option = rootDoc.options()[i]; - String optionTag = option[0]; + String[] option = rootDoc.options()[i]; + String optionTag = option[0]; - if ("-d".equals(optionTag)) { - if (null == targetDirectory) { - targetDirectory = new File(option[1]); - } - if (null != targetContext) { - targetContext.setTargetDirectory(targetDirectory); - } - } + if ("-d".equals(optionTag)) { + if (null == targetDirectory) { + targetDirectory = new File(option[1]); + } + if (null != targetContext) { + targetContext.setTargetDirectory(targetDirectory); + } + } - else if ("-nofixhtml".equals(optionTag)) { - fixHTML = false; + else if ("-nofixhtml".equals(optionTag)) { + fixHTML = false; printError("-nofixhtml currently not supported."); return false; - } - else if ("-compress".equals(optionTag)) { - compress = true; - } - else if ("-nohtmlwarn".equals(optionTag)) { - noHTMLWarn = true; - } - else if ("-noemailwarn".equals(optionTag)) { - noEmailWarn = true; - } - else if ("-indentstep".equals(optionTag)) { - indentStep = Integer.parseInt(option[1]); - } - else if ("-doctranslet".equals(optionTag)) { - targets.add(targetContext = new TargetContext(DocTranslet.fromJarFile(new File(option[1])), + } + else if ("-compress".equals(optionTag)) { + compress = true; + } + else if ("-nohtmlwarn".equals(optionTag)) { + noHTMLWarn = true; + } + else if ("-noemailwarn".equals(optionTag)) { + noEmailWarn = true; + } + else if ("-indentstep".equals(optionTag)) { + indentStep = Integer.parseInt(option[1]); + } + else if ("-doctranslet".equals(optionTag)) { + targets.add(targetContext = new TargetContext(DocTranslet.fromJarFile(new File(option[1])), targetDirectory)); - } - else if ("-genhtml".equals(optionTag)) { - htmlTargetContext.setTargetDirectory(targetDirectory); - targets.add(targetContext = htmlTargetContext); + } + else if ("-genhtml".equals(optionTag)) { + htmlTargetContext.setTargetDirectory(targetDirectory); + targets.add(targetContext = htmlTargetContext); xmlOnly = false; - } - else if ("-geninfo".equals(optionTag)) { + } + else if ("-geninfo".equals(optionTag)) { targetContext - = new TargetContext(DocTranslet.fromClasspath("/doctranslets/info/gengj.xsl"), + = new TargetContext(DocTranslet.fromClasspath("/doctranslets/info/gengj.xsl"), targetDirectory); - targets.add(targetContext); - if (!fixHTML) { - printNotice("NOTE: -geninfo implies -fixhtml."); - fixHTML = true; - } + targets.add(targetContext); + if (!fixHTML) { + printNotice("NOTE: -geninfo implies -fixhtml."); + fixHTML = true; + } xmlOnly = false; - } - else if ("-gendocbook".equals(optionTag)) { - targetContext = new TargetContext(DocTranslet.fromClasspath("/doctranslets/docbook/gengj.xsl"), + } + else if ("-gendocbook".equals(optionTag)) { + targetContext = new TargetContext(DocTranslet.fromClasspath("/doctranslets/docbook/gengj.xsl"), targetDirectory); - targets.add(targetContext); - if (!fixHTML) { - printNotice("NOTE: -gendocbook implies -fixhtml."); - fixHTML = true; - } - } - else if ("-genpdf".equals(optionTag)) { + targets.add(targetContext); + if (!fixHTML) { + printNotice("NOTE: -gendocbook implies -fixhtml."); + fixHTML = true; + } + } + else if ("-genpdf".equals(optionTag)) { targetContext - = new TargetContext(DocTranslet.fromClasspath("/doctranslets/docbook/gengj.xsl"), + = new TargetContext(DocTranslet.fromClasspath("/doctranslets/docbook/gengj.xsl"), targetDirectory); /** "gnu.classpath.tools.doclets.xmldoclet.DocBookPostprocessor") **/ - targets.add(targetContext); - if (!fixHTML) { - printNotice("NOTE: -genpdf implies -fixhtml."); - fixHTML = true; - } - } - else if ("-xmlonly".equals(optionTag)) { - xmlOnly = true; - } - else if ("-bottomnote".equals(optionTag)) { - - FileReader reader = new FileReader(option[1]); - StringWriter writer = new StringWriter(); - char[] buf = new char[256]; - int nread; - while ((nread = reader.read(buf)) >= 0) { - writer.write(buf, 0, nread); - } - writer.flush(); - bottomNote = writer.toString(); - writer.close(); - reader.close(); - } - else if ("-title".equals(optionTag)) { - - title = option[1]; - } - else if ("-workpath".equals(optionTag)) { - - workingPath = option[1]; - } - else if ("-tagletpath".equals(optionTag)) { + targets.add(targetContext); + if (!fixHTML) { + printNotice("NOTE: -genpdf implies -fixhtml."); + fixHTML = true; + } + } + else if ("-xmlonly".equals(optionTag)) { + xmlOnly = true; + } + else if ("-bottomnote".equals(optionTag)) { + + FileReader reader = new FileReader(option[1]); + StringWriter writer = new StringWriter(); + char[] buf = new char[256]; + int nread; + while ((nread = reader.read(buf)) >= 0) { + writer.write(buf, 0, nread); + } + writer.flush(); + bottomNote = writer.toString(); + writer.close(); + reader.close(); + } + else if ("-title".equals(optionTag)) { + + title = option[1]; + } + else if ("-workpath".equals(optionTag)) { + + workingPath = option[1]; + } + else if ("-tagletpath".equals(optionTag)) { if (null == tagletPath) { tagletPath = option[1]; @@ -1001,7 +1001,7 @@ public class Driver { else { tagletPath = tagletPath + File.pathSeparator + option[1]; } - } + } else if ("-taglet".equals(optionTag)) { boolean tagletLoaded = false; @@ -1066,30 +1066,30 @@ public class Driver { return false; } } - else if ("-author".equals(optionTag)) { + else if ("-author".equals(optionTag)) { AuthorTaglet.setTagletEnabled(true); } - else if ("-version".equals(optionTag)) { + else if ("-version".equals(optionTag)) { VersionTaglet.setTagletEnabled(true); } - else if ("-nosince".equals(optionTag)) { + else if ("-nosince".equals(optionTag)) { SinceTaglet.setTagletEnabled(false); } - else if ("-nodeprecated".equals(optionTag)) { + else if ("-nodeprecated".equals(optionTag)) { DeprecatedTaglet.setTagletEnabled(false); } - else if ("-authormail".equals(optionTag)) { - - if ("no-replace".equalsIgnoreCase(option[1])) { + else if ("-authormail".equals(optionTag)) { + + if ("no-replace".equalsIgnoreCase(option[1])) { AuthorTaglet.setEmailReplacementType(AuthorTaglet.EmailReplacement.NO_REPLACEMENT); } - else if ("mailto-name".equalsIgnoreCase(option[1])) { + else if ("mailto-name".equalsIgnoreCase(option[1])) { AuthorTaglet.setEmailReplacementType(AuthorTaglet.EmailReplacement.MAILTO_NAME); } - else if ("name-mailto-address".equalsIgnoreCase(option[1])) { + else if ("name-mailto-address".equalsIgnoreCase(option[1])) { AuthorTaglet.setEmailReplacementType(AuthorTaglet.EmailReplacement.NAME_MAILTO_ADDRESS); } - else if ("name-mangled-address".equalsIgnoreCase(option[1])) { + else if ("name-mangled-address".equalsIgnoreCase(option[1])) { AuthorTaglet.setEmailReplacementType(AuthorTaglet.EmailReplacement.NAME_MANGLED_ADDRESS); } else { @@ -1097,77 +1097,77 @@ public class Driver { + " no-replace, mailto-name, name-mailto-address, name-mangled-address."); return false; } - } - else if ("-mailmangledot".equals(optionTag)) { + } + else if ("-mailmangledot".equals(optionTag)) { AuthorTaglet.setDotReplacement(option[1]); } - else if ("-mailmangleat".equals(optionTag)) { + else if ("-mailmangleat".equals(optionTag)) { AuthorTaglet.setAtReplacement(option[1]); } - else if ("-docfilessubdirs".equals(optionTag)) { + else if ("-docfilessubdirs".equals(optionTag)) { docFilesSubdirsEnabled = true; } - else if ("-excludedocfilessubdir".equals(optionTag)) { + else if ("-excludedocfilessubdir".equals(optionTag)) { StringTokenizer st = new StringTokenizer(option[1]); while (st.hasMoreTokens()) { excludeDocFilesSubDirs.add(st.nextToken()); } } - else if ("-nonavbar".equals(optionTag)) { + else if ("-nonavbar".equals(optionTag)) { docTransletOptions.nonavbar = true; } - else if ("-noindex".equals(optionTag)) { + else if ("-noindex".equals(optionTag)) { docTransletOptions.noindex = true; } - else if ("-notree".equals(optionTag)) { + else if ("-notree".equals(optionTag)) { docTransletOptions.notree = true; } - else if ("-nocomment".equals(optionTag)) { + else if ("-nocomment".equals(optionTag)) { docTransletOptions.nocomment = true; } - else if ("-nohelp".equals(optionTag)) { + else if ("-nohelp".equals(optionTag)) { docTransletOptions.nohelp = true; } - else if ("-splitindex".equals(optionTag)) { + else if ("-splitindex".equals(optionTag)) { docTransletOptions.splitindex = true; } - else if ("-linksource".equals(optionTag)) { + else if ("-linksource".equals(optionTag)) { docTransletOptions.linksource = true; } - else if ("-windowtitle".equals(optionTag)) { + else if ("-windowtitle".equals(optionTag)) { docTransletOptions.windowtitle = option[1]; } - else if ("-helpfile".equals(optionTag)) { + else if ("-helpfile".equals(optionTag)) { docTransletOptions.helpfile = new File(option[1]).toURL().toString(); } - else if ("-stylesheetfile".equals(optionTag)) { + else if ("-stylesheetfile".equals(optionTag)) { docTransletOptions.stylesheetfile = new File(option[1]).toURL().toString(); } - else if ("-header".equals(optionTag)) { + else if ("-header".equals(optionTag)) { docTransletOptions.header = option[1]; } - else if ("-footer".equals(optionTag)) { + else if ("-footer".equals(optionTag)) { docTransletOptions.footer = option[1]; } - else if ("-bottom".equals(optionTag)) { + else if ("-bottom".equals(optionTag)) { docTransletOptions.bottom = option[1]; } - else if ("-doctitle".equals(optionTag)) { + else if ("-doctitle".equals(optionTag)) { docTransletOptions.doctitle = option[1]; } - else if ("-nodeprecatedlist".equals(optionTag)) { + else if ("-nodeprecatedlist".equals(optionTag)) { docTransletOptions.nodeprecatedlist = true; } - else if ("-uses".equals(optionTag)) { + else if ("-uses".equals(optionTag)) { docTransletOptions.uses = true; } - else if ("-group".equals(optionTag)) { + else if ("-group".equals(optionTag)) { if (!processGroupOption(option[1], option[2])) { printError("Invalid package wildcard list in -group option \"" + option[1] + "\" " + option[2]); return false; } } - else if ("-tag".equals(optionTag)) { + else if ("-tag".equals(optionTag)) { String tagSpec = option[1]; boolean validTagSpec = false; int ndx1 = tagSpec.indexOf(':'); @@ -1182,7 +1182,7 @@ public class Driver { } else { mentionedTags.add(taglet); - + // re-append taglet tagletMap.remove(tagSpec); tagletMap.put(tagSpec, taglet); @@ -1212,11 +1212,11 @@ public class Driver { boolean tagScopeMethods = false; boolean tagScopeFields = false; boolean tagDisabled = false; - + tag_option_loop: for (int n=ndx1+1; n<ndx2; ++n) { switch (tagSpec.charAt(n)) { - case 'X': + case 'X': tagDisabled = true; break; case 'a': @@ -1250,7 +1250,7 @@ public class Driver { break tag_option_loop; } } - + if (validTagSpec) { GenericTaglet taglet = new GenericTaglet(tagName, @@ -1271,7 +1271,7 @@ public class Driver { printError("Value for option -tag must be in format \"<tagname>:Xaoptcmf:<taghead>\"."); } } - } + } // Use current directory if target directory hasn't been set. if (null == targetDirectory) { @@ -1281,57 +1281,57 @@ public class Driver { targetContext.setTargetDirectory(targetDirectory); } - // It is illegal to specify targets AND -xmlonly. + // It is illegal to specify targets AND -xmlonly. - if (xmlOnly && targets.size() > 0) { + if (xmlOnly && targets.size() > 0) { - printError("You can only specify one of -xmlonly and a target format."); - return false; - } + printError("You can only specify one of -xmlonly and a target format."); + return false; + } - // If no target was specified and XML only was not - // requested, use HTML as default target. + // If no target was specified and XML only was not + // requested, use HTML as default target. - if (!xmlOnly && targets.size() == 0) { - targets.add(targetContext = htmlTargetContext); - } + if (!xmlOnly && targets.size() == 0) { + targets.add(targetContext = htmlTargetContext); + } - // Set the same target directory for all output. + // Set the same target directory for all output. - // FIXME: Allow separate target directories for different - // output formats. + // FIXME: Allow separate target directories for different + // output formats. - for (Iterator it = targets.iterator(); it.hasNext(); ) { - TargetContext t = (TargetContext)it.next(); - t.setTargetDirectory(targetDirectory); - } + for (Iterator it = targets.iterator(); it.hasNext(); ) { + TargetContext t = (TargetContext)it.next(); + t.setTargetDirectory(targetDirectory); + } - // Create temporary directory if necessary + // Create temporary directory if necessary - if (xmlOnly) { + if (xmlOnly) { - xmlTargetDirectory = targetDirectory; - } - else { + xmlTargetDirectory = targetDirectory; + } + else { - File workingTopDirectory = new File(workingPath); + File workingTopDirectory = new File(workingPath); - workingDirectory = new File(workingTopDirectory, "gjdoc.tmp."+System.currentTimeMillis()); - - if (!workingDirectory.mkdir()) { - printError("Cannot create temporary directory at "+System.getProperty("java.io.tmpdir")); - return false; - } + workingDirectory = new File(workingTopDirectory, "gjdoc.tmp."+System.currentTimeMillis()); - File xmlTempDirectory = new File(workingDirectory, "xmloutput"); + if (!workingDirectory.mkdir()) { + printError("Cannot create temporary directory at "+System.getProperty("java.io.tmpdir")); + return false; + } - if (!xmlTempDirectory.mkdir()) { - printError("Cannot create temporary directory for XML output at "+System.getProperty("java.io.tmpdir")); - return false; - } + File xmlTempDirectory = new File(workingDirectory, "xmloutput"); - xmlTargetDirectory = xmlTempDirectory; - } + if (!xmlTempDirectory.mkdir()) { + printError("Cannot create temporary directory for XML output at "+System.getProperty("java.io.tmpdir")); + return false; + } + + xmlTargetDirectory = xmlTempDirectory; + } // Create target directory if necessary @@ -1373,7 +1373,7 @@ public class Driver { hasDeprecatedClasses = true; } } - + MethodDoc[] methods = c.methods(); for (int j = 0, jlim = methods.length; j < jlim; ++ j) { MethodDoc m = methods[j]; @@ -1382,7 +1382,7 @@ public class Driver { hasDeprecatedMethods = true; } } - + FieldDoc[] fields = c.fields(); for (int j = 0, jlim = fields.length; j < jlim; ++ j) { FieldDoc f = fields[j]; @@ -1402,21 +1402,21 @@ public class Driver { // Begin XML generation - printNotice("Writing XML Index file..."); + printNotice("Writing XML Index file..."); - // Assign output stream + // Assign output stream - setTargetFile("index.xml"); + setTargetFile("index.xml"); - // Output XML document header + // Output XML document header - println(0, "<?xml version=\"1.0\"?>"); - println("<!DOCTYPE gjdoc SYSTEM \"dtd/gjdoc.dtd\">"); - println(); - printOpenTag(0, "rootdoc xmlns=\"http://www.w3.org/TR/REC-html40\" xmlns:gjdoc=\"http://www.gnu.org/software/cp-tools/gjdocxml\""); + println(0, "<?xml version=\"1.0\"?>"); + println("<!DOCTYPE gjdoc SYSTEM \"dtd/gjdoc.dtd\">"); + println(); + printOpenTag(0, "rootdoc xmlns=\"http://www.w3.org/TR/REC-html40\" xmlns:gjdoc=\"http://www.gnu.org/software/cp-tools/gjdocxml\""); - println(); - println(1, "<!-- Tags from overview page, if available -->"); + println(); + println(1, "<!-- Tags from overview page, if available -->"); if (rootDoc.firstSentenceTags().length > 0) { printOpenTag(2, "firstSentenceTags", false); @@ -1429,22 +1429,22 @@ public class Driver { outputTags(3, rootDoc.inlineTags(), true, CONTEXT_PACKAGE); printCloseTag(2, "inlineTags"); } - - if (null != bottomNote) { - printOpenTag(1, "bottomnote"); - print(bottomNote); - printCloseTag(1, "bottomnote"); - } - - if (null != title) { - printOpenTag(1, "title"); - println(2, title); - printCloseTag(1, "title"); - } - - printOpenTag(1, "created"); - println(2, DateFormat.getDateInstance(DateFormat.LONG, Locale.US).format(new java.util.Date())); - printCloseTag(1, "created"); + + if (null != bottomNote) { + printOpenTag(1, "bottomnote"); + print(bottomNote); + printCloseTag(1, "bottomnote"); + } + + if (null != title) { + printOpenTag(1, "title"); + println(2, title); + printCloseTag(1, "title"); + } + + printOpenTag(1, "created"); + println(2, DateFormat.getDateInstance(DateFormat.LONG, Locale.US).format(new java.util.Date())); + printCloseTag(1, "created"); if (hasDeprecatedClasses) printAtomTag(1, "hasDeprecatedClasses"); if (hasDeprecatedInterfaces) printAtomTag(1, "hasDeprecatedInterfaces"); @@ -1453,40 +1453,40 @@ public class Driver { if (hasDeprecatedMethods) printAtomTag(1, "hasDeprecatedMethods"); if (hasDeprecatedFields) printAtomTag(1, "hasDeprecatedFields"); - // Output summary of all classes specified on command line - - println(); - println(1, "<!-- Classes specified by user on command line -->"); - ClassDoc[] specifiedClasses = rootDoc.specifiedClasses(); - for (int i=0, ilim=specifiedClasses.length; i<ilim; ++i) { - ClassDoc sc = specifiedClasses[i]; - printAtomTag(1, "specifiedclass fqname=\""+sc.qualifiedName()+"\" name=\""+sc.name()+"\""); - } - specifiedClasses = null; - - // Output summary of all packages specified on command line - - println(); - println(1, "<!-- Packages specified by user on command line -->"); - PackageDoc[] specifiedPackages = rootDoc.specifiedPackages(); - for (int i=0, ilim=specifiedPackages.length; i<ilim; ++i) { - PackageDoc sp = specifiedPackages[i]; - printAtomTag(1, "specifiedpackage name=\""+sp.name()+"\""); - } - specifiedPackages = null; - - // Output package group information specified on the - // command line - - println(); - println(1, "<!-- Package groups specified by user on command line -->"); + // Output summary of all classes specified on command line + + println(); + println(1, "<!-- Classes specified by user on command line -->"); + ClassDoc[] specifiedClasses = rootDoc.specifiedClasses(); + for (int i=0, ilim=specifiedClasses.length; i<ilim; ++i) { + ClassDoc sc = specifiedClasses[i]; + printAtomTag(1, "specifiedclass fqname=\""+sc.qualifiedName()+"\" name=\""+sc.name()+"\""); + } + specifiedClasses = null; + + // Output summary of all packages specified on command line + + println(); + println(1, "<!-- Packages specified by user on command line -->"); + PackageDoc[] specifiedPackages = rootDoc.specifiedPackages(); + for (int i=0, ilim=specifiedPackages.length; i<ilim; ++i) { + PackageDoc sp = specifiedPackages[i]; + printAtomTag(1, "specifiedpackage name=\""+sp.name()+"\""); + } + specifiedPackages = null; + + // Output package group information specified on the + // command line + + println(); + println(1, "<!-- Package groups specified by user on command line -->"); { Iterator packageGroupIt = packageGroups.iterator(); while (packageGroupIt.hasNext()) { PackageGroup packageGroup = (PackageGroup)packageGroupIt.next(); SortedSet groupedPackages = packageGroup.getPackages(); if (groupedPackages.isEmpty()) { - printWarning("Package group named '" + printWarning("Package group named '" + packageGroup.getName() + "' didn't match any packages."); } else { @@ -1502,53 +1502,53 @@ public class Driver { packageGroups = null; } - // Output information on all packages for which documentation - // has been made available via the Doclet API - - println(); - println(1, "<!-- Documentation for all packages -->"); - PackageDoc[] packages = rootDoc.specifiedPackages(); - for (int i=0, ilim=packages.length; i<ilim; ++i) { - PackageDoc c = packages[i]; - outputPackageDoc(c); - } - packages = null; - - // Output brief summary on all classes for which documentation - // has been made available via the Doclet API. - // - // While this is redundant, it can speed up XSLT - // processing by orders of magnitude - - println(); - println(1, "<!-- Brief summary for all classes -->"); - ClassDoc[] sumclasses = rootDoc.classes(); - for (int i=0, ilim=sumclasses.length; i<ilim; ++i) { - ClassDoc c = sumclasses[i]; - outputClassDocSummary(c); - } - sumclasses = null; - - // Output closing tag, finish output stream - - println(); - printCloseTag(0, "rootdoc"); - - closeTargetFile(); + // Output information on all packages for which documentation + // has been made available via the Doclet API + + println(); + println(1, "<!-- Documentation for all packages -->"); + PackageDoc[] packages = rootDoc.specifiedPackages(); + for (int i=0, ilim=packages.length; i<ilim; ++i) { + PackageDoc c = packages[i]; + outputPackageDoc(c); + } + packages = null; + + // Output brief summary on all classes for which documentation + // has been made available via the Doclet API. + // + // While this is redundant, it can speed up XSLT + // processing by orders of magnitude + + println(); + println(1, "<!-- Brief summary for all classes -->"); + ClassDoc[] sumclasses = rootDoc.classes(); + for (int i=0, ilim=sumclasses.length; i<ilim; ++i) { + ClassDoc c = sumclasses[i]; + outputClassDocSummary(c); + } + sumclasses = null; + + // Output closing tag, finish output stream + + println(); + printCloseTag(0, "rootdoc"); + + closeTargetFile(); createIndexByName(); - // Output information on all classes for which documentation - // has been made available via the Doclet API - - println(); - println(1, "<!-- Documentation for all classes -->"); - ClassDoc[] classes = rootDoc.classes(); + // Output information on all classes for which documentation + // has been made available via the Doclet API + + println(); + println(1, "<!-- Documentation for all classes -->"); + ClassDoc[] classes = rootDoc.classes(); String prevPackageName = null; - for (int i = 0, ilim = classes.length; i < ilim; ++ i) { - ClassDoc c = classes[i]; + for (int i = 0, ilim = classes.length; i < ilim; ++ i) { + ClassDoc c = classes[i]; if (isVerbose()) { printNotice("Writing XML information for "+c.qualifiedName()+"..."); @@ -1560,24 +1560,24 @@ public class Driver { prevPackageName = packageName; } } - - setTargetFile(c.qualifiedName().replace('/','.')+".xml"); - - println("<?xml version=\"1.0\"?>"); + + setTargetFile(c.qualifiedName().replace('/','.')+".xml"); + + println("<?xml version=\"1.0\"?>"); println("<!DOCTYPE gjdoc SYSTEM \"dtd/gjdoc.dtd\">"); - - outputClassDoc(c); - - closeTargetFile(); - } - classes = null; - } - + + outputClassDoc(c); + + closeTargetFile(); + } + classes = null; + } + // Copy DTD files to temporary directory - + // FIXME: try to solve this via jar: URLs. but this will // probably break libxmlj compatibility (?) - + String[] resources = new String[] { "gjdoc.dtd", "gjdoc-alphaindex.dtd", @@ -1609,7 +1609,7 @@ public class Driver { if ((tempDtdDirectory.exists() || tempDtdDirectory.mkdir()) && (tempDtdEntDirectory.exists() || tempDtdEntDirectory.mkdir())) { for (int i = 0; i < resources.length; ++ i) { - copyResourceToFile("/dtd/" + resources[i], + copyResourceToFile("/dtd/" + resources[i], new File(tempDtdDirectory, resources[i])); } } @@ -1630,52 +1630,52 @@ public class Driver { } } - // All information has been output. Apply stylesheet if given. + // All information has been output. Apply stylesheet if given. - gnu.classpath.tools.gjdoc.Main.releaseRootDoc(); - - this.currentClass = null; - this.currentMember = null; - this.currentExecMember = null; - - System.gc(); + gnu.classpath.tools.gjdoc.Main.releaseRootDoc(); - // From this point we are only operating on files, so we don't - // need this anymore and can free up some memory + this.currentClass = null; + this.currentMember = null; + this.currentExecMember = null; + + System.gc(); + + // From this point we are only operating on files, so we don't + // need this anymore and can free up some memory for (Iterator it = targets.iterator(); it.hasNext(); ) { TargetContext target = (TargetContext)it.next(); - // We have XSLT postprocessing, run DocTranslet. + // We have XSLT postprocessing, run DocTranslet. //DocTranslet docTranslet = DocTranslet.fromClasspath("/doctranslets/html/gjdoc.xsl"); - + //docTranslet.setOptions(docTransletOptions); target.getDocTranslet().setOptions(docTransletOptions); - target.getDocTranslet().apply(xmlTargetDirectory, - target.getTargetDirectory(), + target.getDocTranslet().apply(xmlTargetDirectory, + target.getTargetDirectory(), rootDoc); - } + } - // Done + // Done - targets = null; + targets = null; - System.gc(); + System.gc(); Runtime.getRuntime().runFinalization(); - return true; + return true; } catch (Exception e) { - // Something went wrong. Report to stderr and pass error to - // Javadoc Reporter + // Something went wrong. Report to stderr and pass error to + // Javadoc Reporter - e.printStackTrace(); - printError(e.toString()); + e.printStackTrace(); + printError(e.toString()); Throwable rootCause = e.getCause(); if (null != rootCause) { @@ -1686,20 +1686,20 @@ public class Driver { rootCause.printStackTrace(); } - return false; + return false; } finally { - // In any case, delete the working directory if we created one + // In any case, delete the working directory if we created one - if (null != workingDirectory) { + if (null != workingDirectory) { - if (!deleteRecursive(workingDirectory)) { - printWarning("Could not delete temporary directory at "+workingDirectory); - } - } + if (!deleteRecursive(workingDirectory)) { + printWarning("Could not delete temporary directory at "+workingDirectory); + } + } - printNotice("Done."); + printNotice("Done."); } } @@ -1717,16 +1717,16 @@ public class Driver { for (int i=0, ilim=files.length; i<ilim; ++i) { - File file = files[i]; + File file = files[i]; - if (file.isDirectory()) { + if (file.isDirectory()) { - success = deleteRecursive(file) && success; - } - else { + success = deleteRecursive(file) && success; + } + else { - success = file.delete() && success; - } + success = file.delete() && success; + } } return directory.delete() && success; @@ -1734,7 +1734,7 @@ public class Driver { /** * Prints a string to stdout and appends a newline. Convenience - * method. + * method. */ protected void println(String str) { out.println(str); @@ -1742,7 +1742,7 @@ public class Driver { /** * Prints a string to stdout without appending a newline. - * Convenience method. + * Convenience method. */ protected void print(String str) { out.print(str); @@ -1751,31 +1751,31 @@ public class Driver { /** * In standard mode, prints an empty line to stdout. * In thight mode, nothing happens. - * Convenience method. + * Convenience method. */ protected void println() { if (!compress) { - out.println(); + out.println(); } } /** - * In standard mode, prints the given text indented to stdout and appends newline. + * In standard mode, prints the given text indented to stdout and appends newline. * In tight mode, doesn't print indentation or newlines. */ protected void print(int indentLevel, String msg) { if (compress) { - out.print(msg); + out.print(msg); } else { - StringBuffer indentation = new StringBuffer(); - for (int i=0; i<indentLevel*indentStep; ++i) { - indentation.append(' '); - } - out.print(indentation+msg); + StringBuffer indentation = new StringBuffer(); + for (int i=0; i<indentLevel*indentStep; ++i) { + indentation.append(' '); + } + out.print(indentation+msg); } } - + /** * In tight mode, prints a message at a given indentation level. * In standard mode, appends a newline in addition. @@ -1805,10 +1805,10 @@ public class Driver { */ protected void printOpenTag(int level, String tag, boolean appendNewline) { if (appendNewline && !compress) { - println(level, "<"+tagPrefix+":"+replaceCharsInTag(tag)+">"); + println(level, "<"+tagPrefix+":"+replaceCharsInTag(tag)+">"); } else { - print(level, "<"+tagPrefix+":"+replaceCharsInTag(tag)+">"); + print(level, "<"+tagPrefix+":"+replaceCharsInTag(tag)+">"); } } @@ -1825,10 +1825,10 @@ public class Driver { */ protected void printCloseTag(int level, String tag, boolean appendNewline) { if (appendNewline && !compress) { - println(level, "</"+tagPrefix+":"+replaceCharsInTag(tag)+">"); + println(level, "</"+tagPrefix+":"+replaceCharsInTag(tag)+">"); } else { - print(level, "</"+tagPrefix+":"+replaceCharsInTag(tag)+">"); + print(level, "</"+tagPrefix+":"+replaceCharsInTag(tag)+">"); } } @@ -1893,21 +1893,21 @@ public class Driver { * * @param tagContent String to process * - * @return given String with all special characters replaced by + * @return given String with all special characters replaced by * HTML entities. */ private static String replaceCharsInTag(String tagContent) { - return - replaceString( - replaceString( - replaceString( - tagContent, - "<", "<" - ), - ">", ">" - ), - "&", "&" - ); + return + replaceString( + replaceString( + replaceString( + tagContent, + "<", "<" + ), + ">", ">" + ), + "&", "&" + ); } /** @@ -1921,10 +1921,10 @@ public class Driver { private static String replaceString(String haystack, String needle, String replacement) { int ndx = haystack.indexOf(needle); if (ndx<0) - return haystack; + return haystack; else - return haystack.substring(0, ndx) + replacement - + replaceString(haystack.substring(ndx+needle.length()), needle, replacement); + return haystack.substring(0, ndx) + replacement + + replaceString(haystack.substring(ndx+needle.length()), needle, replacement); } protected void setTargetFile(String filename) throws IOException { @@ -1942,67 +1942,67 @@ public class Driver { private String cdata(String str) { if (null==str) { - return str; + return str; } // end of if ((null==str) StringBuffer rc = new StringBuffer(); for (int i=0; i<str.length(); ++i) { - char c = str.charAt(i); - if (c==0x09 || c==0x0a || c==0x0d || (c>=0x20 && c<=0xd7ff) || (c>=0xe000 && c<=0xfffd) || (c>=0x10000 && c<=0x10ffff)) { - rc.append(c); - } - else { - printWarning("Invalid Unicode character 0x"+Integer.toString(c, 16)+" in javadoc markup has been stripped."); - } // end of else - + char c = str.charAt(i); + if (c==0x09 || c==0x0a || c==0x0d || (c>=0x20 && c<=0xd7ff) || (c>=0xe000 && c<=0xfffd) || (c>=0x10000 && c<=0x10ffff)) { + rc.append(c); + } + else { + printWarning("Invalid Unicode character 0x"+Integer.toString(c, 16)+" in javadoc markup has been stripped."); + } // end of else + } return rc.toString(); } static void copyResourceToFile(String resourceName, File target) throws IOException { - + InputStream in = Driver.class.getResourceAsStream(resourceName); if (null != in) { - FileOutputStream out = new FileOutputStream(target); - int size; - byte[] buffer = new byte[512]; - while ((size = in.read(buffer)) >= 0) { - out.write(buffer, 0, size); - } - out.close(); + FileOutputStream out = new FileOutputStream(target); + int size; + byte[] buffer = new byte[512]; + while ((size = in.read(buffer)) >= 0) { + out.write(buffer, 0, size); + } + out.close(); } else { - throw new IOException("Can't find resource named "+resourceName); + throw new IOException("Can't find resource named "+resourceName); } } private void printError(String error) { if (null != rootDoc) { - rootDoc.printError(error); + rootDoc.printError(error); } else { - System.err.println("ERROR: "+error); + System.err.println("ERROR: "+error); } } private void printWarning(String warning) { if (null != rootDoc) { - rootDoc.printWarning(warning); + rootDoc.printWarning(warning); } else { - System.err.println("WARNING: "+warning); + System.err.println("WARNING: "+warning); } } private void printNotice(String notice) { if (null != rootDoc) { - rootDoc.printNotice(notice); + rootDoc.printNotice(notice); } else { - System.err.println(notice); + System.err.println(notice); } } @@ -2014,7 +2014,7 @@ public class Driver { File docFilesSourceDirectory = new File(packageDoc.packageDirectory(), "doc-files"); File docFilesTargetDirectory - = new File(this.targetDirectory, + = new File(this.targetDirectory, packageDoc.name().replace('.', File.separatorChar)); if (docFilesSourceDirectory.exists()) { printNotice("Copying files from " + docFilesSourceDirectory); @@ -2028,7 +2028,7 @@ public class Driver { * Recursively copy the contents of the input directory to the * output directory. The output directory must exist. */ - private static void copyDirectory(File sourceDir, File targetDir, + private static void copyDirectory(File sourceDir, File targetDir, boolean recursive, Set excludeDirs) throws IOException { if (!targetDir.exists() && !targetDir.mkdirs()) { @@ -2038,9 +2038,9 @@ public class Driver { File[] sourceFiles = sourceDir.listFiles(); for (int i=0; i<sourceFiles.length; ++i) { if (sourceFiles[i].isDirectory()) { - if (recursive && (null == excludeDirs + if (recursive && (null == excludeDirs || !excludeDirs.contains(sourceFiles[i].getName()))) { - File targetSubDir = new File(targetDir, + File targetSubDir = new File(targetDir, sourceFiles[i].getName()); if (targetSubDir.exists() || targetSubDir.mkdir()) { copyDirectory(sourceFiles[i], targetSubDir, recursive, null); @@ -2077,7 +2077,7 @@ public class Driver { // Create index // Collect index - + Map indexMap = new TreeMap(new Comparator() { public int compare(Object o1, Object o2) { return o1.toString().toLowerCase().compareTo(o2.toString().toLowerCase()); @@ -2135,7 +2135,7 @@ public class Driver { println("<!DOCTYPE gjdoc SYSTEM \"dtd/gjdoc-alphaindex.dtd\">"); println(); printOpenTag(0, "alphaindex xmlns=\"http://www.w3.org/TR/REC-html40\" xmlns:gjdoc=\"http://www.gnu.org/software/cp-tools/gjdocxml\""); - + Iterator it = indexMap.keySet().iterator(); char previousCategoryLetter = '\0'; @@ -2235,8 +2235,8 @@ public class Driver { this.id = id; } - public String toString() { - return "UsageType{id=" + id + "}"; + public String toString() { + return "UsageType{id=" + id + "}"; } public String getId() { @@ -2281,7 +2281,7 @@ public class Driver { ClassDoc clazz = classes[i]; // classes derived from - for (ClassDoc superclass = clazz.superclass(); superclass != null; + for (ClassDoc superclass = clazz.superclass(); superclass != null; superclass = superclass.superclass()) { addUsedBy(superclass, UsageType.CLASS_DERIVED_FROM, clazz, clazz.containingPackage()); } @@ -2290,10 +2290,10 @@ public class Driver { for (int j = 0, jlim = fields.length; j < jlim; ++ j) { FieldDoc field = fields[j]; - // fields of type + // fields of type ClassDoc fieldType = field.type().asClassDoc(); if (null != fieldType) { - addUsedBy(fieldType, UsageType.FIELD_OF_TYPE, + addUsedBy(fieldType, UsageType.FIELD_OF_TYPE, field, clazz.containingPackage()); } } @@ -2306,7 +2306,7 @@ public class Driver { ClassDoc returnType = method.returnType().asClassDoc(); if (null != returnType) { - addUsedBy(returnType, UsageType.METHOD_WITH_RETURN_TYPE, + addUsedBy(returnType, UsageType.METHOD_WITH_RETURN_TYPE, method, clazz.containingPackage()); } Parameter[] parameters = method.parameters(); @@ -2317,7 +2317,7 @@ public class Driver { Parameter parameter = parameters[k]; ClassDoc parameterType = parameter.type().asClassDoc(); if (null != parameterType) { - addUsedBy(parameterType, UsageType.METHOD_WITH_PARAMETER_TYPE, + addUsedBy(parameterType, UsageType.METHOD_WITH_PARAMETER_TYPE, method, clazz.containingPackage()); } } @@ -2327,11 +2327,11 @@ public class Driver { ClassDoc[] thrownExceptions = method.thrownExceptions(); for (int k = 0, klim = thrownExceptions.length; k < klim; ++ k) { ClassDoc thrownException = thrownExceptions[k]; - addUsedBy(thrownException, UsageType.METHOD_WITH_THROWN_TYPE, + addUsedBy(thrownException, UsageType.METHOD_WITH_THROWN_TYPE, method, clazz.containingPackage()); } } - + ConstructorDoc[] constructors = clazz.constructors(); for (int j = 0, jlim = constructors.length; j < jlim; ++ j) { @@ -2341,11 +2341,11 @@ public class Driver { for (int k = 0, klim = parameters.length; k < klim; ++ k) { // constructors with parameter type - + Parameter parameter = parameters[k]; ClassDoc parameterType = parameter.type().asClassDoc(); if (null != parameterType) { - addUsedBy(parameterType, UsageType.CONSTRUCTOR_WITH_PARAMETER_TYPE, + addUsedBy(parameterType, UsageType.CONSTRUCTOR_WITH_PARAMETER_TYPE, constructor, clazz.containingPackage()); } } @@ -2355,7 +2355,7 @@ public class Driver { ClassDoc[] thrownExceptions = constructor.thrownExceptions(); for (int k = 0, klim = thrownExceptions.length; k < klim; ++ k) { ClassDoc thrownException = thrownExceptions[k]; - addUsedBy(thrownException, UsageType.CONSTRUCTOR_WITH_THROWN_TYPE, + addUsedBy(thrownException, UsageType.CONSTRUCTOR_WITH_THROWN_TYPE, constructor, clazz.containingPackage()); } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/Driver1_4.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/Driver1_4.java index e2297d8..6744947 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/Driver1_4.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/Driver1_4.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -62,15 +62,15 @@ public class Driver1_4 extends Driver { /* since 1.4 private void outputSourcePosition(int level, SourcePosition sourcePosition) { println(level, "<sourceposition" - + " file=\""+sourcePosition.file().toString()+"\"" - + " line=\""+sourcePosition.line()+"\"" - + " column=\""+sourceposition.column()+"\"" - + "/>"); + + " file=\""+sourcePosition.file().toString()+"\"" + + " line=\""+sourcePosition.line()+"\"" + + " column=\""+sourceposition.column()+"\"" + + "/>"); } */ - protected void outputClassDoc(ClassDoc classDoc) - throws IOException + protected void outputClassDoc(ClassDoc classDoc) + throws IOException { super.outputClassDoc(classDoc); //outputSourcePosition(level, doc.position()); diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/HtmlRepairer.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/HtmlRepairer.java index 175d4e8..582a45b 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/HtmlRepairer.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/HtmlRepairer.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -55,17 +55,17 @@ public final class HtmlRepairer { private Set parentTags = new HashSet(); public TagInfo(String parentTag) { - this.parentTags.add(parentTag); + this.parentTags.add(parentTag); } public TagInfo(String[] parentTagArr) { - for (int i=0; i<parentTagArr.length; ++i) { - this.parentTags.add(parentTagArr[i]); - } + for (int i=0; i<parentTagArr.length; ++i) { + this.parentTags.add(parentTagArr[i]); + } } public boolean isLegalParentTag(String tag) { - return this.parentTags.contains(tag); + return this.parentTags.contains(tag); } } @@ -94,7 +94,7 @@ public final class HtmlRepairer { tagInfoMap.put("param", new TagInfo(new String[] { "applet" })); String[] noTextParentTagArr = { - "area", "base", "body", "br", "dd", "dt", "head", "hr", "html", + "area", "base", "body", "br", "dd", "dt", "head", "hr", "html", "img", "input", "link", "map", "meta", "ol", "optgroup", "param", "select", "table", "tbody", "tfoot", "thead", "tr", "ul", }; @@ -105,9 +105,9 @@ public final class HtmlRepairer { } } - public HtmlRepairer(DocErrorReporter warningReporter, - boolean noWarn, boolean noEmailWarn, - ClassDoc contextClass, MemberDoc contextMember, + public HtmlRepairer(DocErrorReporter warningReporter, + boolean noWarn, boolean noEmailWarn, + ClassDoc contextClass, MemberDoc contextMember, boolean throwAwayLeadingPara) { this.warningReporter = warningReporter; this.noWarn = noWarn; @@ -116,16 +116,16 @@ public final class HtmlRepairer { this.contextMember = contextMember; this.throwAwayLeadingPara = throwAwayLeadingPara; } - + private static String replaceStr(String haystack, String needle, String replacement) { int ndx=haystack.indexOf(needle); - if (ndx<0) - return haystack; - else - return haystack.substring(0, ndx)+replacement - + replaceStr(haystack.substring(ndx+needle.length()), needle, replacement); + if (ndx<0) + return haystack; + else + return haystack.substring(0, ndx)+replacement + + replaceStr(haystack.substring(ndx+needle.length()), needle, replacement); } - + private void haveText(String text) { if (isLeadingTag && throwAwayLeadingPara) { @@ -163,9 +163,9 @@ public final class HtmlRepairer { boolean isAtomTag = tag.endsWith("/"); if (isEndTag && isAtomTag) { - // got something like '</a/>' which is invalid. - // suppose a close tag was intended. - tag = tag.substring(0, tag.length()-1); + // got something like '</a/>' which is invalid. + // suppose a close tag was intended. + tag = tag.substring(0, tag.length()-1); } if (tag.length() < 1) { @@ -177,19 +177,19 @@ public final class HtmlRepairer { String tagAttributes = ""; for (int i=0; i<tagName.length(); ++i) { - if (" \t\r\n".indexOf(tagName.charAt(i))>=0) { - tagAttributes = tagName.substring(i).trim(); - tagName = tagName.substring(0, i); - break; - } + if (" \t\r\n".indexOf(tagName.charAt(i))>=0) { + tagAttributes = tagName.substring(i).trim(); + tagName = tagName.substring(0, i); + break; + } } if (!isEndTag && tagName.indexOf('@')>0) { - if (!noEmailWarn) { - printWarning("Tag looks like email address: <"+tagName+">"); - } - output.append("<"+tag+">"); - return; + if (!noEmailWarn) { + printWarning("Tag looks like email address: <"+tagName+">"); + } + output.append("<"+tag+">"); + return; } tagName = tagName.toLowerCase(); @@ -199,189 +199,189 @@ public final class HtmlRepairer { } if ("p".equals(tagName) || "br".equals(tagName) || "hr".equals(tagName)) { - // throw away </p> and </br> - if (isEndTag) { - return; - } - // make sure every <p> is a <p/> and every <br> is a <br/> - else if (!isAtomTag) { - tag += "/"; - isAtomTag = true; - } + // throw away </p> and </br> + if (isEndTag) { + return; + } + // make sure every <p> is a <p/> and every <br> is a <br/> + else if (!isAtomTag) { + tag += "/"; + isAtomTag = true; + } } if (isEndTag) { - // check whether this close tag is on the stack - // if yes, close all tags up to this tag - if (tagStack.contains(tagName)) { - String popped; - do { - popped = (String)tagStack.pop(); - if (!popped.equals(tagName)) - printWarning("Inserting '</"+popped+">"); - output.append("</"+popped+">"); - } - while (!popped.equals(tagName)); - } - // if not, just throw it away - else { - printWarning("Deleting <"+tag+">"); - } + // check whether this close tag is on the stack + // if yes, close all tags up to this tag + if (tagStack.contains(tagName)) { + String popped; + do { + popped = (String)tagStack.pop(); + if (!popped.equals(tagName)) + printWarning("Inserting '</"+popped+">"); + output.append("</"+popped+">"); + } + while (!popped.equals(tagName)); + } + // if not, just throw it away + else { + printWarning("Deleting <"+tag+">"); + } } else { - final int STATE_INITIAL = 1; - final int STATE_EXPECT_ATTRIBUTENAME = 2; - final int STATE_UNQUOTED_ATTRIBUTEVALUE = 3; - final int STATE_SINGLEQUOTE_ATTRIBUTEVALUE = 4; - final int STATE_DOUBLEQUOTE_ATTRIBUTEVALUE = 5; - final int STATE_EXPECT_ATTRIBUTEVALUE = 6; - final int STATE_EXPECT_EQUALSIGN = 7; - - int state = STATE_INITIAL; - - String newAttributes = ""; - String attributeName = null; - StringBuffer buf = new StringBuffer(); - - char[] attrsAsChars = tagAttributes.toCharArray(); - for (int i=0, ilim=attrsAsChars.length+1; i<ilim; ++i) { - int c; - if (i<attrsAsChars.length) - c = (int)attrsAsChars[i]; - else - c = -1; - - switch (state) { - - case STATE_INITIAL: - if (" \t\r\n".indexOf(c)>=0){ - continue; - } - else if (-1==c) { - continue; - } - else { - state = STATE_EXPECT_ATTRIBUTENAME; - buf.append((char)c); - } - break; - - case STATE_EXPECT_ATTRIBUTENAME: - if ('='==c) { - attributeName = buf.toString(); - buf.setLength(0); - state = STATE_EXPECT_ATTRIBUTEVALUE; - } - else if (-1==c) { - attributeName = buf.toString(); - buf.setLength(0); - printWarning("In Tag '"+tag+"':\nAttribute name without a value, inserting value =\""+attributeName+"\""); - } - else if (" \t\r\n".indexOf(c)>=0) { - state = STATE_EXPECT_EQUALSIGN; - } - else { - buf.append((char)c); - } - break; - - case STATE_EXPECT_EQUALSIGN: - if (" \t\r\n".indexOf(c)>=0){ - continue; - } - else if ('='==c) { - state = STATE_EXPECT_ATTRIBUTEVALUE; - attributeName = buf.toString(); - buf.setLength(0); - } - else { - attributeName = buf.toString(); - buf.setLength(0); - printWarning("In Tag '"+tag+"':\nAttribute name without a value, inserting value =\""+attributeName+"\""); - newAttributes += " "+attributeName+"=\""+attributeName+"\""; - buf.append((char)c); - state = STATE_EXPECT_ATTRIBUTENAME; - } - break; - - case STATE_EXPECT_ATTRIBUTEVALUE: - if (" \t\r\n".indexOf(c)>=0){ - continue; - } - else if ('\"'==c) { - state = STATE_DOUBLEQUOTE_ATTRIBUTEVALUE; - } - else if ('\''==c) { - state = STATE_SINGLEQUOTE_ATTRIBUTEVALUE; - } - else { - state = STATE_UNQUOTED_ATTRIBUTEVALUE; - buf.append((char)c); - } - break; - - case STATE_UNQUOTED_ATTRIBUTEVALUE: - if (-1==c || " \t\r\n".indexOf(c)>=0){ - state = STATE_INITIAL; - newAttributes += " "+attributeName + "=\"" + buf.toString() + "\""; - buf.setLength(0); - } - else { - buf.append((char)c); - } - break; - - case STATE_SINGLEQUOTE_ATTRIBUTEVALUE: - if ('\''==c) { - state = STATE_INITIAL; - newAttributes += " "+attributeName + "=\"" + buf.toString() + "\""; - buf.setLength(0); - } - else { - buf.append((char)c); - } - break; - - case STATE_DOUBLEQUOTE_ATTRIBUTEVALUE: - if ('\"'==c) { - state = STATE_INITIAL; - newAttributes += " "+attributeName + "=\"" + buf.toString() + "\""; - buf.setLength(0); - } - else { - buf.append((char)c); - } - break; - } - } - - - if (!isAtomTag) { - - // check whether this open tag is equal to the topmost - // entry on the stack; if yes, emit a close tag first - - // corrects stuff like '<tr><td>...<td>...'); - if (!tagStack.isEmpty() && tagStack.peek().equals(tagName)) { - printWarning("Inserting </"+tagName+">"); - output.append("</"+tagName+">"); - tagStack.pop(); - } - else { - processKnownChildTags(tagName, tagStack, output); - } - - // otherwise, we assume there are no close tags required - // before this open tag. - tagStack.push(tagName); - - output.append("<"+tagName+newAttributes+">"); - } - else { - output.append("<"+tagName+newAttributes+"/>"); - } + final int STATE_INITIAL = 1; + final int STATE_EXPECT_ATTRIBUTENAME = 2; + final int STATE_UNQUOTED_ATTRIBUTEVALUE = 3; + final int STATE_SINGLEQUOTE_ATTRIBUTEVALUE = 4; + final int STATE_DOUBLEQUOTE_ATTRIBUTEVALUE = 5; + final int STATE_EXPECT_ATTRIBUTEVALUE = 6; + final int STATE_EXPECT_EQUALSIGN = 7; + + int state = STATE_INITIAL; + + String newAttributes = ""; + String attributeName = null; + StringBuffer buf = new StringBuffer(); + + char[] attrsAsChars = tagAttributes.toCharArray(); + for (int i=0, ilim=attrsAsChars.length+1; i<ilim; ++i) { + int c; + if (i<attrsAsChars.length) + c = (int)attrsAsChars[i]; + else + c = -1; + + switch (state) { + + case STATE_INITIAL: + if (" \t\r\n".indexOf(c)>=0){ + continue; + } + else if (-1==c) { + continue; + } + else { + state = STATE_EXPECT_ATTRIBUTENAME; + buf.append((char)c); + } + break; + + case STATE_EXPECT_ATTRIBUTENAME: + if ('='==c) { + attributeName = buf.toString(); + buf.setLength(0); + state = STATE_EXPECT_ATTRIBUTEVALUE; + } + else if (-1==c) { + attributeName = buf.toString(); + buf.setLength(0); + printWarning("In Tag '"+tag+"':\nAttribute name without a value, inserting value =\""+attributeName+"\""); + } + else if (" \t\r\n".indexOf(c)>=0) { + state = STATE_EXPECT_EQUALSIGN; + } + else { + buf.append((char)c); + } + break; + + case STATE_EXPECT_EQUALSIGN: + if (" \t\r\n".indexOf(c)>=0){ + continue; + } + else if ('='==c) { + state = STATE_EXPECT_ATTRIBUTEVALUE; + attributeName = buf.toString(); + buf.setLength(0); + } + else { + attributeName = buf.toString(); + buf.setLength(0); + printWarning("In Tag '"+tag+"':\nAttribute name without a value, inserting value =\""+attributeName+"\""); + newAttributes += " "+attributeName+"=\""+attributeName+"\""; + buf.append((char)c); + state = STATE_EXPECT_ATTRIBUTENAME; + } + break; + + case STATE_EXPECT_ATTRIBUTEVALUE: + if (" \t\r\n".indexOf(c)>=0){ + continue; + } + else if ('\"'==c) { + state = STATE_DOUBLEQUOTE_ATTRIBUTEVALUE; + } + else if ('\''==c) { + state = STATE_SINGLEQUOTE_ATTRIBUTEVALUE; + } + else { + state = STATE_UNQUOTED_ATTRIBUTEVALUE; + buf.append((char)c); + } + break; + + case STATE_UNQUOTED_ATTRIBUTEVALUE: + if (-1==c || " \t\r\n".indexOf(c)>=0){ + state = STATE_INITIAL; + newAttributes += " "+attributeName + "=\"" + buf.toString() + "\""; + buf.setLength(0); + } + else { + buf.append((char)c); + } + break; + + case STATE_SINGLEQUOTE_ATTRIBUTEVALUE: + if ('\''==c) { + state = STATE_INITIAL; + newAttributes += " "+attributeName + "=\"" + buf.toString() + "\""; + buf.setLength(0); + } + else { + buf.append((char)c); + } + break; + + case STATE_DOUBLEQUOTE_ATTRIBUTEVALUE: + if ('\"'==c) { + state = STATE_INITIAL; + newAttributes += " "+attributeName + "=\"" + buf.toString() + "\""; + buf.setLength(0); + } + else { + buf.append((char)c); + } + break; + } + } + + + if (!isAtomTag) { + + // check whether this open tag is equal to the topmost + // entry on the stack; if yes, emit a close tag first + + // corrects stuff like '<tr><td>...<td>...'); + if (!tagStack.isEmpty() && tagStack.peek().equals(tagName)) { + printWarning("Inserting </"+tagName+">"); + output.append("</"+tagName+">"); + tagStack.pop(); + } + else { + processKnownChildTags(tagName, tagStack, output); + } + + // otherwise, we assume there are no close tags required + // before this open tag. + tagStack.push(tagName); + + output.append("<"+tagName+newAttributes+">"); + } + else { + output.append("<"+tagName+newAttributes+"/>"); + } } } @@ -390,33 +390,33 @@ public final class HtmlRepairer { TagInfo tagInfo = (TagInfo)tagInfoMap.get(tagName); if (null != tagInfo) { - String parentTag = null; - for (Enumeration en = tagStack.elements(); en.hasMoreElements(); ) { - String tag = (String)en.nextElement(); - if (tagInfo.isLegalParentTag(tag)) { - parentTag = tag; - break; - } - } - if (parentTag != null) { - while (((String)tagStack.peek()) != parentTag) { - String poppedTagName = (String)tagStack.pop(); - output.append("</"+poppedTagName+">"); - printWarning("Inserting </"+poppedTagName+">"); - } - return true; - } + String parentTag = null; + for (Enumeration en = tagStack.elements(); en.hasMoreElements(); ) { + String tag = (String)en.nextElement(); + if (tagInfo.isLegalParentTag(tag)) { + parentTag = tag; + break; + } + } + if (parentTag != null) { + while (((String)tagStack.peek()) != parentTag) { + String poppedTagName = (String)tagStack.pop(); + output.append("</"+poppedTagName+">"); + printWarning("Inserting </"+poppedTagName+">"); + } + return true; + } } return false; } private void flush() { - + // close all pending tags while (!tagStack.isEmpty()) { - String tagName = (String)tagStack.pop(); - printWarning("Inserting </"+tagName+">"); - output.append("</"+tagName+">"); + String tagName = (String)tagStack.pop(); + printWarning("Inserting </"+tagName+">"); + output.append("</"+tagName+">"); } } @@ -429,16 +429,16 @@ public final class HtmlRepairer { * * Currently, the returned String is not guaranteed to be * well-formed. In particular there are no checks on the tag - * names, attribute names and entity names. + * names, attribute names and entity names. */ public String getWellformedHTML(String text) { - final int STATE_INITIAL = 1; - final int STATE_TAG_START = 2; - final int STATE_TAG = 3; - final int STATE_TAG_DOUBLEQUOTE = 4; - final int STATE_TAG_SINGLEQUOTE = 5; - final int STATE_AMP = 6; + final int STATE_INITIAL = 1; + final int STATE_TAG_START = 2; + final int STATE_TAG = 3; + final int STATE_TAG_DOUBLEQUOTE = 4; + final int STATE_TAG_SINGLEQUOTE = 5; + final int STATE_AMP = 6; int state = STATE_INITIAL; output.setLength(0); @@ -446,74 +446,74 @@ public final class HtmlRepairer { StringBuffer buf = new StringBuffer(); char[] textAsChars = text.toCharArray(); - + outer_loop: for (int i=0, ilim=textAsChars.length+1; i<ilim; ++i) { - int c; - - if (i<textAsChars.length) { - c = textAsChars[i]; - } - else { - c = -1; - } - - switch (state) { - - case STATE_INITIAL: - if ('<'==c) { - state = STATE_TAG_START; - if (buf.length()>0) { - haveText(buf.toString()); - buf.setLength(0); - } - } - else if ('>'==c) { - // assume this is a greater-than sign - buf.append(">"); - } - else if ('&'==c) { - state = STATE_AMP; - } - else if (-1==c) { - if (buf.length()>0) { - haveText(buf.toString()); - buf.setLength(0); - } - continue; - } - else { - buf.append((char)c); - } - break; - - case STATE_AMP: - if ('<'==c) { - buf.append("&"); - state = STATE_TAG_START; - if (buf.length()>0) { - haveText(buf.toString()); - buf.setLength(0); - } - } - else if ('>'==c) { - // assume this is a greater-than sign - buf.append("&"); - buf.append(">"); - state = STATE_INITIAL; - } - else if ('&'==c) { - buf.append("&"); - buf.append("&"); - state = STATE_INITIAL; - } - else if (-1==c) { - buf.append("&"); - haveText(buf.toString()); - buf.setLength(0); - state = STATE_INITIAL; - continue; - } + int c; + + if (i<textAsChars.length) { + c = textAsChars[i]; + } + else { + c = -1; + } + + switch (state) { + + case STATE_INITIAL: + if ('<'==c) { + state = STATE_TAG_START; + if (buf.length()>0) { + haveText(buf.toString()); + buf.setLength(0); + } + } + else if ('>'==c) { + // assume this is a greater-than sign + buf.append(">"); + } + else if ('&'==c) { + state = STATE_AMP; + } + else if (-1==c) { + if (buf.length()>0) { + haveText(buf.toString()); + buf.setLength(0); + } + continue; + } + else { + buf.append((char)c); + } + break; + + case STATE_AMP: + if ('<'==c) { + buf.append("&"); + state = STATE_TAG_START; + if (buf.length()>0) { + haveText(buf.toString()); + buf.setLength(0); + } + } + else if ('>'==c) { + // assume this is a greater-than sign + buf.append("&"); + buf.append(">"); + state = STATE_INITIAL; + } + else if ('&'==c) { + buf.append("&"); + buf.append("&"); + state = STATE_INITIAL; + } + else if (-1==c) { + buf.append("&"); + haveText(buf.toString()); + buf.setLength(0); + state = STATE_INITIAL; + continue; + } else { // peek forward and see whether this is a valid entity. if ('#'==c) { @@ -543,114 +543,114 @@ public final class HtmlRepairer { } buf.append("&"); buf.append((char)c); - state = STATE_INITIAL; + state = STATE_INITIAL; } /* - else if ('#'==c || Character.isLetter((char)c)) { - buf.append("&"); - buf.append((char)c); - state = STATE_INITIAL; - } - else { - buf.append("&"); - buf.append((char)c); - state = STATE_INITIAL; - } + else if ('#'==c || Character.isLetter((char)c)) { + buf.append("&"); + buf.append((char)c); + state = STATE_INITIAL; + } + else { + buf.append("&"); + buf.append((char)c); + state = STATE_INITIAL; + } */ - break; - - case STATE_TAG_START: - if (" \t\r\n".indexOf(c)>=0) { - //continue; - - // new: assume this is a less-sign - haveText("<"+c); - state = STATE_INITIAL; - } - else if ('/'==c) { - buf.append((char)c); - state = STATE_TAG; - } - else if ('<'==c) { - // assume this is a less-sign - haveText("<<"); - state = STATE_INITIAL; - } - else if ('>'==c) { - // assume this is a less-sign - haveText("<>"); - state = STATE_INITIAL; - } - //else if ('-'==c || '+'==c || '='==c || '\''==c || "0123456789".indexOf(c)>=0) { - else if (!Character.isLetter((char)c)) { - // assume this is a less-sign - haveText("<"+(char)c); - state = STATE_INITIAL; - } - else { - buf.append((char)c); - state = STATE_TAG; - } - break; - - case STATE_TAG: - if ('\"'==c) { - buf.append((char)c); - state = STATE_TAG_DOUBLEQUOTE; - } - else if ('\''==c) { - buf.append((char)c); - state = STATE_TAG_SINGLEQUOTE; - } - else if ('>'==c) { - state = STATE_INITIAL; - haveStartOrEndTag(buf.toString()); - buf.setLength(0); - } - else if ('<'==c) { - // notify user, missing greater-than sign - haveStartOrEndTag(buf.toString()); - buf.setLength(0); - } - else if (-1==c) { - printWarning("Unclosed tag at end-of-comment: <"+buf); - haveStartOrEndTag(buf.toString()); - buf.setLength(0); - } - else { - buf.append((char)c); - } - break; - - case STATE_TAG_DOUBLEQUOTE: - if ('\"'==c) { - buf.append((char)c); - state = STATE_TAG; - } - else if (-1==c) { - printWarning("Unclosed attribute value at end-of-comment."); - haveStartOrEndTag(buf.toString()+"\""); - } - else { - buf.append((char)c); - } - break; - - case STATE_TAG_SINGLEQUOTE: - if ('\''==c) { - buf.append((char)c); - state = STATE_TAG; - } - else if (-1==c) { - printWarning("Unclosed attribute value at end-of-comment."); - haveStartOrEndTag(buf.toString()+"'"); - } - else { - buf.append((char)c); - } - break; - } + break; + + case STATE_TAG_START: + if (" \t\r\n".indexOf(c)>=0) { + //continue; + + // new: assume this is a less-sign + haveText("<"+c); + state = STATE_INITIAL; + } + else if ('/'==c) { + buf.append((char)c); + state = STATE_TAG; + } + else if ('<'==c) { + // assume this is a less-sign + haveText("<<"); + state = STATE_INITIAL; + } + else if ('>'==c) { + // assume this is a less-sign + haveText("<>"); + state = STATE_INITIAL; + } + //else if ('-'==c || '+'==c || '='==c || '\''==c || "0123456789".indexOf(c)>=0) { + else if (!Character.isLetter((char)c)) { + // assume this is a less-sign + haveText("<"+(char)c); + state = STATE_INITIAL; + } + else { + buf.append((char)c); + state = STATE_TAG; + } + break; + + case STATE_TAG: + if ('\"'==c) { + buf.append((char)c); + state = STATE_TAG_DOUBLEQUOTE; + } + else if ('\''==c) { + buf.append((char)c); + state = STATE_TAG_SINGLEQUOTE; + } + else if ('>'==c) { + state = STATE_INITIAL; + haveStartOrEndTag(buf.toString()); + buf.setLength(0); + } + else if ('<'==c) { + // notify user, missing greater-than sign + haveStartOrEndTag(buf.toString()); + buf.setLength(0); + } + else if (-1==c) { + printWarning("Unclosed tag at end-of-comment: <"+buf); + haveStartOrEndTag(buf.toString()); + buf.setLength(0); + } + else { + buf.append((char)c); + } + break; + + case STATE_TAG_DOUBLEQUOTE: + if ('\"'==c) { + buf.append((char)c); + state = STATE_TAG; + } + else if (-1==c) { + printWarning("Unclosed attribute value at end-of-comment."); + haveStartOrEndTag(buf.toString()+"\""); + } + else { + buf.append((char)c); + } + break; + + case STATE_TAG_SINGLEQUOTE: + if ('\''==c) { + buf.append((char)c); + state = STATE_TAG; + } + else if (-1==c) { + printWarning("Unclosed attribute value at end-of-comment."); + haveStartOrEndTag(buf.toString()+"'"); + } + else { + buf.append((char)c); + } + break; + } } return output.toString(); @@ -688,4 +688,3 @@ public final class HtmlRepairer { return output.toString(); } } - diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/TargetContext.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/TargetContext.java index 6fdb8cb..6e05a5e 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/TargetContext.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/TargetContext.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTranslet.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTranslet.java index 3a8cabc..c5a9f82 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTranslet.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTranslet.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -113,7 +113,7 @@ public class DocTranslet implements ErrorListener { private ClassLoader classLoader; private Map transformerMap = new java.util.HashMap(); //WeakHashMap(); private DocTransletOptions options; - + protected DocTranslet(String mainResourceFilename, ClassLoader classLoader) throws DocTransletConfigurationException { @@ -155,14 +155,14 @@ public class DocTranslet implements ErrorListener { try{ URL mainResourceURL = classLoader == null ? - ClassLoader.getSystemResource(mainResourceFilename): - classLoader.getResource(mainResourceFilename); + ClassLoader.getSystemResource(mainResourceFilename): + classLoader.getResource(mainResourceFilename); if (null == mainResourceURL) { throw new DocTransletException("Cannot find resource '" + mainResourceFilename + "'"); } - + Map parameters = new HashMap(); parameters.put("gjdoc.xmldoclet.version", Driver.XMLDOCLET_VERSION); @@ -188,13 +188,13 @@ public class DocTranslet implements ErrorListener { parameters); reporter.printNotice("Running DocTranslet..."); - - TransformerFactory transformerFactory + + TransformerFactory transformerFactory = TransformerFactory.newInstance(); transformerFactory.setErrorListener(this); - boolean isLibxmlJ + boolean isLibxmlJ = transformerFactory.getClass().getName().equals("gnu.xml.libxmlj.transform.TransformerFactoryImpl"); for (Iterator it = outputFileList.iterator(); it.hasNext(); ) { @@ -234,7 +234,7 @@ public class DocTranslet implements ErrorListener { } if (null != fileInfo.getSource()) { - + reporter.printNotice("Copying " + fileInfo.getComment() + "..."); InputStream in = new URL(mainResourceURL, fileInfo.getSource()).openStream(); FileOutputStream out = new FileOutputStream(targetFile.getAbsolutePath()); @@ -243,14 +243,14 @@ public class DocTranslet implements ErrorListener { out.close(); } else { - + reporter.printNotice("Generating " + fileInfo.getComment() + "..."); String pathToRoot = ""; for (File file = getParentFile(targetFile); !equalsFile(file, targetDirectory); file = getParentFile(file)) { pathToRoot += "../"; } - + StreamResult out = new StreamResult(targetFile.getAbsolutePath()); StreamSource in = new StreamSource(new File(xmlSourceDirectory, "index.xml").getAbsolutePath()); @@ -291,60 +291,60 @@ public class DocTranslet implements ErrorListener { } } catch (MalformedURLException e) { - throw new DocTransletException(e); + throw new DocTransletException(e); } catch (TransformerFactoryConfigurationError e) { - throw new DocTransletException(e); + throw new DocTransletException(e); } catch (TransformerException e) { - throw new DocTransletException(e.getMessageAndLocation(), e); + throw new DocTransletException(e.getMessageAndLocation(), e); } catch (IOException e) { - throw new DocTransletException(e); + throw new DocTransletException(e); } finally { System.setErr(err); } } - private List getOutputFileList(URL resource, File xmlSourceDirectory, Map parameters) + private List getOutputFileList(URL resource, File xmlSourceDirectory, Map parameters) throws DocTransletException { try { - List result; + List result; - OutputStream out = new ByteArrayOutputStream(); + OutputStream out = new ByteArrayOutputStream(); DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance(); DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder(); Document document = documentBuilder.newDocument(); - DOMResult domResult = new DOMResult(document); + DOMResult domResult = new DOMResult(document); { StreamSource source = new StreamSource(resource.toExternalForm()); - + TransformerFactory transformerFactory = TransformerFactory.newInstance(); Transformer transformer = (Transformer)transformerFactory.newTransformer(source); - + transformer.clearParameters(); for (Iterator pit = parameters.keySet().iterator(); pit.hasNext(); ) { String key = (String)pit.next(); String value = (String)parameters.get(key); transformer.setParameter(key, value); } - - transformer.transform(new StreamSource(new File(xmlSourceDirectory, - "index.xml").getAbsolutePath()), + + transformer.transform(new StreamSource(new File(xmlSourceDirectory, + "index.xml").getAbsolutePath()), domResult); } - { + { NodeList nodeList = document.getElementsByTagName("outputfile"); result = new ArrayList(nodeList.getLength()); for (int i=0; i<nodeList.getLength(); ++i) { Element elem = (Element)nodeList.item(i); String name = getTextContent(elem.getElementsByTagName("name").item(0)); - String source + String source = (null != elem.getElementsByTagName("source").item(0)) ? getTextContent(elem.getElementsByTagName("source").item(0)) : null; @@ -368,13 +368,13 @@ public class DocTranslet implements ErrorListener { return result; } catch (TransformerFactoryConfigurationError e) { - throw new DocTransletException(e); + throw new DocTransletException(e); } catch (TransformerException e) { - throw new DocTransletException(e.getMessageAndLocation(), e); + throw new DocTransletException(e.getMessageAndLocation(), e); } catch (ParserConfigurationException e) { - throw new DocTransletException(e); + throw new DocTransletException(e); } } @@ -399,36 +399,36 @@ public class DocTranslet implements ErrorListener { } - public static DocTranslet fromClasspath(String resourceName) + public static DocTranslet fromClasspath(String resourceName) throws DocTransletConfigurationException { - return new DocTranslet(resourceName, + return new DocTranslet(resourceName, DocTranslet.class.getClassLoader()); } - public static DocTranslet fromJarFile(File jarFile) + public static DocTranslet fromJarFile(File jarFile) throws DocTransletConfigurationException { try { JarFile inputJarFile = new JarFile(jarFile, false, JarFile.OPEN_READ); - + Manifest manifest = inputJarFile.getManifest(); - + if (null == manifest) { - + throw new DocTransletConfigurationException("Jar file '" + jarFile + "' doesn't contain a manifest."); } - + Attributes mainAttributes = manifest.getMainAttributes(); - + String docTransletMainEntry = mainAttributes.getValue("doctranslet-main-entry"); if (null == docTransletMainEntry) { - + throw new DocTransletConfigurationException("Manifest in Jar file '" + jarFile + "' doesn't contain a doctranslet-main-entry specification."); } - - return new DocTranslet(docTransletMainEntry, + + return new DocTranslet(docTransletMainEntry, new JarClassLoader(inputJarFile)); } catch (IOException e) { diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletConfigurationException.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletConfigurationException.java index 1992d16..092d0ce 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletConfigurationException.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletConfigurationException.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletException.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletException.java index bfb3f76..96ffefa 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletException.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletException.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletOptions.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletOptions.java index 8bf6583..5c99ec3 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletOptions.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletOptions.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/JarClassLoader.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/JarClassLoader.java index f6eb679..b7b100b 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/JarClassLoader.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/JarClassLoader.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -59,24 +59,24 @@ public class JarClassLoader extends ClassLoader { return defineClass(name, b, 0, b.length); } - private byte[] loadClassData(String className) - throws ClassNotFoundException + private byte[] loadClassData(String className) + throws ClassNotFoundException { String classFileName = className.replace('.', File.separatorChar) + ".class"; try { JarEntry jarEntry = jarFile.getJarEntry(classFileName); if (null != jarEntry) { - return readFromStream(jarFile.getInputStream(jarEntry), + return readFromStream(jarFile.getInputStream(jarEntry), jarEntry.getSize()); } } catch (IOException ignore_) { } throw new ClassNotFoundException(className); - } + } - private byte[] readFromStream(InputStream in, long size) + private byte[] readFromStream(InputStream in, long size) throws IOException { byte[] result = new byte[(int)size]; diff --git a/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/OutputFileInfo.java b/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/OutputFileInfo.java index b4e394c..b0ede61 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/OutputFileInfo.java +++ b/libjava/classpath/tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/OutputFileInfo.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/getopt/FileArgumentCallback.java b/libjava/classpath/tools/gnu/classpath/tools/getopt/FileArgumentCallback.java index 45538912..53a4f3d 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/getopt/FileArgumentCallback.java +++ b/libjava/classpath/tools/gnu/classpath/tools/getopt/FileArgumentCallback.java @@ -54,7 +54,7 @@ public abstract class FileArgumentCallback /** * This is called when a file argument is seen. - * + * * @param fileArgument the file name */ public abstract void notifyFile(String fileArgument) diff --git a/libjava/classpath/tools/gnu/classpath/tools/getopt/Option.java b/libjava/classpath/tools/gnu/classpath/tools/getopt/Option.java index 5325581..e7b5d82 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/getopt/Option.java +++ b/libjava/classpath/tools/gnu/classpath/tools/getopt/Option.java @@ -63,7 +63,7 @@ public abstract class Option /** * Create a new option with the given short name and description. - * + * * @param shortName the short name * @param description the description */ @@ -77,7 +77,7 @@ public abstract class Option /** * Create a new option with the given short name and description. - * + * * @param shortName the short name * @param description the description * @param argumentName the descriptive name of the argument, if this option @@ -94,7 +94,7 @@ public abstract class Option /** * Create a new option with the given short name and description. - * + * * @param shortName the short name * @param description the description * @param argumentName the descriptive name of the argument, if this option @@ -115,7 +115,7 @@ public abstract class Option /** * Create a new option with the given long name and description. The long name * should be specified without any leading dashes. - * + * * @param longName the long name * @param description the description */ @@ -128,7 +128,7 @@ public abstract class Option /** * Create a new option with the given long name and description. The long name * should be specified without any leading dashes. - * + * * @param longName the long name * @param description the description * @param argumentName the descriptive name of the argument, if this option @@ -144,7 +144,7 @@ public abstract class Option /** * Create a new option with the given short and long names and description. * The long name should be specified without any leading dashes. - * + * * @param longName the long name * @param shortName the short name * @param description the description @@ -161,7 +161,7 @@ public abstract class Option /** * Create a new option with the given short and long names and description. * The long name should be specified without any leading dashes. - * + * * @param longName the long name * @param shortName the short name * @param description the description @@ -182,7 +182,7 @@ public abstract class Option /** * Create a new option with the given short and long names and description. * The long name should be specified without any leading dashes. - * + * * @param longName the long name * @param shortName the short name * @param description the description @@ -258,7 +258,7 @@ public abstract class Option * called multiple times during a single parse. If this option takes an * argument, the argument will be passed in. Otherwise the argument will be * null. - * + * * @param argument the argument * @throws OptionException if the option or its argument is somehow invalid */ diff --git a/libjava/classpath/tools/gnu/classpath/tools/getopt/OptionGroup.java b/libjava/classpath/tools/gnu/classpath/tools/getopt/OptionGroup.java index 63853b2..83fcca0f 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/getopt/OptionGroup.java +++ b/libjava/classpath/tools/gnu/classpath/tools/getopt/OptionGroup.java @@ -66,7 +66,7 @@ public class OptionGroup /** * Create a new option group with the indicated name. - * + * * @param name the name */ public OptionGroup(String name) @@ -82,7 +82,7 @@ public class OptionGroup * <p> * The text to print may contain <code>\n</code> characters. This method will * force a line-break for each such character. - * + * * @param out the {@link PrintStream} destination of the formatted text. * @param text the text to print. * @param leftMargin a positive value indicating the column position of the @@ -107,7 +107,7 @@ public class OptionGroup * <p> * The text to print may contain <code>\n</code> characters. This method will * force a line-break for each such character. - * + * * @param out the {@link PrintStream} destination of the formatted text. * @param text the text to print. * @param leftMargin a positive value indicating the column position of the @@ -155,7 +155,7 @@ public class OptionGroup /** * Add an option to this option group. - * + * * @param opt the option to add */ public void add(Option opt) @@ -165,7 +165,7 @@ public class OptionGroup /** * Print the help output for this option group. - * + * * @param out the stream to which to print */ public void printHelp(PrintStream out, boolean longOnly) diff --git a/libjava/classpath/tools/gnu/classpath/tools/getopt/Parser.java b/libjava/classpath/tools/gnu/classpath/tools/getopt/Parser.java index bb38e82..f23250e 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/getopt/Parser.java +++ b/libjava/classpath/tools/gnu/classpath/tools/getopt/Parser.java @@ -84,7 +84,7 @@ public class Parser /** * Create a new parser. The program name is used when printing error messages. * The version string is printed verbatim in response to "--version". - * + * * @param programName the name of the program * @param versionString the program's version information */ @@ -101,7 +101,7 @@ public class Parser * <p> * The text to print may contain <code>\n</code> characters. This method will * force a line-break for each such character. - * + * * @param out the {@link PrintStream} destination of the formatted text. * @param text the text to print. * @see Parser#MAX_LINE_LENGTH @@ -122,7 +122,7 @@ public class Parser * <p> * The text to print may contain <code>\n</code> characters. This method will * force a line-break for each such character. - * + * * @param out the {@link PrintStream} destination of the formatted text. * @param text the text to print. * @param aLocale the {@link Locale} instance to use when constructing the @@ -159,7 +159,7 @@ public class Parser /** * Create a new parser. The program name is used when printing error messages. * The version string is printed verbatim in response to "--version". - * + * * @param programName the name of the program * @param versionString the program's version information * @param longOnly true if the parser should work in long-option-only mode @@ -194,7 +194,7 @@ public class Parser /** * Set the header text that is printed by --help. - * + * * @param headerText the header text */ public synchronized void setHeader(String headerText) @@ -204,7 +204,7 @@ public class Parser /** * Set the footer text that is printed by --help. - * + * * @param footerText the footer text */ public synchronized void setFooter(String footerText) @@ -215,7 +215,7 @@ public class Parser /** * Add an option to this parser. The option is added to the default option * group; this affects where it is placed in the help output. - * + * * @param opt the option */ public synchronized void add(Option opt) @@ -237,7 +237,7 @@ public class Parser /** * Add an option group to this parser. All the options in this group will be * recognized by the parser. - * + * * @param group the option group */ public synchronized void add(OptionGroup group) @@ -259,8 +259,8 @@ public class Parser Iterator it = optionGroups.iterator(); while (it.hasNext()) { - OptionGroup group = (OptionGroup) it.next(); - options.addAll(group.options); + OptionGroup group = (OptionGroup) it.next(); + options.addAll(group.options); } } @@ -308,7 +308,7 @@ public class Parser * user to the <code>--help</code> option. * <p> * The base implementation does nothing. - * + * * @throws OptionException the error encountered */ protected void validate() throws OptionException @@ -426,7 +426,7 @@ public class Parser * Parse a command line. Any files which are found will be passed to the file * argument callback. This method will exit on error or when --help or * --version is specified. - * + * * @param inArgs the command-line arguments * @param files the file argument callback */ @@ -477,7 +477,7 @@ public class Parser /** * Parse a command line. Any files which are found will be returned. This * method will exit on error or when --help or --version is specified. - * + * * @param inArgs the command-line arguments */ public String[] parse(String[] inArgs) diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/AbstractTagImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/AbstractTagImpl.java index 2ec5af4..adb5b65 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/AbstractTagImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/AbstractTagImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -40,9 +40,9 @@ package gnu.classpath.tools.gjdoc; import com.sun.javadoc.*; import java.util.*; -public abstract class AbstractTagImpl +public abstract class AbstractTagImpl implements Tag, TagContainer { - + private static final Tag[] emptyTags = new Tag[0]; protected String text; @@ -66,19 +66,19 @@ public abstract class AbstractTagImpl protected void setBody(String body, ClassDocImpl contextClass, MemberDocImpl contextMember) { this.tagMap=DocImpl.parseCommentTags(body.toCharArray(), - 0, - body.length(), - contextClass, + 0, + body.length(), + contextClass, contextMember, this, null); } - public Tag[] firstSentenceTags() { - return (tagMap!=null)? (Tag[])tagMap.get("first") : emptyTags; + public Tag[] firstSentenceTags() { + return (tagMap!=null)? (Tag[])tagMap.get("first") : emptyTags; } - public Tag[] inlineTags() { - return (tagMap!=null)? (Tag[])tagMap.get("inline") : emptyTags; + public Tag[] inlineTags() { + return (tagMap!=null)? (Tag[])tagMap.get("inline") : emptyTags; } public String name() { @@ -89,8 +89,8 @@ public abstract class AbstractTagImpl return text; } - public Map getTagMap() { - return tagMap; + public Map getTagMap() { + return tagMap; } /** @@ -99,9 +99,9 @@ public abstract class AbstractTagImpl public String toString() { return (this.getClass().getName() - + "[name=" + name() - + ", text=" + text() - + ", tagMap=" + getTagMap() - + "]"); + + "[name=" + name() + + ", text=" + text() + + ", tagMap=" + getTagMap() + + "]"); } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ArrayCharacterIterator.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ArrayCharacterIterator.java index 4bfac86..cde5cbe 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ArrayCharacterIterator.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ArrayCharacterIterator.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -47,72 +47,72 @@ public final class ArrayCharacterIterator implements CharacterIterator { private int currentIndex; public ArrayCharacterIterator(char[] data, - int beginIndex) { + int beginIndex) { this(data,beginIndex,data.length,beginIndex); } public ArrayCharacterIterator(char[] data, - int beginIndex, - int endIndex) { + int beginIndex, + int endIndex) { this(data,beginIndex,endIndex,beginIndex); } public ArrayCharacterIterator(char[] data, - int beginIndex, - int endIndex, - int currentIndex) { + int beginIndex, + int endIndex, + int currentIndex) { this.data=data; this.beginIndex=beginIndex; this.endIndex=endIndex; this.currentIndex=currentIndex; } - // Create a copy of this iterator + // Create a copy of this iterator public Object clone() { return new ArrayCharacterIterator(data,beginIndex,endIndex,currentIndex); } - // Gets the character at the current position (as returned by getIndex()). + // Gets the character at the current position (as returned by getIndex()). public char current() { return (currentIndex>=beginIndex && currentIndex<endIndex) ? data[currentIndex] : DONE; } - // Sets the position to getBeginIndex() and returns the character at that position. + // Sets the position to getBeginIndex() and returns the character at that position. public char first() { return data[currentIndex=beginIndex]; } - // Returns the start index of the text. + // Returns the start index of the text. public int getBeginIndex() { return beginIndex; } - // Returns the end index of the text. + // Returns the end index of the text. public int getEndIndex() { return endIndex; } - // Returns the current index. + // Returns the current index. public int getIndex() { return currentIndex; } - // Sets the position to getEndIndex()-1 (getEndIndex() if the text is empty) and returns the character at that position. + // Sets the position to getEndIndex()-1 (getEndIndex() if the text is empty) and returns the character at that position. public char last() { return data[currentIndex=((endIndex>beginIndex)?endIndex-1:endIndex)]; } - // Increments the iterator's index by one and returns the character at the new index. + // Increments the iterator's index by one and returns the character at the new index. public char next() { return (++currentIndex<endIndex)?data[currentIndex]:DONE; } - // Decrements the iterator's index by one and returns the character at the new index. + // Decrements the iterator's index by one and returns the character at the new index. public char previous() { return (--currentIndex>=beginIndex)?data[currentIndex]:DONE; } - // Sets the position to the specified position in the text and returns that character. + // Sets the position to the specified position in the text and returns that character. public char setIndex(int position) { this.currentIndex=position; return current(); diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ClassDocImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ClassDocImpl.java index b101224..b38c2b0 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ClassDocImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ClassDocImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -46,7 +46,7 @@ import gnu.classpath.tools.gjdoc.expr.IllegalExpressionException; import gnu.classpath.tools.gjdoc.expr.UnknownIdentifierException; public class ClassDocImpl - extends ProgramElementDocImpl + extends ProgramElementDocImpl implements ClassDoc, WritableType, EvaluatorEnvironment { private ClassDoc baseClassDoc; @@ -58,10 +58,10 @@ public class ClassDocImpl private String dimension = ""; public ClassDocImpl(ClassDoc containingClass, - PackageDoc containingPackage, - int accessLevel, - boolean isFinal, - boolean isStatic, + PackageDoc containingPackage, + int accessLevel, + boolean isFinal, + boolean isStatic, SourcePosition position) { super(containingClass, containingPackage, accessLevel, isFinal, isStatic, position); @@ -69,39 +69,39 @@ public class ClassDocImpl } public ClassDocImpl(ClassDoc containingClass, - PackageDoc containingPackage, - ClassDoc[] importedClasses, - PackageDoc[] importedPackages, + PackageDoc containingPackage, + ClassDoc[] importedClasses, + PackageDoc[] importedPackages, SourcePosition position) { super(containingClass, containingPackage, position); this.importedClasses=importedClasses; this.importedPackages=importedPackages; this.baseClassDoc = this; - } + } - // Return constructors in class. + // Return constructors in class. public ConstructorDoc[] constructors() { return constructors(true); - } + } public ConstructorDoc[] constructors(boolean filter) { return filter ? filteredConstructors : unfilteredConstructors; - } + } - // Return true if Serializable fields are explicitly defined with the special class member serialPersistentFields. + // Return true if Serializable fields are explicitly defined with the special class member serialPersistentFields. public boolean definesSerializableFields() { return definesSerializableFields; - } + } - // Return fields in class. + // Return fields in class. public FieldDoc[] fields() { return fields(true); - } + } public FieldDoc[] fields(boolean filter) { return filter ? filteredFields : unfilteredFields; - } + } private static Set primitiveNames; static { @@ -149,15 +149,15 @@ public class ClassDocImpl } } - public ClassDoc findClass(String className) + public ClassDoc findClass(String className) { String qualifiedName = Main.getRootDoc().resolveClassName(className, this); ClassDoc rc=Main.getRootDoc().classNamed(qualifiedName); - if (null == rc) { + if (null == rc) { for (ClassDoc cdi=this; cdi!=null; cdi=cdi.containingClass()) { for (ClassDoc sdi=cdi; sdi!=null; sdi=sdi.superclass()) { - if (sdi instanceof ClassDocProxy) { + if (sdi instanceof ClassDocProxy) { ClassDoc realClass = Main.getRootDoc().classNamed(sdi.qualifiedName()); if (null != realClass) { sdi = realClass; @@ -172,24 +172,24 @@ public class ClassDocImpl return rc; } - // Get the list of classes declared as imported. + // Get the list of classes declared as imported. public ClassDoc[] importedClasses() { return importedClasses; - } + } - // Get the list of packages declared as imported. + // Get the list of packages declared as imported. public PackageDoc[] importedPackages() { return importedPackages; - } + } - // Return inner classes within this class. + // Return inner classes within this class. public ClassDoc[] innerClasses() { return innerClasses(true); - } + } public ClassDoc[] innerClasses(boolean filtered) { return filtered ? filteredInnerClasses : unfilteredInnerClasses; - } + } void setFilteredInnerClasses(ClassDoc[] filteredInnerClasses) { this.filteredInnerClasses=filteredInnerClasses; @@ -199,19 +199,19 @@ public class ClassDocImpl this.unfilteredInnerClasses=unfilteredInnerClasses; } - // Return interfaces implemented by this class or interfaces extended by this interface. + // Return interfaces implemented by this class or interfaces extended by this interface. public ClassDoc[] interfaces() { return interfaces; - } + } public void setInterfaces(ClassDoc[] interfaces) { this.interfaces=interfaces; - } + } - // Return true if this class is abstract + // Return true if this class is abstract public boolean isAbstract() { return isAbstract || isInterface(); - } + } public boolean isInterface() { return isInterface; @@ -226,77 +226,77 @@ public class ClassDocImpl return isEnum; } - // Return true if this class is abstract + // Return true if this class is abstract public void setIsAbstract(boolean b) { this.isAbstract=b; - } + } - // Return true if this class implements java.io.Externalizable. + // Return true if this class implements java.io.Externalizable. public boolean isExternalizable() { return implementsInterface("java.io.Externalizable"); - } + } - // Return true if this class implements java.io.Serializable. + // Return true if this class implements java.io.Serializable. public boolean isSerializable() { return implementsInterface("java.io.Serializable"); - } + } public boolean implementsInterface(String name) { for (ClassDoc cdi=this; cdi!=null; cdi=(ClassDoc)cdi.superclass()) { - if (cdi instanceof ClassDocImpl) { - ClassDoc[] cdiInterfaces=(ClassDoc[])cdi.interfaces(); + if (cdi instanceof ClassDocImpl) { + ClassDoc[] cdiInterfaces=(ClassDoc[])cdi.interfaces(); if (null != cdiInterfaces) { for (int i=0; i<cdiInterfaces.length; ++i) { if (cdiInterfaces[i].qualifiedName().equals(name)) return true; } } - } - else { - //throw new RuntimeException("implementsInterface(\""+name+"\") failed: Not a ClassDocImpl:"+cdi); - } + } + else { + //throw new RuntimeException("implementsInterface(\""+name+"\") failed: Not a ClassDocImpl:"+cdi); + } } return false; } - // Return methods in class. + // Return methods in class. public MethodDoc[] methods() { return methods(true); - } + } - // Return methods in class. + // Return methods in class. public MethodDoc[] methods(boolean filter) { return filter ? filteredMethods : unfilteredMethods; - } + } - // Return the Serializable fields of class. Return either a list of default fields documented by serial tag or return a single FieldDoc for serialPersistentField member. + // Return the Serializable fields of class. Return either a list of default fields documented by serial tag or return a single FieldDoc for serialPersistentField member. public FieldDoc[] serializableFields() { if (serialPersistentField!=null) { - return serialPersistentField; + return serialPersistentField; } else{ - return serializableFields; + return serializableFields; } - } + } - // Return the serialization methods for this class. + // Return the serialization methods for this class. public MethodDoc[] serializationMethods() { return serializationMethods; - } + } - // Test whether this class is a subclass of the specified class. + // Test whether this class is a subclass of the specified class. public boolean subclassOf(ClassDoc cd) { for (ClassDocImpl cdi=(ClassDocImpl)superclass(); cdi!=null; cdi=(ClassDocImpl)cdi.superclass()) { - if (cdi.equals(cd)) - return true; + if (cdi.equals(cd)) + return true; } return false; - } + } - // Return the superclass of this class + // Return the superclass of this class public ClassDoc superclass() { return superclass; - } + } // Implementation of Interface Type @@ -306,9 +306,9 @@ public class ClassDocImpl } public String typeName() { return name(); } - - public String qualifiedTypeName() { - return (containingPackage()!=null && !containingPackage().equals(PackageDocImpl.DEFAULT_PACKAGE))?(containingPackage().name()+"."+name()):(name()); + + public String qualifiedTypeName() { + return (containingPackage()!=null && !containingPackage().equals(PackageDocImpl.DEFAULT_PACKAGE))?(containingPackage().name()+"."+name()):(name()); } public String qualifiedName() { return qualifiedTypeName(); } @@ -320,25 +320,25 @@ public class ClassDocImpl public TypeVariable asTypeVariable() { return null; } public static ClassDocImpl createInstance(ClassDoc containingClass, - PackageDoc containingPackage, - ClassDoc[] importedClasses, - PackageDoc[] importedPackages, - char[] source, int startIndex, int endIndex, + PackageDoc containingPackage, + ClassDoc[] importedClasses, + PackageDoc[] importedPackages, + char[] source, int startIndex, int endIndex, List importStatementList) throws ParseException, IOException { String superclassName = "java.lang.Object"; ClassDocImpl rc=new ClassDocImpl(containingClass, - containingPackage, - importedClasses, - importedPackages, + containingPackage, + importedClasses, + importedPackages, null); rc.setImportStatementList(importStatementList); List implementedInterfaces = new ArrayList(); - + String word=""; int item=0; - + final int STATE_NORMAL = 1; final int STATE_SLASHC = 2; final int STATE_STARC = 3; @@ -349,147 +349,147 @@ public class ClassDocImpl int parLevel=0; char prev=0; for (int ndx=startIndex; ndx<=endIndex; ++ndx) { - char c=(ndx==endIndex)?10:source[ndx]; - boolean processWord=false; - if (state==STATE_SLASHC) { - if (c=='\n') { - state=STATE_NORMAL; - c=0; - } - } - else if (state==STATE_STARC) { - if (c=='/' && prev=='*') { - state=STATE_NORMAL; - c=0; - } - } - else { - if (c=='/' && prev=='/') { - state=STATE_SLASHC; - c=0; - word=word.substring(0,word.length()-1); - processWord=true; - } - else if (c=='*' && prev=='/') { - state=STATE_STARC; - c=0; - word=word.substring(0,word.length()-1); - processWord=true; - } - else if (c=='@') { + char c=(ndx==endIndex)?10:source[ndx]; + boolean processWord=false; + if (state==STATE_SLASHC) { + if (c=='\n') { + state=STATE_NORMAL; + c=0; + } + } + else if (state==STATE_STARC) { + if (c=='/' && prev=='*') { + state=STATE_NORMAL; + c=0; + } + } + else { + if (c=='/' && prev=='/') { + state=STATE_SLASHC; + c=0; + word=word.substring(0,word.length()-1); + processWord=true; + } + else if (c=='*' && prev=='/') { + state=STATE_STARC; + c=0; + word=word.substring(0,word.length()-1); + processWord=true; + } + else if (c=='@') { state=STATE_ANNO; - word += c; - } - else if (c=='(' && state==STATE_ANNO) { + word += c; + } + else if (c=='(' && state==STATE_ANNO) { ++parLevel; word += c; } else if (c==')' && state==STATE_ANNO) { --parLevel; word += c; - if (parLevel == 0) + if (parLevel == 0) state=STATE_NORMAL; } - else if (c=='<') - { - ++varLevel; - word += c; - } - else if (c=='>') - { - --varLevel; - word += c; - } - else if (c=='{' && parLevel == 0 || - c==',' && varLevel == 0 && parLevel == 0 || - Parser.WHITESPACE.indexOf(c)>=0 && parLevel == 0 && varLevel == 0) { - processWord=true; - state=STATE_NORMAL; - } - else { - word+=c; - } - - if (processWord && word.length()>0) { - if (item==0) { - if (rc.processModifier(word)) { - } - else if (word.equals("abstract")) { - rc.setIsAbstract(true); - } - else if (word.equals("class")) { - rc.setIsInterface(false); - item=1; - } - else if (word.equals("enum")) - { - rc.setIsEnum(true); - item = 1; - } - else if (word.equals("interface")) { - rc.setIsInterface(true); - item=1; - } - else if (word.equals("@interface")) { - rc.setIsInterface(true); + else if (c=='<') + { + ++varLevel; + word += c; + } + else if (c=='>') + { + --varLevel; + word += c; + } + else if (c=='{' && parLevel == 0 || + c==',' && varLevel == 0 && parLevel == 0 || + Parser.WHITESPACE.indexOf(c)>=0 && parLevel == 0 && varLevel == 0) { + processWord=true; + state=STATE_NORMAL; + } + else { + word+=c; + } + + if (processWord && word.length()>0) { + if (item==0) { + if (rc.processModifier(word)) { + } + else if (word.equals("abstract")) { + rc.setIsAbstract(true); + } + else if (word.equals("class")) { + rc.setIsInterface(false); + item=1; + } + else if (word.equals("enum")) + { + rc.setIsEnum(true); + item = 1; + } + else if (word.equals("interface")) { + rc.setIsInterface(true); + item=1; + } + else if (word.equals("@interface")) { + rc.setIsInterface(true); rc.setIsAnnotation(true); - item=1; - } - else if (word.equals("strictfp")) { - } - else { - Main.getRootDoc().printWarning("unknown modifier '"+word+"'"); - } - } - else if (word.equals("extends") && !rc.isAnnotation()) { + item=1; + } + else if (word.equals("strictfp")) { + } + else { + Main.getRootDoc().printWarning("unknown modifier '"+word+"'"); + } + } + else if (word.equals("extends") && !rc.isAnnotation()) { if (rc.isInterface()) { item=3; } else { item=2; } - } - else if (word.equals("implements") && !rc.isAnnotation()) { - item=3; - } - else if (item==1) { - int parameterIndex = word.indexOf("<"); - if (parameterIndex == -1) - rc.setClass(word); - else - { - rc.setClass(word.substring(0, parameterIndex)); - parseTypeVariables(rc,word.substring(parameterIndex, - word.length())); - } - } - else if (item==2) { - //Debug.log(9,"setting baseclass of "+rc+" to "+word); - int parameterIndex = word.indexOf("<"); - if (parameterIndex == -1) - superclassName=word; - else - { - /* FIXME: Parse type parameters */ - superclassName=word.substring(0,parameterIndex); - } - } - else if (item==3) { - int parameterIndex = word.indexOf("<"); - if (parameterIndex == -1) - implementedInterfaces.add(word); - else - { - /* FIXME: Parse type parameters */ - implementedInterfaces.add(word.substring(0,parameterIndex)); - } - } - word=""; - } - - if (c=='{' && state==STATE_NORMAL) break; - } - prev=c; + } + else if (word.equals("implements") && !rc.isAnnotation()) { + item=3; + } + else if (item==1) { + int parameterIndex = word.indexOf("<"); + if (parameterIndex == -1) + rc.setClass(word); + else + { + rc.setClass(word.substring(0, parameterIndex)); + parseTypeVariables(rc,word.substring(parameterIndex, + word.length())); + } + } + else if (item==2) { + //Debug.log(9,"setting baseclass of "+rc+" to "+word); + int parameterIndex = word.indexOf("<"); + if (parameterIndex == -1) + superclassName=word; + else + { + /* FIXME: Parse type parameters */ + superclassName=word.substring(0,parameterIndex); + } + } + else if (item==3) { + int parameterIndex = word.indexOf("<"); + if (parameterIndex == -1) + implementedInterfaces.add(word); + else + { + /* FIXME: Parse type parameters */ + implementedInterfaces.add(word.substring(0,parameterIndex)); + } + } + word=""; + } + + if (c=='{' && state==STATE_NORMAL) break; + } + prev=c; } if (null != containingClass @@ -498,7 +498,7 @@ public class ClassDocImpl } if (rc.name()==null) { - throw new ParseException("No classdef found in expression \""+new String(source,startIndex,endIndex-startIndex)+"\""); + throw new ParseException("No classdef found in expression \""+new String(source,startIndex,endIndex-startIndex)+"\""); } rc.setPosition(ClassDocImpl.getPosition(rc, source, startIndex)); @@ -506,7 +506,7 @@ public class ClassDocImpl ClassDoc superclassProxy=new ClassDocProxy(superclassName, rc); if (!rc.qualifiedName().equals("java.lang.Object")) { - rc.setSuperclass(superclassProxy); + rc.setSuperclass(superclassProxy); } ClassDoc[] interfaces=new ClassDoc[implementedInterfaces.size()]; @@ -516,7 +516,7 @@ public class ClassDocImpl rc.setInterfaces(interfaces); if (rc.isInterface() && rc.containingClass()!=null) { - rc.setIsStatic(true); + rc.setIsStatic(true); } return rc; } @@ -549,15 +549,15 @@ public class ClassDocImpl this.filteredConstructors=constructors; } - // Returns the name of this Doc item. + // Returns the name of this Doc item. public String name() { if (containingClass==null) { - return className; + return className; } else { - return containingClass.name()+"."+className; + return containingClass.name()+"."+className; } - } + } public String getClassName() { return className; @@ -573,33 +573,33 @@ public class ClassDocImpl public void resolve() throws ParseException { if (!resolved) { - resolved=true; - - if (containingClass!=null) - ((ClassDocImpl)containingClass).resolve(); - - //Debug.log(9,"resolving class '"+qualifiedName()+"'"); - /* - for (int i=0; i<importedPackages.length; ++i) { - Debug.log(9,"class "+qualifiedName()+" imports "+importedPackages[i].name()); - } - */ - - if (superclass instanceof ClassDocProxy) { - - ClassDoc realClassDoc=findClass(superclass.qualifiedName()); - - if (realClassDoc==null) { - /* - if (true) { // Main.recursiveClasses) { - throw new ParseException("In class '"+qualifiedName()+"': class '"+className+"' not found."); - } - */ - } - else { - superclass=realClassDoc; - } - } + resolved=true; + + if (containingClass!=null) + ((ClassDocImpl)containingClass).resolve(); + + //Debug.log(9,"resolving class '"+qualifiedName()+"'"); + /* + for (int i=0; i<importedPackages.length; ++i) { + Debug.log(9,"class "+qualifiedName()+" imports "+importedPackages[i].name()); + } + */ + + if (superclass instanceof ClassDocProxy) { + + ClassDoc realClassDoc=findClass(superclass.qualifiedName()); + + if (realClassDoc==null) { + /* + if (true) { // Main.recursiveClasses) { + throw new ParseException("In class '"+qualifiedName()+"': class '"+className+"' not found."); + } + */ + } + else { + superclass=realClassDoc; + } + } if (null != interfaces) { for (int i=0; i<interfaces.length; ++i) { @@ -621,7 +621,7 @@ public class ClassDocImpl } } - if (unfilteredFields!=null) { + if (unfilteredFields!=null) { for (int i=0; i<unfilteredFields.length; ++i) { ((FieldDocImpl)unfilteredFields[i]).resolve(); if (unfilteredFields[i].name().equals("serialPersistentField")) { @@ -643,7 +643,7 @@ public class ClassDocImpl } } - List isSerMethodList=new ArrayList(); + List isSerMethodList=new ArrayList(); if (null != maybeSerMethodList) { for (Iterator it=maybeSerMethodList.iterator(); it.hasNext(); ) { @@ -710,9 +710,9 @@ public class ClassDocImpl public FieldDoc findField(String fieldName) { for (int i=0; i<filteredFields.length; ++i) { - if (filteredFields[i].name().equals(fieldName)) { - return filteredFields[i]; - } + if (filteredFields[i].name().equals(fieldName)) { + return filteredFields[i]; + } } return null; } @@ -769,12 +769,12 @@ public class ClassDocImpl private ClassDoc superclass; - // Is this Doc item a class. + // Is this Doc item a class. public boolean isClass() { return !isInterface; - } + } - // return true if this Doc is include in the active set. + // return true if this Doc is include in the active set. public boolean isIncluded() { if (this == baseClassDoc) { return isIncluded @@ -783,7 +783,7 @@ public class ClassDocImpl else { return baseClassDoc.isIncluded(); } - } + } void setIsIncluded(boolean b) { this.isIncluded=b; @@ -802,12 +802,12 @@ public class ClassDocImpl int ndx=typeName.indexOf('['); String dim=""; if (ndx>=0) { - for (int i=ndx; i<typeName.length(); ++i) { - if ("[]".indexOf(typeName.charAt(i))>=0) { - dim+=typeName.charAt(i); - } - } - typeName=typeName.substring(0,ndx).trim(); + for (int i=ndx; i<typeName.length(); ++i) { + if ("[]".indexOf(typeName.charAt(i))>=0) { + dim+=typeName.charAt(i); + } + } + typeName=typeName.substring(0,ndx).trim(); } ClassDoc classDoc = findClass(typeName, dim); @@ -817,7 +817,7 @@ public class ClassDocImpl Type type = (Type)typeMap.get(typeName+dim); if (null!=type) { - try { + try { if (type.dimension().equals(dim)) { return type; } @@ -826,29 +826,29 @@ public class ClassDocImpl ((WritableType)rc).setDimension(dim); return rc; } - } - catch (CloneNotSupportedException e) { - throw new ParseException(e.toString()); - } + } + catch (CloneNotSupportedException e) { + throw new ParseException(e.toString()); + } } - + if ("boolean".equals(typeName) - || "char".equals(typeName) - || "byte".equals(typeName) - || "short".equals(typeName) - || "int".equals(typeName) - || "long".equals(typeName) - || "void".equals(typeName) - || "float".equals(typeName) - || "double".equals(typeName)) { - Type rc=new TypeImpl(null, typeName, dim); - typeMap.put(typeName+dim, rc); - return rc; + || "char".equals(typeName) + || "byte".equals(typeName) + || "short".equals(typeName) + || "int".equals(typeName) + || "long".equals(typeName) + || "void".equals(typeName) + || "float".equals(typeName) + || "double".equals(typeName)) { + Type rc=new TypeImpl(null, typeName, dim); + typeMap.put(typeName+dim, rc); + return rc; } if (Main.getInstance().isDocletRunning()) { - //System.err.println(findClass("java.lang.String")); - //throw new ParseException("Doclet running, class not found: "+typeName+" ("+orgTypename+")"); + //System.err.println(findClass("java.lang.String")); + //throw new ParseException("Doclet running, class not found: "+typeName+" ("+orgTypename+")"); } Type rc=new ClassDocProxy(typeName, this); ((WritableType)rc).setDimension(dim); @@ -856,20 +856,20 @@ public class ClassDocImpl } public boolean isException() { - for (ClassDoc cdi=this; - cdi!=null; - cdi=cdi.superclass()) { + for (ClassDoc cdi=this; + cdi!=null; + cdi=cdi.superclass()) { - if ("java.lang.Exception".equals(cdi.qualifiedName())) - return true; + if ("java.lang.Exception".equals(cdi.qualifiedName())) + return true; } return false; } public boolean isError() { for (ClassDoc cdi=this; cdi!=null; cdi=cdi.superclass()) { - if ("java.lang.Error".equals(cdi.qualifiedName())) - return true; + if ("java.lang.Error".equals(cdi.qualifiedName())) + return true; } return false; } @@ -895,29 +895,29 @@ public class ClassDocImpl ExecutableMemberDoc rc; for (ClassDoc cdi=this; cdi!=null; ) { - rc=findMethod(cdi, nameAndSignature); - if (rc!=null) return rc; - rc=findConstructor(cdi, nameAndSignature); - if (rc!=null) return rc; - - ClassDoc _superclass = cdi.superclass(); - if (null == _superclass) { - break; - } - else { - cdi = _superclass; - } + rc=findMethod(cdi, nameAndSignature); + if (rc!=null) return rc; + rc=findConstructor(cdi, nameAndSignature); + if (rc!=null) return rc; + + ClassDoc _superclass = cdi.superclass(); + if (null == _superclass) { + break; + } + else { + cdi = _superclass; + } } - return null; - } + return null; + } public static ConstructorDoc findConstructor(ClassDoc classDoc, String nameAndSignature) { int ndx=nameAndSignature.indexOf('('); if (ndx<=0) - return null; + return null; else { String fullSignature = resolveSignature(classDoc, nameAndSignature.substring(ndx)); - return findConstructor(classDoc, + return findConstructor(classDoc, nameAndSignature.substring(0,ndx), fullSignature); } @@ -938,16 +938,16 @@ public class ClassDocImpl public static MethodDoc findMethod(ClassDoc classDoc, String nameAndSignature) { int ndx=nameAndSignature.indexOf('('); if (ndx<=0) { - return null; + return null; } else { String name = nameAndSignature.substring(0,ndx); String fullSignature = resolveSignature(classDoc, nameAndSignature.substring(ndx)); - return findMethod(classDoc, name, fullSignature); + return findMethod(classDoc, name, fullSignature); } } - private static String resolveSignature(ClassDoc classDoc, String signature) + private static String resolveSignature(ClassDoc classDoc, String signature) { signature = signature.substring(1, signature.length() - 1).trim(); if (0 == signature.length()) { @@ -996,7 +996,7 @@ public class ClassDocImpl } private List maybeSerMethodList; - + void setMaybeSerMethodList(List maybeSerMethodList) { this.maybeSerMethodList=maybeSerMethodList; } @@ -1025,7 +1025,7 @@ public class ClassDocImpl { return baseClassDoc; } - + public FieldDoc getFieldDoc(String name) { for (int i=0; i<unfilteredFields.length; ++i) { @@ -1059,14 +1059,14 @@ public class ClassDocImpl } private Object findFieldValue(String identifier, - ClassDoc classDoc, + ClassDoc classDoc, String fieldName, Set visitedFields) throws UnknownIdentifierException, IllegalExpressionException { while (classDoc != null) { if (classDoc instanceof ClassDocImpl) { - FieldDocImpl fieldDoc + FieldDocImpl fieldDoc = (FieldDocImpl)((ClassDocImpl)classDoc).getFieldDoc(fieldName); if (visitedFields.contains(fieldDoc)) { throw new CircularExpressionException("Circular reference detected"); @@ -1079,8 +1079,8 @@ public class ClassDocImpl ClassDoc[] _interfaces = classDoc.interfaces(); if (null != _interfaces) { for (int i=0; i<_interfaces.length; ++i) { - if (_interfaces[i] instanceof ClassDocImpl) { - FieldDocImpl fieldDoc + if (_interfaces[i] instanceof ClassDocImpl) { + FieldDocImpl fieldDoc = (FieldDocImpl)((ClassDocImpl)_interfaces[i]).getFieldDoc(fieldName); if (visitedFields.contains(fieldDoc)) { throw new CircularExpressionException("Circular reference detected"); @@ -1096,7 +1096,7 @@ public class ClassDocImpl } throw new UnknownIdentifierException(identifier); } - + public Object getValue(String identifier, Set visitedFields) throws UnknownIdentifierException, IllegalExpressionException { @@ -1123,12 +1123,12 @@ public class ClassDocImpl return false; } - // Compares this Object with the specified Object for order. + // Compares this Object with the specified Object for order. public int compareTo(java.lang.Object o) { int rc; if (o instanceof ClassDocImpl) { - + ClassDocImpl c1 = this; ClassDocImpl c2 = (ClassDocImpl)o; @@ -1155,7 +1155,7 @@ public class ClassDocImpl rc = super.compareTo(o); if (0 == rc) { - return Main.getInstance().getCollator().compare(containingPackage().name(), + return Main.getInstance().getCollator().compare(containingPackage().name(), ((ClassDocImpl)o).containingPackage().name()); } else { @@ -1165,7 +1165,7 @@ public class ClassDocImpl else { return 1; } - } + } private List importStatementList; @@ -1174,7 +1174,7 @@ public class ClassDocImpl this.importStatementList = new LinkedList(); this.importStatementList.addAll(importStatementList); } - + public List getImportSpecifierList() { return importStatementList; @@ -1206,42 +1206,42 @@ public class ClassDocImpl * @throws ParseException if parsing fails. */ public static void parseTypeVariables(ClassDocImpl rc, - String typeVariables) + String typeVariables) throws ParseException { List parsedBounds = null; StringTokenizer parameters = new StringTokenizer(typeVariables, - Parser.WHITESPACE + - "<>,"); + Parser.WHITESPACE + + "<>,"); List variables = new ArrayList(); while (parameters.hasMoreTokens()) { - String parameter = parameters.nextToken(); - StringTokenizer parts = new StringTokenizer(parameter, - Parser.WHITESPACE); - TypeVariableImpl variable = new TypeVariableImpl(rc.qualifiedName(), - parts.nextToken(),"", - rc); - if (parts.hasMoreTokens()) - { - if (!parts.nextToken().equals("extends")) - throw new ParseException("Invalid type parameter: " + parameter); - StringTokenizer bounds = new StringTokenizer(parts.nextToken(), - Parser.WHITESPACE - + "&"); - parsedBounds = new ArrayList(); - while (bounds.hasMoreTokens()) - { - String bound = bounds.nextToken(); - int nameSep = bound.lastIndexOf("."); - String packageName = bound.substring(0, nameSep); - String boundName = bound.substring(nameSep, bound.length()); - parsedBounds.add(new TypeImpl(packageName,boundName,"")); - } - } - if (parsedBounds != null) - variable.setBounds(parsedBounds); - variables.add(variable); + String parameter = parameters.nextToken(); + StringTokenizer parts = new StringTokenizer(parameter, + Parser.WHITESPACE); + TypeVariableImpl variable = new TypeVariableImpl(rc.qualifiedName(), + parts.nextToken(),"", + rc); + if (parts.hasMoreTokens()) + { + if (!parts.nextToken().equals("extends")) + throw new ParseException("Invalid type parameter: " + parameter); + StringTokenizer bounds = new StringTokenizer(parts.nextToken(), + Parser.WHITESPACE + + "&"); + parsedBounds = new ArrayList(); + while (bounds.hasMoreTokens()) + { + String bound = bounds.nextToken(); + int nameSep = bound.lastIndexOf("."); + String packageName = bound.substring(0, nameSep); + String boundName = bound.substring(nameSep, bound.length()); + parsedBounds.add(new TypeImpl(packageName,boundName,"")); + } + } + if (parsedBounds != null) + variable.setBounds(parsedBounds); + variables.add(variable); } rc.setTypeParameters(variables); } @@ -1253,9 +1253,8 @@ public class ClassDocImpl */ void setTypeParameters(List variables) { - typeParameters = + typeParameters = (TypeVariable[]) variables.toArray(new TypeVariable[variables.size()]); } } - diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ClassDocProxy.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ClassDocProxy.java index 6dfe821..253cf5e 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ClassDocProxy.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ClassDocProxy.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -48,94 +48,94 @@ public class ClassDocProxy implements ClassDoc, WritableType { private ClassDoc classContext; private String dimension = ""; - public ClassDocProxy(String qualifiedName, ClassDoc classContext) + public ClassDocProxy(String qualifiedName, ClassDoc classContext) { this.qualifiedName - = Main.getRootDoc().resolveClassName(qualifiedName, + = Main.getRootDoc().resolveClassName(qualifiedName, (ClassDocImpl)classContext); this.classContext=classContext; int pndx=qualifiedName.lastIndexOf('.'); if (pndx>=0) { - this.name=qualifiedName.substring(pndx+1); + this.name=qualifiedName.substring(pndx+1); } else { - this.name=qualifiedName; + this.name=qualifiedName; } } - private final String errorText() + private final String errorText() { return "CLASS "+qualifiedName+" NOT LOADED."; } - public ConstructorDoc[] constructors() { return new ConstructorDoc[0]; } + public ConstructorDoc[] constructors() { return new ConstructorDoc[0]; } public ConstructorDoc[] constructors(boolean filtered) { return new ConstructorDoc[0]; } - public boolean definesSerializableFields() { return false; } - public FieldDoc[] fields() { return new FieldDoc[0]; } - public FieldDoc[] fields(boolean filtered) { return new FieldDoc[0]; } - public ClassDoc findClass(java.lang.String className) { return null; } - public ClassDoc[] importedClasses() { return new ClassDoc[0]; } - public PackageDoc[] importedPackages() { return new PackageDoc[0]; } - public ClassDoc[] innerClasses() { return new ClassDoc[0]; } - public ClassDoc[] innerClasses(boolean filtered) { return new ClassDoc[0]; } - public ClassDoc[] interfaces() { return new ClassDoc[0]; } - public boolean isAbstract() { return false; } - public boolean isExternalizable() { return false; } - public boolean isSerializable() { return false; } - public MethodDoc[] methods() { return new MethodDoc[0]; } - public MethodDoc[] methods(boolean filtered) { return new MethodDoc[0]; } - public FieldDoc[] serializableFields() { return new FieldDoc[0]; } - public MethodDoc[] serializationMethods() { return new MethodDoc[0]; } - public boolean subclassOf(ClassDoc cd) { return false; } - public ClassDoc superclass() { return null; } - public ClassDoc containingClass() { return null; } - public PackageDoc containingPackage() { + public boolean definesSerializableFields() { return false; } + public FieldDoc[] fields() { return new FieldDoc[0]; } + public FieldDoc[] fields(boolean filtered) { return new FieldDoc[0]; } + public ClassDoc findClass(java.lang.String className) { return null; } + public ClassDoc[] importedClasses() { return new ClassDoc[0]; } + public PackageDoc[] importedPackages() { return new PackageDoc[0]; } + public ClassDoc[] innerClasses() { return new ClassDoc[0]; } + public ClassDoc[] innerClasses(boolean filtered) { return new ClassDoc[0]; } + public ClassDoc[] interfaces() { return new ClassDoc[0]; } + public boolean isAbstract() { return false; } + public boolean isExternalizable() { return false; } + public boolean isSerializable() { return false; } + public MethodDoc[] methods() { return new MethodDoc[0]; } + public MethodDoc[] methods(boolean filtered) { return new MethodDoc[0]; } + public FieldDoc[] serializableFields() { return new FieldDoc[0]; } + public MethodDoc[] serializationMethods() { return new MethodDoc[0]; } + public boolean subclassOf(ClassDoc cd) { return false; } + public ClassDoc superclass() { return null; } + public ClassDoc containingClass() { return null; } + public PackageDoc containingPackage() { /* try { - File file=Main.getRootDoc().findScheduledClass(qualifiedName, classContext); - if (file!=null) { - //String clsName=file.getCanonicalFile().getAbsolutePath().substring(new File(Main.getRootDoc().getSourcePath()).getCanonicalFile().getAbsolutePath().length()+1); - String clsName=file.getAbsolutePath().substring(new File(Main.getRootDoc().getSourcePath()).getAbsolutePath().length()+1); - clsName=clsName.substring(0,clsName.length()-5).replace(File.separatorChar,'.'); - Debug.log(9,"ClassDocProxy '"+qualifiedName+"': found class "+clsName); - qualifiedName=clsName; - } - return new PackageDocImpl("test."); + File file=Main.getRootDoc().findScheduledClass(qualifiedName, classContext); + if (file!=null) { + //String clsName=file.getCanonicalFile().getAbsolutePath().substring(new File(Main.getRootDoc().getSourcePath()).getCanonicalFile().getAbsolutePath().length()+1); + String clsName=file.getAbsolutePath().substring(new File(Main.getRootDoc().getSourcePath()).getAbsolutePath().length()+1); + clsName=clsName.substring(0,clsName.length()-5).replace(File.separatorChar,'.'); + Debug.log(9,"ClassDocProxy '"+qualifiedName+"': found class "+clsName); + qualifiedName=clsName; + } + return new PackageDocImpl("test."); } catch (Exception e) { - return PackageDocImpl.DEFAULT_PACKAGE; + return PackageDocImpl.DEFAULT_PACKAGE; } */ return PackageDocImpl.DEFAULT_PACKAGE; - } - - public boolean isFinal() { return false; } - public boolean isPackagePrivate() { return false; } - public boolean isPrivate() { return false; } - public boolean isProtected() { return false; } - public boolean isPublic() { return false; } - public boolean isStatic() { return false; } - public String modifiers() { return ""; } - public int modifierSpecifier() { return 0; } - public String qualifiedName() { return qualifiedName; } - public String commentText() { return null; } - public Tag[] firstSentenceTags() { return new Tag[0]; } - public String getRawCommentText() { return null; } - public Tag[] inlineTags() { return new Tag[0]; } - public boolean isClass() { return false; } - public boolean isConstructor() { return false; } - public boolean isError() { return false; } - public boolean isException() { return false; } - public boolean isField() { return false; } - public boolean isIncluded() { return false; } - public boolean isInterface() { return false; } - public boolean isMethod() { return false; } - public boolean isOrdinaryClass() { return false; } - public String name() { return name; } + } + + public boolean isFinal() { return false; } + public boolean isPackagePrivate() { return false; } + public boolean isPrivate() { return false; } + public boolean isProtected() { return false; } + public boolean isPublic() { return false; } + public boolean isStatic() { return false; } + public String modifiers() { return ""; } + public int modifierSpecifier() { return 0; } + public String qualifiedName() { return qualifiedName; } + public String commentText() { return null; } + public Tag[] firstSentenceTags() { return new Tag[0]; } + public String getRawCommentText() { return null; } + public Tag[] inlineTags() { return new Tag[0]; } + public boolean isClass() { return false; } + public boolean isConstructor() { return false; } + public boolean isError() { return false; } + public boolean isException() { return false; } + public boolean isField() { return false; } + public boolean isIncluded() { return false; } + public boolean isInterface() { return false; } + public boolean isMethod() { return false; } + public boolean isOrdinaryClass() { return false; } + public String name() { return name; } public SourcePosition position() { return null; } - public SeeTag[] seeTags() { return new SeeTag[0]; } - public void setRawCommentText(java.lang.String rawDocumentation) {} - public Tag[] tags() { return new Tag[0]; } + public SeeTag[] seeTags() { return new SeeTag[0]; } + public void setRawCommentText(java.lang.String rawDocumentation) {} + public Tag[] tags() { return new Tag[0]; } public Tag[] tags(java.lang.String tagname) { return new Tag[0]; } public String typeName() { return name; } public String qualifiedTypeName() { return qualifiedName; } @@ -154,7 +154,7 @@ public class ClassDocProxy implements ClassDoc, WritableType { return super.clone(); } - // Compares this Object with the specified Object for order. + // Compares this Object with the specified Object for order. public int compareTo(java.lang.Object o) { if (o instanceof Doc) { return Main.getInstance().getCollator().compare(name(), ((Doc)o).name()); @@ -164,6 +164,6 @@ public class ClassDocProxy implements ClassDoc, WritableType { } } - public TypeVariable[] typeParameters() { return new TypeVariable[0]; } + public TypeVariable[] typeParameters() { return new TypeVariable[0]; } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ClassDocReflectedImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ClassDocReflectedImpl.java index b3fd83c..9a81cb7 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ClassDocReflectedImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ClassDocReflectedImpl.java @@ -7,7 +7,7 @@ it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. + 02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -54,7 +54,7 @@ public class ClassDocReflectedImpl public static ClassDocReflectedImpl newInstance(Class clazz) { - ClassDocReflectedImpl result + ClassDocReflectedImpl result = (ClassDocReflectedImpl)reflectionCache.get(clazz); if (null != result) { return result; @@ -69,7 +69,7 @@ public class ClassDocReflectedImpl reflectionCache.put(clazz, this); //System.err.println("ClassDocReflectedImpl: " + clazz); - + this.clazz = clazz; String className = clazz.getName(); int ndx = className.lastIndexOf('.'); @@ -99,17 +99,17 @@ public class ClassDocReflectedImpl } } - public ConstructorDoc[] constructors() { return new ConstructorDoc[0]; } + public ConstructorDoc[] constructors() { return new ConstructorDoc[0]; } public ConstructorDoc[] constructors(boolean filtered) { return new ConstructorDoc[0]; } - public boolean definesSerializableFields() { return false; } - public FieldDoc[] fields() { return new FieldDoc[0]; } - public FieldDoc[] fields(boolean filtered) { return new FieldDoc[0]; } - public ClassDoc findClass(java.lang.String className) { return null; } - public ClassDoc[] importedClasses() { return new ClassDoc[0]; } - public PackageDoc[] importedPackages() { return new PackageDoc[0]; } - public ClassDoc[] innerClasses() { return new ClassDoc[0]; } - public ClassDoc[] innerClasses(boolean filtered) - { + public boolean definesSerializableFields() { return false; } + public FieldDoc[] fields() { return new FieldDoc[0]; } + public FieldDoc[] fields(boolean filtered) { return new FieldDoc[0]; } + public ClassDoc findClass(java.lang.String className) { return null; } + public ClassDoc[] importedClasses() { return new ClassDoc[0]; } + public PackageDoc[] importedPackages() { return new PackageDoc[0]; } + public ClassDoc[] innerClasses() { return new ClassDoc[0]; } + public ClassDoc[] innerClasses(boolean filtered) + { if (filtered) { return new ClassDoc[0]; } @@ -117,20 +117,20 @@ public class ClassDocReflectedImpl return unfilteredInnerClasses; } } - - public ClassDoc[] interfaces() { return new ClassDoc[0]; } - public boolean isAbstract() { return false; } - public boolean isExternalizable() { return false; } - public boolean isSerializable() { return false; } - public MethodDoc[] methods() { return new MethodDoc[0]; } - public MethodDoc[] methods(boolean filtered) { return new MethodDoc[0]; } - public FieldDoc[] serializableFields() { return new FieldDoc[0]; } - public MethodDoc[] serializationMethods() { return new MethodDoc[0]; } - public boolean subclassOf(ClassDoc cd) { return false; } - public ClassDoc superclass() { + + public ClassDoc[] interfaces() { return new ClassDoc[0]; } + public boolean isAbstract() { return false; } + public boolean isExternalizable() { return false; } + public boolean isSerializable() { return false; } + public MethodDoc[] methods() { return new MethodDoc[0]; } + public MethodDoc[] methods(boolean filtered) { return new MethodDoc[0]; } + public FieldDoc[] serializableFields() { return new FieldDoc[0]; } + public MethodDoc[] serializationMethods() { return new MethodDoc[0]; } + public boolean subclassOf(ClassDoc cd) { return false; } + public ClassDoc superclass() { return superclassDoc; - } - public ClassDoc containingClass() + } + public ClassDoc containingClass() { Class declaringClass = clazz.getDeclaringClass(); if (null != declaringClass) { @@ -139,8 +139,8 @@ public class ClassDocReflectedImpl else { return null; } - } - public PackageDoc containingPackage() + } + public PackageDoc containingPackage() { Class outerClass = clazz; while (null != outerClass.getDeclaringClass()) { @@ -159,33 +159,33 @@ public class ClassDocReflectedImpl return result; } - public boolean isFinal() { return false; } - public boolean isPackagePrivate() { return false; } - public boolean isPrivate() { return false; } - public boolean isProtected() { return false; } - public boolean isPublic() { return false; } - public boolean isStatic() { return false; } - public String modifiers() { return ""; } - public int modifierSpecifier() { return 0; } - public String qualifiedName() { return clazz.getName().replace('$', '.'); } - public String commentText() { return null; } - public Tag[] firstSentenceTags() { return new Tag[0]; } - public String getRawCommentText() { return null; } - public Tag[] inlineTags() { return new Tag[0]; } - public boolean isClass() { return false; } - public boolean isConstructor() { return false; } - public boolean isError() { return false; } - public boolean isException() { return false; } - public boolean isField() { return false; } - public boolean isIncluded() { return false; } - public boolean isInterface() { return false; } - public boolean isMethod() { return false; } - public boolean isOrdinaryClass() { return false; } - public String name() { return name; } + public boolean isFinal() { return false; } + public boolean isPackagePrivate() { return false; } + public boolean isPrivate() { return false; } + public boolean isProtected() { return false; } + public boolean isPublic() { return false; } + public boolean isStatic() { return false; } + public String modifiers() { return ""; } + public int modifierSpecifier() { return 0; } + public String qualifiedName() { return clazz.getName().replace('$', '.'); } + public String commentText() { return null; } + public Tag[] firstSentenceTags() { return new Tag[0]; } + public String getRawCommentText() { return null; } + public Tag[] inlineTags() { return new Tag[0]; } + public boolean isClass() { return false; } + public boolean isConstructor() { return false; } + public boolean isError() { return false; } + public boolean isException() { return false; } + public boolean isField() { return false; } + public boolean isIncluded() { return false; } + public boolean isInterface() { return false; } + public boolean isMethod() { return false; } + public boolean isOrdinaryClass() { return false; } + public String name() { return name; } public SourcePosition position() { return null; } - public SeeTag[] seeTags() { return new SeeTag[0]; } - public void setRawCommentText(java.lang.String rawDocumentation) {} - public Tag[] tags() { return new Tag[0]; } + public SeeTag[] seeTags() { return new SeeTag[0]; } + public void setRawCommentText(java.lang.String rawDocumentation) {} + public Tag[] tags() { return new Tag[0]; } public Tag[] tags(java.lang.String tagname) { return new Tag[0]; } public String typeName() { return name; } public String qualifiedTypeName() { return qualifiedName(); } @@ -214,6 +214,6 @@ public class ClassDocReflectedImpl return super.clone(); } - public TypeVariable[] typeParameters() { return new TypeVariable[0]; } + public TypeVariable[] typeParameters() { return new TypeVariable[0]; } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ConstructorDocImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ConstructorDocImpl.java index 06785ae..ad31ba6 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ConstructorDocImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ConstructorDocImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -43,17 +43,17 @@ import com.sun.javadoc.*; public class ConstructorDocImpl extends ExecutableMemberDocImpl implements ConstructorDoc { public ConstructorDocImpl(ClassDoc containingClass, - PackageDoc containingPackage, + PackageDoc containingPackage, SourcePosition position) { - + super(containingClass, - containingPackage, + containingPackage, position); } - // Is this Doc item a constructor. + // Is this Doc item a constructor. public boolean isConstructor() { return true; - } + } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/Debug.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/Debug.java index 3dddf43..d502023 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/Debug.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/Debug.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -53,15 +53,15 @@ public final class Debug { public static final void log(int level, String msg) { if (level<=logLevel) { - System.err.println(msg); + System.err.println(msg); } } public static final void dumpArray(int level, Object[] array) { if (level<=logLevel) { - for (int i=0; i<array.length; ++i) { - System.err.println(" #"+i+": "+array[i]); - } + for (int i=0; i<array.length; ++i) { + System.err.println(" #"+i+": "+array[i]); + } } } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/DirectoryTree.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/DirectoryTree.java index da365d9..706e9b6 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/DirectoryTree.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/DirectoryTree.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -46,14 +46,14 @@ public class DirectoryTree { FileNode[] subNodes; FileNode(File file) { - this.file=file; - if (file.isDirectory()) { - File[] subFiles=file.listFiles(); - subNodes=new FileNode[subFiles.length]; - for (int i=0; i<subFiles.length; ++i) { - subNodes[i]=new FileNode(subFiles[i]); - } - } + this.file=file; + if (file.isDirectory()) { + File[] subFiles=file.listFiles(); + subNodes=new FileNode[subFiles.length]; + for (int i=0; i<subFiles.length; ++i) { + subNodes[i]=new FileNode(subFiles[i]); + } + } } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/DocImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/DocImpl.java index 8668079..ecd8100 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/DocImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/DocImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -56,26 +56,26 @@ public abstract class DocImpl implements Doc, TagContainer { protected SourcePosition position; private String boilerplateComment; - // Return the text of the comment for this doc item. + // Return the text of the comment for this doc item. public String commentText() { StringBuffer rc=new StringBuffer(); Tag[] textTags=(Tag[])tagMap.get("text"); if (textTags!=null) { - for (int i=0; i<textTags.length; ++i) { - rc.append(textTags[i].text()); - } + for (int i=0; i<textTags.length; ++i) { + rc.append(textTags[i].text()); + } } return rc.toString(); } - // Compares this Object with the specified Object for order. + // Compares this Object with the specified Object for order. public int compareTo(java.lang.Object o) { return Main.getInstance().getCollator().compare(name(), ((Doc)o).name()); - } + } - // Return the first sentence of the comment as tags. + // Return the first sentence of the comment as tags. public Tag[] firstSentenceTags() { Tag[] rc=(Tag[])tagMap.get("first"); @@ -83,17 +83,17 @@ public abstract class DocImpl implements Doc, TagContainer { return rc; } - // Return the full unprocessed text of the comment. + // Return the full unprocessed text of the comment. public String getRawCommentText() { if (rawDocumentation!=null) - return rawDocumentation; + return rawDocumentation; else if (rawDocOffset>=0) - return Main.getRootDoc().readRawComment(rawDocOffset); + return Main.getRootDoc().readRawComment(rawDocOffset); else - return null; - } + return null; + } - // Return comment as tags. + // Return comment as tags. public Tag[] inlineTags() { Tag[] rc=(Tag[])tagMap.get("inline"); @@ -101,56 +101,56 @@ public abstract class DocImpl implements Doc, TagContainer { return rc; } - // Is this Doc item a class. + // Is this Doc item a class. public boolean isClass() { return false; - } + } - // Is this Doc item a constructor? False until overridden. + // Is this Doc item a constructor? False until overridden. public boolean isConstructor() { return false; - } + } - // Is this Doc item a error class? False until overridden. + // Is this Doc item a error class? False until overridden. public boolean isError() { return false; - } + } - // Is this Doc item a exception class? False until overridden. + // Is this Doc item a exception class? False until overridden. public boolean isException() { return false; - } + } - // Is this Doc item a field? False until overridden. + // Is this Doc item a field? False until overridden. public boolean isField() { return false; - } + } - // return true if this Doc is include in the active set. + // return true if this Doc is include in the active set. public boolean isIncluded() { return false; - } + } - // Is this Doc item a interface? False until overridden. + // Is this Doc item a interface? False until overridden. public boolean isInterface() { return false; - } + } - // Is this Doc item a simple method (i.e. + // Is this Doc item a simple method (i.e. public boolean isMethod() { return false; - } + } public boolean isPackage() { return false; - } + } - // Is this Doc item a ordinary class (i.e. + // Is this Doc item a ordinary class (i.e. public boolean isOrdinaryClass() { return false; - } + } - // Return the see also tags in this Doc item. + // Return the see also tags in this Doc item. public SeeTag[] seeTags() { return (SeeTag[])getTagArr("see", seeTagEmptyArr); } @@ -159,22 +159,22 @@ public abstract class DocImpl implements Doc, TagContainer { Tag[] rc=(Tag[])tagMap.get(kindOfTag); if (rc==null) rc=defaultRc; return rc; - } + } - // Set the full unprocessed text of the comment. + // Set the full unprocessed text of the comment. public void setRawCommentText(String rawDocumentation) { this.rawDocumentation=rawDocumentation; - } + } public void resolveComments() { - + if (rawDocumentation!=null && tagMap.isEmpty()) { char[] charArray = rawDocumentation.toCharArray(); int length = rawDocumentation.length(); int startOffset = 0; int endOffset = 0; - if (charArray[0] == '/' - && charArray[1] == '*' + if (charArray[0] == '/' + && charArray[1] == '*' && charArray[2] == '*' && charArray[length - 2] == '*' && charArray[length - 1] == '/') { @@ -196,7 +196,7 @@ public abstract class DocImpl implements Doc, TagContainer { rawDocumentation=null; } - resolveTags(); + resolveTags(); } else if (tagMap.isEmpty() && null != boilerplateComment) { tagMap.put("all", new Tag[] { new TagImpl("@boilerplate", boilerplateComment,getContextClass(),null) }); @@ -206,7 +206,7 @@ public abstract class DocImpl implements Doc, TagContainer { public static int skipHtmlWhitespace(char[] buffer, int startIndex) { while (startIndex < buffer.length) { - char c=buffer[startIndex]; + char c=buffer[startIndex]; if (!Parser.isWhitespace(c)) { break; } @@ -216,22 +216,22 @@ public abstract class DocImpl implements Doc, TagContainer { } return startIndex; } - + /** * Looks for an end-of-sentence marker in <code>text</code>, * starting at <code>startIndex</code> and stopping at - * <code>endIndex</code>. + * <code>endIndex</code>. * * @param text the text to be searched * @param startIndex index in <code>text</code> at which to start * @param endIndex index in <code>text</code> at which to stop * - * @return the index of the character following the end-of-sentence + * @return the index of the character following the end-of-sentence * marker, <code>endIndex</code> if no end-of-sentence * marker could be found, or -1 if not implemented. */ private static int findEndOfSentence(char[] text, int startIndex, - int endIndex) + int endIndex) { if (Main.getInstance().isUseBreakIterator()) { Segment segment = new Segment(text, startIndex, endIndex - startIndex); @@ -254,8 +254,8 @@ public abstract class DocImpl implements Doc, TagContainer { )) { return startIndex; } - - startIndex++; + + startIndex++; } return endIndex; } @@ -332,7 +332,7 @@ public abstract class DocImpl implements Doc, TagContainer { return bufPos; } - public static Map parseCommentTags(char[] comment, int startIndex, int endIndex, + public static Map parseCommentTags(char[] comment, int startIndex, int endIndex, ClassDocImpl contextClass, MemberDocImpl contextMember, AbstractTagImpl contextTag, String boilerplateComment) { @@ -342,33 +342,33 @@ public abstract class DocImpl implements Doc, TagContainer { if (comment.length>rawDocStart) { - firstSentenceEnd = findEndOfSentence(comment, rawDocStart, comment.length); - - if (firstSentenceEnd < 0) { - BreakIterator boundary = BreakIterator.getSentenceInstance(Locale.ENGLISH); - boundary.setText(new ArrayCharacterIterator(comment, rawDocStart)); - boundary.first(); - boundary.next(); - firstSentenceEnd = boundary.current(); - } - - // Always include period at end of sentence if there is one. - if (firstSentenceEnd < comment.length - && '.' == comment[firstSentenceEnd]) { - ++ firstSentenceEnd; - } + firstSentenceEnd = findEndOfSentence(comment, rawDocStart, comment.length); + + if (firstSentenceEnd < 0) { + BreakIterator boundary = BreakIterator.getSentenceInstance(Locale.ENGLISH); + boundary.setText(new ArrayCharacterIterator(comment, rawDocStart)); + boundary.first(); + boundary.next(); + firstSentenceEnd = boundary.current(); + } + + // Always include period at end of sentence if there is one. + if (firstSentenceEnd < comment.length + && '.' == comment[firstSentenceEnd]) { + ++ firstSentenceEnd; + } } - final int STATE_BEGOFLINE = 1; - final int STATE_TEXT = 2; - final int STATE_PARAM = 3; - final int STATE_PARAMVALUE = 4; - final int STATE_PARAMWRAP = 5; - final int STATE_INLINEPARAM = 6; - final int STATE_INLINEPARAMVALUE = 7; - final int STATE_WHITESPACE = 8; - final int STATE_INLINEPARAMVALUE_BOL = 9; - final int STATE_IPV_WHITESPACE = 10; + final int STATE_BEGOFLINE = 1; + final int STATE_TEXT = 2; + final int STATE_PARAM = 3; + final int STATE_PARAMVALUE = 4; + final int STATE_PARAMWRAP = 5; + final int STATE_INLINEPARAM = 6; + final int STATE_INLINEPARAMVALUE = 7; + final int STATE_WHITESPACE = 8; + final int STATE_INLINEPARAMVALUE_BOL = 9; + final int STATE_IPV_WHITESPACE = 10; int state=STATE_BEGOFLINE; int prevState=STATE_TEXT; @@ -386,293 +386,293 @@ public abstract class DocImpl implements Doc, TagContainer { final char EOL=(char)-1; for (int i=rawDocStart; i<=endIndex; ++i) { - char c=(i<endIndex)?comment[i]:EOL; - char peek=(i<endIndex-1)?comment[i+1]:EOL; + char c=(i<endIndex)?comment[i]:EOL; + char peek=(i<endIndex-1)?comment[i+1]:EOL; - switch (state){ + switch (state){ - case STATE_BEGOFLINE: - if (i==firstSentenceEnd) { - AbstractTagImpl newTag = addTag(tags, "text", bufToString(), true, contextClass, contextMember, contextTag, false); + case STATE_BEGOFLINE: + if (i==firstSentenceEnd) { + AbstractTagImpl newTag = addTag(tags, "text", bufToString(), true, contextClass, contextMember, contextTag, false); if (null != newTag) { contextTag = newTag; } - setBufLength(0); - } - - if (Parser.isWhitespace(c)) { - // ignore - } - else if (c=='*') { - // ignore, but go to STATE_TEXT - if (peek!='*' && peek!='@' && peek!=EOL) { - state=STATE_WHITESPACE; - } - } - else if (c=='@' || (c=='{' && peek=='@') || c==EOL) { - if (bufLength()>0) { - addTag(tags, "text", bufToString(), i<firstSentenceEnd, contextClass, contextMember, contextTag, false); - setBufLength(0); - } - if (c=='{') { - ++i; - state=STATE_INLINEPARAM; - } - else { - state=STATE_PARAM; - } - } - else { - state=STATE_TEXT; - appendToBuf(whitespaceBuf); - whitespaceBuf.setLength(0); - appendToBuf(c); - } - break; - - case STATE_WHITESPACE: - if (i==firstSentenceEnd) { - AbstractTagImpl newTag = addTag(tags, "text", bufToString(), true, contextClass, contextMember, contextTag, false); + setBufLength(0); + } + + if (Parser.isWhitespace(c)) { + // ignore + } + else if (c=='*') { + // ignore, but go to STATE_TEXT + if (peek!='*' && peek!='@' && peek!=EOL) { + state=STATE_WHITESPACE; + } + } + else if (c=='@' || (c=='{' && peek=='@') || c==EOL) { + if (bufLength()>0) { + addTag(tags, "text", bufToString(), i<firstSentenceEnd, contextClass, contextMember, contextTag, false); + setBufLength(0); + } + if (c=='{') { + ++i; + state=STATE_INLINEPARAM; + } + else { + state=STATE_PARAM; + } + } + else { + state=STATE_TEXT; + appendToBuf(whitespaceBuf); + whitespaceBuf.setLength(0); + appendToBuf(c); + } + break; + + case STATE_WHITESPACE: + if (i==firstSentenceEnd) { + AbstractTagImpl newTag = addTag(tags, "text", bufToString(), true, contextClass, contextMember, contextTag, false); if (null != newTag) { contextTag = newTag; } - setBufLength(0); - } - - if (c=='\n') { - whitespaceBuf.append(c); - state=STATE_BEGOFLINE; - } - else if (Parser.isWhitespace(c)) { - whitespaceBuf.append(c); - } - else if (c=='@' || (c=='{' && peek=='@') || c==EOL) { - if (bufLength()>0) { - AbstractTagImpl newTag = addTag(tags, "text", bufToString(), i<firstSentenceEnd, contextClass, contextMember, contextTag, false); + setBufLength(0); + } + + if (c=='\n') { + whitespaceBuf.append(c); + state=STATE_BEGOFLINE; + } + else if (Parser.isWhitespace(c)) { + whitespaceBuf.append(c); + } + else if (c=='@' || (c=='{' && peek=='@') || c==EOL) { + if (bufLength()>0) { + AbstractTagImpl newTag = addTag(tags, "text", bufToString(), i<firstSentenceEnd, contextClass, contextMember, contextTag, false); if (null != newTag) { contextTag = newTag; } - setBufLength(0); - } - if (c=='{') { - ++i; - state=STATE_INLINEPARAM; - } - else { - state=STATE_PARAM; - } - } - else { - appendToBuf(whitespaceBuf); - whitespaceBuf.setLength(0); - appendToBuf(c); - state=STATE_TEXT; - } - break; - - case STATE_PARAMWRAP: - if (c=='\n') { - appendToBuf(c); - } - else if (Parser.isWhitespace(c)) { - // ignore - } - else if (c=='*') { - // ignore, but go to STATE_TEXT - /* - if (i<endIndex && comment[i+1]!='*' && comment[i+1]!='@') { - state=STATE_PARAMVALUE; - } - */ - } - else if (c=='@' || c==EOL) { - paramValue=bufToString(); - AbstractTagImpl newTag = addTag(tags, paramName, paramValue, i<firstSentenceEnd, contextClass, contextMember, contextTag, false); + setBufLength(0); + } + if (c=='{') { + ++i; + state=STATE_INLINEPARAM; + } + else { + state=STATE_PARAM; + } + } + else { + appendToBuf(whitespaceBuf); + whitespaceBuf.setLength(0); + appendToBuf(c); + state=STATE_TEXT; + } + break; + + case STATE_PARAMWRAP: + if (c=='\n') { + appendToBuf(c); + } + else if (Parser.isWhitespace(c)) { + // ignore + } + else if (c=='*') { + // ignore, but go to STATE_TEXT + /* + if (i<endIndex && comment[i+1]!='*' && comment[i+1]!='@') { + state=STATE_PARAMVALUE; + } + */ + } + else if (c=='@' || c==EOL) { + paramValue=bufToString(); + AbstractTagImpl newTag = addTag(tags, paramName, paramValue, i<firstSentenceEnd, contextClass, contextMember, contextTag, false); if (null != newTag) { contextTag = newTag; } - setBufLength(0); - if (c=='{') { - ++i; - state=STATE_INLINEPARAM; - } - else { - state=STATE_PARAM; - } - } - else { - state=STATE_PARAMVALUE; - appendToBuf(c); - } - break; - - case STATE_PARAM: - if (!(c==EOL || Parser.isWhitespace(c))) { - appendToBuf(c); - } - else if (c=='\n') { - paramName=bufToString(); - setBufLength(0); - state=STATE_PARAMWRAP; - } - else { - paramName=bufToString(); - setBufLength(0); - state=STATE_PARAMVALUE; - } - break; - - case STATE_INLINEPARAM: - if (c=='}') { + setBufLength(0); + if (c=='{') { + ++i; + state=STATE_INLINEPARAM; + } + else { + state=STATE_PARAM; + } + } + else { + state=STATE_PARAMVALUE; + appendToBuf(c); + } + break; + + case STATE_PARAM: + if (!(c==EOL || Parser.isWhitespace(c))) { + appendToBuf(c); + } + else if (c=='\n') { + paramName=bufToString(); + setBufLength(0); + state=STATE_PARAMWRAP; + } + else { + paramName=bufToString(); + setBufLength(0); + state=STATE_PARAMVALUE; + } + break; + + case STATE_INLINEPARAM: + if (c=='}') { // tag without value - paramName=bufToString(); - AbstractTagImpl newTag = addTag(tags, paramName, "", i<firstSentenceEnd, contextClass, contextMember, contextTag, true); + paramName=bufToString(); + AbstractTagImpl newTag = addTag(tags, paramName, "", i<firstSentenceEnd, contextClass, contextMember, contextTag, true); if (null != newTag) { contextTag = newTag; } state=prevState; setBufLength(0); } - else if (!(c==EOL || Parser.isWhitespace(c))) { - appendToBuf(c); - } - else if (c=='\n') { - paramName=bufToString(); - setBufLength(0); - state=STATE_INLINEPARAMVALUE_BOL; - } - else { - paramName=bufToString(); - setBufLength(0); - state=STATE_INLINEPARAMVALUE; - } - break; - - case STATE_PARAMVALUE: - if (c==EOL) { - paramValue=bufToString(); - AbstractTagImpl newTag = addTag(tags, paramName, paramValue, i<firstSentenceEnd, contextClass, contextMember, contextTag, false); + else if (!(c==EOL || Parser.isWhitespace(c))) { + appendToBuf(c); + } + else if (c=='\n') { + paramName=bufToString(); + setBufLength(0); + state=STATE_INLINEPARAMVALUE_BOL; + } + else { + paramName=bufToString(); + setBufLength(0); + state=STATE_INLINEPARAMVALUE; + } + break; + + case STATE_PARAMVALUE: + if (c==EOL) { + paramValue=bufToString(); + AbstractTagImpl newTag = addTag(tags, paramName, paramValue, i<firstSentenceEnd, contextClass, contextMember, contextTag, false); if (null != newTag) { contextTag = newTag; } - } - else if (c=='\n') { - appendToBuf(c); - state=STATE_PARAMWRAP; - } - else { - appendToBuf(c); - } - break; - - case STATE_INLINEPARAMVALUE: - if (c=='\n') { - appendToBuf(c); - state=STATE_INLINEPARAMVALUE_BOL; - } - else if (c==EOL || c=='}') { - paramValue=bufToString(); - AbstractTagImpl newTag = addTag(tags, paramName, paramValue, i<firstSentenceEnd, contextClass, contextMember, contextTag, true); + } + else if (c=='\n') { + appendToBuf(c); + state=STATE_PARAMWRAP; + } + else { + appendToBuf(c); + } + break; + + case STATE_INLINEPARAMVALUE: + if (c=='\n') { + appendToBuf(c); + state=STATE_INLINEPARAMVALUE_BOL; + } + else if (c==EOL || c=='}') { + paramValue=bufToString(); + AbstractTagImpl newTag = addTag(tags, paramName, paramValue, i<firstSentenceEnd, contextClass, contextMember, contextTag, true); if (null != newTag) { contextTag = newTag; } - state=prevState; - setBufLength(0); - } - else { - appendToBuf(c); - } - break; - - case STATE_INLINEPARAMVALUE_BOL: - if (Parser.isWhitespace(c)) { - // ignore - } - else if (c=='*') { - // ignore, but go to STATE_TEXT - if (i<endIndex && peek!='*') { - state=STATE_IPV_WHITESPACE; - } - } - else if (c==EOL) { - if (bufLength()>0) { - AbstractTagImpl newTag = addTag(tags, "text", bufToString(), i<firstSentenceEnd, contextClass, contextMember, contextTag, false); + state=prevState; + setBufLength(0); + } + else { + appendToBuf(c); + } + break; + + case STATE_INLINEPARAMVALUE_BOL: + if (Parser.isWhitespace(c)) { + // ignore + } + else if (c=='*') { + // ignore, but go to STATE_TEXT + if (i<endIndex && peek!='*') { + state=STATE_IPV_WHITESPACE; + } + } + else if (c==EOL) { + if (bufLength()>0) { + AbstractTagImpl newTag = addTag(tags, "text", bufToString(), i<firstSentenceEnd, contextClass, contextMember, contextTag, false); if (null != newTag) { contextTag = newTag; } - } - } - else { - state=STATE_INLINEPARAMVALUE; - appendToBuf(whitespaceBuf); - whitespaceBuf.setLength(0); - appendToBuf(c); - } - break; - - case STATE_IPV_WHITESPACE: - if (c=='\n') { - whitespaceBuf.append(c); - state=STATE_INLINEPARAMVALUE_BOL; - } - else if (Parser.isWhitespace(c)) { - whitespaceBuf.append(c); - } - else if (c==EOL) { - if (bufLength()>0) { - AbstractTagImpl newTag = addTag(tags, "text", bufToString(), i<firstSentenceEnd, contextClass, contextMember, contextTag, false); + } + } + else { + state=STATE_INLINEPARAMVALUE; + appendToBuf(whitespaceBuf); + whitespaceBuf.setLength(0); + appendToBuf(c); + } + break; + + case STATE_IPV_WHITESPACE: + if (c=='\n') { + whitespaceBuf.append(c); + state=STATE_INLINEPARAMVALUE_BOL; + } + else if (Parser.isWhitespace(c)) { + whitespaceBuf.append(c); + } + else if (c==EOL) { + if (bufLength()>0) { + AbstractTagImpl newTag = addTag(tags, "text", bufToString(), i<firstSentenceEnd, contextClass, contextMember, contextTag, false); if (null != newTag) { contextTag = newTag; } - setBufLength(0); - } - } - else { - appendToBuf(whitespaceBuf); - whitespaceBuf.setLength(0); - appendToBuf(c); - state=STATE_INLINEPARAMVALUE; - } - break; - - case STATE_TEXT: - if (i==firstSentenceEnd) { - AbstractTagImpl newTag = addTag(tags, "text", bufToString(), true, contextClass, contextMember, contextTag, false); + setBufLength(0); + } + } + else { + appendToBuf(whitespaceBuf); + whitespaceBuf.setLength(0); + appendToBuf(c); + state=STATE_INLINEPARAMVALUE; + } + break; + + case STATE_TEXT: + if (i==firstSentenceEnd) { + AbstractTagImpl newTag = addTag(tags, "text", bufToString(), true, contextClass, contextMember, contextTag, false); if (null != newTag) { contextTag = newTag; } - setBufLength(0); - } + setBufLength(0); + } - if (c==EOL) { - paramValue=bufToString(); - AbstractTagImpl newTag = addTag(tags, "text", paramValue, i<firstSentenceEnd, contextClass, contextMember, contextTag, false); + if (c==EOL) { + paramValue=bufToString(); + AbstractTagImpl newTag = addTag(tags, "text", paramValue, i<firstSentenceEnd, contextClass, contextMember, contextTag, false); if (null != newTag) { contextTag = newTag; } - } - else if (c=='\n') { - appendToBuf(c); - state=STATE_BEGOFLINE; - } - else if (c=='{' && peek=='@') { - paramValue=bufToString(); - AbstractTagImpl newTag = addTag(tags, "text", paramValue, i<firstSentenceEnd, contextClass, contextMember, contextTag, false); + } + else if (c=='\n') { + appendToBuf(c); + state=STATE_BEGOFLINE; + } + else if (c=='{' && peek=='@') { + paramValue=bufToString(); + AbstractTagImpl newTag = addTag(tags, "text", paramValue, i<firstSentenceEnd, contextClass, contextMember, contextTag, false); if (null != newTag) { contextTag = newTag; } - ++i; + ++i; setBufLength(0); - state=STATE_INLINEPARAM; - } - else { - appendToBuf(c); - } - break; - - default: - throw new Error("illegal state "+state); - } + state=STATE_INLINEPARAM; + } + else { + appendToBuf(c); + } + break; + + default: + throw new Error("illegal state "+state); + } } @@ -683,23 +683,23 @@ public abstract class DocImpl implements Doc, TagContainer { Map rc=new HashMap(); for (Iterator it=tags.keySet().iterator(); it.hasNext(); ) { - String key=(String)it.next(); - Tag[] templateArr; - List list=(List)tags.get(key); - - if ("see".equals(key)) - templateArr=new SeeTag[list.size()]; - else if ("param".equals(key)) - templateArr=new ParamTag[list.size()]; - else if ("serialField".equals(key)) - templateArr=new SerialFieldTag[list.size()]; - else if ("throws".equals(key) || "exception".equals(key)) - templateArr=new ThrowsTag[list.size()]; - else { - templateArr=new Tag[list.size()]; - } - - rc.put(key, list.toArray(templateArr)); + String key=(String)it.next(); + Tag[] templateArr; + List list=(List)tags.get(key); + + if ("see".equals(key)) + templateArr=new SeeTag[list.size()]; + else if ("param".equals(key)) + templateArr=new ParamTag[list.size()]; + else if ("serialField".equals(key)) + templateArr=new SerialFieldTag[list.size()]; + else if ("throws".equals(key) || "exception".equals(key)) + templateArr=new ThrowsTag[list.size()]; + else { + templateArr=new Tag[list.size()]; + } + + rc.put(key, list.toArray(templateArr)); } return rc; @@ -707,22 +707,22 @@ public abstract class DocImpl implements Doc, TagContainer { private ClassDocImpl getContextClass() { if (isClass() || isInterface()) { - return (ClassDocImpl)this; + return (ClassDocImpl)this; } else if (isField() || isMethod() || isConstructor()) { - return (ClassDocImpl)((MemberDocImpl)this).containingClass(); + return (ClassDocImpl)((MemberDocImpl)this).containingClass(); } else { - return null; + return null; } } private MemberDocImpl getContextMember() { if (isField() || isMethod() || isConstructor()) { - return (MemberDocImpl)this; + return (MemberDocImpl)this; } else { - return null; + return null; } } @@ -777,7 +777,7 @@ public abstract class DocImpl implements Doc, TagContainer { if (haveValue) { //printWarning("@inheritDoc tags are not supposed to have any content."); } - tag=new InheritDocTagImpl(contextClass, contextMember, contextTag); + tag=new InheritDocTagImpl(contextClass, contextMember, contextTag); isInline = true; } else if (name.equals("serialField")) { @@ -795,14 +795,14 @@ public abstract class DocImpl implements Doc, TagContainer { else { //printWarning(emptyWarning); } - name="throws"; + name="throws"; } else if (name.equals("text")) { - tag=new TextTagImpl(value); + tag=new TextTagImpl(value); isInline = true; } else { - tag=new TagImpl("@"+name, value.trim(), contextClass, contextMember); + tag=new TagImpl("@"+name, value.trim(), contextClass, contextMember); // FIXME: consider taglets } @@ -823,7 +823,7 @@ public abstract class DocImpl implements Doc, TagContainer { newTag = tag; } ((List)tags.get("first")).add(newTag); - + } else { ((List)tags.get("first")).add(tag); @@ -848,19 +848,19 @@ public abstract class DocImpl implements Doc, TagContainer { } } - // Return all tags in this Doc item. + // Return all tags in this Doc item. public Tag[] tags() { Tag[] rc=(Tag[])tagMap.get("all"); if (rc==null) rc=new Tag[0]; return rc; - } + } - // Return tags of the specified kind in this Doc item. + // Return tags of the specified kind in this Doc item. public Tag[] tags(java.lang.String tagname) { Tag[] rc=(Tag[])tagMap.get(tagname); if (rc==null) rc=new Tag[0]; return rc; - } + } protected String rawDocumentation; protected long rawDocOffset=-1; @@ -873,12 +873,12 @@ public abstract class DocImpl implements Doc, TagContainer { Tag[] tags=tags(); for (int i=0; i<tags.length; ++i) { - ((AbstractTagImpl)tags[i]).resolve(); + ((AbstractTagImpl)tags[i]).resolve(); } Tag[] inlineTags=inlineTags(); for (int i=0; i<inlineTags.length; ++i) { - ((AbstractTagImpl)inlineTags[i]).resolve(); + ((AbstractTagImpl)inlineTags[i]).resolve(); } } @@ -923,7 +923,7 @@ public abstract class DocImpl implements Doc, TagContainer { } File file = getFile(classDoc); - + return new SourcePositionImpl(file, line + 1, column + 1); } @@ -958,7 +958,7 @@ public abstract class DocImpl implements Doc, TagContainer { result = (DocImpl)((ClassDocImpl)classDoc).getFieldDoc(memberDoc.name()); } else if (memberDoc.isMethod()) { - result = (DocImpl)((ClassDocImpl)classDoc).getMethodDoc(memberDoc.name(), + result = (DocImpl)((ClassDocImpl)classDoc).getMethodDoc(memberDoc.name(), ((MethodDoc)memberDoc).signature()); } else if (memberDoc.isConstructor()) { @@ -1007,8 +1007,8 @@ public abstract class DocImpl implements Doc, TagContainer { } } - public static TagContainer findInheritedDoc(ClassDoc classDoc, - MemberDocImpl memberDoc, + public static TagContainer findInheritedDoc(ClassDoc classDoc, + MemberDocImpl memberDoc, AbstractTagImpl tag) { TagContainer result; @@ -1027,7 +1027,7 @@ public abstract class DocImpl implements Doc, TagContainer { // in the order they appear following the word implements (or // extends) in the method declaration. Use the first doc comment // found for this method. - + ClassDoc[] interfaces = classDoc.interfaces(); if (null != interfaces) { for (int i=0; i<interfaces.length; ++i) { @@ -1056,7 +1056,7 @@ public abstract class DocImpl implements Doc, TagContainer { // 3. If step 2 failed to find a doc comment and this is a class // other than Object (not an interface): - if (!classDoc.isInterface() + if (!classDoc.isInterface() && null != superclassDoc && !"java.lang.Object".equals(classDoc.qualifiedTypeName())) { @@ -1077,7 +1077,7 @@ public abstract class DocImpl implements Doc, TagContainer { return null; } } - + public boolean isEmptyDoc() { return tagMap.isEmpty(); @@ -1088,4 +1088,3 @@ public abstract class DocImpl implements Doc, TagContainer { this.boilerplateComment = boilerplateComment; } } - diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ErrorReporter.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ErrorReporter.java index 129689b..3c139ab 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ErrorReporter.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ErrorReporter.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -66,7 +66,7 @@ public class ErrorReporter implements DocErrorReporter { * When <code>true</code>, no notices will be emitted. */ private boolean quiet = false; - + /* * When <code>true</code>, no warnings will be emitted. */ @@ -77,30 +77,30 @@ public class ErrorReporter implements DocErrorReporter { this.out = System.err; } - // Print error message, increment error count. + // Print error message, increment error count. public void printError(java.lang.String msg) { out.println("ERROR: "+msg); ++errorCount; } - // Print error message, increment error count. + // Print error message, increment error count. public void printFatal(java.lang.String msg) { out.println("FATAL: "+msg); System.exit(10); } - // Print a message. + // Print a message. public void printNotice(java.lang.String msg) { if (!quiet) { - out.println(msg); + out.println(msg); } } - - // Print warning message, increment warning count. + + // Print warning message, increment warning count. public void printWarning(java.lang.String msg) { if (!noWarn) { - out.println("WARNING: "+msg); - ++warningCount;; + out.println("WARNING: "+msg); + ++warningCount;; } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ExecutableMemberDocImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ExecutableMemberDocImpl.java index f177c15..d5b1b1eb0 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ExecutableMemberDocImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ExecutableMemberDocImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -44,32 +44,32 @@ import com.sun.javadoc.*; public class ExecutableMemberDocImpl extends MemberDocImpl implements ExecutableMemberDoc { protected ExecutableMemberDocImpl(ClassDoc containingClass, - PackageDoc containingPackage, + PackageDoc containingPackage, SourcePosition position) { - + super(containingClass, - containingPackage, + containingPackage, position); } protected boolean processModifier(String word) { if (super.processModifier(word)) { - return true; + return true; } else if (word.equals("synchronized")) { - isSynchronized=true; - return true; + isSynchronized=true; + return true; } else if (word.equals("native")) { - isNative=true; - return true; + isNative=true; + return true; } else if (word.equals("abstract")) { - isAbstract=true; - return true; + isAbstract=true; + return true; } else { - return false; + return false; } } @@ -87,41 +87,41 @@ public class ExecutableMemberDocImpl extends MemberDocImpl implements Executable public Parameter[] parameters() { return parameters; } - public ThrowsTag[] throwsTags() { + public ThrowsTag[] throwsTags() { return (ThrowsTag[])getTagArr("throws", throwsTagEmptyArr); } - public ParamTag[] paramTags() { + public ParamTag[] paramTags() { return (ParamTag[])getTagArr("param", paramTagEmptyArr); } public String signature() { return signature; } public String flatSignature() { return flatSignature; } - public ClassDoc overriddenClass() { + public ClassDoc overriddenClass() { for (ClassDoc cdi=(ClassDoc)containingClass().superclass(); cdi!=null; cdi=(ClassDoc)cdi.superclass()) { - if (null!=ClassDocImpl.findMethod(cdi, name(), signature())) - return cdi; + if (null!=ClassDocImpl.findMethod(cdi, name(), signature())) + return cdi; } return null; } public static ExecutableMemberDocImpl createFromSource(ClassDoc containingClass, - PackageDoc containingPackage, - char[] source, int startIndex, int endIndex) throws IOException, ParseException { + PackageDoc containingPackage, + char[] source, int startIndex, int endIndex) throws IOException, ParseException { int lastchar=32; StringBuffer methodName=new StringBuffer(); for (int i=startIndex; i<endIndex && source[i]!='('; ++i) { - if ((Parser.WHITESPACE.indexOf(lastchar)>=0 && Parser.WHITESPACE.indexOf(source[i])<0) + if ((Parser.WHITESPACE.indexOf(lastchar)>=0 && Parser.WHITESPACE.indexOf(source[i])<0) || (lastchar == ']' && Parser.WHITESPACE.indexOf(source[i])<0 && '[' != source[i])) { methodName.setLength(0); methodName.append(source[i]); } - else if (Parser.WHITESPACE.indexOf(source[i])<0) { + else if (Parser.WHITESPACE.indexOf(source[i])<0) { methodName.append(source[i]); } - lastchar=source[i]; + lastchar=source[i]; } ExecutableMemberDocImpl rc; @@ -129,24 +129,24 @@ public class ExecutableMemberDocImpl extends MemberDocImpl implements Executable SourcePosition position = DocImpl.getPosition(containingClass, source, startIndex); if (methodName.toString().equals(((ClassDocImpl)containingClass).getClassName())) { - - // Constructor - rc=new ConstructorDocImpl(containingClass, - containingPackage, + // Constructor + + rc=new ConstructorDocImpl(containingClass, + containingPackage, position); } else { - // Normal method + // Normal method - rc=new MethodDocImpl(containingClass, - containingPackage, + rc=new MethodDocImpl(containingClass, + containingPackage, position); } - + if (containingClass.isInterface()) - rc.accessLevel=ACCESS_PUBLIC; + rc.accessLevel=ACCESS_PUBLIC; int ndx=rc.parseModifiers(source, startIndex, endIndex); StringBuffer name = new StringBuffer(); @@ -158,69 +158,69 @@ public class ExecutableMemberDocImpl extends MemberDocImpl implements Executable int state=STATE_NORMAL; while (source[ndx]!='(' && ndx<endIndex) { - if (state==STATE_NORMAL) { - if (ndx<endIndex-1 && source[ndx]=='/' && source[ndx+1]=='/') { - ++ndx; - state=STATE_SLASHC; - } - else if (ndx<endIndex-1 && source[ndx]=='/' && source[ndx+1]=='*') { - ++ndx; - state=STATE_STARC; - } - else { - name.append(source[ndx]); - } - } - else if (state==STATE_SLASHC) { - if (source[ndx]=='\n') - state=STATE_NORMAL; - } - else if (state==STATE_STARC) { - if (ndx<endIndex-1 && source[ndx]=='*' && source[ndx+1]=='/') { - ++ndx; - state=STATE_NORMAL; - } - } - ++ndx; + if (state==STATE_NORMAL) { + if (ndx<endIndex-1 && source[ndx]=='/' && source[ndx+1]=='/') { + ++ndx; + state=STATE_SLASHC; + } + else if (ndx<endIndex-1 && source[ndx]=='/' && source[ndx+1]=='*') { + ++ndx; + state=STATE_STARC; + } + else { + name.append(source[ndx]); + } + } + else if (state==STATE_SLASHC) { + if (source[ndx]=='\n') + state=STATE_NORMAL; + } + else if (state==STATE_STARC) { + if (ndx<endIndex-1 && source[ndx]=='*' && source[ndx+1]=='/') { + ++ndx; + state=STATE_NORMAL; + } + } + ++ndx; } rc.setName(name.toString().trim()); state=STATE_NORMAL; - + ++ndx; int endx; String param=""; List parameterList=new ArrayList(); for (endx=ndx; endx<endIndex; ++endx) { - if (state==STATE_SLASHC) { - if (source[endx]=='\n') { - state=STATE_NORMAL; - } - } - else if (state==STATE_STARC) { - if (source[endx]=='*' && source[endx+1]=='/') { - state=STATE_NORMAL; - ++endx; - } - } - else if (source[endx]=='/' && source[endx+1]=='*') { - state=STATE_STARC; - ++endx; - } - else if (source[endx]=='/' && source[endx+1]=='/') { - state=STATE_SLASHC; - ++endx; - } - else if (source[endx]==',' || source[endx]==')') { - param=param.trim(); - if (param.length()>0) { - int n = param.length()-1; + if (state==STATE_SLASHC) { + if (source[endx]=='\n') { + state=STATE_NORMAL; + } + } + else if (state==STATE_STARC) { + if (source[endx]=='*' && source[endx+1]=='/') { + state=STATE_NORMAL; + ++endx; + } + } + else if (source[endx]=='/' && source[endx+1]=='*') { + state=STATE_STARC; + ++endx; + } + else if (source[endx]=='/' && source[endx+1]=='/') { + state=STATE_SLASHC; + ++endx; + } + else if (source[endx]==',' || source[endx]==')') { + param=param.trim(); + if (param.length()>0) { + int n = param.length()-1; int paramNameStart = 0; while (n >= 0) { char c = param.charAt(n); - if ('[' == c || ']' == c || Parser.WHITESPACE.indexOf(c)>=0) { + if ('[' == c || ']' == c || Parser.WHITESPACE.indexOf(c)>=0) { paramNameStart = n + 1; - break; + break; } else { -- n; @@ -235,21 +235,21 @@ public class ExecutableMemberDocImpl extends MemberDocImpl implements Executable int paramTypeStart = 0; while (n >= 0) { char c = param.charAt(n); - if ('[' == c || ']' == c || Parser.WHITESPACE.indexOf(c)>=0) { + if ('[' == c || ']' == c || Parser.WHITESPACE.indexOf(c)>=0) { paramTypeStart = n + 1; - break; + break; } else { -- n; } } - String paramType; - String paramName; - if (0 != paramNameStart) { - paramType=param.substring(paramTypeStart, paramTypeEnd); - paramName=param.substring(paramNameStart); - } + String paramType; + String paramName; + if (0 != paramNameStart) { + paramType=param.substring(paramTypeStart, paramTypeEnd); + paramName=param.substring(paramNameStart); + } else { paramName = ""; StringBuffer paramTypeBuffer = new StringBuffer(); @@ -261,34 +261,34 @@ public class ExecutableMemberDocImpl extends MemberDocImpl implements Executable } paramType = paramTypeBuffer.toString(); } - String dimSuffix=""; + String dimSuffix=""; for (int i=0; i<param.length(); ++i) { if ('[' == param.charAt(i)) { dimSuffix += "[]"; } } - paramType+=dimSuffix; + paramType+=dimSuffix; if (paramType.startsWith("[")) { System.err.println("broken param type in " + rc + " in " +containingClass); } - parameterList.add(new ParameterImpl(paramName, paramType, - ((ClassDocImpl)containingClass).typeForString(paramType))); + parameterList.add(new ParameterImpl(paramName, paramType, + ((ClassDocImpl)containingClass).typeForString(paramType))); - param=""; - } - } - else - param+=source[endx]; + param=""; + } + } + else + param+=source[endx]; - if (source[endx]==')' && state==STATE_NORMAL) - break; + if (source[endx]==')' && state==STATE_NORMAL) + break; } rc.setParameters((Parameter[])parameterList.toArray(new Parameter[0])); - + ++endx; String word=""; String dimSuffix=""; @@ -297,58 +297,58 @@ public class ExecutableMemberDocImpl extends MemberDocImpl implements Executable state=STATE_NORMAL; for (; endx<endIndex; ++endx) { - if (state==STATE_SLASHC) { - if (source[endx]=='\n') state=STATE_NORMAL; - } - else if (state==STATE_STARC) { - if (source[endx]=='*' && source[endx+1]=='/') { - state=STATE_NORMAL; - ++endx; - } - } - else if (source[endx]=='/' && source[endx+1]=='*') { - state=STATE_STARC; - ++endx; - } - else if (source[endx]=='/' && source[endx+1]=='/') { - state=STATE_SLASHC; - ++endx; - } - else if (Parser.WHITESPACE.indexOf(source[endx])>=0) { - word=word.trim(); - if (!haveThrowsKeyword && word.length()>0) { - if (word.equals("throws")) haveThrowsKeyword=true; - else System.err.println("ARGH! "+word); - word=""; - } - } - else if (source[endx]=='[' || source[endx]==']') { - dimSuffix += source[endx]; - } - else if (source[endx]==',' || source[endx]=='{' || source[endx]==';') { - word=word.trim(); - if (word.length()>0) { - ClassDoc exceptionType=rc.containingClass().findClass(word); - if (exceptionType==null) { - exceptionType=new ClassDocProxy(word, + if (state==STATE_SLASHC) { + if (source[endx]=='\n') state=STATE_NORMAL; + } + else if (state==STATE_STARC) { + if (source[endx]=='*' && source[endx+1]=='/') { + state=STATE_NORMAL; + ++endx; + } + } + else if (source[endx]=='/' && source[endx+1]=='*') { + state=STATE_STARC; + ++endx; + } + else if (source[endx]=='/' && source[endx+1]=='/') { + state=STATE_SLASHC; + ++endx; + } + else if (Parser.WHITESPACE.indexOf(source[endx])>=0) { + word=word.trim(); + if (!haveThrowsKeyword && word.length()>0) { + if (word.equals("throws")) haveThrowsKeyword=true; + else System.err.println("ARGH! "+word); + word=""; + } + } + else if (source[endx]=='[' || source[endx]==']') { + dimSuffix += source[endx]; + } + else if (source[endx]==',' || source[endx]=='{' || source[endx]==';') { + word=word.trim(); + if (word.length()>0) { + ClassDoc exceptionType=rc.containingClass().findClass(word); + if (exceptionType==null) { + exceptionType=new ClassDocProxy(word, rc.containingClass()); - } - thrownExceptionsList.add(exceptionType); - } - if (source[endx]=='{') { - break; - } - else { - word=""; - } - } - else { - word+=source[endx]; - } + } + thrownExceptionsList.add(exceptionType); + } + if (source[endx]=='{') { + break; + } + else { + word=""; + } + } + else { + word+=source[endx]; + } } if (dimSuffix.length()>0) { - rc.setTypeName(rc.getTypeName()+dimSuffix); + rc.setTypeName(rc.getTypeName()+dimSuffix); } rc.setThrownExceptions((ClassDoc[])thrownExceptionsList.toArray(new ClassDoc[0])); @@ -372,26 +372,26 @@ public class ExecutableMemberDocImpl extends MemberDocImpl implements Executable void resolve() { for (int i=0; i<thrownExceptions.length; ++i) { - if (thrownExceptions[i] instanceof ClassDocProxy) { - String className=thrownExceptions[i].qualifiedName(); - ClassDoc realClassDoc=containingClass().findClass(className); - if (realClassDoc!=null) - thrownExceptions[i]=realClassDoc; - } + if (thrownExceptions[i] instanceof ClassDocProxy) { + String className=thrownExceptions[i].qualifiedName(); + ClassDoc realClassDoc=containingClass().findClass(className); + if (realClassDoc!=null) + thrownExceptions[i]=realClassDoc; + } } StringBuffer signatureBuf=new StringBuffer(); StringBuffer flatSignatureBuf=new StringBuffer(); for (int i=0; i<parameters.length; ++i) { - ((ParameterImpl)parameters[i]).resolve(containingClass()); - - if (signatureBuf.length()>0) { - signatureBuf.append(","); - flatSignatureBuf.append(","); - } - signatureBuf.append(parameters[i].type().qualifiedTypeName()); - flatSignatureBuf.append(parameters[i].type().typeName()); + ((ParameterImpl)parameters[i]).resolve(containingClass()); + + if (signatureBuf.length()>0) { + signatureBuf.append(","); + flatSignatureBuf.append(","); + } + signatureBuf.append(parameters[i].type().qualifiedTypeName()); + flatSignatureBuf.append(parameters[i].type().typeName()); signatureBuf.append(parameters[i].type().dimension()); flatSignatureBuf.append(parameters[i].type().dimension()); } @@ -406,7 +406,7 @@ public class ExecutableMemberDocImpl extends MemberDocImpl implements Executable int rc; if (other instanceof MemberDocImpl) { MemberDocImpl otherMember = (MemberDocImpl)other; - rc = name().compareTo(otherMember.name()); + rc = name().compareTo(otherMember.name()); if (0 == rc) { if (other instanceof ExecutableMemberDocImpl) { rc = signature().compareTo(((ExecutableMemberDocImpl)other).signature()); @@ -420,9 +420,8 @@ public class ExecutableMemberDocImpl extends MemberDocImpl implements Executable } } else { - rc = 1; + rc = 1; } return rc; } } - diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/FieldDocImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/FieldDocImpl.java index 3417976..f99024d 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/FieldDocImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/FieldDocImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -45,9 +45,9 @@ import gnu.classpath.tools.gjdoc.expr.Evaluator; import gnu.classpath.tools.gjdoc.expr.CircularExpressionException; import gnu.classpath.tools.gjdoc.expr.IllegalExpressionException; -public class FieldDocImpl - extends MemberDocImpl - implements FieldDoc, Cloneable +public class FieldDocImpl + extends MemberDocImpl + implements FieldDoc, Cloneable { private boolean isTransient; @@ -61,7 +61,7 @@ public class FieldDocImpl SourcePosition position) { super(containingClass, - containingPackage, + containingPackage, position); } @@ -82,7 +82,7 @@ public class FieldDocImpl dimSuffix=fieldDef.charAt(fieldDef.length()-1)+dimSuffix; fieldDef=fieldDef.substring(0,fieldDef.length()-1); } - + fieldDoc.setTypeName(fieldDoc.getTypeName()+dimSuffix); fieldDoc.setName(fieldDef.trim()); fieldDoc.setValueLiteral(fieldValueLiteral); @@ -96,13 +96,13 @@ public class FieldDocImpl } public static Collection createFromSource(ClassDoc containingClass, - PackageDoc containingPackage, - char[] source, int startIndex, int endIndex) { - + PackageDoc containingPackage, + char[] source, int startIndex, int endIndex) { + List rcList=new ArrayList(); FieldDocImpl fd=new FieldDocImpl(containingClass, - containingPackage, + containingPackage, DocImpl.getPosition(containingClass, source, startIndex)); int ndx=fd.parseModifiers(source, startIndex, endIndex); @@ -131,12 +131,12 @@ public class FieldDocImpl for (int i=ndx; i<endIndex; ++i) { - char c = source[i]; + char c = source[i]; char nextChar = '\0'; if (i + 1 < endIndex) { nextChar = source[i + 1]; } - switch (state) { + switch (state) { case STATE_FIELDNAME: if ('/' == c && '/' == nextChar) { prevState = state; @@ -158,7 +158,7 @@ public class FieldDocImpl } break; - case STATE_FIELDVALUE: + case STATE_FIELDVALUE: if ('/' == c && '/' == nextChar) { prevState = state; state = STATE_LINECOMMENT; @@ -167,65 +167,65 @@ public class FieldDocImpl prevState = state; state = STATE_COMMENT; } - else if ('\"' == c) { + else if ('\"' == c) { prevState = state; - state = STATE_QUOTE; + state = STATE_QUOTE; fieldValueLiteralBuf.append(c); - } - else if ('\'' == c) { + } + else if ('\'' == c) { prevState = state; - state = STATE_SQUOTE; + state = STATE_SQUOTE; fieldValueLiteralBuf.append(c); - } - else if ('{' == c || '(' == c) { + } + else if ('{' == c || '(' == c) { ++ bracketCount; fieldValueLiteralBuf.append(c); - } - else if ('}' == c || ')' == c) { + } + else if ('}' == c || ')' == c) { -- bracketCount; fieldValueLiteralBuf.append(c); - } - else if (0 == bracketCount && (',' == c || ';' == c)) { - rcList.add(createFieldDoc(fd, fieldNameBuf.toString(), + } + else if (0 == bracketCount && (',' == c || ';' == c)) { + rcList.add(createFieldDoc(fd, fieldNameBuf.toString(), fieldValueLiteralBuf.toString())); fieldNameBuf.setLength(0); fieldValueLiteralBuf.setLength(0); - state = STATE_FIELDNAME; - } + state = STATE_FIELDNAME; + } else { fieldValueLiteralBuf.append(c); } - break; - - case STATE_QUOTE: + break; + + case STATE_QUOTE: fieldValueLiteralBuf.append(c); - if ('\\' == c) { - state = STATE_QUOTEBS; - } - else if ('\"' == c) { - state = prevState; - } - break; - - case STATE_SQUOTE: + if ('\\' == c) { + state = STATE_QUOTEBS; + } + else if ('\"' == c) { + state = prevState; + } + break; + + case STATE_SQUOTE: fieldValueLiteralBuf.append(c); - if ('\\' == c) { - state = STATE_SQUOTEBS; - } - else if ('\'' == c) { - state = prevState; - } - break; - - case STATE_QUOTEBS: + if ('\\' == c) { + state = STATE_SQUOTEBS; + } + else if ('\'' == c) { + state = prevState; + } + break; + + case STATE_QUOTEBS: fieldValueLiteralBuf.append(c); - state = STATE_QUOTE; - break; + state = STATE_QUOTE; + break; - case STATE_SQUOTEBS: + case STATE_SQUOTEBS: fieldValueLiteralBuf.append(c); - state = STATE_SQUOTE; - break; + state = STATE_SQUOTE; + break; case STATE_LINECOMMENT: if ('\n' == c) { @@ -241,9 +241,9 @@ public class FieldDocImpl break; } } - + if (fieldNameBuf.length() > 0) { - rcList.add(createFieldDoc(fd, fieldNameBuf.toString(), + rcList.add(createFieldDoc(fd, fieldNameBuf.toString(), fieldValueLiteralBuf.toString())); } @@ -252,7 +252,7 @@ public class FieldDocImpl public boolean isField() { return true; - } + } public boolean isTransient() { return isTransient; } @@ -262,25 +262,25 @@ public class FieldDocImpl public int modifierSpecifier() { return super.modifierSpecifier() - | (isVolatile()?Modifier.VOLATILE:0) - | (isTransient()?Modifier.TRANSIENT:0) - ; + | (isVolatile()?Modifier.VOLATILE:0) + | (isTransient()?Modifier.TRANSIENT:0) + ; } protected boolean processModifier(String word) { if (super.processModifier(word)) { - return true; + return true; } else if (word.equals("transient")) { - isTransient=true; - return true; + isTransient=true; + return true; } else if (word.equals("volatile")) { - isVolatile=true; - return true; + isVolatile=true; + return true; } else { - return false; + return false; } } @@ -299,10 +299,10 @@ public class FieldDocImpl } public Object constantValue(Set visitedFields) { - if (!isStatic() - || !isFinal() + if (!isStatic() + || !isFinal() || (!type().isPrimitive() && !"java.lang.String".equals(type().qualifiedTypeName())) - || type.dimension().length()>0 + || type.dimension().length()>0 || null == valueLiteral) { return null; @@ -315,7 +315,7 @@ public class FieldDocImpl String expression = "(" + type().typeName() + ")(" + valueLiteral + ")"; try { - this.constantValue = Evaluator.evaluate(expression, + this.constantValue = Evaluator.evaluate(expression, visitedFields, (ClassDocImpl)containingClass()); } diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/GjdocPackageDoc.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/GjdocPackageDoc.java index e0c74ce..4cfbbe4 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/GjdocPackageDoc.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/GjdocPackageDoc.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/GjdocRootDoc.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/GjdocRootDoc.java index a49be2f..d45786f 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/GjdocRootDoc.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/GjdocRootDoc.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/InheritDocTagImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/InheritDocTagImpl.java index 95b706a..3be63dd 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/InheritDocTagImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/InheritDocTagImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -44,7 +44,7 @@ import java.text.*; /** * Represents the <code>inheritDoc</code> tag. */ -public class InheritDocTagImpl +public class InheritDocTagImpl extends AbstractTagImpl { private ClassDocImpl contextClass; diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/JavadocWrapper.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/JavadocWrapper.java index f5a507b..93c08b9 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/JavadocWrapper.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/JavadocWrapper.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/LinkTagImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/LinkTagImpl.java index ac92dba..3b2b8a8 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/LinkTagImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/LinkTagImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/Main.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/Main.java index 0c30a48..ce9e96d 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/Main.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/Main.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -89,7 +89,7 @@ public final class Main /* * FIXME: This should come from a ResourceBundle */ - private static final String STRING_TRY_GJDOC_HELP = + private static final String STRING_TRY_GJDOC_HELP = "Try `gjdoc --help' for more information."; /** @@ -239,12 +239,12 @@ public final class Main * true when --version has been specified on the command line. */ private boolean option_showVersion; - + /** * true when -bootclasspath has been specified on the command line. */ private boolean option_bootclasspath_specified; - + /** * true when -all has been specified on the command line. */ @@ -254,13 +254,13 @@ public final class Main * true when -reflection has been specified on the command line. */ private boolean option_reflection; - + // TODO: add the rest of the options as instance variables - + /** * Parse all source files/packages and subsequentially start the Doclet given * on the command line. - * + * * @param allOptions List of all command line tokens */ private boolean startDoclet(List allOptions) @@ -500,7 +500,7 @@ public final class Main if (sourceFile.exists() && !sourceFile.isDirectory()) { rootDoc.addSpecifiedSourceFile(sourceFile); foundSourceFile = true; - } + } } } @@ -672,7 +672,7 @@ public final class Main } private void addFoundPackages(String subpackage, Set foundPackages) - { + { if (foundPackages.isEmpty()) { reporter.printWarning("No classes found under subpackage " + subpackage); } @@ -815,8 +815,8 @@ public final class Main * package specified by its name and its directory. Add the names * of all valid packages to the result list. */ - private void findPackages(String subpackage, - File packageDir, + private void findPackages(String subpackage, + File packageDir, Set result) { File[] files = packageDir.listFiles(); @@ -882,7 +882,7 @@ public final class Main /** * Main entry point. This is the method called when gjdoc is invoked from the * command line. - * + * * @param args * command line arguments */ @@ -923,7 +923,7 @@ public final class Main /** * Parses command line arguments and subsequentially handles control to the * startDoclet() method - * + * * @param args The command line parameters. */ public static int execute(String[] args) @@ -961,7 +961,7 @@ public final class Main { return execute(args); } - + /** * @param programName Name of the program (for error messages). * @param defaultDocletClassName Fully qualified class name. @@ -974,7 +974,7 @@ public final class Main { // not yet implemented }*/ - + /** * @param programName Name of the program (for error messages). * @param defaultDocletClassName Fully qualified class name. @@ -987,7 +987,7 @@ public final class Main { // not yet implemented }*/ - + /** * @param programName Name of the program (for error messages). * @param errWriter PrintWriter to receive error messages. @@ -1010,7 +1010,7 @@ public final class Main /** * Parses command line arguments and subsequentially handles control to the * startDoclet() method - * + * * @param args * Command line arguments, as passed to the main() method * @return {@code -1} in case of a fatal error (invalid arguments), @@ -1160,7 +1160,7 @@ public final class Main option_sourcepath.add(new File(".")); //--- We have all information we need to start the doclet at this time - + if (null != option_encoding) { rootDoc.setSourceEncoding(option_encoding); } @@ -1189,7 +1189,7 @@ public final class Main BufferedReader reader = new BufferedReader(new InputStreamReader(in)); String line; while ((line = reader.readLine()) != null) { - + String className = line.trim(); if (className.length() > 0) { ClassDocImpl classDoc = @@ -1217,7 +1217,7 @@ public final class Main /** * Initializes this instance. - * + * * @param argCount * number of arguments */ @@ -1229,7 +1229,7 @@ public final class Main /** * Overridden by derived classes with behavior to parse the arguments * specified with this option. - * + * * @param args * command line arguments */ @@ -1337,7 +1337,7 @@ public final class Main void process(String[] args) { option_source = args[0]; - if (!"1.2".equals(option_source) + if (!"1.2".equals(option_source) && !"1.3".equals(option_source) && !"1.4".equals(option_source)) { @@ -1370,7 +1370,7 @@ public final class Main { void process(String[] args) { - StringTokenizer st = new StringTokenizer(args[0], ":"); + StringTokenizer st = new StringTokenizer(args[0], ":"); while (st.hasMoreTokens()) { String packageName = st.nextToken(); @@ -1390,7 +1390,7 @@ public final class Main { void process(String[] args) { - StringTokenizer st = new StringTokenizer(args[0], ":"); + StringTokenizer st = new StringTokenizer(args[0], ":"); while (st.hasMoreTokens()) { String packageName = st.nextToken(); @@ -1487,7 +1487,7 @@ public final class Main try { getRootDoc().setRawCommentText(RootDocImpl.readHtmlBody(new File(args[0]))); } - catch (IOException e) { + catch (IOException e) { throw new RuntimeException("Cannot read file specified in option -overview: " + e.getMessage()); } } @@ -1533,7 +1533,7 @@ public final class Main /** * Determine how many arguments the given option requires. - * + * * @param option * The name of the option without leading dash. */ @@ -1550,7 +1550,7 @@ public final class Main /** * Process all given options. Assumes that the options have been validated * before. - * + * * @param optionArr * Each element is a series of Strings where [0] is the name of the * option and [1..n] are the arguments to the option. @@ -1699,7 +1699,7 @@ public final class Main /** * The root of the gjdoc tool. - * + * * @return all the options of the gjdoc application. */ public static RootDocImpl getRootDoc() @@ -1709,7 +1709,7 @@ public final class Main /** * Get the gjdoc singleton. - * + * * @return the gjdoc instance. */ public static Main getInstance() @@ -1719,7 +1719,7 @@ public final class Main /** * Is this access level covered? - * + * * @param accessLevel * the access level we want to know if it is covered. * @return true if the access level is covered. @@ -1731,7 +1731,7 @@ public final class Main /** * Is the doclet running? - * + * * @return true if it's running */ public boolean isDocletRunning() @@ -1743,7 +1743,7 @@ public final class Main * Check the charset. Check that all the characters of the string 'toCheck' * and query if they exist in the 'charSet'. The order does not matter. The * number of times a character is in the variable does not matter. - * + * * @param toCheck * the charset to check. * @param charSet @@ -1809,25 +1809,25 @@ public final class Main && !defaultLocale.equals(locale)) { this.collator = Collator.getInstance(defaultLocale); if (null != this.collator) { - reporter.printWarning("No collator found for locale " - + locale.getDisplayName() - + "; using collator for default locale " + reporter.printWarning("No collator found for locale " + + locale.getDisplayName() + + "; using collator for default locale " + defaultLocale.getDisplayName() + "."); } else { this.collator = Collator.getInstance(); - reporter.printWarning("No collator found for specified locale " - + locale.getDisplayName() - + " or default locale " + reporter.printWarning("No collator found for specified locale " + + locale.getDisplayName() + + " or default locale " + defaultLocale.getDisplayName() + ": using default collator."); } } if (null == this.collator) { this.collator = Collator.getInstance(); - reporter.printWarning("No collator found for locale " - + locale.getDisplayName() + reporter.printWarning("No collator found for locale " + + locale.getDisplayName() + ": using default collator."); } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/MemberDocImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/MemberDocImpl.java index 07817bc..acc8128 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/MemberDocImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/MemberDocImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -46,11 +46,11 @@ public abstract class MemberDocImpl extends ProgramElementDocImpl implements Mem protected Type type; public MemberDocImpl(ClassDoc containingClass, - PackageDoc containingPackage, + PackageDoc containingPackage, SourcePosition position) { super(containingClass, - containingPackage, + containingPackage, position); } @@ -78,53 +78,53 @@ public abstract class MemberDocImpl extends ProgramElementDocImpl implements Mem int firstChar = 0; int lastChar = 0; for (; startIndex<endIndex; ++startIndex) { - if (state==STATE_STARC) { - if (startIndex<endIndex-1 && source[startIndex]=='*' && source[startIndex+1]=='/') { - ++startIndex; - state=STATE_NORMAL; - } - } - else if (state==STATE_SLASHC) { - if (source[startIndex]=='\n') { - state=STATE_NORMAL; - } - } - else if (startIndex<endIndex-1 && source[startIndex]=='/' && source[startIndex+1]=='*') { - ++startIndex; - state=STATE_STARC; - } - else if (source[startIndex]=='=' || source[startIndex]=='(' || source[startIndex]==';') { + if (state==STATE_STARC) { + if (startIndex<endIndex-1 && source[startIndex]=='*' && source[startIndex+1]=='/') { + ++startIndex; + state=STATE_NORMAL; + } + } + else if (state==STATE_SLASHC) { + if (source[startIndex]=='\n') { + state=STATE_NORMAL; + } + } + else if (startIndex<endIndex-1 && source[startIndex]=='/' && source[startIndex+1]=='*') { + ++startIndex; + state=STATE_STARC; + } + else if (source[startIndex]=='=' || source[startIndex]=='(' || source[startIndex]==';') { typeName = typeNameBuf.toString(); return lastWordStart; - } - else if (Parser.WHITESPACE.indexOf(source[startIndex])>=0 + } + else if (Parser.WHITESPACE.indexOf(source[startIndex])>=0 || (startIndex > 0 && source[startIndex-1] == ']' && source[startIndex] != '[')) { - if (word.length()>0 && lastChar != '.') { - if (processModifier(word.toString())) { - } - else if (typeNameBuf.length()==0 && !isConstructor()) { + if (word.length()>0 && lastChar != '.') { + if (processModifier(word.toString())) { + } + else if (typeNameBuf.length()==0 && !isConstructor()) { typeNameBuf.setLength(0); - typeNameBuf.append(word); - } - else if ((firstChar=='[' || firstChar==']') && !isConstructor()) { - typeNameBuf.append(word); - } - else { + typeNameBuf.append(word); + } + else if ((firstChar=='[' || firstChar==']') && !isConstructor()) { + typeNameBuf.append(word); + } + else { typeName = typeNameBuf.toString(); - return lastWordStart; - } - word.setLength(0); - lastWordStart=startIndex; - } - } - else { - if (lastWordStart<0) lastWordStart=startIndex; + return lastWordStart; + } + word.setLength(0); + lastWordStart=startIndex; + } + } + else { + if (lastWordStart<0) lastWordStart=startIndex; lastChar = source[startIndex]; if (0 == word.length()) { firstChar = lastChar; } - word.append((char)lastChar); - } + word.append((char)lastChar); + } } typeName = typeNameBuf.toString(); @@ -132,17 +132,17 @@ public abstract class MemberDocImpl extends ProgramElementDocImpl implements Mem } public Type type() { - //public Type type() throws ParseException { - Debug.log(9,"type() called on "+containingClass()+"."+this); - if (type==null) { - try { - type=((ClassDocImpl)containingClass()).typeForString(typeName); - } catch (ParseException e) { - System.err.println("FIXME: add try-catch to force compilation"); - e.printStackTrace(); - } - } - return type; + //public Type type() throws ParseException { + Debug.log(9,"type() called on "+containingClass()+"."+this); + if (type==null) { + try { + type=((ClassDocImpl)containingClass()).typeForString(typeName); + } catch (ParseException e) { + System.err.println("FIXME: add try-catch to force compilation"); + e.printStackTrace(); + } + } + return type; } @@ -156,7 +156,7 @@ public abstract class MemberDocImpl extends ProgramElementDocImpl implements Mem return name; } - public void setTypeName(String typeName) { + public void setTypeName(String typeName) { this.typeName=typeName; this.type=null; } @@ -165,57 +165,57 @@ public abstract class MemberDocImpl extends ProgramElementDocImpl implements Mem return typeName; } - // return true if this Doc is include in the active set. + // return true if this Doc is include in the active set. public boolean isIncluded() { return Main.getInstance().includeAccessLevel(accessLevel); - } + } public int compareTo(Object o) { if (o instanceof MemberDocImpl) { - int rc=name().compareTo(((MemberDocImpl)o).name()); - if (rc==0) - rc=containingClass().qualifiedName().compareTo(((MemberDocImpl)o).containingClass().qualifiedName()); - return rc; + int rc=name().compareTo(((MemberDocImpl)o).name()); + if (rc==0) + rc=containingClass().qualifiedName().compareTo(((MemberDocImpl)o).containingClass().qualifiedName()); + return rc; } else { - return super.compareTo(o); + return super.compareTo(o); } } void resolve() { if (type==null && typeName!=null) { - Debug.log(1, "MemberDocImpl.resolve(), looking up type named "+typeName); - try { - type=((ClassDocImpl)containingClass()).typeForString(typeName); - } catch (ParseException e) { - //System.err.println("FIXME: add try-catch to force compilation"); - //e.printStackTrace(); - Debug.log(1, "INTERNAL WARNING: Couldn't find type for name '"+typeName+"'"); - } + Debug.log(1, "MemberDocImpl.resolve(), looking up type named "+typeName); + try { + type=((ClassDocImpl)containingClass()).typeForString(typeName); + } catch (ParseException e) { + //System.err.println("FIXME: add try-catch to force compilation"); + //e.printStackTrace(); + Debug.log(1, "INTERNAL WARNING: Couldn't find type for name '"+typeName+"'"); + } } if (type instanceof ClassDocProxy) { - String className=type.qualifiedTypeName(); - ClassDoc realClassDoc=((ClassDocImpl)containingClass()).findClass(className, type.dimension()); - if (realClassDoc!=null) { + String className=type.qualifiedTypeName(); + ClassDoc realClassDoc=((ClassDocImpl)containingClass()).findClass(className, type.dimension()); + if (realClassDoc!=null) { type=realClassDoc; - } - else { - //throw new Error("Class not found: "+className); - /*** This is not an error, the class was not included - * on the command line. Perhaps emit a notice here. - * - - Main.getRootDoc().printError("Class not found '" - + className - + "' in class '" - + containingClass().qualifiedName() - + "' member '" - + name() - + "'"); - */ - } + } + else { + //throw new Error("Class not found: "+className); + /*** This is not an error, the class was not included + * on the command line. Perhaps emit a notice here. + * + + Main.getRootDoc().printError("Class not found '" + + className + + "' in class '" + + containingClass().qualifiedName() + + "' member '" + + name() + + "'"); + */ + } } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/MethodDocImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/MethodDocImpl.java index 34f3b28..78748c8 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/MethodDocImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/MethodDocImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -43,21 +43,21 @@ import com.sun.javadoc.*; public class MethodDocImpl extends ExecutableMemberDocImpl implements MethodDoc { public MethodDocImpl(ClassDoc containingClass, - PackageDoc containingPackage, + PackageDoc containingPackage, SourcePosition position) { - + super(containingClass, - containingPackage, + containingPackage, position); } - // Is this Doc item a class. + // Is this Doc item a class. public boolean isMethod() { return true; - } + } - public Type returnType() { - return super.type(); + public Type returnType() { + return super.type(); } public String toString() { return name()+((signature()==null)?"()":signature()); } diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/PackageDocImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/PackageDocImpl.java index 2f37e44..84960bc 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/PackageDocImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/PackageDocImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -50,7 +50,7 @@ class PackageDocImpl extends DocImpl implements GjdocPackageDoc { private List ordinaryClassesList = new ArrayList(); private List exceptionsList = new ArrayList(); private List interfacesList = new ArrayList(); - private List errorsList = new ArrayList(); + private List errorsList = new ArrayList(); private ClassDoc[] allClasses; private ClassDoc[] ordinaryClasses; @@ -65,41 +65,41 @@ class PackageDocImpl extends DocImpl implements GjdocPackageDoc { public void addClass(ClassDoc classDoc) { if (Main.getInstance().includeAccessLevel(((ClassDocImpl)classDoc).accessLevel)) { - allClassesSet.add(classDoc); + allClassesSet.add(classDoc); } } public void resolve() { for (Iterator it=allClassesSet.iterator(); it.hasNext(); ) { - ClassDocImpl classDoc=(ClassDocImpl)it.next(); - try { - classDoc.resolve(); - } catch (ParseException e) { - System.err.println("FIXME: add try-catch to force compilation" - + e); - } - - if (classDoc.isInterface()) { - interfacesList.add(classDoc); - } - else if (classDoc.isException()) { - exceptionsList.add(classDoc); - } - else if (classDoc.isError()) { - errorsList.add(classDoc); - } - else { - ordinaryClassesList.add(classDoc); - } + ClassDocImpl classDoc=(ClassDocImpl)it.next(); + try { + classDoc.resolve(); + } catch (ParseException e) { + System.err.println("FIXME: add try-catch to force compilation" + + e); + } + + if (classDoc.isInterface()) { + interfacesList.add(classDoc); + } + else if (classDoc.isException()) { + exceptionsList.add(classDoc); + } + else if (classDoc.isError()) { + errorsList.add(classDoc); + } + else { + ordinaryClassesList.add(classDoc); + } } } public void resolveComments() { if (rawDocumentation!=null) { - this.tagMap=parseCommentTags(rawDocumentation.toCharArray(), - 0, - rawDocumentation.length(), - null, + this.tagMap=parseCommentTags(rawDocumentation.toCharArray(), + 0, + rawDocumentation.length(), + null, null, null, null); @@ -108,20 +108,20 @@ class PackageDocImpl extends DocImpl implements GjdocPackageDoc { resolveTags(); } - public String name() { - return packageName; + public String name() { + return packageName; } - public ClassDoc[] allClasses() - { + public ClassDoc[] allClasses() + { if (null == this.allClasses) { this.allClasses = toClassDocArray(allClassesSet); } return this.allClasses; } - public ClassDoc[] ordinaryClasses() - { + public ClassDoc[] ordinaryClasses() + { if (null == this.ordinaryClasses) { this.ordinaryClasses = toClassDocArray(ordinaryClassesList); } @@ -129,24 +129,24 @@ class PackageDocImpl extends DocImpl implements GjdocPackageDoc { } - public ClassDoc[] exceptions() - { + public ClassDoc[] exceptions() + { if (null == this.exceptions) { this.exceptions = toClassDocArray(exceptionsList); } return this.exceptions; } - public ClassDoc[] interfaces() - { + public ClassDoc[] interfaces() + { if (null == this.interfaces) { this.interfaces = toClassDocArray(interfacesList); } return this.interfaces; } - public ClassDoc[] errors() - { + public ClassDoc[] errors() + { if (null == this.errors) { this.errors = toClassDocArray(errorsList); } @@ -160,7 +160,7 @@ class PackageDocImpl extends DocImpl implements GjdocPackageDoc { return result; } - public ClassDoc findClass(String name) { + public ClassDoc findClass(String name) { return Main.getRootDoc().classNamed(packageName+"."+name); } @@ -170,7 +170,7 @@ class PackageDocImpl extends DocImpl implements GjdocPackageDoc { Debug.log(level, "Ordinary classes:"); Debug.dumpArray(level, ordinaryClasses()); - + } public static final PackageDocImpl DEFAULT_PACKAGE = new PackageDocImpl(""); @@ -195,16 +195,16 @@ class PackageDocImpl extends DocImpl implements GjdocPackageDoc { public int compareTo(Object o) { if (o!=null && o instanceof PackageDocImpl) - return name().compareTo(((PackageDocImpl)o).name()); + return name().compareTo(((PackageDocImpl)o).name()); else - return 0; + return 0; } public boolean equals(Object o) { if (o!=null && o instanceof PackageDocImpl) - return name().equals(((PackageDocImpl)o).name()); + return name().equals(((PackageDocImpl)o).name()); else - return false; + return false; } /** diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ParamTagImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ParamTagImpl.java index 499d43e..a7491dc 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ParamTagImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ParamTagImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -45,7 +45,7 @@ public class ParamTagImpl extends AbstractTagImpl implements ParamTag { private String parameterName; private String parameterComment; - + public ParamTagImpl(String text, ClassDocImpl contextClass, MemberDocImpl contextMember) { @@ -53,14 +53,14 @@ public class ParamTagImpl extends AbstractTagImpl implements ParamTag { char[] textarr=text.toCharArray(); int i=0; for (; i<textarr.length; ++i) { - if (!Parser.isWhitespace(textarr[i])) break; + if (!Parser.isWhitespace(textarr[i])) break; } for (; i<textarr.length; ++i) { - if (Parser.isWhitespace(textarr[i])) { - parameterName=new String(textarr,0,i).trim(); - parameterComment=new String(textarr,i,textarr.length-i).trim(); - break; - } + if (Parser.isWhitespace(textarr[i])) { + parameterName=new String(textarr,0,i).trim(); + parameterComment=new String(textarr,i,textarr.length-i).trim(); + break; + } } if (parameterComment!=null) { setBody(parameterComment, contextClass, contextMember); diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ParameterImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ParameterImpl.java index 133077d..29b8e9b 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ParameterImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ParameterImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -54,9 +54,9 @@ public class ParameterImpl implements Parameter { public void resolve(ClassDoc classContext) { if (type instanceof ClassDocProxy) { - String className=type.qualifiedTypeName(); - ClassDoc realClassDoc=((ClassDocImpl)classContext).findClass(className, type.dimension()); - if (realClassDoc!=null) { + String className=type.qualifiedTypeName(); + ClassDoc realClassDoc=((ClassDocImpl)classContext).findClass(className, type.dimension()); + if (realClassDoc!=null) { type=realClassDoc; } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ParseException.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ParseException.java index c0ea48e..3ecd845 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ParseException.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ParseException.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -39,14 +39,13 @@ package gnu.classpath.tools.gjdoc; class ParseException extends Exception { - public ParseException() + public ParseException() { } - public ParseException(String msg) + public ParseException(String msg) { super(msg); } } - diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/Parser.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/Parser.java index 030d4ae..d355b53 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/Parser.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/Parser.java @@ -7,7 +7,7 @@ it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. + 02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -53,7 +53,7 @@ import gnu.classpath.tools.NotifyingInputStreamReader; import gnu.classpath.tools.MalformedInputListener; import gnu.classpath.tools.MalformedInputEvent; - class IgnoredFileParseException extends ParseException + class IgnoredFileParseException extends ParseException { // marker exception } @@ -63,18 +63,18 @@ import gnu.classpath.tools.MalformedInputEvent; abstract int match(char[] source, int index) throws ParseException; int process(Parser parser, char[] source, int startIndex, int endIndex) throws ParseException, IOException { - return endIndex; + return endIndex; } int getEndIndex(char[] source, int endIndex) throws ParseException { - return endIndex; + return endIndex; } } abstract class BlockSourceComponent extends SourceComponent { int getEndIndex(char[] source, int endIndex) throws ParseException { - return Parser.skipExpression(source, endIndex, 1, '\0'); + return Parser.skipExpression(source, endIndex, 1, '\0'); } } @@ -83,27 +83,27 @@ import gnu.classpath.tools.MalformedInputEvent; int match(char[] source, int index) { - int rc=index; - int slen=source.length; - while (rc<slen && Parser.WHITESPACE.indexOf(source[rc])>=0) ++rc; + int rc=index; + int slen=source.length; + while (rc<slen && Parser.WHITESPACE.indexOf(source[rc])>=0) ++rc; - return (rc!=index) ? rc : -1; + return (rc!=index) ? rc : -1; } } class BracketClose extends SourceComponent { int match(char[] source, int index) { - if (source[index]=='}') { - return index+1; - } - else { - return -1; - } + if (source[index]=='}') { + return index+1; + } + else { + return -1; + } } - int process(Parser parser, char[] source, int startIndex, int endIndex) - throws ParseException, IOException + int process(Parser parser, char[] source, int startIndex, int endIndex) + throws ParseException, IOException { parser.classClosed(); return endIndex; @@ -113,24 +113,24 @@ import gnu.classpath.tools.MalformedInputEvent; class CommentComponent extends SourceComponent { int match(char[] source, int index) throws ParseException { - if (index+1<source.length && source[index]=='/' && source[index+1]=='*') { - for (index+=2; index+1<source.length; ++index) { - if (source[index]=='*' && source[index+1]=='/') - return index+2; - } - throw new ParseException("unexpected end of input"); - } - return -1; + if (index+1<source.length && source[index]=='/' && source[index+1]=='*') { + for (index+=2; index+1<source.length; ++index) { + if (source[index]=='*' && source[index+1]=='/') + return index+2; + } + throw new ParseException("unexpected end of input"); + } + return -1; } int process(Parser parser, char[] source, int startIndex, int endIndex) { - if (source[startIndex+0]=='/' - && source[startIndex+1]=='*' - && source[startIndex+2]=='*') { + if (source[startIndex+0]=='/' + && source[startIndex+1]=='*' + && source[startIndex+2]=='*') { - parser.setLastComment(new String(source, startIndex, endIndex-startIndex)); - } + parser.setLastComment(new String(source, startIndex, endIndex-startIndex)); + } else if (null == parser.getBoilerplateComment() && Main.getInstance().isCopyLicenseText()) { String boilerplateComment = new String(source, startIndex + 2, endIndex-startIndex - 4); if (boilerplateComment.toLowerCase().indexOf("copyright") >= 0) { @@ -138,22 +138,22 @@ import gnu.classpath.tools.MalformedInputEvent; } } - return endIndex; + return endIndex; } } class SlashSlashCommentComponent extends SourceComponent { int match(char[] source, int index) { - if (index+1<source.length && source[index]=='/' && source[index+1]=='/') { - index+=2; - while (index<source.length && source[index]!='\n') - ++index; - return index; - } - else { - return -1; - } + if (index+1<source.length && source[index]=='/' && source[index+1]=='/') { + index+=2; + while (index<source.length && source[index]!='\n') + ++index; + return index; + } + else { + return -1; + } } } @@ -176,120 +176,120 @@ import gnu.classpath.tools.MalformedInputEvent; class ImportComponent extends SourceComponent { int match(char[] source, int index) { - if (index+7<source.length) { - if (source[index+0]=='i' - && source[index+1]=='m' - && source[index+2]=='p' - && source[index+3]=='o' - && source[index+4]=='r' - && source[index+5]=='t' - && Parser.WHITESPACE.indexOf(source[index+6])>=0) { - - for (index+=7; index<source.length && source[index]!=';'; ++index) - ; - - return index+1; - } - } - return -1; + if (index+7<source.length) { + if (source[index+0]=='i' + && source[index+1]=='m' + && source[index+2]=='p' + && source[index+3]=='o' + && source[index+4]=='r' + && source[index+5]=='t' + && Parser.WHITESPACE.indexOf(source[index+6])>=0) { + + for (index+=7; index<source.length && source[index]!=';'; ++index) + ; + + return index+1; + } + } + return -1; } int process(Parser parser, char[] source, int startIndex, int endIndex) throws ParseException, IOException { - String importString=new String(source,startIndex+7,endIndex-startIndex-7-1).trim(); - parser.importEncountered(importString); - return endIndex; + String importString=new String(source,startIndex+7,endIndex-startIndex-7-1).trim(); + parser.importEncountered(importString); + return endIndex; } } class PackageComponent extends SourceComponent { int match(char[] source, int index) { - if (index+10<source.length) { - if (source[index+0]=='p' - && source[index+1]=='a' - && source[index+2]=='c' - && source[index+3]=='k' - && source[index+4]=='a' - && source[index+5]=='g' - && source[index+6]=='e' - && Parser.WHITESPACE.indexOf(source[index+7])>=0) { - - for (index+=7; index<source.length && source[index]!=';'; ++index) - ; - - return index+1; - } - } - return -1; + if (index+10<source.length) { + if (source[index+0]=='p' + && source[index+1]=='a' + && source[index+2]=='c' + && source[index+3]=='k' + && source[index+4]=='a' + && source[index+5]=='g' + && source[index+6]=='e' + && Parser.WHITESPACE.indexOf(source[index+7])>=0) { + + for (index+=7; index<source.length && source[index]!=';'; ++index) + ; + + return index+1; + } + } + return -1; } int process(Parser parser, char[] source, int startIndex, int endIndex) { - String packageName=new String(source,startIndex+8,endIndex-startIndex-8-1).trim(); - parser.packageOpened(packageName); - return endIndex; + String packageName=new String(source,startIndex+8,endIndex-startIndex-8-1).trim(); + parser.packageOpened(packageName); + return endIndex; } } class FieldComponent extends SourceComponent { int match(char[] source, int index) throws ParseException { - boolean isField=false; - final int STATE_NORMAL=1; - final int STATE_SLASHC=2; - final int STATE_STARC=3; - final int STATE_FIELDVAL=4; - final int STATE_STRING=5; - final int STATE_SINGLEQUOTED=6; - final int STATE_STRING_BS=7; - final int STATE_SINGLEQUOTED_BS=8; - - int state=STATE_NORMAL; + boolean isField=false; + final int STATE_NORMAL=1; + final int STATE_SLASHC=2; + final int STATE_STARC=3; + final int STATE_FIELDVAL=4; + final int STATE_STRING=5; + final int STATE_SINGLEQUOTED=6; + final int STATE_STRING_BS=7; + final int STATE_SINGLEQUOTED_BS=8; + + int state=STATE_NORMAL; int prevState=STATE_NORMAL; int fieldValueLevel = 0; - for (; index<source.length && !isField; ++index) { - if (state==STATE_STARC) { - if (index<source.length-1 && source[index]=='*' && source[index+1]=='/') { - ++index; - state=prevState; - } - } - else if (state==STATE_SLASHC) { - if (source[index]=='\n') { - state=prevState; - } - } - else if (state==STATE_STRING) { - if (source[index]=='\\') { - state=STATE_STRING_BS; - } - else if (source[index]=='\"') { - state=prevState; - } - } - else if (state==STATE_STRING_BS) { + for (; index<source.length && !isField; ++index) { + if (state==STATE_STARC) { + if (index<source.length-1 && source[index]=='*' && source[index+1]=='/') { + ++index; + state=prevState; + } + } + else if (state==STATE_SLASHC) { + if (source[index]=='\n') { + state=prevState; + } + } + else if (state==STATE_STRING) { + if (source[index]=='\\') { + state=STATE_STRING_BS; + } + else if (source[index]=='\"') { + state=prevState; + } + } + else if (state==STATE_STRING_BS) { state=STATE_STRING; } - else if (state==STATE_SINGLEQUOTED) { - if (source[index]=='\\') { - state=STATE_SINGLEQUOTED_BS; - } - else if (source[index]=='\'') { - state=prevState; - } - } - else if (state==STATE_SINGLEQUOTED_BS) { + else if (state==STATE_SINGLEQUOTED) { + if (source[index]=='\\') { + state=STATE_SINGLEQUOTED_BS; + } + else if (source[index]=='\'') { + state=prevState; + } + } + else if (state==STATE_SINGLEQUOTED_BS) { state=STATE_SINGLEQUOTED; } else if (state==STATE_FIELDVAL) { if (source[index]=='/') { if (index<source.length-1 && source[index+1]=='*') { - state=STATE_STARC; + state=STATE_STARC; ++index; } else if (index<source.length-1 && source[index+1]=='/') { - state=STATE_SLASHC; + state=STATE_SLASHC; ++index; } } @@ -310,102 +310,102 @@ import gnu.classpath.tools.MalformedInputEvent; break; } } - else switch (source[index]) { - case '/': - if (index<source.length-1 && source[index+1]=='*') { - state=STATE_STARC; - ++index; - } - else if (index<source.length-1 && source[index+1]=='/') { - state=STATE_SLASHC; - ++index; - } - break; - case '{': // class - case '(': // method - return -1; - case '=': // field + else switch (source[index]) { + case '/': + if (index<source.length-1 && source[index+1]=='*') { + state=STATE_STARC; + ++index; + } + else if (index<source.length-1 && source[index+1]=='/') { + state=STATE_SLASHC; + ++index; + } + break; + case '{': // class + case '(': // method + return -1; + case '=': // field state=STATE_FIELDVAL; prevState=state; continue; - case ';': // field - isField=true; - break; - } - if (isField) break; - } - if (!isField || index==source.length) { - return -1; - } - - //System.err.println("char is "+source[index]); - - if (source[index]!=';') { - index=Parser.skipExpression(source, index, 0, ';'); - } - return index+1; + case ';': // field + isField=true; + break; + } + if (isField) break; + } + if (!isField || index==source.length) { + return -1; + } + + //System.err.println("char is "+source[index]); + + if (source[index]!=';') { + index=Parser.skipExpression(source, index, 0, ';'); + } + return index+1; } int process(Parser parser, char[] source, int startIndex, int endIndex) { - //Debug.log(9,"found package statement: \""+str+"\""); - //Debug.log(9,"found function component: '"+str+"'"); - //xxx(new FieldDocImpl(ctx.classDoc, ctx.classDoc.containingPackage(), 0, false, false)); + //Debug.log(9,"found package statement: \""+str+"\""); + //Debug.log(9,"found function component: '"+str+"'"); + //xxx(new FieldDocImpl(ctx.classDoc, ctx.classDoc.containingPackage(), 0, false, false)); - // Ignore superfluous semicoli after class definition - if (endIndex-startIndex<=1) return endIndex; + // Ignore superfluous semicoli after class definition + if (endIndex-startIndex<=1) return endIndex; - //assert (parser.ctx!=null); - Collection fields=FieldDocImpl.createFromSource(parser.ctx.classDoc, - parser.ctx.classDoc.containingPackage(), - source, startIndex, endIndex); + //assert (parser.ctx!=null); + Collection fields=FieldDocImpl.createFromSource(parser.ctx.classDoc, + parser.ctx.classDoc.containingPackage(), + source, startIndex, endIndex); - for (Iterator it=fields.iterator(); it.hasNext(); ) { - FieldDocImpl field=(FieldDocImpl)it.next(); - boolean fieldHasSerialTag=!field.isTransient() && !field.isStatic(); //field.hasSerialTag(); - if ((field.isIncluded() || fieldHasSerialTag) && parser.getAddComments()) { - field.setRawCommentText(parser.getLastComment()); - } + for (Iterator it=fields.iterator(); it.hasNext(); ) { + FieldDocImpl field=(FieldDocImpl)it.next(); + boolean fieldHasSerialTag=!field.isTransient() && !field.isStatic(); //field.hasSerialTag(); + if ((field.isIncluded() || fieldHasSerialTag) && parser.getAddComments()) { + field.setRawCommentText(parser.getLastComment()); + } parser.ctx.fieldList.add(field); - if (field.isIncluded()) { - parser.ctx.filteredFieldList.add(field); - } - if (fieldHasSerialTag) { - parser.ctx.sfieldList.add(field); - } - } - - parser.setLastComment(null); - return endIndex; + if (field.isIncluded()) { + parser.ctx.filteredFieldList.add(field); + } + if (fieldHasSerialTag) { + parser.ctx.sfieldList.add(field); + } + } + + parser.setLastComment(null); + return endIndex; } - + } class FunctionComponent extends BlockSourceComponent { int getEndIndex(char[] source, int endIndex) throws ParseException { - if (source[endIndex-1]==';') { - return endIndex; - } - else { - return super.getEndIndex(source, endIndex); - } + if (source[endIndex-1]==';') { + return endIndex; + } + else { + return super.getEndIndex(source, endIndex); + } } int process(Parser parser, char[] source, int startIndex, int endIndex) throws IOException, ParseException { - //ctx.fieldList.add(FieldDocImpl.createFromSource(source, startIndex, endIndex)); + //ctx.fieldList.add(FieldDocImpl.createFromSource(source, startIndex, endIndex)); - //System.out.println("function match '"+new String(source,startIndex,endIndex-startIndex)+"'"); - ExecutableMemberDocImpl execDoc=MethodDocImpl.createFromSource(parser.ctx.classDoc, - parser.ctx.classDoc.containingPackage(), - source, startIndex, endIndex); + //System.out.println("function match '"+new String(source,startIndex,endIndex-startIndex)+"'"); + ExecutableMemberDocImpl execDoc=MethodDocImpl.createFromSource(parser.ctx.classDoc, + parser.ctx.classDoc.containingPackage(), + source, startIndex, endIndex); - if (parser.getAddComments()) - execDoc.setRawCommentText(parser.getLastComment()); + if (parser.getAddComments()) + execDoc.setRawCommentText(parser.getLastComment()); - parser.setLastComment(null); + parser.setLastComment(null); if (execDoc.isMethod()) { parser.ctx.methodList.add(execDoc); @@ -420,117 +420,117 @@ import gnu.classpath.tools.MalformedInputEvent; } } - if (execDoc.isMethod() - && (execDoc.name().equals("readObject") - || execDoc.name().equals("writeObject") - || execDoc.name().equals("readExternal") - || execDoc.name().equals("writeExternal") - || execDoc.name().equals("readResolve"))) { + if (execDoc.isMethod() + && (execDoc.name().equals("readObject") + || execDoc.name().equals("writeObject") + || execDoc.name().equals("readExternal") + || execDoc.name().equals("writeExternal") + || execDoc.name().equals("readResolve"))) { // FIXME: add readExternal here? - parser.ctx.maybeSerMethodList.add(execDoc); - } + parser.ctx.maybeSerMethodList.add(execDoc); + } - return endIndex; + return endIndex; } int match(char[] source, int index) { - boolean isFunc=false; - final int STATE_NORMAL=1; - final int STATE_SLASHC=2; - final int STATE_STARC=3; - int state=STATE_NORMAL; - for (; index<source.length && !isFunc; ++index) { - if (state==STATE_STARC) { - if (source[index]=='*' && source[index+1]=='/') { - ++index; - state=STATE_NORMAL; - } - } - else if (state==STATE_SLASHC) { - if (source[index]=='\n') { - state=STATE_NORMAL; - } - } - else switch (source[index]) { - case '/': - if (source[index+1]=='*') { - state=STATE_STARC; - ++index; - } - else if (source[index+1]=='/') { - state=STATE_SLASHC; - ++index; - } - break; - case '=': // field - case ';': // field - case '{': // class - return -1; - case '(': - isFunc=true; - break; - } - if (isFunc) break; - } - if (!isFunc || index==source.length) - return -1; - - for (; index<source.length && (state!=STATE_NORMAL || (source[index]!='{' && source[index]!=';')); ++index) - if (state==STATE_SLASHC && source[index]=='\n') { - state=STATE_NORMAL; - } - else if (index<source.length-1) { - if (state==STATE_STARC) { - if (source[index]=='*' && source[index+1]=='/') { - state=STATE_NORMAL; - } - } - else { - if (source[index]=='/' && source[index+1]=='*') { - state=STATE_STARC; - } - else if (source[index]=='/' && source[index+1]=='/') { - state=STATE_SLASHC; - } - } - } - return index+1; + boolean isFunc=false; + final int STATE_NORMAL=1; + final int STATE_SLASHC=2; + final int STATE_STARC=3; + int state=STATE_NORMAL; + for (; index<source.length && !isFunc; ++index) { + if (state==STATE_STARC) { + if (source[index]=='*' && source[index+1]=='/') { + ++index; + state=STATE_NORMAL; + } + } + else if (state==STATE_SLASHC) { + if (source[index]=='\n') { + state=STATE_NORMAL; + } + } + else switch (source[index]) { + case '/': + if (source[index+1]=='*') { + state=STATE_STARC; + ++index; + } + else if (source[index+1]=='/') { + state=STATE_SLASHC; + ++index; + } + break; + case '=': // field + case ';': // field + case '{': // class + return -1; + case '(': + isFunc=true; + break; + } + if (isFunc) break; + } + if (!isFunc || index==source.length) + return -1; + + for (; index<source.length && (state!=STATE_NORMAL || (source[index]!='{' && source[index]!=';')); ++index) + if (state==STATE_SLASHC && source[index]=='\n') { + state=STATE_NORMAL; + } + else if (index<source.length-1) { + if (state==STATE_STARC) { + if (source[index]=='*' && source[index+1]=='/') { + state=STATE_NORMAL; + } + } + else { + if (source[index]=='/' && source[index+1]=='*') { + state=STATE_STARC; + } + else if (source[index]=='/' && source[index+1]=='/') { + state=STATE_SLASHC; + } + } + } + return index+1; } - + } class StaticBlockComponent extends BlockSourceComponent { int process(Parser parser, char[] source, int startIndex, int endIndex) { - //Debug.log(9,"found package statement: \""+str+"\""); - //Debug.log(9,"found function component: '"+str+"'"); - parser.setLastComment(null); - return endIndex; + //Debug.log(9,"found package statement: \""+str+"\""); + //Debug.log(9,"found function component: '"+str+"'"); + parser.setLastComment(null); + return endIndex; } - + int match(char[] source, int index) { - if (source[index]=='{') return index+1; - - if (index+7<source.length) { - if (source[index+0]=='s' - && source[index+1]=='t' - && source[index+2]=='a' - && source[index+3]=='t' - && source[index+4]=='i' - && source[index+5]=='c') { - - for (index+=6; index<source.length && Parser.WHITESPACE.indexOf(source[index])>=0; ++index) - ; - - if (index<source.length && source[index]=='{') - return index+1; - else - return -1; - } - } - return -1; + if (source[index]=='{') return index+1; + + if (index+7<source.length) { + if (source[index+0]=='s' + && source[index+1]=='t' + && source[index+2]=='a' + && source[index+3]=='t' + && source[index+4]=='i' + && source[index+5]=='c') { + + for (index+=6; index<source.length && Parser.WHITESPACE.indexOf(source[index])>=0; ++index) + ; + + if (index<source.length && source[index]=='{') + return index+1; + else + return -1; + } + } + return -1; } } @@ -538,9 +538,9 @@ import gnu.classpath.tools.MalformedInputEvent; class ClassComponent extends SourceComponent { int match(char[] source, int index) { - boolean isClass=false; - for (; index<source.length && !isClass; ++index) { - switch (source[index]) { + boolean isClass=false; + for (; index<source.length && !isClass; ++index) { + switch (source[index]) { case '/': // possible comment if (index<source.length-1) { char c = source[index+1]; @@ -564,70 +564,70 @@ import gnu.classpath.tools.MalformedInputEvent; ++ index; } if (index<source.length && source[index]=='(') { - int parLevel = 1; + int parLevel = 1; index += 1; - while (index<source.length && parLevel>0) { - if (source[index] == '(') + while (index<source.length && parLevel>0) { + if (source[index] == '(') ++ parLevel; - if (source[index] == ')') - -- parLevel; + if (source[index] == ')') + -- parLevel; ++ index; - if (parLevel==0) - break; - } + if (parLevel==0) + break; + } } break; - case '=': // field - case ';': // field - case '(': // function - return -1; - case '{': - isClass=true; - break; - } - if (isClass) break; - } - if (!isClass || index>=source.length) - return -1; - - return index+1; + case '=': // field + case ';': // field + case '(': // function + return -1; + case '{': + isClass=true; + break; + } + if (isClass) break; + } + if (!isClass || index>=source.length) + return -1; + + return index+1; } int process(Parser parser, char[] source, int startIndex, int endIndex) throws ParseException, IOException { - parser.classOpened(source, startIndex, endIndex); - if (parser.getAddComments()) - parser.ctx.classDoc.setRawCommentText(parser.getLastComment()); - parser.setLastComment(null); - if (parser.ctx.classDoc.isEnum()) - { - int depth = 0; - for (int a = endIndex; a < source.length; ++a) - { - Debug.log(9, "Enum skipping " + a); - if (source[a] == '{') - { - Debug.log(1, "Found inner { in enum"); - ++depth; - } - if (source[a] == '}') - { - if (depth > 0) - { - Debug.log(1, "Found inner } in enum"); - --depth; - } - else - { - Debug.log(1, "Found enum }"); - parser.classClosed(); - return a + 1; - } - } - } - } - int rc=parser.parse(source, endIndex, parser.getClassLevelComponents()); - return rc; + parser.classOpened(source, startIndex, endIndex); + if (parser.getAddComments()) + parser.ctx.classDoc.setRawCommentText(parser.getLastComment()); + parser.setLastComment(null); + if (parser.ctx.classDoc.isEnum()) + { + int depth = 0; + for (int a = endIndex; a < source.length; ++a) + { + Debug.log(9, "Enum skipping " + a); + if (source[a] == '{') + { + Debug.log(1, "Found inner { in enum"); + ++depth; + } + if (source[a] == '}') + { + if (depth > 0) + { + Debug.log(1, "Found inner } in enum"); + --depth; + } + else + { + Debug.log(1, "Found enum }"); + parser.classClosed(); + return a + 1; + } + } + } + } + int rc=parser.parse(source, endIndex, parser.getClassLevelComponents()); + return rc; } } @@ -649,36 +649,36 @@ public class Parser { int state=STATE_NORMAL; int prev=0; for (; !((level==0 && state==STATE_NORMAL && (delimiter=='\0' || source[endIndex]==delimiter))) && endIndex<source.length; ++endIndex) { - int c=source[endIndex]; - if (state==STATE_NORMAL) { - if (c=='}') --level; - else if (c=='{') ++level; - else if (c=='/' && prev=='/') { state=STATE_SLASHC; c=0; } - else if (c=='*' && prev=='/') { state=STATE_STARC; c=0; } - else if (c=='\'' && prev!='\\') { state=STATE_CHAR; c=0; } - else if (c=='\"' && prev!='\\') { state=STATE_STRING; c=0; } - } - else if (state==STATE_SLASHC) { - if (c=='\n') state=STATE_NORMAL; - } - else if (state==STATE_CHAR) { - if (c=='\'' && prev!='\\') state=STATE_NORMAL; - else if (c=='\\' && prev=='\\') c=0; - } - else if (state==STATE_STRING) { - if (c=='\"' && prev!='\\') state=STATE_NORMAL; - else if (c=='\\' && prev=='\\') c=0; - } - else { - if (c=='/' && prev=='*') { state=STATE_NORMAL; c=0; } - } - prev=c; + int c=source[endIndex]; + if (state==STATE_NORMAL) { + if (c=='}') --level; + else if (c=='{') ++level; + else if (c=='/' && prev=='/') { state=STATE_SLASHC; c=0; } + else if (c=='*' && prev=='/') { state=STATE_STARC; c=0; } + else if (c=='\'' && prev!='\\') { state=STATE_CHAR; c=0; } + else if (c=='\"' && prev!='\\') { state=STATE_STRING; c=0; } + } + else if (state==STATE_SLASHC) { + if (c=='\n') state=STATE_NORMAL; + } + else if (state==STATE_CHAR) { + if (c=='\'' && prev!='\\') state=STATE_NORMAL; + else if (c=='\\' && prev=='\\') c=0; + } + else if (state==STATE_STRING) { + if (c=='\"' && prev!='\\') state=STATE_NORMAL; + else if (c=='\\' && prev=='\\') c=0; + } + else { + if (c=='/' && prev=='*') { state=STATE_NORMAL; c=0; } + } + prev=c; } if (level>0) - throw new ParseException("Unexpected end of source."); + throw new ParseException("Unexpected end of source."); else { - String rc=new String(source, orgEndIndex, endIndex-orgEndIndex); - return endIndex; + String rc=new String(source, orgEndIndex, endIndex-orgEndIndex); + return endIndex; } } @@ -693,13 +693,13 @@ public class Parser { public static final boolean isWhitespace(char c) { return (c == ' ' || c == '\t' || c == '\n' || c == '\r' || c == ''); - //return WHITESPACE.indexOf(c)>=0; + //return WHITESPACE.indexOf(c)>=0; } private int currentLine; - static char[] loadFile(final File file, String encoding) - throws IOException + static char[] loadFile(final File file, String encoding) + throws IOException { InputStream in = new FileInputStream(file); NotifyingInputStreamReader notifyingInput @@ -733,30 +733,30 @@ public class Parser { public Parser() { try { - sourceLevelComponents=new SourceComponent[] { - new Whitespace(), - new CommentComponent(), - new SlashSlashCommentComponent(), - new PackageComponent(), - new EmptyStatementComponent(), - new ImportComponent(), - new ClassComponent(), - }; - - classLevelComponents=new SourceComponent[] { - new Whitespace(), - new BracketClose(), - new CommentComponent(), - new SlashSlashCommentComponent(), - new FunctionComponent(), - new StaticBlockComponent(), - new ImportComponent(), - new ClassComponent(), - new FieldComponent(), - }; + sourceLevelComponents=new SourceComponent[] { + new Whitespace(), + new CommentComponent(), + new SlashSlashCommentComponent(), + new PackageComponent(), + new EmptyStatementComponent(), + new ImportComponent(), + new ClassComponent(), + }; + + classLevelComponents=new SourceComponent[] { + new Whitespace(), + new BracketClose(), + new CommentComponent(), + new SlashSlashCommentComponent(), + new FunctionComponent(), + new StaticBlockComponent(), + new ImportComponent(), + new ClassComponent(), + new FieldComponent(), + }; } catch (Exception e) { - e.printStackTrace(); + e.printStackTrace(); } } @@ -766,8 +766,8 @@ public class Parser { static Set processedFiles = new HashSet(); - ClassDocImpl processSourceFile(File file, boolean addComments, - String encoding, String expectedPackageName) + ClassDocImpl processSourceFile(File file, boolean addComments, + String encoding, String expectedPackageName) throws IOException, ParseException { //System.err.println("Processing " + file + "..."); @@ -785,9 +785,9 @@ public class Parser { } processedFiles.add(file); - + Debug.log(1,"Processing file "+file); - + contextStack.clear(); ctx=null; @@ -795,7 +795,7 @@ public class Parser { importedStringList.clear(); importedPackagesList.clear(); importedStatementList.clear(); - + currentLine = 1; char[] source = loadFile(file, encoding); @@ -805,52 +805,52 @@ public class Parser { ClassDoc[] importedClasses=(ClassDoc[])importedClassesList.toArray(new ClassDoc[0]); PackageDoc[] importedPackages=(PackageDoc[])importedPackagesList.toArray(new PackageDoc[0]); - + if (Main.DESCEND_IMPORTED) { for (int i=0; i<importedClasses.length; ++i) { Main.getRootDoc().scheduleClass(currentClass, importedClasses[i].qualifiedName()); } } - - + + if (contextStack.size()>0) { - Debug.log(1,"-->contextStack not empty! size is "+contextStack.size()); + Debug.log(1,"-->contextStack not empty! size is "+contextStack.size()); } - + return outerClass; } catch (IgnoredFileParseException ignore) { - Debug.log(1, "File ignored: " + ignore); + Debug.log(1, "File ignored: " + ignore); return null; } } - + int parse(char[] source, int index, SourceComponent[] componentTypes) throws ParseException, IOException { while (index<source.length) { - int match=-1; - int i=0; - for (; i<componentTypes.length; ++i) { - if ((match=componentTypes[i].match(source, index))>=0) { - //Debug.log(1,componentTypes[i].getClass().getName()+" ("+match+"/"+source.length+")"); - break; - } - } - - if (i<componentTypes.length) { - int endIndex=componentTypes[i].getEndIndex(source, match); - Debug.log(9, "Processing " + new String(source,index,endIndex-index) + " with " + componentTypes[i]); - index=componentTypes[i].process(this, source, index, endIndex); - if (index<0) { - //Debug.log(9,"exiting parse because of "+componentTypes[i].getClass().getName()+" (\""+new String(source, index, endIndex-index)+"\")"); - return endIndex; - } - } - else { - //Debug.log(9,"index="+index+", source.length()="+source.length); - throw new ParseException("unmatched input in line "+currentLine+": "+new String(source, index, Math.min(50,source.length-index))); - } + int match=-1; + int i=0; + for (; i<componentTypes.length; ++i) { + if ((match=componentTypes[i].match(source, index))>=0) { + //Debug.log(1,componentTypes[i].getClass().getName()+" ("+match+"/"+source.length+")"); + break; + } + } + + if (i<componentTypes.length) { + int endIndex=componentTypes[i].getEndIndex(source, match); + Debug.log(9, "Processing " + new String(source,index,endIndex-index) + " with " + componentTypes[i]); + index=componentTypes[i].process(this, source, index, endIndex); + if (index<0) { + //Debug.log(9,"exiting parse because of "+componentTypes[i].getClass().getName()+" (\""+new String(source, index, endIndex-index)+"\")"); + return endIndex; + } + } + else { + //Debug.log(9,"index="+index+", source.length()="+source.length); + throw new ParseException("unmatched input in line "+currentLine+": "+new String(source, index, Math.min(50,source.length-index))); + } } //Debug.log(9,"exiting parse normally, index="+index+" source.length="+source.length); @@ -860,22 +860,22 @@ public class Parser { private static int countNewLines(String source) { int i=0; int rc=0; - while ((i=source.indexOf('\n',i)+1)>0) - ++rc; + while ((i=source.indexOf('\n',i)+1)>0) + ++rc; return rc; } - public void processSourceDir(File dir, String encoding, String expectedPackageName) - throws IOException, ParseException + public void processSourceDir(File dir, String encoding, String expectedPackageName) + throws IOException, ParseException { Debug.log(9,"Processing "+dir.getParentFile().getName()+"."+dir.getName()); File[] files=dir.listFiles(); if (null!=files) { - for (int i=0; i<files.length; ++i) { - if (files[i].getName().toLowerCase().endsWith(".java")) { - processSourceFile(files[i], true, encoding, expectedPackageName); - } - } + for (int i=0; i<files.length; ++i) { + if (files[i].getName().toLowerCase().endsWith(".java")) { + processSourceFile(files[i], true, encoding, expectedPackageName); + } + } } } @@ -903,14 +903,14 @@ public class Parser { } if (currentPackageName != null) - importedStatementList.add(currentPackageName + ".*"); + importedStatementList.add(currentPackageName + ".*"); importedStatementList.add("java.lang.*"); ClassDocImpl classDoc - = ClassDocImpl.createInstance((ctx!=null)?(ctx.classDoc):null, currentPackage, - null, - (PackageDoc[])importedPackagesList.toArray(new PackageDoc[0]), - source, startIndex, endIndex, + = ClassDocImpl.createInstance((ctx!=null)?(ctx.classDoc):null, currentPackage, + null, + (PackageDoc[])importedPackagesList.toArray(new PackageDoc[0]), + source, startIndex, endIndex, importedStatementList); if (ctx != null) { @@ -921,9 +921,9 @@ public class Parser { } if (importedClassesList.isEmpty()) { - for (Iterator it=importedStringList.iterator(); it.hasNext(); ) { - importedClassesList.add(new ClassDocProxy((String)it.next(), classDoc)); - } + for (Iterator it=importedStringList.iterator(); it.hasNext(); ) { + importedClassesList.add(new ClassDocProxy((String)it.next(), classDoc)); + } } classDoc.setImportedClasses((ClassDoc[])importedClassesList.toArray(new ClassDoc[0])); @@ -936,7 +936,7 @@ public class Parser { } if (classDoc.superclass()!=null) - referencedClassesList.add(classDoc.superclass()); + referencedClassesList.add(classDoc.superclass()); Debug.log(1,"classOpened "+classDoc+", adding superclass "+classDoc.superclass()); Debug.log(1,"Pushing " + ctx); @@ -952,9 +952,9 @@ public class Parser { } void classClosed() throws ParseException, IOException { - ctx.classDoc.setFields((FieldDoc[])toArray(ctx.fieldList, + ctx.classDoc.setFields((FieldDoc[])toArray(ctx.fieldList, new FieldDoc[0])); - ctx.classDoc.setFilteredFields((FieldDoc[])toArray(ctx.filteredFieldList, + ctx.classDoc.setFilteredFields((FieldDoc[])toArray(ctx.filteredFieldList, new FieldDoc[0])); ctx.classDoc.setSerializableFields((FieldDoc[])toArray(ctx.sfieldList, new FieldDoc[0])); ctx.classDoc.setMethods((MethodDoc[])toArray(ctx.methodList, new MethodDoc[0])); @@ -968,11 +968,11 @@ public class Parser { ctx.classDoc.setBoilerplateComment(boilerplateComment); Main.getRootDoc().addClassDoc(ctx.classDoc); - + if (Main.DESCEND_INTERFACES) { - for (int i=0; i<ctx.classDoc.interfaces().length; ++i) { - Main.getRootDoc().scheduleClass(ctx.classDoc, ctx.classDoc.interfaces()[i].qualifiedName()); - } + for (int i=0; i<ctx.classDoc.interfaces().length; ++i) { + Main.getRootDoc().scheduleClass(ctx.classDoc, ctx.classDoc.interfaces()[i].qualifiedName()); + } } Debug.log(1,"classClosed: "+ctx.classDoc); @@ -982,29 +982,29 @@ public class Parser { ClassDoc[] referencedClasses=(ClassDoc[])referencedClassesList.toArray(new ClassDoc[0]); if (Main.DESCEND_SUPERCLASS) { - for (int i=0; i<referencedClasses.length; ++i) { - Main.getRootDoc().scheduleClass(currentClass, referencedClasses[i].qualifiedName()); - } + for (int i=0; i<referencedClasses.length; ++i) { + Main.getRootDoc().scheduleClass(currentClass, referencedClasses[i].qualifiedName()); + } } } - + Context ctx = null; Stack contextStack = new Stack(); class Context { Context(ClassDocImpl classDoc) { this.classDoc=classDoc; } ClassDocImpl classDoc = null; - List fieldList = new LinkedList(); - List filteredFieldList = new LinkedList(); - List sfieldList = new LinkedList(); - List methodList = new LinkedList(); - List filteredMethodList = new LinkedList(); + List fieldList = new LinkedList(); + List filteredFieldList = new LinkedList(); + List sfieldList = new LinkedList(); + List methodList = new LinkedList(); + List filteredMethodList = new LinkedList(); List maybeSerMethodList = new LinkedList(); - List constructorList = new LinkedList(); - List filteredConstructorList = new LinkedList(); + List constructorList = new LinkedList(); + List filteredConstructorList = new LinkedList(); List innerClassesList = new LinkedList(); List filteredInnerClassesList = new LinkedList(); } - + File currentFile = null; String lastComment = null; String expectedPackageName = null; @@ -1028,17 +1028,17 @@ public class Parser { void packageOpened(String packageName) { currentPackageName = packageName; } - + void importEncountered(String importString) throws ParseException, IOException { //Debug.log(9,"importing '"+importString+"'"); importedStatementList.add(importString); if (importString.endsWith(".*")) { - importedPackagesList.add(Main.getRootDoc().findOrCreatePackageDoc(importString.substring(0,importString.length()-2))); + importedPackagesList.add(Main.getRootDoc().findOrCreatePackageDoc(importString.substring(0,importString.length()-2))); } else { - importedStringList.add(importString); + importedStringList.add(importString); } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ProgramElementDocImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ProgramElementDocImpl.java index a5588ff..bdcf61b 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ProgramElementDocImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ProgramElementDocImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -49,30 +49,30 @@ public abstract class ProgramElementDocImpl extends DocImpl implements ProgramEl protected boolean isStatic; protected int accessLevel=ProgramElementDocImpl.ACCESS_PACKAGEPRIVATE; - public static final int ACCESS_PUBLIC = 0; - public static final int ACCESS_PROTECTED = 1; + public static final int ACCESS_PUBLIC = 0; + public static final int ACCESS_PROTECTED = 1; public static final int ACCESS_PACKAGEPRIVATE = 2; - public static final int ACCESS_PRIVATE = 3; + public static final int ACCESS_PRIVATE = 3; private static final String[] accessModifiers = { "public ", "protected ", "", "private "}; - public ProgramElementDocImpl(ClassDoc containingClass, + public ProgramElementDocImpl(ClassDoc containingClass, PackageDoc containingPackage, SourcePosition position) { super(position); this.containingClass=containingClass; this.containingPackage=containingPackage; - } + } public ProgramElementDocImpl(ClassDoc containingClass, SourcePosition position) { super(position); this.containingClass=containingClass; this.containingPackage=containingClass.containingPackage(); - } + } public ProgramElementDocImpl(ClassDoc containingClass, - PackageDoc containingPackage, - int accessLevel, - boolean isFinal, - boolean isStatic, + PackageDoc containingPackage, + int accessLevel, + boolean isFinal, + boolean isStatic, SourcePosition position) { super(position); this.containingClass=containingClass; @@ -82,91 +82,91 @@ public abstract class ProgramElementDocImpl extends DocImpl implements ProgramEl this.isStatic=isStatic; } - //Get the containing class of this program element. + //Get the containing class of this program element. public ClassDoc containingClass() { return containingClass; } - // Get the package that this program element is contained in. + // Get the package that this program element is contained in. public PackageDoc containingPackage() { return containingPackage; } - - // Return true if this program element is final + + // Return true if this program element is final public boolean isFinal() { return isFinal; } - - // Return true if this program element is package private + + // Return true if this program element is package private public boolean isPackagePrivate() { return accessLevel==ACCESS_PACKAGEPRIVATE; } - - // Return true if this program element is private + + // Return true if this program element is private public boolean isPrivate() { return accessLevel==ACCESS_PRIVATE; } - - // Return true if this program element is protected + + // Return true if this program element is protected public boolean isProtected() { return accessLevel==ACCESS_PROTECTED; } - - // Return true if this program element is public + + // Return true if this program element is public public boolean isPublic() { return accessLevel==ACCESS_PUBLIC; } - - // Return true if this program element is static + + // Return true if this program element is static public boolean isStatic() { return isStatic; } - - // Get modifiers string. + + // Get modifiers string. public String modifiers() { - return - (accessModifiers[accessLevel]+ - (isStatic()?"static ":"")+ - (isFinal()?"final ":"")).trim(); + return + (accessModifiers[accessLevel]+ + (isStatic()?"static ":"")+ + (isFinal()?"final ":"")).trim(); } - - // Get the modifier specifier integer. + + // Get the modifier specifier integer. public int modifierSpecifier() { return (isStatic()?Modifier.STATIC:0) - | (isFinal()?Modifier.FINAL:0) - | (isPublic()?Modifier.PUBLIC:0) - | (isProtected()?Modifier.PROTECTED:0) - | (isPrivate()?Modifier.PRIVATE:0) -// | (isAbstract()?Modifier.ABSTRACT:0) - ; + | (isFinal()?Modifier.FINAL:0) + | (isPublic()?Modifier.PUBLIC:0) + | (isProtected()?Modifier.PROTECTED:0) + | (isPrivate()?Modifier.PRIVATE:0) +// | (isAbstract()?Modifier.ABSTRACT:0) + ; } - - // Get the fully qualified name. + + // Get the fully qualified name. public abstract String qualifiedName(); protected boolean processModifier(String word) { if (word.equals("public")) { - accessLevel=ACCESS_PUBLIC; - return true; + accessLevel=ACCESS_PUBLIC; + return true; } else if (word.equals("protected")) { - accessLevel=ACCESS_PROTECTED; - return true; + accessLevel=ACCESS_PROTECTED; + return true; } else if (word.equals("private")) { - accessLevel=ACCESS_PRIVATE; - return true; + accessLevel=ACCESS_PRIVATE; + return true; } else if (word.equals("static")) { - isStatic=true; - return true; + isStatic=true; + return true; } else if (word.equals("final")) { - isFinal=true; - return true; + isFinal=true; + return true; } else { - return false; + return false; } } @@ -175,4 +175,3 @@ public abstract class ProgramElementDocImpl extends DocImpl implements ProgramEl } } - diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/RootDocImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/RootDocImpl.java index 21640d2..09d1be7 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/RootDocImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/RootDocImpl.java @@ -7,7 +7,7 @@ it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. + 02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -42,8 +42,8 @@ import java.util.*; import java.io.*; import java.lang.reflect.*; -public class RootDocImpl - extends DocImpl +public class RootDocImpl + extends DocImpl implements GjdocRootDoc { private ErrorReporter reporter = new ErrorReporter(); @@ -53,7 +53,7 @@ public class RootDocImpl /** * All options and their corresponding values which are not recognized * by Gjdoc. These are passed to the Doclet as "custom options". - * Each element in this array is again a String array, with the + * Each element in this array is again a String array, with the * option name as first element (including prefix dash) and possible * option values as following elements. */ @@ -67,7 +67,7 @@ public class RootDocImpl private List specifiedSourceFiles = new LinkedList(); /** - * The names of all packages explicitly specified on the + * The names of all packages explicitly specified on the * command line. * * @contains String @@ -85,7 +85,7 @@ public class RootDocImpl /** * Stores all classes loaded in the course of preparing - * the documentation data. Maps the fully qualified name + * the documentation data. Maps the fully qualified name * of a class to its ClassDocImpl representation. * * @contains String->ClassDocImpl @@ -94,7 +94,7 @@ public class RootDocImpl /** * Stores all packages loaded in the course of preparing - * the documentation data. Maps the package name + * the documentation data. Maps the package name * to its PackageDocImpl representation. * * @contains String->PackageDocImpl @@ -106,13 +106,13 @@ public class RootDocImpl * individually specified on the command line and those contained * in packages specified on the command line (as Array for quick * retrieval by Doclet). This is created from classesList after - * all classes have been loaded. + * all classes have been loaded. */ private ClassDocImpl[] classes; /** - * All classes which were individually specified on the command - * line (as Array for quick retrieval by Doclet). This is created + * All classes which were individually specified on the command + * line (as Array for quick retrieval by Doclet). This is created * from specifiedClassNames after all classes have been loaded. */ private List specifiedClasses; @@ -120,7 +120,7 @@ public class RootDocImpl /** * All packages which were specified on the command line (as Array * for quick retrieval by Doclet). This is created from - * specifiedPackageNames after all classes have been loaded. + * specifiedPackageNames after all classes have been loaded. */ private Set specifiedPackages; @@ -141,7 +141,7 @@ public class RootDocImpl private Set unlocatableReportedSet = new HashSet(); private Set inaccessibleReportedSet = new HashSet(); - + //-------------------------------------------------------------------------- // // Implementation of RootDoc interface @@ -149,61 +149,61 @@ public class RootDocImpl //-------------------------------------------------------------------------- /** - * Return classes and interfaces to be documented. + * Return classes and interfaces to be documented. */ - public ClassDoc[] classes() { return classes; } + public ClassDoc[] classes() { return classes; } /** - * Return a ClassDoc object for the specified class/interface + * Return a ClassDoc object for the specified class/interface * name. * - * @return a ClassDoc object describing the given class, or + * @return a ClassDoc object describing the given class, or * <code>null</code> if no corresponding ClassDoc object * has been constructed. */ - public ClassDoc classNamed(String qualifiedName) { - return (ClassDoc)classDocMap.get(qualifiedName); - } + public ClassDoc classNamed(String qualifiedName) { + return (ClassDoc)classDocMap.get(qualifiedName); + } /** * Return an xxx */ - public String[][] options() { return customOptionArr; } + public String[][] options() { return customOptionArr; } - // Return a PackageDoc for the specified package name - public PackageDoc packageNamed(String name) { - return (PackageDoc)packageDocMap.get(name); + // Return a PackageDoc for the specified package name + public PackageDoc packageNamed(String name) { + return (PackageDoc)packageDocMap.get(name); } - // classes and interfaces specified on the command line. - public ClassDoc[] specifiedClasses() - { - return (ClassDocImpl[]) specifiedClasses.toArray(new ClassDocImpl[0]); - } + // classes and interfaces specified on the command line. + public ClassDoc[] specifiedClasses() + { + return (ClassDocImpl[]) specifiedClasses.toArray(new ClassDocImpl[0]); + } - // packages specified on the command line. - public PackageDoc[] specifiedPackages() + // packages specified on the command line. + public PackageDoc[] specifiedPackages() { return (PackageDocImpl[])specifiedPackages.toArray(new PackageDocImpl[0]); } - // Print error message, increment error count. + // Print error message, increment error count. public void printError(java.lang.String msg) { reporter.printError(msg); } - // Print error message, increment error count. + // Print error message, increment error count. public void printFatal(java.lang.String msg) { reporter.printFatal(msg); } - // Print a message. + // Print a message. public void printNotice(java.lang.String msg) { reporter.printNotice(msg); } - - // Print warning message, increment warning count. + + // Print warning message, increment warning count. public void printWarning(java.lang.String msg) { reporter.printWarning(msg); } @@ -232,30 +232,30 @@ public class RootDocImpl Iterator it = javaLangSourceDirs.iterator(); while (it.hasNext()) { File javaLangSourceDir = (File)it.next(); - parser.processSourceDir(javaLangSourceDir, + parser.processSourceDir(javaLangSourceDir, sourceEncoding, "java.lang"); } } else { - Debug.log(1, "Sourcepath is "+sourcePath); + Debug.log(1, "Sourcepath is "+sourcePath); - // Core docs not included in source-path: - // we need to gather the information about java.lang - // classes via reflection... + // Core docs not included in source-path: + // we need to gather the information about java.lang + // classes via reflection... } //--- Parse all files in explicitly specified package directories. - + for (Iterator it=specifiedPackageNames.iterator(); it.hasNext(); ) { - String specifiedPackageName = (String)it.next(); + String specifiedPackageName = (String)it.next(); String displayPackageName = specifiedPackageName; if (null == displayPackageName || 0 == displayPackageName.length()) { displayPackageName = "<unnamed>"; } - printNotice("Loading classes for package "+displayPackageName+"..."); + printNotice("Loading classes for package "+displayPackageName+"..."); String relPath; if (null != specifiedPackageName) { relPath = specifiedPackageName.replace('.',File.separatorChar); @@ -263,17 +263,17 @@ public class RootDocImpl else { relPath = ""; } - List sourceDirs = findSourceFiles(relPath); - if (!sourceDirs.isEmpty()) { + List sourceDirs = findSourceFiles(relPath); + if (!sourceDirs.isEmpty()) { Iterator sourceDirIt = sourceDirs.iterator(); while (sourceDirIt.hasNext()) { File sourceDir = (File)sourceDirIt.next(); parser.processSourceDir(sourceDir, sourceEncoding, specifiedPackageName); } - } - else { - printError("Package '"+specifiedPackageName+"' not found."); - } + } + else { + printError("Package '"+specifiedPackageName+"' not found."); + } } specifiedClasses = new LinkedList(); @@ -282,17 +282,17 @@ public class RootDocImpl for (Iterator it=specifiedSourceFiles.iterator(); it.hasNext(); ) { - File specifiedSourceFile = (File)it.next(); - printNotice("Loading source file "+specifiedSourceFile+" ..."); + File specifiedSourceFile = (File)it.next(); + printNotice("Loading source file "+specifiedSourceFile+" ..."); ClassDocImpl classDoc = parser.processSourceFile(specifiedSourceFile, true, sourceEncoding, null); if (null != classDoc) { - specifiedClasses.add(classDoc); - classesList.add(classDoc); - classDoc.setIsIncluded(true); - addPackageDoc(classDoc.containingPackage()); + specifiedClasses.add(classDoc); + classesList.add(classDoc); + classDoc.setIsIncluded(true); + addPackageDoc(classDoc.containingPackage()); } } - + //--- Let the user know that all specified classes are loaded. @@ -311,7 +311,7 @@ public class RootDocImpl printNotice("Resolving references in classes..."); for (Iterator it = classDocMap.values().iterator(); it.hasNext(); ) { - ClassDoc cd=(ClassDoc)it.next(); + ClassDoc cd=(ClassDoc)it.next(); if (cd instanceof ClassDocImpl) { ((ClassDocImpl)cd).resolve(); } @@ -322,28 +322,28 @@ public class RootDocImpl printNotice("Resolving references in packages..."); for (Iterator it = packageDocMap.values().iterator(); it.hasNext(); ) { - PackageDocImpl pd=(PackageDocImpl)it.next(); - pd.resolve(); + PackageDocImpl pd=(PackageDocImpl)it.next(); + pd.resolve(); } //--- Assemble the array with all specified packages specifiedPackages = new LinkedHashSet(); for (Iterator it = specifiedPackageNames.iterator(); it.hasNext(); ) { - String specifiedPackageName = (String)it.next(); - PackageDoc specifiedPackageDoc = (PackageDoc)packageDocMap.get(specifiedPackageName); - if (null!=specifiedPackageDoc) { - ((PackageDocImpl)specifiedPackageDoc).setIsIncluded(true); - specifiedPackages.add(specifiedPackageDoc); - - ClassDoc[] packageClassDocs=specifiedPackageDoc.allClasses(); - for (int i=0; i<packageClassDocs.length; ++i) { - ClassDocImpl specifiedPackageClassDoc=(ClassDocImpl)packageClassDocs[i]; - - specifiedPackageClassDoc.setIsIncluded(true); - classesList.add(specifiedPackageClassDoc); - } - } + String specifiedPackageName = (String)it.next(); + PackageDoc specifiedPackageDoc = (PackageDoc)packageDocMap.get(specifiedPackageName); + if (null!=specifiedPackageDoc) { + ((PackageDocImpl)specifiedPackageDoc).setIsIncluded(true); + specifiedPackages.add(specifiedPackageDoc); + + ClassDoc[] packageClassDocs=specifiedPackageDoc.allClasses(); + for (int i=0; i<packageClassDocs.length; ++i) { + ClassDocImpl specifiedPackageClassDoc=(ClassDocImpl)packageClassDocs[i]; + + specifiedPackageClassDoc.setIsIncluded(true); + classesList.add(specifiedPackageClassDoc); + } + } } //--- Resolve pending references in comment data of all classes @@ -351,7 +351,7 @@ public class RootDocImpl printNotice("Resolving references in class comments..."); for (Iterator it=classDocMap.values().iterator(); it.hasNext(); ) { - ClassDoc cd=(ClassDoc)it.next(); + ClassDoc cd=(ClassDoc)it.next(); if (cd instanceof ClassDocImpl) { ((ClassDocImpl)cd).resolveComments(); } @@ -362,8 +362,8 @@ public class RootDocImpl printNotice("Resolving references in package comments..."); for (Iterator it=packageDocMap.values().iterator(); it.hasNext(); ) { - PackageDocImpl pd=(PackageDocImpl)it.next(); - pd.resolveComments(); + PackageDocImpl pd=(PackageDocImpl)it.next(); + pd.resolveComments(); } //--- Create array with all loaded classes @@ -380,32 +380,32 @@ public class RootDocImpl public long writeRawComment(String rawComment) { try { - long pos=rawCommentCache.getFilePointer(); - //rawCommentCache.writeUTF(rawComment); + long pos=rawCommentCache.getFilePointer(); + //rawCommentCache.writeUTF(rawComment); byte[] bytes = rawComment.getBytes("utf-8"); rawCommentCache.writeInt(bytes.length); rawCommentCache.write(bytes); - return pos; + return pos; } catch (IOException e) { - printFatal("Cannot write to comment cache: "+e.getMessage()); - return -1; + printFatal("Cannot write to comment cache: "+e.getMessage()); + return -1; } } public String readRawComment(long pos) { try { - rawCommentCache.seek(pos); + rawCommentCache.seek(pos); int sz = rawCommentCache.readInt(); byte[] bytes = new byte[sz]; rawCommentCache.read(bytes); return new String(bytes, "utf-8"); - //return rawCommentCache.readUTF(); + //return rawCommentCache.readUTF(); } catch (IOException e) { e.printStackTrace(); - printFatal("Cannot read from comment cache: "+e.getMessage()); - return null; + printFatal("Cannot read from comment cache: "+e.getMessage()); + return null; } } @@ -413,9 +413,9 @@ public class RootDocImpl List result = new LinkedList(); for (Iterator it = sourcePath.iterator(); it.hasNext(); ) { - File path = (File)it.next(); - File file = new File(path, relPath); - if (file.exists()) { + File path = (File)it.next(); + File file = new File(path, relPath); + if (file.exists()) { result.add(file); } } @@ -426,8 +426,8 @@ public class RootDocImpl PackageDocImpl findOrCreatePackageDoc(String packageName) { PackageDocImpl rc=(PackageDocImpl)getPackageDoc(packageName); if (null==rc) { - rc=new PackageDocImpl(packageName); - if (specifiedPackageNames.contains(packageName)) { + rc=new PackageDocImpl(packageName); + if (specifiedPackageNames.contains(packageName)) { String packageDirectoryName = packageName.replace('.', File.separatorChar); List packageDirectories = findSourceFiles(packageDirectoryName); Iterator it = packageDirectories.iterator(); @@ -450,8 +450,8 @@ public class RootDocImpl if (!packageDocFound) { printNotice("No description found for package "+packageName); } - } - addPackageDoc(rc); + } + addPackageDoc(rc); } return rc; } @@ -485,10 +485,10 @@ public class RootDocImpl ClassDoc contextClass; String qualifiedName; ScheduledClass(ClassDoc contextClass, String qualifiedName) { - this.contextClass=contextClass; - this.qualifiedName=qualifiedName; + this.contextClass=contextClass; + this.qualifiedName=qualifiedName; } - + public String toString() { return "ScheduledClass{"+qualifiedName+"}"; } } @@ -496,10 +496,10 @@ public class RootDocImpl if (classDocMap.get(qualifiedName)==null) { - //Debug.log(9,"Scheduling "+qualifiedName+", context "+context+"."); + //Debug.log(9,"Scheduling "+qualifiedName+", context "+context+"."); //System.err.println("Scheduling " + qualifiedName + ", context " + context); - scheduledClasses.add(new ScheduledClass(context, qualifiedName)); + scheduledClasses.add(new ScheduledClass(context, qualifiedName)); } } @@ -521,7 +521,7 @@ public class RootDocImpl * The task of this method is to ensure that Gjdoc has all this * information at hand when it exits. * - * + * */ public void loadScheduledClasses(Parser parser) throws ParseException, IOException { @@ -531,77 +531,77 @@ public class RootDocImpl while (!scheduledClasses.isEmpty()) { - // Make a copy of scheduledClasses and empty it. This - // prevents any Concurrent Modification issues. - // As the copy won't need to grow (as it won't change) - // we make it an Array for performance reasons. + // Make a copy of scheduledClasses and empty it. This + // prevents any Concurrent Modification issues. + // As the copy won't need to grow (as it won't change) + // we make it an Array for performance reasons. - ScheduledClass[] scheduledClassesArr = (ScheduledClass[])scheduledClasses.toArray(new ScheduledClass[0]); - scheduledClasses.clear(); + ScheduledClass[] scheduledClassesArr = (ScheduledClass[])scheduledClasses.toArray(new ScheduledClass[0]); + scheduledClasses.clear(); - // Load each class specified in our array copy - - for (int i=0; i<scheduledClassesArr.length; ++i) { + // Load each class specified in our array copy - // The name of the class we are looking for. This name - // needs not be fully qualified. - - String scheduledClassName=scheduledClassesArr[i].qualifiedName; + for (int i=0; i<scheduledClassesArr.length; ++i) { - // The ClassDoc in whose context the scheduled class was looked for. - // This is necessary in order to resolve non-fully qualified - // class names. - ClassDoc scheduledClassContext=scheduledClassesArr[i].contextClass; + // The name of the class we are looking for. This name + // needs not be fully qualified. - // If there already is a class doc with this name, skip. There's - // nothing to do for us. - if (classDocMap.get(scheduledClassName)!=null) { - continue; - } + String scheduledClassName=scheduledClassesArr[i].qualifiedName; - try { - // Try to load the class + // The ClassDoc in whose context the scheduled class was looked for. + // This is necessary in order to resolve non-fully qualified + // class names. + ClassDoc scheduledClassContext=scheduledClassesArr[i].contextClass; + + // If there already is a class doc with this name, skip. There's + // nothing to do for us. + if (classDocMap.get(scheduledClassName)!=null) { + continue; + } + + try { + // Try to load the class //printNotice("Trying to load " + scheduledClassName); - loadScheduledClass(parser, scheduledClassName, scheduledClassContext); - } - catch (ParseException e) { + loadScheduledClass(parser, scheduledClassName, scheduledClassContext); + } + catch (ParseException e) { - /********************************************************** + /********************************************************** // Check whether the following is necessary at all. - if (scheduledClassName.indexOf('.')>0) { + if (scheduledClassName.indexOf('.')>0) { - // Maybe the dotted notation doesn't mean a package - // name but instead an inner class, as in 'Outer.Inner'. - // so let's assume this and try to load the outer class. + // Maybe the dotted notation doesn't mean a package + // name but instead an inner class, as in 'Outer.Inner'. + // so let's assume this and try to load the outer class. - String outerClass=""; - for (StringTokenizer st=new StringTokenizer(scheduledClassName,"."); st.hasMoreTokens(); ) { - if (outerClass.length()>0) outerClass+="."; - outerClass+=st.nextToken(); - if (!st.hasMoreTokens()) break; - try { - loadClass(outerClass); - //FIXME: shouldn't this be loadScheduledClass(outerClass, scheduledClassContext); ??? - continue; - } - catch (Exception ee) { - // Ignore: try next level - } - } - } + String outerClass=""; + for (StringTokenizer st=new StringTokenizer(scheduledClassName,"."); st.hasMoreTokens(); ) { + if (outerClass.length()>0) outerClass+="."; + outerClass+=st.nextToken(); + if (!st.hasMoreTokens()) break; + try { + loadClass(outerClass); + //FIXME: shouldn't this be loadScheduledClass(outerClass, scheduledClassContext); ??? + continue; + } + catch (Exception ee) { + // Ignore: try next level + } + } + } - **********************************************************/ + **********************************************************/ - // If we arrive here, the class could not be found + // If we arrive here, the class could not be found - printWarning("Couldn't load class "+scheduledClassName+" referenced by "+scheduledClassContext); + printWarning("Couldn't load class "+scheduledClassName+" referenced by "+scheduledClassContext); - //FIXME: shouldn't this be throw new Error("cannot load: "+scheduledClassName); - } - } + //FIXME: shouldn't this be throw new Error("cannot load: "+scheduledClassName); + } + } } } @@ -611,7 +611,7 @@ public class RootDocImpl if (loadedClass==null || loadedClass instanceof ClassDocProxy) { - ClassDoc classDoc = findScheduledClassFile(scheduledClassName, scheduledClassContext); + ClassDoc classDoc = findScheduledClassFile(scheduledClassName, scheduledClassContext); if (null != classDoc) { if (classDoc instanceof ClassDocReflectedImpl) { @@ -619,58 +619,58 @@ public class RootDocImpl } if (Main.DESCEND_SUPERCLASS - && null != classDoc.superclass() + && null != classDoc.superclass() && (classDoc.superclass() instanceof ClassDocProxy)) { scheduleClass(classDoc, classDoc.superclass().qualifiedName()); } } else { - // It might be an inner class of one of the outer/super classes. - // But we can only check that when they are all fully loaded. - boolean retryLater = false; - - int numberOfProcessedFilesBefore = parser.getNumberOfProcessedFiles(); - - ClassDoc cc = scheduledClassContext.containingClass(); - while (cc != null && !retryLater) { - ClassDoc sc = cc.superclass(); - while (sc != null && !retryLater) { - if (sc instanceof ClassDocProxy) { - ((ClassDocImpl)cc).resolve(); - retryLater = true; - } - sc = sc.superclass(); - } - cc = cc.containingClass(); - } - - // Now that outer/super references have been resolved, try again - // to find the class. - - loadedClass = (ClassDoc)scheduledClassContext.findClass(scheduledClassName); - - int numberOfProcessedFilesAfter = parser.getNumberOfProcessedFiles(); - - boolean filesWereProcessed = numberOfProcessedFilesAfter > numberOfProcessedFilesBefore; - - // Only re-schedule class if additional files have been processed - // If there haven't, there's no point in re-scheduling. - // Will avoid infinite loops of re-scheduling - if (null == loadedClass && retryLater && filesWereProcessed) - scheduleClass(scheduledClassContext, scheduledClassName); - - /* A warning needn't be emitted - this is normal, can happen - if the scheduled class is in a package which is not - included on the command line. - - else if (null == loadedClass) - printWarning("Can't find scheduled class '" - + scheduledClassName - + "' in context '" - + scheduledClassContext.qualifiedName() - + "'"); - */ - } + // It might be an inner class of one of the outer/super classes. + // But we can only check that when they are all fully loaded. + boolean retryLater = false; + + int numberOfProcessedFilesBefore = parser.getNumberOfProcessedFiles(); + + ClassDoc cc = scheduledClassContext.containingClass(); + while (cc != null && !retryLater) { + ClassDoc sc = cc.superclass(); + while (sc != null && !retryLater) { + if (sc instanceof ClassDocProxy) { + ((ClassDocImpl)cc).resolve(); + retryLater = true; + } + sc = sc.superclass(); + } + cc = cc.containingClass(); + } + + // Now that outer/super references have been resolved, try again + // to find the class. + + loadedClass = (ClassDoc)scheduledClassContext.findClass(scheduledClassName); + + int numberOfProcessedFilesAfter = parser.getNumberOfProcessedFiles(); + + boolean filesWereProcessed = numberOfProcessedFilesAfter > numberOfProcessedFilesBefore; + + // Only re-schedule class if additional files have been processed + // If there haven't, there's no point in re-scheduling. + // Will avoid infinite loops of re-scheduling + if (null == loadedClass && retryLater && filesWereProcessed) + scheduleClass(scheduledClassContext, scheduledClassName); + + /* A warning needn't be emitted - this is normal, can happen + if the scheduled class is in a package which is not + included on the command line. + + else if (null == loadedClass) + printWarning("Can't find scheduled class '" + + scheduledClassName + + "' in context '" + + scheduledClassContext.qualifiedName() + + "'"); + */ + } } } @@ -706,9 +706,9 @@ public class RootDocImpl public String match(String name) { - if ((name.equals(this.name)) || (importSpecifier.equals(name))) - return this.name; - // FIXME: note that we don't handle on-demand imports here. + if ((name.equals(this.name)) || (importSpecifier.equals(name))) + return this.name; + // FIXME: note that we don't handle on-demand imports here. return null; } @@ -761,7 +761,7 @@ public class RootDocImpl innerClassName = topLevelName.substring(ndx + 1); topLevelName = topLevelName.substring(0, ndx); } - + if (topLevelClassNames.contains(topLevelName)) { //System.err.println(this + ".match returns " + packageName + "." + name); return packageName + "." + name; @@ -828,7 +828,7 @@ public class RootDocImpl { StringTokenizer st = new StringTokenizer(innerClassName, "."); outer: - + while (st.hasMoreTokens()) { String innerClassNameComponent = st.nextToken(); ClassDoc[] innerClasses = topLevelClass.innerClasses(); @@ -934,7 +934,7 @@ public class RootDocImpl } } } - + private class ResolvedImportReflectionClass implements ResolvedImport { @@ -1060,7 +1060,7 @@ public class RootDocImpl importedPackageOrClass = importedPackageOrClass.substring(0, importedPackageOrClass.length() - 2); return new ResolvedImportReflectionPackage(importedPackageOrClass); - + //return null; } else { @@ -1086,7 +1086,7 @@ public class RootDocImpl String longestUnlocatablePrefix = ""; for (Iterator it=sourcePath.iterator(); it.hasNext(); ) { - + File _sourcePath = (File)it.next(); StringBuffer packageOrClassPrefix = new StringBuffer(); @@ -1094,7 +1094,7 @@ public class RootDocImpl while (st.hasMoreTokens() && _sourcePath.isDirectory()) { String token = st.nextToken(); if ("*".equals(token)) { - return new ResolvedImportPackageFile(_sourcePath, + return new ResolvedImportPackageFile(_sourcePath, packageOrClassPrefix.substring(0, packageOrClassPrefix.length() - 1)); } else { @@ -1136,7 +1136,7 @@ public class RootDocImpl private ResolvedImport getResolvedImport(String importSpecifier) { - ResolvedImport result + ResolvedImport result = (ResolvedImport)resolvedImportCache.get(importSpecifier); if (null == result) { result = resolveImport(importSpecifier); @@ -1160,9 +1160,9 @@ public class RootDocImpl return className; } - public ClassDoc findScheduledClassFile(String scheduledClassName, + public ClassDoc findScheduledClassFile(String scheduledClassName, ClassDoc scheduledClassContext) - throws ParseException, IOException + throws ParseException, IOException { String resolvedScheduledClassName = null; @@ -1295,7 +1295,7 @@ public class RootDocImpl super(null); } - public static String readHtmlBody(File file) + public static String readHtmlBody(File file) throws IOException { FileReader fr=new FileReader(file); diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/SeeTagImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/SeeTagImpl.java index 971cdef..12e2256 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/SeeTagImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/SeeTagImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -70,8 +70,8 @@ public class SeeTagImpl extends AbstractTagImpl implements SeeTag { int labelNdx=text.indexOf(';'); if (labelNdx>=0) { - label=""; - return; + label=""; + return; } for (int i=0; i<text.length(); ++i) { @@ -90,37 +90,37 @@ public class SeeTagImpl extends AbstractTagImpl implements SeeTag { } if (labelNdx<0 || labelNdx>=text.length()) { - reference=text.trim(); - label=""; + reference=text.trim(); + label=""; } else { - reference=text.substring(0,labelNdx).trim(); - label=text.substring(labelNdx).trim(); - } + reference=text.substring(0,labelNdx).trim(); + label=text.substring(labelNdx).trim(); + } int mspecNdx=reference.indexOf('#'); String referencedFqName; if (mspecNdx<0) { - referencedFqName=reference; + referencedFqName=reference; } else { - referencedFqName=reference.substring(0,mspecNdx); - referencedMemberName=reference.substring(mspecNdx+1); + referencedFqName=reference.substring(0,mspecNdx); + referencedMemberName=reference.substring(mspecNdx+1); } // the following is in contradiction to the api docs, but // conform to sun javadoc: return fully qualified classname // with referencedClassName(). if (referencedFqName.trim().length()>0) { - referencedClassName=referencedFqName; - if (contextClass==null) - referencedClass=Main.getRootDoc().classNamed(referencedFqName); - else - referencedClass=contextClass.findClass(referencedFqName); + referencedClassName=referencedFqName; + if (contextClass==null) + referencedClass=Main.getRootDoc().classNamed(referencedFqName); + else + referencedClass=contextClass.findClass(referencedFqName); } else { - referencedClassName=""; - referencedClass=contextClass; + referencedClassName=""; + referencedClass=contextClass; } if (referencedClass==null) { @@ -130,13 +130,13 @@ public class SeeTagImpl extends AbstractTagImpl implements SeeTag { if (referencedClass!=null && !referencedClass.isIncluded()) referencedClass=null; if (referencedClass!=null) { - referencedPackage=referencedClass.containingPackage(); - referencedClassName=referencedClass.qualifiedName(); + referencedPackage=referencedClass.containingPackage(); + referencedClassName=referencedClass.qualifiedName(); - if (referencedMemberName!=null) { + if (referencedMemberName!=null) { - if (referencedMemberName.indexOf('(')<0) { - referencedMember=((ClassDocImpl)referencedClass).findFieldRec(referencedMemberName); + if (referencedMemberName.indexOf('(')<0) { + referencedMember=((ClassDocImpl)referencedClass).findFieldRec(referencedMemberName); if (null == referencedMember) { MethodDoc[] methods = ((ClassDocImpl)referencedClass).methods(); for (int i=0; i<methods.length; ++i) { @@ -156,19 +156,19 @@ public class SeeTagImpl extends AbstractTagImpl implements SeeTag { else { referencedClass = referencedMember.containingClass(); } - } - else { - referencedMember=((ClassDocImpl)referencedClass).findExecutableRec(referencedMemberName); + } + else { + referencedMember=((ClassDocImpl)referencedClass).findExecutableRec(referencedMemberName); if (referencedMember==null) { //System.err.println("cannot find member for '"+referencedMemberName+"'"); referencedClass = null; } - } - } + } + } } /* else { - System.err.println("class not found: '"+referencedFqName + "' in context class " + contextClass + " in " + this); + System.err.println("class not found: '"+referencedFqName + "' in context class " + contextClass + " in " + this); } */ } diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/SerialFieldTagImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/SerialFieldTagImpl.java index a4408fc..0ecfe63 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/SerialFieldTagImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/SerialFieldTagImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -49,8 +49,8 @@ public class SerialFieldTagImpl extends AbstractTagImpl implements SerialFieldTa private ClassDoc fieldTypeDoc; private ClassDocImpl contextClass; - public SerialFieldTagImpl(String text, - ClassDocImpl contextClass, + public SerialFieldTagImpl(String text, + ClassDocImpl contextClass, MemberDocImpl contextMember) { super(text); this.contextClass=contextClass; @@ -65,22 +65,22 @@ public class SerialFieldTagImpl extends AbstractTagImpl implements SerialFieldTa int state=1; char[] textArr=text.toCharArray(); for (int i=0; i<textArr.length; ++i) { - char c=textArr[i]; - switch (state) { - case 1: - if (Parser.isWhitespace(c)) state=2; - else fieldName+=c; - break; - case 2: - if (Parser.isWhitespace(c)) state=3; - else fieldType+=c; - break; - case 3: - description+=c; - break; - } + char c=textArr[i]; + switch (state) { + case 1: + if (Parser.isWhitespace(c)) state=2; + else fieldName+=c; + break; + case 2: + if (Parser.isWhitespace(c)) state=3; + else fieldType+=c; + break; + case 3: + description+=c; + break; + } } - + setBody(description, contextClass, contextMember); } @@ -89,11 +89,11 @@ public class SerialFieldTagImpl extends AbstractTagImpl implements SerialFieldTa super.resolve(); try { - Type type=contextClass.typeForString(fieldType); - this.fieldTypeDoc=type.asClassDoc(); + Type type=contextClass.typeForString(fieldType); + this.fieldTypeDoc=type.asClassDoc(); } catch (ParseException e) { - System.err.println("FIXME: add try-catch to force compilation" - + e); + System.err.println("FIXME: add try-catch to force compilation" + + e); } } @@ -119,10 +119,10 @@ public class SerialFieldTagImpl extends AbstractTagImpl implements SerialFieldTa public int compareTo(Object o) { if (o!=null && o instanceof SerialFieldTagImpl) { - return fieldName().compareTo(((SerialFieldTagImpl)o).fieldName()); + return fieldName().compareTo(((SerialFieldTagImpl)o).fieldName()); } else { - return 0; + return 0; } } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/SourcePositionImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/SourcePositionImpl.java index 93f4879..e2d73bb 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/SourcePositionImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/SourcePositionImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -41,7 +41,7 @@ import com.sun.javadoc.SourcePosition; import java.io.File; -public class SourcePositionImpl +public class SourcePositionImpl implements SourcePosition { private File file; diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TagContainer.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TagContainer.java index d3e243e..1b9bc40d9 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TagContainer.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TagContainer.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TagImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TagImpl.java index d51ce23..a4b1f4b 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TagImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TagImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TemporaryStore.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TemporaryStore.java index f062b2a..0333ee2 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TemporaryStore.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TemporaryStore.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -88,7 +88,7 @@ package gnu.classpath.tools.gjdoc; * When control flow is transferred to <code>bar()</code>, * <code>foo()</code> will hold no more references to the array * and so it can be garbage collected in <code>bar()</code>. - * + * */ public class TemporaryStore { diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TextTagImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TextTagImpl.java index f8f1963..812fd2f 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TextTagImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TextTagImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ThrowsTagImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ThrowsTagImpl.java index b48236a..e4e7bbf 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ThrowsTagImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ThrowsTagImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -47,7 +47,7 @@ public class ThrowsTagImpl extends AbstractTagImpl implements ThrowsTag { private String exceptionName; private String exceptionComment; - public ThrowsTagImpl(String text, + public ThrowsTagImpl(String text, ClassDocImpl contextClass, MemberDocImpl contextMember) { super(text); @@ -55,14 +55,14 @@ public class ThrowsTagImpl extends AbstractTagImpl implements ThrowsTag { char[] textarr=text.toCharArray(); int i=0; for (; i<textarr.length; ++i) { - if (!Parser.isWhitespace(textarr[i])) break; + if (!Parser.isWhitespace(textarr[i])) break; } for (; i<textarr.length; ++i) { - if (Parser.isWhitespace(textarr[i])) { - this.exceptionName=new String(textarr,0,i).trim(); - this.exceptionComment=new String(textarr,i,textarr.length-i).trim(); - break; - } + if (Parser.isWhitespace(textarr[i])) { + this.exceptionName=new String(textarr,0,i).trim(); + this.exceptionComment=new String(textarr,i,textarr.length-i).trim(); + break; + } } if (null != exceptionName) { if (contextClass==null) { diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/Timer.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/Timer.java index bd866b3..93404d0 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/Timer.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/Timer.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -46,21 +46,21 @@ public class Timer { static void shutdown() { try{ - if (stopTime==0) return; - PrintWriter pw=new PrintWriter(new FileWriter("timer.out")); - pw.println("Preparation (driver) took "+(((double)(beforeDocletTime-startTime))/1000.)+" s"); - pw.println("Generation (doclet) took "+(((double)(stopTime-beforeDocletTime))/1000.)+" s"); - pw.println(""); - pw.println("Memory used for documentation tree: "+(memoryUsed/(1024*1024))+" MB"); - pw.println("Max. heap used for driver: "+((maxDriverHeap<0)?"N/A":((maxDriverHeap/(1024*1024))+" MB"))); - pw.println("Max. heap used for doclet: "+((maxDocletHeap<0)?"N/A":((maxDocletHeap/(1024*1024))+" MB"))); - pw.println(""); - pw.println("TOTAL TIME: "+(((double)(stopTime-startTime))/1000.)+" s"); - pw.println("TOTAL HEAP: "+((maxDocletHeap<0)?"N/A":(Math.max(maxDocletHeap,maxDriverHeap)/(1024*1024))+" MB")); - pw.close(); + if (stopTime==0) return; + PrintWriter pw=new PrintWriter(new FileWriter("timer.out")); + pw.println("Preparation (driver) took "+(((double)(beforeDocletTime-startTime))/1000.)+" s"); + pw.println("Generation (doclet) took "+(((double)(stopTime-beforeDocletTime))/1000.)+" s"); + pw.println(""); + pw.println("Memory used for documentation tree: "+(memoryUsed/(1024*1024))+" MB"); + pw.println("Max. heap used for driver: "+((maxDriverHeap<0)?"N/A":((maxDriverHeap/(1024*1024))+" MB"))); + pw.println("Max. heap used for doclet: "+((maxDocletHeap<0)?"N/A":((maxDocletHeap/(1024*1024))+" MB"))); + pw.println(""); + pw.println("TOTAL TIME: "+(((double)(stopTime-startTime))/1000.)+" s"); + pw.println("TOTAL HEAP: "+((maxDocletHeap<0)?"N/A":(Math.max(maxDocletHeap,maxDriverHeap)/(1024*1024))+" MB")); + pw.close(); } catch (IOException e) { - e.printStackTrace(); + e.printStackTrace(); } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TimerDoclet.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TimerDoclet.java index 7d364a1..c2c3c3e 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TimerDoclet.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TimerDoclet.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -44,31 +44,31 @@ public class TimerDoclet { private static Object doclet = null; private static long maximumHeap = -1; - + private static Thread memThread; private static boolean runMemThread = true; private static void init() throws Exception { if (doclet==null) { - doclet=Class.forName("com.sun.tools.doclets.standard.Standard").newInstance(); - memThread=new Thread() { - - public void run() { - while (runMemThread) { - synchronized (TimerDoclet.class) { - TimerDoclet.maximumHeap=Math.max(TimerDoclet.maximumHeap, - Runtime.getRuntime().totalMemory()-Runtime.getRuntime().freeMemory()); - } - try { Thread.sleep(50); } catch (Exception e) {} - } - } - }; - //memThread.start(); + doclet=Class.forName("com.sun.tools.doclets.standard.Standard").newInstance(); + memThread=new Thread() { + + public void run() { + while (runMemThread) { + synchronized (TimerDoclet.class) { + TimerDoclet.maximumHeap=Math.max(TimerDoclet.maximumHeap, + Runtime.getRuntime().totalMemory()-Runtime.getRuntime().freeMemory()); + } + try { Thread.sleep(50); } catch (Exception e) {} + } + } + }; + //memThread.start(); } } - public static boolean validOptions(String[][] options, DocErrorReporter reporter) + public static boolean validOptions(String[][] options, DocErrorReporter reporter) throws Exception { init(); @@ -84,19 +84,19 @@ public class TimerDoclet { public static boolean start(RootDoc root) throws Exception { Timer.setBeforeDocletTime(); synchronized (TimerDoclet.class) { - Timer.setMaxDriverHeap(maximumHeap); - maximumHeap=-1; + Timer.setMaxDriverHeap(maximumHeap); + maximumHeap=-1; } //new com.sun.tools.doclets.standard.Standard().validOptions(root.options(), root); //new com.sun.tools.doclets.standard.Standard().start(root); - + if (validOptions(root.options(), root)) { - doclet.getClass().getMethod("start", new Class[]{RootDoc.class}).invoke(null, new Object[]{root}); + doclet.getClass().getMethod("start", new Class[]{RootDoc.class}).invoke(null, new Object[]{root}); } runMemThread=false; Timer.setStopTime(); synchronized (TimerDoclet.class) { - Timer.setMaxDocletHeap(maximumHeap); + Timer.setMaxDocletHeap(maximumHeap); } Timer.shutdown(); return true; diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TypeImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TypeImpl.java index a0b4cf0..8c1bd5a 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TypeImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TypeImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -61,13 +61,13 @@ public class TypeImpl implements Type, WritableType { public ClassDoc asClassDoc() { if (this instanceof ClassDoc) - return ((ClassDocImpl)(ClassDoc)this).getBaseClassDoc(); + return ((ClassDocImpl)(ClassDoc)this).getBaseClassDoc(); else - return null; + return null; } public String typeName() { return typeName; } - + public String qualifiedTypeName() { return (packageName!=null)?(packageName+"."+typeName):(typeName); } public String dimension() { return dimension; } @@ -98,7 +98,7 @@ public class TypeImpl implements Type, WritableType { primitiveNames = Collections.unmodifiableSet(_primitiveNames); } - public TypeVariable asTypeVariable() + public TypeVariable asTypeVariable() { if (this instanceof TypeVariable) return (TypeVariable) this; diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TypeVariableImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TypeVariableImpl.java index 097b1ff..08a2366 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TypeVariableImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/TypeVariableImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -43,9 +43,9 @@ import com.sun.javadoc.TypeVariable; import java.util.List; -public class TypeVariableImpl +public class TypeVariableImpl extends TypeImpl - implements TypeVariable, WritableType + implements TypeVariable, WritableType { /** @@ -67,7 +67,7 @@ public class TypeVariableImpl * @param owner the owning program element of the type variable. */ TypeVariableImpl(String packageName, String typeName, String dimension, - ProgramElementDoc owner) + ProgramElementDoc owner) { super(packageName, typeName, dimension); this.owner = owner; diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ValueTagImpl.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ValueTagImpl.java index 14381df..024594c 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ValueTagImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/ValueTagImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/WritableType.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/WritableType.java index 00f599b..39cfb3f 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/WritableType.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/WritableType.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/AdditionExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/AdditionExpression.java index ed2cb24..82502c4 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/AdditionExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/AdditionExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -73,7 +73,7 @@ class AdditionExpression if (Type.STRING == leftValue.getType() || Type.STRING == rightValue.getType()) { - + return new ConstantString(leftValue.asObject().toString() + rightValue.asObject().toString()); } diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/AndExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/AndExpression.java index 6411cda..ac80772 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/AndExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/AndExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryBitwiseExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryBitwiseExpression.java index 90ae892..3c44ce7 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryBitwiseExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryBitwiseExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryComputationExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryComputationExpression.java index 519ab82..15d016e 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryComputationExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryComputationExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryEqualityExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryEqualityExpression.java index 7b3312e..1b37c23 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryEqualityExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryEqualityExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryExpression.java index 28ba32f0..557b514 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryLogicalExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryLogicalExpression.java index 7314fa9..7fa5186 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryLogicalExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryLogicalExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryRelationExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryRelationExpression.java index c7fbee8..f6ef45c 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryRelationExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryRelationExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryShiftExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryShiftExpression.java index 17129e2..32ccea2 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryShiftExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BinaryShiftExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BitShiftRightExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BitShiftRightExpression.java index 27ed3b3..eca1a52 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BitShiftRightExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/BitShiftRightExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/CircularExpressionException.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/CircularExpressionException.java index 008cee6..a9bfacc 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/CircularExpressionException.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/CircularExpressionException.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConditionalExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConditionalExpression.java index c01dc6a..d9532ef 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConditionalExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConditionalExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -43,7 +43,7 @@ class ConditionalExpression private Expression condition; private Expression ifTrue; private Expression ifFalse; - + ConditionalExpression(Expression condition, Expression ifTrue, Expression ifFalse) { this.condition = condition; diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantBoolean.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantBoolean.java index 4119dd9..83faf1f 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantBoolean.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantBoolean.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantByte.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantByte.java index ccdeed99..e206e56 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantByte.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantByte.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantChar.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantChar.java index a6dfef1..3cbeac1 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantChar.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantChar.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -52,7 +52,7 @@ class ConstantChar case 'f': value = '\f'; break; case 'r': value = '\r'; break; case 'b': value = '\b'; break; - case 'u': + case 'u': { String stringVal = stringValue.substring(3, stringValue.length() - 1); /* diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantDouble.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantDouble.java index 1b8e35a..5faa5a1 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantDouble.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantDouble.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantExpression.java index 78f8590..93923e6 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantFloat.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantFloat.java index 0735ff6..4689550 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantFloat.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantFloat.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantInteger.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantInteger.java index 667eb61..10804a6 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantInteger.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantInteger.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantLong.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantLong.java index c6828f4..a0a2f4b 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantLong.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantLong.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantNull.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantNull.java index e5b1e25..c27b10b 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantNull.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantNull.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantShort.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantShort.java index ef9f76e..5f4f00e 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantShort.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantShort.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantString.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantString.java index ba24cc3..4e9ecde 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantString.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ConstantString.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -72,4 +72,3 @@ class ConstantString return value; } } - diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/Context.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/Context.java index f22dffb..f6d1ebc 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/Context.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/Context.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/DivisionExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/DivisionExpression.java index caa9ae9..85206d4 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/DivisionExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/DivisionExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/EqualExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/EqualExpression.java index 18639ad..d7385fd 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/EqualExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/EqualExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/Evaluator.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/Evaluator.java index e1d089f..d12da35 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/Evaluator.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/Evaluator.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -67,7 +67,7 @@ public class Evaluator * invalid, uses unsupported syntax constructs (e.g. method calls, * array access) or references unknown static fields. */ - public static Object evaluate(String expression, + public static Object evaluate(String expression, Set visitedFields, EvaluatorEnvironment environment) throws IllegalExpressionException diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/EvaluatorEnvironment.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/EvaluatorEnvironment.java index 0f51f90..cf4df89 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/EvaluatorEnvironment.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/EvaluatorEnvironment.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ExclusiveOrExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ExclusiveOrExpression.java index 1d4b0fb..eb992fc 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ExclusiveOrExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ExclusiveOrExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/Expression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/Expression.java index 6a0f3dc..ca1ccc6 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/Expression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/Expression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/GreaterThanExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/GreaterThanExpression.java index 6594b496..995f7ae 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/GreaterThanExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/GreaterThanExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/GreaterThanOrEqualExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/GreaterThanOrEqualExpression.java index 51f3cd2..4e7ca4a 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/GreaterThanOrEqualExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/GreaterThanOrEqualExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/IdentifierExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/IdentifierExpression.java index 2d8df5e..8d25492 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/IdentifierExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/IdentifierExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/IllegalExpressionException.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/IllegalExpressionException.java index 315265e..65cd5da 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/IllegalExpressionException.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/IllegalExpressionException.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/InclusiveOrExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/InclusiveOrExpression.java index 7a3d69e..2b02501 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/InclusiveOrExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/InclusiveOrExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/LessThanExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/LessThanExpression.java index dbddecb..4e784cd 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/LessThanExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/LessThanExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/LessThanOrEqualExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/LessThanOrEqualExpression.java index 9ba697c..803ad5e 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/LessThanOrEqualExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/LessThanOrEqualExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/LogicalAndExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/LogicalAndExpression.java index b78315e..3b04091 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/LogicalAndExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/LogicalAndExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/LogicalNotExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/LogicalNotExpression.java index dc85eb6..4c7bf70 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/LogicalNotExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/LogicalNotExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/LogicalOrExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/LogicalOrExpression.java index 181bb68..625a6e5 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/LogicalOrExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/LogicalOrExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ModuloExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ModuloExpression.java index 6375b16..6aca379 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ModuloExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ModuloExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/MultiplicationExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/MultiplicationExpression.java index 6108a97..3d3071a 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/MultiplicationExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/MultiplicationExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/NegateExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/NegateExpression.java index 6cdb0c9..5b66fec 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/NegateExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/NegateExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/NotEqualExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/NotEqualExpression.java index c7db255..eb49bc0 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/NotEqualExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/NotEqualExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/NotExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/NotExpression.java index 41bb0fc..7359a05 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/NotExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/NotExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ShiftLeftExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ShiftLeftExpression.java index 132cd35..ad72efb 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ShiftLeftExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ShiftLeftExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ShiftRightExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ShiftRightExpression.java index bebd0ce..f9d7820 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ShiftRightExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/ShiftRightExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/SubtractionExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/SubtractionExpression.java index 8f9def9..dc0101f 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/SubtractionExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/SubtractionExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/Type.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/Type.java index 55c8b99..92382c4 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/Type.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/Type.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/TypeCastExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/TypeCastExpression.java index 46f0cc5..c434ae8 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/TypeCastExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/TypeCastExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/UnaryExpression.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/UnaryExpression.java index 9a912b9..33befcb 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/UnaryExpression.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/UnaryExpression.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/UnknownIdentifierException.java b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/UnknownIdentifierException.java index 9eedd66..894a717 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/UnknownIdentifierException.java +++ b/libjava/classpath/tools/gnu/classpath/tools/gjdoc/expr/UnknownIdentifierException.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/jar/Creator.java b/libjava/classpath/tools/gnu/classpath/tools/jar/Creator.java index 6ffce18..be8d2a1 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/jar/Creator.java +++ b/libjava/classpath/tools/gnu/classpath/tools/jar/Creator.java @@ -146,7 +146,7 @@ public class Creator { if (filename.charAt(filename.length() - 1) != '/') filename += '/'; - writeFile(isDirectory, null, filename, verbose); + writeFile(isDirectory, null, filename, verbose); } else { @@ -218,11 +218,11 @@ public class Creator * as Sun's jar tool */ if (parameters.wantManifest) { - Attributes attr = manifest.getMainAttributes(); - if (attr.getValue(Attributes.Name.MANIFEST_VERSION) == null) - attr.putValue(Attributes.Name.MANIFEST_VERSION.toString(), "1.0"); - attr.putValue("Created-By", System.getProperty("java.version") + - " (" + System.getProperty("java.vendor") + ")"); + Attributes attr = manifest.getMainAttributes(); + if (attr.getValue(Attributes.Name.MANIFEST_VERSION) == null) + attr.putValue(Attributes.Name.MANIFEST_VERSION.toString(), "1.0"); + attr.putValue("Created-By", System.getProperty("java.version") + + " (" + System.getProperty("java.vendor") + ")"); } outputStream = new JarOutputStream(os, manifest); // FIXME: this sets the method too late for the manifest file. diff --git a/libjava/classpath/tools/gnu/classpath/tools/jar/Indexer.java b/libjava/classpath/tools/gnu/classpath/tools/jar/Indexer.java index 217b644..ae79b26 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/jar/Indexer.java +++ b/libjava/classpath/tools/gnu/classpath/tools/jar/Indexer.java @@ -89,7 +89,7 @@ public class Indexer result.append(fileName); // Any line ending will do. result.append('\n'); - for (String s : entries) + for (String s : entries) { result.append(s); result.append('\n'); diff --git a/libjava/classpath/tools/gnu/classpath/tools/jar/Main.java b/libjava/classpath/tools/gnu/classpath/tools/jar/Main.java index e5f1a3f..34ef928 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/jar/Main.java +++ b/libjava/classpath/tools/gnu/classpath/tools/jar/Main.java @@ -238,7 +238,7 @@ public class Main { public void parsed(String argument) throws OptionException { - readNamesFromStdin = true; + readNamesFromStdin = true; } }); p.add(grp); @@ -251,14 +251,14 @@ public class Main String line; try { - BufferedReader br - = new BufferedReader(new InputStreamReader(System.in)); - while ((line = br.readLine()) != null) - entries.add(new Entry(new File(line))); + BufferedReader br + = new BufferedReader(new InputStreamReader(System.in)); + while ((line = br.readLine()) != null) + entries.add(new Entry(new File(line))); } catch (IOException _) { - // Ignore. + // Ignore. } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/jar/Updater.java b/libjava/classpath/tools/gnu/classpath/tools/jar/Updater.java index f25d56f..e1df852 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/jar/Updater.java +++ b/libjava/classpath/tools/gnu/classpath/tools/jar/Updater.java @@ -72,7 +72,7 @@ public class Updater // Write all the new entries to a temporary file. File tmpFile = File.createTempFile("jarcopy", null, - parameters.archiveFile.getParentFile()); + parameters.archiveFile.getParentFile()); OutputStream os = new BufferedOutputStream(new FileOutputStream(tmpFile)); writeCommandLineEntries(parameters, os); @@ -90,8 +90,8 @@ public class Updater close(); if (!tmpFile.renameTo(parameters.archiveFile)) { - throw new IOException("Couldn't rename new JAR file " + tmpFile + - "to " + parameters.archiveFile); + throw new IOException("Couldn't rename new JAR file " + tmpFile + + "to " + parameters.archiveFile); } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/jarsigner/JarVerifier.java b/libjava/classpath/tools/gnu/classpath/tools/jarsigner/JarVerifier.java index 8847441..b920d74 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/jarsigner/JarVerifier.java +++ b/libjava/classpath/tools/gnu/classpath/tools/jarsigner/JarVerifier.java @@ -243,7 +243,7 @@ public class JarVerifier * <p> * This method, uses the contents of the corresponding <code>.SF</code> file * to compute and verify the hashes of the manifest entries in the JAR file. - * + * * @param alias the name of the signature file; i.e. the name to use for both * the .SF and .DSA files. * @return <code>true</code> if all the entries in the corresponding diff --git a/libjava/classpath/tools/gnu/classpath/tools/jarsigner/Main.java b/libjava/classpath/tools/gnu/classpath/tools/jarsigner/Main.java index cea521c..c7fb585 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/jarsigner/Main.java +++ b/libjava/classpath/tools/gnu/classpath/tools/jarsigner/Main.java @@ -166,7 +166,7 @@ public class Main /** * Read the command line arguments setting the tool's parameters in * preparation for the user desired action. - * + * * @param args an array of options (strings). * @throws Exception if an exception occurs during the process. */ @@ -223,7 +223,7 @@ public class Main * <p> * Depending on the result of processing the command line arguments, this * handler may be one for signing the jar, or verifying it. - * + * * @throws Exception if an exception occurs during the process. */ private void start() throws Exception @@ -271,7 +271,7 @@ public class Main * <p> * Common parameters are those which are allowed in both signing and * verification modes. - * + * * @throws InstantiationException if a security provider class name is * specified but that class name is that of either an interface or * an abstract class. @@ -342,7 +342,7 @@ public class Main * After processing the command line arguments, this method is invoked to * process the parameters which may have been encountered among the actual * arguments, and which are specific to the signing action of the tool. - * + * * @throws KeyStoreException if no implementation of the designated (or * default type) of a key store is availabe. * @throws IOException if an I/O related exception occurs during the process. @@ -524,7 +524,7 @@ public class Main * If no installed providers were found, this method falls back on the GNU * provider, by-passing the Security search mechanism. The default console * callback handler implementation is {@link ConsoleCallbackHandler}. - * + * * @return a console-based {@link CallbackHandler}. */ protected CallbackHandler getCallbackHandler() diff --git a/libjava/classpath/tools/gnu/classpath/tools/jarsigner/SFHelper.java b/libjava/classpath/tools/gnu/classpath/tools/jarsigner/SFHelper.java index dc0f199..9e4882f 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/jarsigner/SFHelper.java +++ b/libjava/classpath/tools/gnu/classpath/tools/jarsigner/SFHelper.java @@ -122,7 +122,7 @@ public class SFHelper * Writes the contents of the <code>.SF</code> file to the designated JAR * output stream. Line-endings are platform-independent and consist of the * 2-codepoint sequence <code>0x0D</code> and <code>0x0A</code>. - * + * * @param jar the JAR output stream to write a <code>.SF</code> file to. * @throws IOException if an I/O related exception occurs during the process. */ @@ -153,7 +153,7 @@ public class SFHelper * contentType ContentType, * content [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL * } - * + * * ContentType ::= OBJECT IDENTIFIER * </pre> * <p> @@ -171,9 +171,9 @@ public class SFHelper * crls [1] IMPLICIT CertificateRevocationLists OPTIONAL, * signerInfos SignerInfos * } - * + * * DigestAlgorithmIdentifiers ::= SET OF DigestAlgorithmIdentifier - * + * * SignerInfos ::= SET OF SignerInfo * </pre> * <p> @@ -189,18 +189,18 @@ public class SFHelper * encryptedDigest EncryptedDigest, * unauthenticatedAttributes [1] IMPLICIT Attributes OPTIONAL * } - * + * * EncryptedDigest ::= OCTET STRING * </pre> - * + * * @param jar the JAR output stream to write a <code>.DSA</code> file to. * @param signerKey the private key to sign with. * @param certificates the possibly null signer certificate chain. * @param internalSF if <code>true</code> then include the .SF file contents - * in the signed .DSA file; otherwise don't. + * in the signed .DSA file; otherwise don't. * @throws IOException if an I/O related exception occurs during the process. - * @throws CRLException - * @throws CertificateEncodingException + * @throws CRLException + * @throws CertificateEncodingException */ void writeDSA(JarOutputStream jar, PrivateKey signerKey, Certificate[] certificates, boolean internalSF) @@ -335,7 +335,7 @@ public class SFHelper { if (this.state != STARTED) throw new IllegalStateException(Messages.getString("SFHelper.10")); //$NON-NLS-1$ - + String name = entry.getName(); InputStream jeis = jar.getInputStream(entry); String hash = util.hashStream(jeis); @@ -396,7 +396,7 @@ public class SFHelper /** * Given an X.509 certificate this method returns the string representation of * the Issuer Distinguished Name. - * + * * @param cert an X.509 certificate. * @return the string representation of the Issuer's DN. */ @@ -424,7 +424,7 @@ public class SFHelper /** * Given an X.509 certificate this method returns the string representation of * the Subject Distinguished Name. - * + * * @param cert an X.509 certificate. * @return the string representation of the Subject's DN. */ @@ -450,9 +450,9 @@ public class SFHelper } /** - * Given an X.509 certificate this method returns the end validity date of + * Given an X.509 certificate this method returns the end validity date of * this certificate. - * + * * @param cert an X.509 certificate. * @return the date when this certificate stops being valid. */ @@ -472,7 +472,7 @@ public class SFHelper /** * Given an X.509 certificate this method returns the start validity date of * this certificate. - * + * * @param cert an X.509 certificate. * @return the date when this certificate starts being valid. */ diff --git a/libjava/classpath/tools/gnu/classpath/tools/java2xhtml/Java2xhtml.java b/libjava/classpath/tools/gnu/classpath/tools/java2xhtml/Java2xhtml.java index 70e238e..90c6d4c 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/java2xhtml/Java2xhtml.java +++ b/libjava/classpath/tools/gnu/classpath/tools/java2xhtml/Java2xhtml.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -42,7 +42,7 @@ exception statement from your version. */ * NOTE: Common java naming structure is assumed * Capitalize the first letter that appears in a class or interface name * Use lowercase for the first letter in a method or variable name - * Use only uppercase letters when naming constants + * Use only uppercase letters when naming constants * * @version 0.9, March 2003 * @author Shayne Steele @@ -87,7 +87,7 @@ public class Java2xhtml // call the HTMLifier on good input public static void main(String args[]) { - // parse the invokation arguments + // parse the invokation arguments if (args.length < 1 || args.length > 3) // invoked program incorrectly { System.out.println("Java2xhtml Version 0.9 (C) 2005 Free Software Foundation"); @@ -140,15 +140,15 @@ public class Java2xhtml " (default false)"); System.out.println(" hasLineNumbers=boolean" + " (default false)"); - System.out.println(" hasLineModulusDrawnLines=boolean" + + System.out.println(" hasLineModulusDrawnLines=boolean" + " (default false)"); System.out.println(" hasLineModulusCodeBlocks=boolean" + " (default false)"); - System.out.println(" hasFooter=boolean" + + System.out.println(" hasFooter=boolean" + " (default false)"); - System.out.println(" hasFooterIcons=boolean" + + System.out.println(" hasFooterIcons=boolean" + " (default false)"); - System.out.println(" hasFooterDate=boolean" + + System.out.println(" hasFooterDate=boolean" + " (default true)"); System.out.println(" NOTE: filename must end with '.prop'"); System.out.println(" Default [options file] is " + @@ -170,7 +170,7 @@ public class Java2xhtml "given options file (options.prop)):"); System.out.println(" java Java2xhtml C:\\HOME options.prop"); } - else + else { // invoked program correctly, now get command line arguments // get the source file name @@ -178,12 +178,12 @@ public class Java2xhtml sourceName = args[0]; // make sure that the source file exist and if so HTMLify it File sourceFilePath = new File(sourceName); - if (sourceFilePath.exists()) + if (sourceFilePath.exists()) { // good pathname so HTMLify it // get the default html options file name String propertiesFileName = "options.prop"; - // create a unique default html file name, + // create a unique default html file name, // bubba.java -> bubba_java.html String htmlFileName = sourceName.replace('.', '_') + ".html"; if (args.length == 2 || args.length == 3) @@ -199,7 +199,7 @@ public class Java2xhtml htmlFileName = args[1]; } } - if (args.length == 3) + if (args.length == 3) { if (args[2].endsWith(".prop")) { @@ -212,7 +212,7 @@ public class Java2xhtml htmlFileName = args[2]; } } - new Java2xhtml(propertiesFileName, sourceFilePath, + new Java2xhtml(propertiesFileName, sourceFilePath, htmlFileName); } else // source file does not exist, print message and exit normally @@ -221,10 +221,10 @@ public class Java2xhtml " file or directory"); System.out.println("Run Java2xHtml without parameters for " + "help"); - } + } } } - + // collect various sets of keywords static Collection keywordCollection; static Collection primitiveTypeCollection; @@ -250,21 +250,21 @@ public class Java2xhtml boolean hasExternalStyleSheet = true; String externalStyleSheetName = "style.css"; - static + static { - // collection type is Hashset for unique elements and fast retieval + // collection type is Hashset for unique elements and fast retieval String keywordArray[] = { - "abstract", "default", "if", "private", + "abstract", "default", "if", "private", "do", "implements", "protected", "throws", "break", "import", "public", "transient", "else", "instanceof", "return", "try", "case", "extends", "throw", "static", - "catch", "final", "interface", "while", + "catch", "final", "interface", "while", "volatile", "finally", "super", "synchronized", "class", "native", "switch", "package", "const", "for", "new", "goto", - "continue", "this", "assert", "strictfp" + "continue", "this", "assert", "strictfp" }; keywordCollection = new HashSet(Arrays.asList(keywordArray)); String primitiveTypeArray[] = @@ -272,30 +272,30 @@ public class Java2xhtml "boolean", "char", "byte", "short", "int", "long", "float", "double", "void" }; - primitiveTypeCollection = + primitiveTypeCollection = new HashSet(Arrays.asList(primitiveTypeArray)); String primitiveLiteralArray[]= { "false", "null", "true" }; - primitiveLiteralCollection = + primitiveLiteralCollection = new HashSet(Arrays.asList(primitiveLiteralArray)); String javadocTagArray[]= { - "see", "author", "version", "param", "return", "exception", - "deprecated", "throws", "link", "since", "serial", + "see", "author", "version", "param", "return", "exception", + "deprecated", "throws", "link", "since", "serial", "serialField","serialData", "beaninfo" }; javadocTagCollection = new HashSet(Arrays.asList(javadocTagArray)); } - + public Java2xhtml() { } - // create the various keyword collections + // create the various keyword collections // parse the html options file - Java2xhtml(String propertiesFileName, File sourceFilePath, + Java2xhtml(String propertiesFileName, File sourceFilePath, String htmlFileName) { // get html properties (use defaults if necessary) @@ -303,23 +303,23 @@ public class Java2xhtml if (propertiesFilePath.exists()) { // html properies file exist try parsing it - try + try { - InputStream propertiesFile = + InputStream propertiesFile = new FileInputStream(propertiesFileName); Properties htmlProperties = new Properties(); htmlProperties.load(propertiesFile); propertiesFile.close(); setProperties(htmlProperties); } - catch (IOException exception) + catch (IOException exception) { - System.out.println(exception); + System.out.println(exception); } } if (sourceFilePath.isFile()) { - // process the file + // process the file processFile(sourceFilePath, htmlFileName); } else if (sourceFilePath.isDirectory()) @@ -330,8 +330,8 @@ public class Java2xhtml { if (((sourceFilePathArray[i]).getName()).endsWith(".java")) { - // process each file that ends in .java - // create a unique default html file name, + // process each file that ends in .java + // create a unique default html file name, // bubba.java -> bubba_java.html htmlFileName = ((sourceFilePathArray[i]).getName()).replace( '.', '_') + ".html"; @@ -344,7 +344,7 @@ public class Java2xhtml public void setProperties(Properties htmlProperties) { hasLegend - = Boolean.valueOf(htmlProperties.getProperty("hasLegend", + = Boolean.valueOf(htmlProperties.getProperty("hasLegend", "false")).booleanValue(); extraIndentation = Integer.parseInt(htmlProperties.getProperty("extraIndentation", "0")); @@ -391,22 +391,22 @@ public class Java2xhtml externalStyleSheetName = htmlProperties.getProperty("externalStyleSheetName", "style.css"); } - - + + // read the file and put it into a stringbuffer void processFile(File sourceFilePath, String htmlFileName) { - // open the file, copy it to a Stringbuffer , process into an + // open the file, copy it to a Stringbuffer , process into an // HTMLified String and convert result into an HTML file try { - BufferedReader sourceReader = + BufferedReader sourceReader = new BufferedReader(new FileReader(sourceFilePath)); StringBuffer bufferIn = new StringBuffer(); int readInInt = 0; char presentChar = 0; // copy file into a Stringbuffer - while (readInInt != -1) // -1 value means end of stream/file + while (readInInt != -1) // -1 value means end of stream/file { // put the file into a Stringbuffer readInInt= sourceReader.read(); @@ -414,21 +414,21 @@ public class Java2xhtml bufferIn.append(presentChar); } sourceReader.close(); - BufferedWriter tempBufferedWriter = + BufferedWriter tempBufferedWriter = new BufferedWriter(new FileWriter(htmlFileName)); - tempBufferedWriter.write(makeHTML(bufferIn, + tempBufferedWriter.write(makeHTML(bufferIn, sourceFilePath.getName())); - tempBufferedWriter.close(); - System.out.println(sourceFilePath.getName() + " --> " + + tempBufferedWriter.close(); + System.out.println(sourceFilePath.getName() + " --> " + htmlFileName); } - catch (IOException exception) + catch (IOException exception) { - System.out.println(exception); + System.out.println(exception); } } - - // constant 'States' java source code can be in + + // constant 'States' java source code can be in public final static class State { public final static State TEXT = new State(); @@ -440,18 +440,18 @@ public class Java2xhtml public final static State SINGLE_QUOTE = new State(); public final static State TRADITIONAL_COMMENT = new State(); public final static State LINE_COMMENT = new State(); - - // empty constructor + + // empty constructor private State() { // empty body } } - - // Convert java source code StringBufffer into colorized (and tab spaced) + + // Convert java source code StringBufffer into colorized (and tab spaced) // HTML String . // Assumes that Java naming convention is used - // Uses a very basic state machine design. + // Uses a very basic state machine design. public String makeHTML(StringBuffer bufferIn, String sourceFileName) { int codeLineNumber = 0; @@ -467,7 +467,7 @@ public class Java2xhtml StringBuffer bufferOut = new StringBuffer(8192); if (!isCodeSnippet) { - bufferOut.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n"); + bufferOut.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n"); if (isXHTML_1_1) { bufferOut.append("<!DOCTYPE html PUBLIC " + @@ -517,7 +517,7 @@ public class Java2xhtml bufferOut.append(" {\r\n"); bufferOut.append(" font-weight: bold;\r\n"); bufferOut.append(" color: #000000;\r\n"); - bufferOut.append(" background-color: "); + bufferOut.append(" background-color: "); bufferOut.append("transparent;\r\n"); bufferOut.append(" }\r\n"); if (hasLineModulusDrawnLines) @@ -541,7 +541,7 @@ public class Java2xhtml bufferOut.append(" {\r\n"); bufferOut.append(" color: #000000;\r\n"); bufferOut.append(" background-color: "); - bufferOut.append("#CCCCCC;\r\n"); + bufferOut.append("#CCCCCC;\r\n"); bufferOut.append(" }\r\n"); } } @@ -552,12 +552,12 @@ public class Java2xhtml bufferOut.append(" }\r\n"); bufferOut.append(" ." + methodStyle + "\r\n"); bufferOut.append(" {\r\n"); - bufferOut.append(" color: #0000FF;\r\n"); + bufferOut.append(" color: #0000FF;\r\n"); bufferOut.append(" background-color: transparent;\r\n"); bufferOut.append(" }\r\n"); bufferOut.append(" ." + variableStyle + "\r\n"); bufferOut.append(" {\r\n"); - bufferOut.append(" color: #CC9933;\r\n"); + bufferOut.append(" color: #CC9933;\r\n"); bufferOut.append(" background-color: transparent;\r\n"); bufferOut.append(" }\r\n"); bufferOut.append(" ." + singleLineCommentStyle + "\r\n"); @@ -567,7 +567,7 @@ public class Java2xhtml bufferOut.append(" }\r\n"); bufferOut.append(" ." + traditionalCommentStyle + "\r\n"); bufferOut.append(" {\r\n"); - bufferOut.append(" color: #FF0000;\r\n"); + bufferOut.append(" color: #FF0000;\r\n"); bufferOut.append(" background-color: transparent;\r\n"); bufferOut.append(" }\r\n"); bufferOut.append(" ." + javadocCommentStyle + "\r\n"); @@ -600,7 +600,7 @@ public class Java2xhtml bufferOut.append(" color: #009966;\r\n"); bufferOut.append(" background-color: transparent;\r\n"); bufferOut.append(" }\r\n"); - bufferOut.append(" ." + constructorStyle + "\r\n"); + bufferOut.append(" ." + constructorStyle + "\r\n"); bufferOut.append(" {\r\n"); bufferOut.append(" color: #3300CC;\r\n"); bufferOut.append(" background-color: transparent;\r\n"); @@ -622,27 +622,27 @@ public class Java2xhtml bufferOut.append(" background-color: transparent;\r\n"); bufferOut.append(" font-style: oblique;\r\n"); bufferOut.append(" }\r\n"); - bufferOut.append(" ." + numericLiteralStyle + "\r\n"); + bufferOut.append(" ." + numericLiteralStyle + "\r\n"); bufferOut.append(" {\r\n"); - bufferOut.append(" color: #333300;\r\n"); + bufferOut.append(" color: #333300;\r\n"); bufferOut.append(" background-color: transparent;\r\n"); bufferOut.append(" }\r\n"); bufferOut.append(" ." + primitiveLiteralStyle + "\r\n"); bufferOut.append(" {\r\n"); - bufferOut.append(" color: #006600;\r\n"); + bufferOut.append(" color: #006600;\r\n"); bufferOut.append(" background-color: transparent;\r\n"); bufferOut.append(" }\r\n"); if (hasFooterIcons) { bufferOut.append(" ." + iconStyle + "\r\n"); bufferOut.append(" {\r\n"); - bufferOut.append(" border-style: none;\r\n"); + bufferOut.append(" border-style: none;\r\n"); bufferOut.append(" }\r\n"); } if (hasTitle) { bufferOut.append(" #title\r\n"); - bufferOut.append(" {\r\n"); + bufferOut.append(" {\r\n"); bufferOut.append(" text-align: center;\r\n"); bufferOut.append(" font-size: xx-large;\r\n"); bufferOut.append(" }\r\n"); @@ -650,20 +650,20 @@ public class Java2xhtml if (hasLegend) { bufferOut.append(" #legendTitle\r\n"); - bufferOut.append(" {\r\n"); + bufferOut.append(" {\r\n"); bufferOut.append(" text-align: center;\r\n"); bufferOut.append(" font-size: x-large;\r\n"); bufferOut.append(" }\r\n"); bufferOut.append(" #legend\r\n"); - bufferOut.append(" {\r\n"); + bufferOut.append(" {\r\n"); bufferOut.append(" font-family: monospace;\r\n"); bufferOut.append(" font-size: large;\r\n"); bufferOut.append(" }\r\n"); - } + } if (hasFooter) { bufferOut.append(" #footer\r\n"); - bufferOut.append(" {\r\n"); + bufferOut.append(" {\r\n"); bufferOut.append(" font-size: xx-small;\r\n"); bufferOut.append(" }\r\n"); } @@ -674,7 +674,7 @@ public class Java2xhtml if (hasExternalStyleSheet) { bufferOut.append(" <link rel=\"stylesheet\" " + - "type=\"text/css\" href=\"" + + "type=\"text/css\" href=\"" + externalStyleSheetName + "\" />\r\n"); } bufferOut.append(" </head>\r\n"); @@ -754,7 +754,7 @@ public class Java2xhtml // add line numbers if desired // line numbers are 1 - 9999 then rotate line numbers codeLineNumber = (++codeLineNumber)%10000; - if ((lineModulus > 0) && hasLineModulusCodeBlocks && + if ((lineModulus > 0) && hasLineModulusCodeBlocks && (codeLineNumber%lineModulus == 1)) { if (isNewBlock) @@ -762,8 +762,8 @@ public class Java2xhtml if ((State.TRADITIONAL_COMMENT == presentState) || (State.JAVADOC == presentState)) { - bufferOut.insert((bufferOut.length() - - ("\r\n").length()), + bufferOut.insert((bufferOut.length() - + ("\r\n").length()), "</span>"); } bufferOut.append("</pre>\r\n"); @@ -817,7 +817,7 @@ public class Java2xhtml bufferIn.charAt(presentIndex))) || (bufferIn.charAt(presentIndex) == '\t'))) { - // for each tab, insert tabSize spaces + // for each tab, insert tabSize spaces if (bufferIn.charAt(presentIndex) == '\t') { for (int i = 0; i < tabSize; i++) @@ -842,7 +842,7 @@ public class Java2xhtml } presentIndex++; } - // check if line is empty + // check if line is empty // (no printable characters on line) if ((presentIndex == (bufferIn.length() - 1)) || (Character.isWhitespace(bufferIn.charAt( @@ -853,18 +853,18 @@ public class Java2xhtml // draw the line if (spaceLength > 1) { - bufferOut.insert((bufferOut.length() - + bufferOut.insert((bufferOut.length() - spaceLength), "<span class=" + "\"modulusLineStyle\">"); - bufferOut.insert((bufferOut.length() - + bufferOut.insert((bufferOut.length() - (" ").length()), "</span>"); } spaceLength = 0; } } - else + else { - // line numbers are in lineNumberColor + // line numbers are in lineNumberColor bufferOut.append("<span class=\"" + lineNumberStyle + "\">"); bufferOut.append(codeLineNumber); bufferOut.append(":</span> "); @@ -883,27 +883,27 @@ public class Java2xhtml bufferOut.append(presentChar); identifierLength++; continue; // keep adding characters until identifier is done - } + } if (identifierLength > 0) { // identifier - qualifiedIdentifierLength = + qualifiedIdentifierLength = qualifiedIdentifierLength + identifierLength; if (bufferIn.charAt(presentIndex) == '.') { - // qualified identifier + // qualified identifier bufferOut.append(presentChar); qualifiedIdentifierLength++; identifierLength = 0; continue; // keep adding characters to qualified identifier } - String identifier = - bufferOut.substring(bufferOut.length() - + String identifier = + bufferOut.substring(bufferOut.length() - identifierLength); if ((State.PARAM_VARIABLE == presentState)) { // any identifier after a param in a javadoc is assumed to - // be a variable + // be a variable bufferOut.insert(bufferOut.length() - qualifiedIdentifierLength, "<span class=\"" + variableStyle + "\">"); @@ -912,9 +912,9 @@ public class Java2xhtml } else if (State.JAVADOC == presentState) { - // in javadoc state + // in javadoc state if ((javadocTagCollection.contains(identifier)) && - (bufferIn.charAt(presentIndex - + (bufferIn.charAt(presentIndex - (identifierLength + 1)) == '@')) { // identifier is a javadocTag @@ -924,7 +924,7 @@ public class Java2xhtml if (("param").equals(identifier)) { // any identifier after a param is assumed to - // be a variable, get into a state to do this + // be a variable, get into a state to do this presentState = State.PARAM_VARIABLE; } } @@ -932,7 +932,7 @@ public class Java2xhtml else if (State.IMPORT_NAME == presentState) { // import identifier - bufferOut.insert(bufferOut.length() - + bufferOut.insert(bufferOut.length() - qualifiedIdentifierLength, "<span class=\"" + importNameStyle + "\">"); bufferOut.append("</span>"); @@ -941,7 +941,7 @@ public class Java2xhtml else if (State.PACKAGE_NAME == presentState) { // package identifier - bufferOut.insert(bufferOut.length() - + bufferOut.insert(bufferOut.length() - qualifiedIdentifierLength, "<span class=\"" + packageNameStyle + "\">"); bufferOut.append("</span>"); @@ -951,27 +951,27 @@ public class Java2xhtml { if (keywordCollection.contains(identifier)) { - // identifier is a keyword - bufferOut.insert(bufferOut.length() - + // identifier is a keyword + bufferOut.insert(bufferOut.length() - qualifiedIdentifierLength, "<span class=\"" + keywordStyle + "\">"); bufferOut.append("</span>"); if (("import").equals(identifier)) { - // anything after an import in text mode must be + // anything after an import in text mode must be // an import name, so enter state to process this presentState = State.IMPORT_NAME; } else if (("package").equals(identifier)) { - // anything after an package in text mode must be + // anything after an package in text mode must be // an package name, so enter state to process this presentState = State.PACKAGE_NAME; } } else if (primitiveTypeCollection.contains(identifier)) { - // identifier is a primitive type + // identifier is a primitive type bufferOut.insert(bufferOut.length() - qualifiedIdentifierLength, "<span class=\"" + primitiveTypeStyle + "\">"); @@ -982,14 +982,14 @@ public class Java2xhtml { // identifier is a constant bufferOut.insert(bufferOut.length() - - qualifiedIdentifierLength, + qualifiedIdentifierLength, "<span class=\"" + constantStyle + "\">"); bufferOut.append("</span>"); } else if (Character.isUpperCase(identifier.charAt(0))) { // identifier is a constructor or non-primitive type - // eat white space + // eat white space saveIndex = presentIndex; while (Character.isWhitespace( bufferIn.charAt(saveIndex++))) @@ -1006,10 +1006,10 @@ public class Java2xhtml } else { - // identifier is a non-primitive type + // identifier is a non-primitive type bufferOut.insert(bufferOut.length() - qualifiedIdentifierLength, - "<span class=" + + "<span class=" + "\"" + nonPrimitiveTypeStyle + "\">"); bufferOut.append("</span>"); } @@ -1029,33 +1029,33 @@ public class Java2xhtml // identifier is a method if (bufferIn.charAt(saveIndex) == '(') { - bufferOut.insert(bufferOut.length() - - qualifiedIdentifierLength, + bufferOut.insert(bufferOut.length() - + qualifiedIdentifierLength, "<span class=\"" + methodStyle + "\">"); - bufferOut.append("</span>"); + bufferOut.append("</span>"); } else if (bufferIn.charAt(saveIndex) == ',') { // comma seperated variables - bufferOut.insert(bufferOut.length() - - qualifiedIdentifierLength, + bufferOut.insert(bufferOut.length() - + qualifiedIdentifierLength, "<span class=\"" + variableStyle + "\">"); - bufferOut.append("</span>"); + bufferOut.append("</span>"); } else { // a variable // take care of cases such as array[index].variable - if (bufferIn.charAt(presentIndex - - (qualifiedIdentifierLength + if (bufferIn.charAt(presentIndex - + (qualifiedIdentifierLength + 1)) == '.') { qualifiedIdentifierLength++; } - bufferOut.insert(bufferOut.length() - - qualifiedIdentifierLength, + bufferOut.insert(bufferOut.length() - + qualifiedIdentifierLength, "<span class=\"" + variableStyle + "\">"); - bufferOut.append("</span>"); + bufferOut.append("</span>"); } } else @@ -1069,17 +1069,17 @@ public class Java2xhtml bufferOut.append("</span>"); } // a numeric literal - else + else { - if (((presentIndex - - (qualifiedIdentifierLength + 1)) > 0) && - (bufferIn.charAt(presentIndex - + if (((presentIndex - + (qualifiedIdentifierLength + 1)) > 0) && + (bufferIn.charAt(presentIndex - (qualifiedIdentifierLength + 1)) == '.')) { qualifiedIdentifierLength++; } - bufferOut.insert(bufferOut.length() - - qualifiedIdentifierLength, + bufferOut.insert(bufferOut.length() - + qualifiedIdentifierLength, "<span class=" + "\"" + numericLiteralStyle + "\">"); bufferOut.append("</span>"); @@ -1089,7 +1089,7 @@ public class Java2xhtml qualifiedIdentifierLength = 0; identifierLength = 0; } - // process characters NOT in identifiers + // process characters NOT in identifiers switch (presentChar) { case '&': //ampersand @@ -1108,7 +1108,7 @@ public class Java2xhtml presentState = State.DOUBLE_QUOTE; bufferOut.insert(bufferOut.length()-(""").length(), "<span class=\"" + doubleQuoteStyle + "\">"); - } + } else if (State.DOUBLE_QUOTE == presentState) { presentState = State.TEXT; @@ -1120,7 +1120,7 @@ public class Java2xhtml if (State.TEXT == presentState) { presentState = State.SINGLE_QUOTE; - bufferOut.insert(bufferOut.length() - ("\'").length(), + bufferOut.insert(bufferOut.length() - ("\'").length(), "<span class=\"" + singleQuoteStyle + "\">"); } else if (State.SINGLE_QUOTE == presentState) @@ -1131,37 +1131,37 @@ public class Java2xhtml break; case '\\': // backslash bufferOut.append("\\"); - if ((State.DOUBLE_QUOTE == presentState) || + if ((State.DOUBLE_QUOTE == presentState) || (State.SINGLE_QUOTE == presentState)) { - // treat as a character escape sequence + // treat as a character escape sequence bufferOut.append(bufferIn.charAt(++presentIndex)); } break; case '\t': // tab // replace tabs with tabsize number of spaces - for (int i = 0; i < tabSize; i++) + for (int i = 0; i < tabSize; i++) { bufferOut.append(' '); } break; case '*': // star bufferOut.append("*"); - if ((State.TEXT == presentState) && + if ((State.TEXT == presentState) && (bufferIn.charAt(presentIndex - 1) == '/')) { if (((bufferIn.length() - 1) > presentIndex) && (bufferIn.charAt(presentIndex + 1) == '*')) { presentState = State.JAVADOC; - bufferOut.insert(bufferOut.length() - + bufferOut.insert(bufferOut.length() - ("/*").length(), "<span class=" + "\"" + javadocCommentStyle + "\">"); } else - { + { presentState = State.TRADITIONAL_COMMENT; - bufferOut.insert(bufferOut.length() - + bufferOut.insert(bufferOut.length() - ("/*").length(), "<span class=" + "\"" + traditionalCommentStyle + "\">"); } @@ -1169,31 +1169,31 @@ public class Java2xhtml break; case '/': // foward slash bufferOut.append("/"); - if (((State.TRADITIONAL_COMMENT == presentState) || + if (((State.TRADITIONAL_COMMENT == presentState) || (State.JAVADOC == presentState)) && (bufferIn.charAt(presentIndex - 1) == '*')) { bufferOut.append("</span>"); presentState = State.TEXT; } - if ((State.TEXT == presentState) && + if ((State.TEXT == presentState) && (presentIndex > 0) && (bufferIn.charAt(presentIndex - 1) == '/')) - { - bufferOut.insert(bufferOut.length() - ("//").length(), - "<span class=" + + { + bufferOut.insert(bufferOut.length() - ("//").length(), + "<span class=" + "\"" + singleLineCommentStyle + "\">"); presentState = State.LINE_COMMENT; - } + } break; case '\r': // carriage return - // fall through + // fall through case '\n': // line feed // all HTML lines end in \r\n if ((bufferIn.charAt(presentIndex) == '\r') && ((bufferIn.length() - 1) > presentIndex) && (bufferIn.charAt(presentIndex + 1) == '\n')) - { + { ++presentIndex; } // end single line comments @@ -1202,8 +1202,8 @@ public class Java2xhtml bufferOut.append("</span>"); presentState = State.TEXT; } - // end of block - if ((lineModulus > 0) && hasLineModulusCodeBlocks && + // end of block + if ((lineModulus > 0) && hasLineModulusCodeBlocks && ((codeLineNumber%lineModulus == 0) && !isNewBlock)) { // end multi-line spanning states @@ -1231,19 +1231,19 @@ public class Java2xhtml } else { - // div automatically starts new line + // div automatically starts new line bufferOut.append("\r\n"); } isNewLine = true; break; case 0: // nul character - if ((State.LINE_COMMENT == presentState) && + if ((State.LINE_COMMENT == presentState) && (presentIndex == (bufferIn.length() - 1))) { bufferOut.append("</span>"); } break; - default: // everything else + default: // everything else bufferOut.append(presentChar); } qualifiedIdentifierLength = 0; @@ -1254,7 +1254,7 @@ public class Java2xhtml bufferOut.append("</pre>\r\n"); // end block early if no more source code - if ((lineModulus > 0) && hasLineModulusCodeBlocks && !isNewBlock && + if ((lineModulus > 0) && hasLineModulusCodeBlocks && !isNewBlock && (codeLineNumber%lineModulus != 0)) { bufferOut.append(" </div>\r\n"); @@ -1315,8 +1315,8 @@ public class Java2xhtml } else { - bufferOut.append(" This is a valid\r\n"); - bufferOut.append(" <a href=\"http://"); + bufferOut.append(" This is a valid\r\n"); + bufferOut.append(" <a href=\"http://"); bufferOut.append("validator.w3.org/check/referer"); if (isXHTML_1_1) { @@ -1331,7 +1331,7 @@ public class Java2xhtml bufferOut.append("jigsaw.w3.org"); bufferOut.append("/css-validator/check/referer"); bufferOut.append("\">CSS</a>\r\n"); - bufferOut.append(" document \r\n"); + bufferOut.append(" document \r\n"); if (hasFooterDate) { bufferOut.append(" <script type=\"text/javaScript\""); diff --git a/libjava/classpath/tools/gnu/classpath/tools/javah/ClassWrapper.java b/libjava/classpath/tools/gnu/classpath/tools/javah/ClassWrapper.java index 4b4d250..ffecac3 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/javah/ClassWrapper.java +++ b/libjava/classpath/tools/gnu/classpath/tools/javah/ClassWrapper.java @@ -193,14 +193,14 @@ public class ClassWrapper superClass.makeVtable(); vtable = new ArrayList<MethodNode>(superClass.vtable); bridgeTargets = new HashSet<String>(superClass.bridgeTargets); - methodNameMap = new HashMap<String,String>(superClass.methodNameMap); + methodNameMap = new HashMap<String,String>(superClass.methodNameMap); } else { // Object. vtable = new ArrayList<MethodNode>(); bridgeTargets = new HashSet<String>(); - methodNameMap = new HashMap<String,String>(); + methodNameMap = new HashMap<String,String>(); } addLocalMethods(); addInterfaces(this); @@ -217,18 +217,18 @@ public class ClassWrapper MethodNode m = (MethodNode) i.next(); String desc = MethodHelper.getBridgeTarget(m); if (desc != null) - { - String sum = m.name + desc; - boolean newTarget = bridgeTargets.add(sum); - if (newTarget) - { - // Bridge target that is new in this class. - String cname = this.name; - int index = cname.lastIndexOf('/'); - cname = cname.substring(index + 1); - methodNameMap.put(sum, cname + "$" + m.name); - } - } + { + String sum = m.name + desc; + boolean newTarget = bridgeTargets.add(sum); + if (newTarget) + { + // Bridge target that is new in this class. + String cname = this.name; + int index = cname.lastIndexOf('/'); + cname = cname.substring(index + 1); + methodNameMap.put(sum, cname + "$" + m.name); + } + } } } @@ -255,13 +255,13 @@ public class ClassWrapper while (i.hasNext()) { MethodNode m = (MethodNode) i.next(); - String nameToUse; - String sum = m.name + m.desc; - if (bridgeTargets.contains(sum)) - nameToUse = (String) methodNameMap.get(sum); - else - nameToUse = m.name; - methodNameMap.put(sum, nameToUse); + String nameToUse; + String sum = m.name + m.desc; + if (bridgeTargets.contains(sum)) + nameToUse = (String) methodNameMap.get(sum); + else + nameToUse = m.name; + methodNameMap.put(sum, nameToUse); MethodHelper.print(out, m, this, nameToUse); } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/javah/CniPrintStream.java b/libjava/classpath/tools/gnu/classpath/tools/javah/CniPrintStream.java index 52e6e53..df2b723 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/javah/CniPrintStream.java +++ b/libjava/classpath/tools/gnu/classpath/tools/javah/CniPrintStream.java @@ -1,4 +1,4 @@ -/* CniPrintStream.java - PrintStream that emits CNI declarations +/* CniPrintStream.java - PrintStream that emits CNI declarations Copyright (C) 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -125,7 +125,7 @@ public class CniPrintStream // Add the plain class name; we'll handle it when // we process namespaces. allClasses.add(name); - return name; + return name; } // Print the C++ form of TYPE, mangling C++ keywords. @@ -142,9 +142,9 @@ public class CniPrintStream } if (type.getSort() == Type.OBJECT) { - print("::"); + print("::"); printName(getClassName(type)); - print(" *"); + print(" *"); } else { @@ -166,9 +166,9 @@ public class CniPrintStream String[] parts = name.split("::|/"); for (int i = 0; i < parts.length; i++) { - if (i != 0) - out.print("::"); - out.print(Keywords.getCxxName(parts[i])); + if (i != 0) + out.print("::"); + out.print(Keywords.getCxxName(parts[i])); } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/javah/GcjhMain.java b/libjava/classpath/tools/gnu/classpath/tools/javah/GcjhMain.java index 0b69d31..bf46648 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/javah/GcjhMain.java +++ b/libjava/classpath/tools/gnu/classpath/tools/javah/GcjhMain.java @@ -70,33 +70,33 @@ public class GcjhMain extends Main OptionGroup text = new OptionGroup("CNI text options"); text.add(new Option("add", "Insert TEXT into class body", "TEXT") { - public void parsed(String arg) throws OptionException - { - commands.add(new Text(Text.ADD, arg)); - } + public void parsed(String arg) throws OptionException + { + commands.add(new Text(Text.ADD, arg)); + } }); text.add(new Option("append", "Append TEXT after class declaration", - "TEXT") + "TEXT") { - public void parsed(String arg) throws OptionException - { - commands.add(new Text(Text.APPEND, arg)); - } + public void parsed(String arg) throws OptionException + { + commands.add(new Text(Text.APPEND, arg)); + } }); text.add(new Option("friend", "Insert TEXT as a 'friend' declaration", - "TEXT") + "TEXT") { - public void parsed(String arg) throws OptionException - { - commands.add(new Text(Text.FRIEND, arg)); - } + public void parsed(String arg) throws OptionException + { + commands.add(new Text(Text.FRIEND, arg)); + } }); text.add(new Option("prepend", "Insert TEXT before start of class", "TEXT") { - public void parsed(String arg) throws OptionException - { - commands.add(new Text(Text.PREPEND, arg)); - } + public void parsed(String arg) throws OptionException + { + commands.add(new Text(Text.PREPEND, arg)); + } }); result.add(text); @@ -105,34 +105,34 @@ public class GcjhMain extends Main // didn't add them here since they should really be unused by now. compat.add(new Option("td", "Unused compatibility option", "DIRECTORY") { - public void parsed(String arg) throws OptionException - { - } + public void parsed(String arg) throws OptionException + { + } }); // I don't believe anyone ever used these options. compat.add(new Option("M", "Unused compatibility option") { - public void parsed(String arg) throws OptionException - { - } + public void parsed(String arg) throws OptionException + { + } }); compat.add(new Option("MM", "Unused compatibility option") { - public void parsed(String arg) throws OptionException - { - } + public void parsed(String arg) throws OptionException + { + } }); compat.add(new Option("MD", "Unused compatibility option") { - public void parsed(String arg) throws OptionException - { - } + public void parsed(String arg) throws OptionException + { + } }); compat.add(new Option("MMD", "Unused compatibility option") { - public void parsed(String arg) throws OptionException - { - } + public void parsed(String arg) throws OptionException + { + } }); result.add(compat); diff --git a/libjava/classpath/tools/gnu/classpath/tools/javah/JniHelper.java b/libjava/classpath/tools/gnu/classpath/tools/javah/JniHelper.java index f2ca90e..9225444 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/javah/JniHelper.java +++ b/libjava/classpath/tools/gnu/classpath/tools/javah/JniHelper.java @@ -1,4 +1,4 @@ -/* JniHelper.java - name mangling and other JNI support +/* JniHelper.java - name mangling and other JNI support Copyright (C) 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. diff --git a/libjava/classpath/tools/gnu/classpath/tools/javah/JniIncludePrinter.java b/libjava/classpath/tools/gnu/classpath/tools/javah/JniIncludePrinter.java index bbede8e..cb8bcd8 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/javah/JniIncludePrinter.java +++ b/libjava/classpath/tools/gnu/classpath/tools/javah/JniIncludePrinter.java @@ -75,7 +75,7 @@ public class JniIncludePrinter if (! (field.value instanceof Integer) && ! (field.value instanceof Long)) continue; - + // Note that we don't want to mangle the field name. String name = (JniHelper.mangle(klass.name) + "_" + field.name); out.print("#undef "); diff --git a/libjava/classpath/tools/gnu/classpath/tools/javah/JniStubPrinter.java b/libjava/classpath/tools/gnu/classpath/tools/javah/JniStubPrinter.java index 41b90b0..4a1803a 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/javah/JniStubPrinter.java +++ b/libjava/classpath/tools/gnu/classpath/tools/javah/JniStubPrinter.java @@ -77,9 +77,9 @@ public class JniStubPrinter if (! klass.hasNativeMethod()) return; String xname = JniHelper.mangle(klass.name); - JniPrintStream out - = (JniPrintStream) getPrintStream(klass.name.replace('/', '_') + ".c", - klass); + JniPrintStream out + = (JniPrintStream) getPrintStream(klass.name.replace('/', '_') + ".c", + klass); if (out == null) return; out.println(); diff --git a/libjava/classpath/tools/gnu/classpath/tools/javah/Keywords.java b/libjava/classpath/tools/gnu/classpath/tools/javah/Keywords.java index 73e2c62..9c76a36 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/javah/Keywords.java +++ b/libjava/classpath/tools/gnu/classpath/tools/javah/Keywords.java @@ -44,7 +44,7 @@ public class Keywords { /* A sorted list of all C++ keywords. This is identical to the list in gcc/java/mangle.c. */ - private static final String[] words = + private static final String[] words = { "_Complex", "__alignof", diff --git a/libjava/classpath/tools/gnu/classpath/tools/javah/Main.java b/libjava/classpath/tools/gnu/classpath/tools/javah/Main.java index 15fd52c8..bec04f0 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/javah/Main.java +++ b/libjava/classpath/tools/gnu/classpath/tools/javah/Main.java @@ -248,7 +248,7 @@ public class Main { if (cniOrJniSeen && cni) throw new OptionException("only one of -jni or -cni may be used"); - cniOrJniSeen = true; + cniOrJniSeen = true; cni = false; } }); @@ -258,7 +258,7 @@ public class Main { if (cniOrJniSeen && ! cni) throw new OptionException("only one of -jni or -cni may be used"); - cniOrJniSeen = true; + cniOrJniSeen = true; cni = true; } }); @@ -323,8 +323,8 @@ public class Main Iterator<Map.Entry<File,ClassWrapper>> i = klasses.entrySet().iterator(); while (i.hasNext()) { - Map.Entry<File,ClassWrapper> e = i.next(); - File file = e.getKey(); + Map.Entry<File,ClassWrapper> e = i.next(); + File file = e.getKey(); ClassWrapper klass = e.getValue(); if (verbose) System.err.println("[writing " + klass + " as " + file + "]"); @@ -393,14 +393,14 @@ public class Main // file name. Object item = i.next(); ClassWrapper klass; - File filename; + File filename; if (item instanceof File) { // Load class from file. if (verbose) System.err.println("[reading file " + item + "]"); klass = getClass((File) item); - filename = new File(klass.name); + filename = new File(klass.name); } else { @@ -408,9 +408,9 @@ public class Main String className = ((String) item).replace('.', '/'); if (verbose) System.err.println("[reading class " + className + "]"); - // Use the name the user specified, even if it is - // different from the ultimate class name. - filename = new File(className); + // Use the name the user specified, even if it is + // different from the ultimate class name. + filename = new File(className); klass = getClass(className); } results.put(filename, klass); @@ -452,7 +452,7 @@ public class Main URL url = loader.findResource(resource); if (url == null) throw new IOException("can't find class file " + resource - + " in " + loader); + + " in " + loader); InputStream is = url.openStream(); ClassWrapper result = readClass(is); classMap.put(name, result); diff --git a/libjava/classpath/tools/gnu/classpath/tools/javah/MethodHelper.java b/libjava/classpath/tools/gnu/classpath/tools/javah/MethodHelper.java index 8743f9a..d65cc93 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/javah/MethodHelper.java +++ b/libjava/classpath/tools/gnu/classpath/tools/javah/MethodHelper.java @@ -97,7 +97,7 @@ public class MethodHelper { out.print(Type.getReturnType(meth.desc)); out.print(" "); - out.printName(realMethodName); + out.printName(realMethodName); } else { diff --git a/libjava/classpath/tools/gnu/classpath/tools/keytool/CACertCmd.java b/libjava/classpath/tools/gnu/classpath/tools/keytool/CACertCmd.java index a53a8b2..603385d 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/keytool/CACertCmd.java +++ b/libjava/classpath/tools/gnu/classpath/tools/keytool/CACertCmd.java @@ -65,7 +65,7 @@ import java.util.logging.Logger; * <dd>The fully qualified path of the file containing the trusted CA * certificate to import. If omitted, the tool will process STDIN. * <p></dd> - * + * * <dt>-storetype STORE_TYPE</dt> * <dd>Use this option to specify the type of the key store to use. The * default value, if this option is omitted, is that of the property @@ -73,7 +73,7 @@ import java.util.logging.Logger; * obtained by invoking the {@link java.security.KeyStore#getDefaultType()} * static method. * <p></dd> - * + * * <dt>-keystore URL</dt> * <dd>Use this option to specify the location of the key store to use. * The default value is a file {@link java.net.URL} referencing the file @@ -86,13 +86,13 @@ import java.util.logging.Logger; * name (with absolute or relative path-name) of a key store --as if the * protocol was <code>file:</code>. * <p></dd> - * + * * <dt>-storepass PASSWORD</dt> * <dd>Use this option to specify the password protecting the key store. If * this option is omitted from the command line, you will be prompted to * provide a password. * <p></dd> - * + * * <dt>-provider PROVIDER_CLASS_NAME</dt> * <dd>A fully qualified class name of a Security Provider to add to the * current list of Security Providers already installed in the JVM in-use. @@ -100,7 +100,7 @@ import java.util.logging.Logger; * added to the runtime --i.e. it was not already installed-- then the tool * will attempt to removed this Security Provider before exiting. * <p></dd> - * + * * <dt>-v</dt> * <dd>Use this option to enable more verbose output.</dd> * </dl> @@ -278,7 +278,7 @@ public class CACertCmd * replaces any space and dot characters with underscores. For example the * input string <code>brasil.gov.br.cert</code> will result in * <code>brasil_gov_br</code> as its alias. - * + * * @param fileName the name of the file containing the CA certificate * @return a string which can, and will, be used as the Alias of this CA * certificate. diff --git a/libjava/classpath/tools/gnu/classpath/tools/keytool/CertReqCmd.java b/libjava/classpath/tools/gnu/classpath/tools/keytool/CertReqCmd.java index 327320a..e14fa49 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/keytool/CertReqCmd.java +++ b/libjava/classpath/tools/gnu/classpath/tools/keytool/CertReqCmd.java @@ -84,14 +84,14 @@ import javax.security.auth.x500.X500Principal; * signatureAlgorithm AlgorithmIdentifier, * signature BIT STRING * } - * + * * CertificationRequestInfo ::= SEQUENCE { * version INTEGER -- v1(0) * subject Name, * subjectPKInfo SubjectPublicKeyInfo, * attributes [0] IMPLICIT Attributes -- see note later * } - * + * * SubjectPublicKeyInfo ::= SEQUENCE { * algorithm AlgorithmIdentifier, * subjectPublicKey BIT STRING @@ -114,7 +114,7 @@ import javax.security.auth.x500.X500Principal; * a default value of <code>mykey</code> shall be used when this option is * omitted from the command line. * <p></dd> - * + * * <dt>-sigalg ALGORITHM</dt> * <dd>The canonical name of the digital signature algorithm to use for * signing the certificate. If this option is omitted, a default value will @@ -124,11 +124,11 @@ import javax.security.auth.x500.X500Principal; * If on the other hand the private key is an <code>RSA</code> one, then * the tool will use <code>MD5withRSA</code> as the signature algorithm. * <p></dd> - * + * * <dt>-file FILE_NAME</dt> - * + * * <dt>-keypass PASSWORD</dt> - * + * * <dt>-storetype STORE_TYPE</dt> * <dd>Use this option to specify the type of the key store to use. The * default value, if this option is omitted, is that of the property @@ -136,7 +136,7 @@ import javax.security.auth.x500.X500Principal; * obtained by invoking the {@link java.security.KeyStore#getDefaultType()} * static method. * <p></dd> - * + * * <dt>-keystore URL</dt> * <dd>Use this option to specify the location of the key store to use. * The default value is a file {@link java.net.URL} referencing the file @@ -149,13 +149,13 @@ import javax.security.auth.x500.X500Principal; * name (with absolute or relative path-name) of a key store --as if the * protocol was <code>file:</code>. * <p></dd> - * + * * <dt>-storepass PASSWORD</dt> * <dd>Use this option to specify the password protecting the key store. If * this option is omitted from the command line, you will be prompted to * provide a password. * <p></dd> - * + * * <dt>-provider PROVIDER_CLASS_NAME</dt> * <dd>A fully qualified class name of a Security Provider to add to the * current list of Security Providers already installed in the JVM in-use. @@ -163,11 +163,11 @@ import javax.security.auth.x500.X500Principal; * added to the runtime --i.e. it was not already installed-- then the tool * will attempt to removed this Security Provider before exiting. * <p></dd> - * + * * <dt>-v</dt> * <dd>Use this option to enable more verbose output. * <p></dd> - * + * * <dt>-attributes</dt> * <dd>Use this option to force the tool to encode a NULL DER value in the * CSR as the value of the Attributes field.</dd> @@ -421,9 +421,9 @@ class CertReqCmd extends Command * @param publicKey * @param privateKey * @return the DER encoded Certificate Signing Request. - * @throws IOException - * @throws InvalidKeyException - * @throws SignatureException + * @throws IOException + * @throws InvalidKeyException + * @throws SignatureException */ private byte[] getCSR(X500Principal aliasName, PublicKey publicKey, PrivateKey privateKey) @@ -454,7 +454,7 @@ class CertReqCmd extends Command sigAlgorithm.trimToSize(); DERValue derSignatureAlgorithm = new DERValue(DER.CONSTRUCTED | DER.SEQUENCE, sigAlgorithm); - + signatureAlgorithm.initSign(privateKey); signatureAlgorithm.update(derCertRequestInfo.getEncoded()); byte[] sigBytes = signatureAlgorithm.sign(); diff --git a/libjava/classpath/tools/gnu/classpath/tools/keytool/Command.java b/libjava/classpath/tools/gnu/classpath/tools/keytool/Command.java index af91e4a..050e75b 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/keytool/Command.java +++ b/libjava/classpath/tools/gnu/classpath/tools/keytool/Command.java @@ -192,7 +192,7 @@ abstract class Command * implementation attempts to release any resources that may have been * allocated at the time the exception occurs, before re-throwing that * exception. - * + * * @throws Exception if an exception occurs during the processing of this * command. For a more comprehensive list of exceptions that may * occur, see the documentation of the {@link #setup()} and @@ -235,7 +235,7 @@ abstract class Command * <code>startIndex</code> argument pointing to the keyword argument that * uniquelly identifies the command itself; e.g. <code>-genkey</code> or * <code>-list</code>, etc... - * + * * @param args an array of options for this handler and possibly other * commands and their options. * @return the remaining un-processed <code>args</code>. @@ -257,7 +257,7 @@ abstract class Command * <p> * Handlers usually initialize their local variables and resources within the * scope of this call. - * + * * @throws IOException if an I/O related exception, such as opening an input * stream, occurs during the execution of this method. * @throws UnsupportedCallbackException if a requested callback handler @@ -284,7 +284,7 @@ abstract class Command * <p> * The code in this (abstract) class throws a <i>Not implemented yet</i> * runtime exception. Concrete implementations MUST override this method. - * + * * @throws CertificateException If no concrete implementation was found for a * certificate Factory of a designated type. In this tool, the type * is usually X.509 v1. @@ -378,7 +378,7 @@ abstract class Command * <code>false</code> to the first argument implying that no attempt to * create the keystore will be made if one was not found at the designated * location. - * + * * @param className the potentially null fully qualified class name of a * security provider to add at runtime, if no installed provider is * able to provide a key store implementation of the desired type. @@ -398,7 +398,7 @@ abstract class Command /** * Convenience method to setup the key store given its type, its password, its * location and portentially a specialized security provider. - * + * * @param createIfNotFound if <code>true</code> then create the keystore if * it was not found; otherwise do not. * @param className the potentially null fully qualified class name of a @@ -422,7 +422,7 @@ abstract class Command /** * Set a security provider class name to (install and) use for key store * related operations. - * + * * @param className the possibly null, fully qualified class name of a * security provider to add, if it is not already installed, to the * set of available providers. @@ -447,7 +447,7 @@ abstract class Command /** * Set the type of key store to initialize, load and use. - * + * * @param type the possibly null type of the key store. if this argument is * <code>null</code>, or is an empty string, then this method sets * the type of the key store to be the default value returned from @@ -468,7 +468,7 @@ abstract class Command /** * Set the key password given a command line option argument. If no value was * present on the command line then prompt the user to provide one. - * + * * @param password a possibly null key password gleaned from the command line. * @throws IOException if an I/O related exception occurs. * @throws UnsupportedCallbackException if no concrete implementation of a @@ -485,7 +485,7 @@ abstract class Command /** * Set the Alias to use when associating Key Entries and Trusted Certificates * in the current key store. - * + * * @param name the possibly null alias to use. If this arfument is * <code>null</code>, then a default value of <code>mykey</code> * will be used instead. @@ -497,7 +497,7 @@ abstract class Command /** * Set the key password given a command line option argument. - * + * * @param password a possibly null key password gleaned from the command line. */ protected void setKeyPasswordNoPrompt(String password) @@ -509,7 +509,7 @@ abstract class Command /** * Prompt the user to provide a password to protect a Key Entry in the key * store. - * + * * @throws IOException if an I/O related exception occurs. * @throws UnsupportedCallbackException if no concrete implementation of a * password callback was found at runtime. @@ -545,7 +545,7 @@ abstract class Command /** * Set the key store URL to use. - * + * * @param createIfNotFound when <code>true</code> an attempt to create a * keystore at the designated location will be made. If * <code>false</code> then no file creation is carried out, which @@ -699,7 +699,7 @@ abstract class Command /** * Set both the key-pair generation algorithm, and the digital signature * algorithm instances to use when generating new entries. - * + * * @param kpAlg the possibly null name of a key-pair generator algorithm. * if this argument is <code>null</code> or is an empty string, the * "DSS" algorithm will be used. @@ -754,7 +754,7 @@ abstract class Command * <code>MD5withRSA</code>. If the private key is neither a private DSA nor * a private RSA key, then this method throws an * {@link IllegalArgumentException}. - * + * * @param algorithm the possibly null name of a digital signature algorithm. * @param privateKey an instance of a private key to use as a fal-back option * when <code>algorithm</code> is invalid. @@ -780,7 +780,7 @@ abstract class Command /** * Set the validity period, in number of days, to use when issuing new * certificates. - * + * * @param days the number of days, as a string, the generated certificate will * be valid for, starting from today's date. if this argument is * <code>null</code>, a default value of <code>90</code> days @@ -807,14 +807,14 @@ abstract class Command * RFC-2459 (http://rfc.net/rfc2459.html) fully describes the structure and * semantics of X.509 certificates. The ASN.1 structures below are gleaned * from that reference. - * + * * <pre> * Certificate ::= SEQUENCE { * tbsCertificate TBSCertificate, * signatureAlgorithm AlgorithmIdentifier, * signatureValue BIT STRING * } - * + * * TBSCertificate ::= SEQUENCE { * version [0] EXPLICIT Version DEFAULT v1, * serialNumber CertificateSerialNumber, @@ -824,29 +824,29 @@ abstract class Command * subject Name, * subjectPublicKeyInfo SubjectPublicKeyInfo * } - * + * * Version ::= INTEGER { v1(0), v2(1), v3(2) } - * + * * CertificateSerialNumber ::= INTEGER - * + * * Validity ::= SEQUENCE { * notBefore Time, * notAfter Time * } - * + * * Time ::= CHOICE { * utcTime UTCTime, * generalTime GeneralizedTime * } - * + * * UniqueIdentifier ::= BIT STRING - * + * * SubjectPublicKeyInfo ::= SEQUENCE { * algorithm AlgorithmIdentifier, * subjectPublicKey BIT STRING * } * </pre> - * + * * @param distinguishedName the X.500 Distinguished Name to use as both the * Issuer and Subject of the self-signed certificate to generate. * @param publicKey the public key of the issuer/subject. @@ -890,7 +890,7 @@ abstract class Command // algorithm field in an AlgorithmIdentifier, the encoding shall omit // the parameters field. That is, the AlgorithmIdentifier shall be a // SEQUENCE of one component - the OBJECT IDENTIFIER id-dsa-with-sha1. - // + // // for RSA signatures: // ...When any of these three OIDs (i.e. xxxWithRSAEncryption) appears // within the ASN.1 type AlgorithmIdentifier, the parameters component of @@ -905,7 +905,7 @@ abstract class Command long notBefore = System.currentTimeMillis(); long notAfter = notBefore + validityInDays * MILLIS_IN_A_DAY; - + ArrayList validity = new ArrayList(2); validity.add(new DERValue(DER.UTC_TIME, new Date(notBefore))); validity.add(new DERValue(DER.UTC_TIME, new Date(notAfter))); @@ -958,30 +958,30 @@ abstract class Command * signature algorithm used to sign the certificate. The OIDs returned are * those described in RFC-2459. They are listed here for the sake of * completness. - * + * * <pre> * id-dsa-with-sha1 OBJECT IDENTIFIER ::= { * iso(1) member-body(2) us(840) x9-57 (10040) x9cm(4) 3 * } - * + * * md2WithRSAEncryption OBJECT IDENTIFIER ::= { * iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-1(1) 2 * } - * + * * md5WithRSAEncryption OBJECT IDENTIFIER ::= { * iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-1(1) 4 * } - * + * * sha-1WithRSAEncryption OBJECT IDENTIFIER ::= { * iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-1(1) 5 * } * </pre> - * + * * <b>IMPORTANT</b>: This method checks the signature algorithm name against * (a) The GNU algorithm implementation's name, and (b) publicly referenced * names of the same algorithm. In other words this search is not * comprehensive and may fail for uncommon names of the same algorithms. - * + * * @return the OID of the signature algorithm in use. * @throws InvalidParameterException if the concrete signature algorithm does * not know its name, no OID is known/supported for that name, or we @@ -1001,7 +1001,7 @@ abstract class Command if (algorithm.equalsIgnoreCase(Registry.DSS_SIG) || algorithm.equalsIgnoreCase("SHA1withDSA")) //$NON-NLS-1$ return SHA1_WITH_DSA; - + if (algorithm.equalsIgnoreCase(Registry.RSA_PKCS1_V1_5_SIG + "-" //$NON-NLS-1$ + Registry.MD2_HASH) || algorithm.equalsIgnoreCase("MD2withRSA")) //$NON-NLS-1$ @@ -1027,7 +1027,7 @@ abstract class Command * by handlers if/when the key store password has changed, or amendements have * been made to the contents of the store; e.g. addition of a new Key Entry or * a Trusted Certificate. - * + * * @param password the password protecting the key store. * @throws IOException if an I/O related exception occurs during the process. * @throws CertificateException if any of the certificates in the current key @@ -1057,8 +1057,8 @@ abstract class Command /** * Convenience method. Calls the method with the same name passing it the - * same password characters used to initially load the key-store. - * + * same password characters used to initially load the key-store. + * * @throws IOException if an I/O related exception occurs during the process. * @throws KeyStoreException if the key store has not been loaded previously. * @throws NoSuchAlgorithmException if a required data integrity algorithm @@ -1075,7 +1075,7 @@ abstract class Command /** * Prints a human-readable form of the designated certificate to a designated * {@link PrintWriter}. - * + * * @param certificate the certificate to process. * @param writer where to print it. * @throws CertificateEncodingException if an exception occurs while obtaining @@ -1099,7 +1099,7 @@ abstract class Command /** * Convenience method. Prints a human-readable form of the designated * certificate to <code>System.out</code>. - * + * * @param certificate the certificate to process. * @throws CertificateEncodingException if an exception occurs while obtaining * the DER encoded form <code>certificate</code>. @@ -1114,7 +1114,7 @@ abstract class Command * Digest the designated contents with MD5 and return a string representation * suitable for use as a fingerprint; i.e. sequence of hexadecimal pairs of * characters separated by a colon. - * + * * @param contents the non-null contents to digest. * @return a sequence of hexadecimal pairs of characters separated by colons. */ @@ -1138,7 +1138,7 @@ abstract class Command /** * Ensure that the currently set Alias is contained in the currently set key * store; otherwise throw an exception. - * + * * @throws KeyStoreException if the keystore has not been loaded. * @throws IllegalArgumentException if the currently set alias is not known to * the currently set key store. @@ -1153,7 +1153,7 @@ abstract class Command /** * Ensure that the currently set Alias is associated with a Key Entry in the * currently set key store; otherwise throw an exception. - * + * * @throws KeyStoreException if the keystore has not been loaded. * @throws SecurityException if the currently set alias is not a Key Entry in * the currently set key store. @@ -1204,7 +1204,7 @@ abstract class Command * provider, by-passing the Security search mechanism. The default console * callback handler implementation is * {@link gnu.javax.security.auth.callback.ConsoleCallbackHandler}. - * + * * @return a console-based {@link CallbackHandler}. */ protected CallbackHandler getCallbackHandler() diff --git a/libjava/classpath/tools/gnu/classpath/tools/keytool/DeleteCmd.java b/libjava/classpath/tools/gnu/classpath/tools/keytool/DeleteCmd.java index 53611b2..5a9cbfd 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/keytool/DeleteCmd.java +++ b/libjava/classpath/tools/gnu/classpath/tools/keytool/DeleteCmd.java @@ -70,7 +70,7 @@ import javax.security.auth.callback.UnsupportedCallbackException; * a default value of <code>mykey</code> shall be used when this option is * omitted from the command line. * <p></dd> - * + * * <dt>-storetype STORE_TYPE</dt> * <dd>Use this option to specify the type of the key store to use. The * default value, if this option is omitted, is that of the property @@ -78,7 +78,7 @@ import javax.security.auth.callback.UnsupportedCallbackException; * obtained by invoking the {@link java.security.KeyStore#getDefaultType()} * static method. * <p></dd> - * + * * <dt>-keystore URL</dt> * <dd>Use this option to specify the location of the key store to use. * The default value is a file {@link java.net.URL} referencing the file @@ -91,13 +91,13 @@ import javax.security.auth.callback.UnsupportedCallbackException; * name (with absolute or relative path-name) of a key store --as if the * protocol was <code>file:</code>. * <p></dd> - * + * * <dt>-storepass PASSWORD</dt> * <dd>Use this option to specify the password protecting the key store. If * this option is omitted from the command line, you will be prompted to * provide a password. * <p></dd> - * + * * <dt>-provider PROVIDER_CLASS_NAME</dt> * <dd>A fully qualified class name of a Security Provider to add to the * current list of Security Providers already installed in the JVM in-use. @@ -105,7 +105,7 @@ import javax.security.auth.callback.UnsupportedCallbackException; * added to the runtime --i.e. it was not already installed-- then the tool * will attempt to removed this Security Provider before exiting. * <p></dd> - * + * * <dt>-v</dt> * <dd>Use this option to enable more verbose output.</dd> * </dl> @@ -257,7 +257,7 @@ class DeleteCmd extends Command * Unlike in other keytool handlers, the default value (<i>mykey</i>) for the * Alias is not used. Instead, if an alias was not found on the command line, * the user is prompted to enter one. - * + * * @param anAlias a possibly null Alias gleaned from the command line. * @throws IOException if an I/O related exception occurs during the process. * @throws UnsupportedCallbackException if no implementation of a password diff --git a/libjava/classpath/tools/gnu/classpath/tools/keytool/ExportCmd.java b/libjava/classpath/tools/gnu/classpath/tools/keytool/ExportCmd.java index e0f1654..035fbab 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/keytool/ExportCmd.java +++ b/libjava/classpath/tools/gnu/classpath/tools/keytool/ExportCmd.java @@ -69,12 +69,12 @@ import java.util.logging.Logger; * a default value of <code>mykey</code> shall be used when this option is * omitted from the command line. * <p></dd> - * + * * <dt>-file FILE_NAME</dt> * <dd>The fully qualified path of the file where the certificate will be * exported to. If omitted, STDOUT will be used instead. * <p></dd> - * + * * <dt>-storetype STORE_TYPE</dt> * <dd>Use this option to specify the type of the key store to use. The * default value, if this option is omitted, is that of the property @@ -82,7 +82,7 @@ import java.util.logging.Logger; * obtained by invoking the {@link java.security.KeyStore#getDefaultType()} * static method. * <p></dd> - * + * * <dt>-keystore URL</dt> * <dd>Use this option to specify the location of the key store to use. * The default value is a file {@link java.net.URL} referencing the file @@ -95,13 +95,13 @@ import java.util.logging.Logger; * name (with absolute or relative path-name) of a key store --as if the * protocol was <code>file:</code>. * <p></dd> - * + * * <dt>-storepass PASSWORD</dt> * <dd>Use this option to specify the password protecting the key store. If * this option is omitted from the command line, you will be prompted to * provide a password. * <p></dd> - * + * * <dt>-provider PROVIDER_CLASS_NAME</dt> * <dd>A fully qualified class name of a Security Provider to add to the * current list of Security Providers already installed in the JVM in-use. @@ -109,11 +109,11 @@ import java.util.logging.Logger; * added to the runtime --i.e. it was not already installed-- then the tool * will attempt to removed this Security Provider before exiting. * <p></dd> - * + * * <dt>-rfc</dt> * <dd>Use RFC-1421 specifications when encoding the output. * <p></dd> - * + * * <dt>-v</dt> * <dd>Output the certificate in binary DER encoding. This is the default * output format of the command if neither <code>-rfc</code> nor diff --git a/libjava/classpath/tools/gnu/classpath/tools/keytool/GenKeyCmd.java b/libjava/classpath/tools/gnu/classpath/tools/keytool/GenKeyCmd.java index 79d3824..b892ca7 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/keytool/GenKeyCmd.java +++ b/libjava/classpath/tools/gnu/classpath/tools/keytool/GenKeyCmd.java @@ -83,21 +83,21 @@ import javax.security.auth.callback.UnsupportedCallbackException; * a default value of <code>mykey</code> shall be used when this option is * omitted from the command line. * <p></dd> - * + * * <dt>-keyalg ALGORITHM</dt> * <dd>Use this option to specify the canonical name of the key-pair * generation algorithm. The default value for this option is * <code>DSS</code> (a synonym for the Digital Signature Algorithm also * known as <code>DSA</code>). * <p></dd> - * + * * <dt>-keysize KEY_SIZE</dt> * <dd>Use this option to specify the number of bits of the shared modulus * (for both the public and private keys) to use when generating new keys. * A default value of <code>1024</code> will be used if this option is * omitted from the command line. * <p></dd> - * + * * <dt>-sigalg ALGORITHM</dt> * <dd>The canonical name of the digital signature algorithm to use for * signing certificates. If this option is omitted, a default value will be @@ -108,7 +108,7 @@ import javax.security.auth.callback.UnsupportedCallbackException; * key-pair generation algorithm is <code>RSA</code>, then the tool will * use <code>MD5withRSA</code> as the signature algorithm. * <p></dd> - * + * * <dt>-dname NAME</dt> * <dd>This a mandatory value for this command. If this option is omitted * the tool will prompt you to enter a <i>Distinguished Name</i> to use as @@ -122,19 +122,19 @@ import javax.security.auth.callback.UnsupportedCallbackException; * <dl> * <dt>CN</dt> * <dd>The Common Name; e.g. "host.domain.com"</dd> - * + * * <dt>OU</dt> * <dd>The Organizational Unit; e.g. "IT Department"</dd> - * + * * <dt>O</dt> * <dd>The Organization Name; e.g. "The Sample Company"</dd> - * + * * <dt>L</dt> * <dd>The Locality Name; e.g. "Sydney"</dd> - * + * * <dt>ST</dt> * <dd>The State Name; e.g. "New South Wales"</dd> - * + * * <dt>C</dt> * <dd>The 2-letter Country identifier; e.g. "AU"</dd> * </dl> @@ -149,16 +149,16 @@ import javax.security.auth.callback.UnsupportedCallbackException; * If this option is omitted, the tool will prompt you to enter the * information through the console. * <p></dd> - * + * * <dt>-keypass PASSWORD</dt> * <dd>Use this option to specify the password which the tool will use to * protect the newly created Key Entry. * <p> * If this option is omitted, you will be prompted to provide a password. * <p></dd> - * + * * <dt>-validity DAY_COUNT</dt> - * + * * <dt>-storetype STORE_TYPE</dt> * <dd>Use this option to specify the type of the key store to use. The * default value, if this option is omitted, is that of the property @@ -166,7 +166,7 @@ import javax.security.auth.callback.UnsupportedCallbackException; * obtained by invoking the {@link java.security.KeyStore#getDefaultType()} * static method. * <p></dd> - * + * * <dt>-keystore URL</dt> * <dd>Use this option to specify the location of the key store to use. * The default value is a file {@link java.net.URL} referencing the file @@ -179,13 +179,13 @@ import javax.security.auth.callback.UnsupportedCallbackException; * name (with absolute or relative path-name) of a key store --as if the * protocol was <code>file:</code>. * <p></dd> - * + * * <dt>-storepass PASSWORD</dt> * <dd>Use this option to specify the password protecting the key store. If * this option is omitted from the command line, you will be prompted to * provide a password. * <p></dd> - * + * * <dt>-provider PROVIDER_CLASS_NAME</dt> * <dd>A fully qualified class name of a Security Provider to add to the * current list of Security Providers already installed in the JVM in-use. @@ -193,7 +193,7 @@ import javax.security.auth.callback.UnsupportedCallbackException; * added to the runtime --i.e. it was not already installed-- then the tool * will attempt to removed this Security Provider before exiting. * <p></dd> - * + * * <dt>-v</dt> * <dd>Use this option to enable more verbose output.</dd> * </dl> diff --git a/libjava/classpath/tools/gnu/classpath/tools/keytool/IdentityDBCmd.java b/libjava/classpath/tools/gnu/classpath/tools/keytool/IdentityDBCmd.java index ac0ee13..e52c902 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/keytool/IdentityDBCmd.java +++ b/libjava/classpath/tools/gnu/classpath/tools/keytool/IdentityDBCmd.java @@ -61,7 +61,7 @@ import java.util.logging.Logger; * <dd>The fully qualified path of the identity file to import. If this * option is omitted, the tool will process STDIN. * <p></dd> - * + * * <dt>-storetype STORE_TYPE</dt> * <dd>Use this option to specify the type of the key store to use. The * default value, if this option is omitted, is that of the property @@ -69,7 +69,7 @@ import java.util.logging.Logger; * obtained by invoking the {@link java.security.KeyStore#getDefaultType()} * static method. * <p></dd> - * + * * <dt>-keystore URL</dt> * <dd>Use this option to specify the location of the key store to use. * The default value is a file {@link java.net.URL} referencing the file @@ -82,13 +82,13 @@ import java.util.logging.Logger; * name (with absolute or relative path-name) of a key store --as if the * protocol was <code>file:</code>. * <p></dd> - * + * * <dt>-storepass PASSWORD</dt> * <dd>Use this option to specify the password protecting the key store. If * this option is omitted from the command line, you will be prompted to * provide a password. * <p></dd> - * + * * <dt>-provider PROVIDER_CLASS_NAME</dt> * <dd>A fully qualified class name of a Security Provider to add to the * current list of Security Providers already installed in the JVM in-use. @@ -96,7 +96,7 @@ import java.util.logging.Logger; * added to the runtime --i.e. it was not already installed-- then the tool * will attempt to removed this Security Provider before exiting. * <p></dd> - * + * * <dt>-v</dt> * <dd>Use this option to enable more verbose output.</dd> * </dl> diff --git a/libjava/classpath/tools/gnu/classpath/tools/keytool/ImportCmd.java b/libjava/classpath/tools/gnu/classpath/tools/keytool/ImportCmd.java index 18a21aa..b68760d 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/keytool/ImportCmd.java +++ b/libjava/classpath/tools/gnu/classpath/tools/keytool/ImportCmd.java @@ -120,12 +120,12 @@ import javax.security.auth.callback.UnsupportedCallbackException; * a default value of <code>mykey</code> shall be used when this option is * omitted from the command line. * <p></dd> - * + * * <dt>-file FILE_NAME</dt> * <dd>The fully qualified path of the file to read from. If omitted, the * tool will process STDIN. * <p></dd> - * + * * <dt>-keypass PASSWORD</dt> * <dd>Use this option to specify the password which the tool will use to * protect the <i>Key Entry</i> associated with the designated <i>Alias</i>, @@ -137,18 +137,18 @@ import javax.security.auth.callback.UnsupportedCallbackException; * <i>Key Entry</i> using the same password protecting the key store. If * this fails, you will then be prompted to provide a password. * <p></dd> - * + * * <dt>-noprompt</dt> * <dd>Use this option to prevent the tool from prompting the user. * <p></dd> - * + * * <dt>-trustcacerts</dt> * <dd>Use this option to indicate to the tool that a key store, of type * <code>JKS</code>, named <code>cacerts</code>, and usually located in * <code>lib/security</code> in an installed Java Runtime Environment * should be considered when trying to establish chain-of-trusts. * <p></dd> - * + * * <dt>-storetype STORE_TYPE</dt> * <dd>Use this option to specify the type of the key store to use. The * default value, if this option is omitted, is that of the property @@ -156,7 +156,7 @@ import javax.security.auth.callback.UnsupportedCallbackException; * obtained by invoking the {@link java.security.KeyStore#getDefaultType()} * static method. * <p></dd> - * + * * <dt>-keystore URL</dt> * <dd>Use this option to specify the location of the key store to use. * The default value is a file {@link java.net.URL} referencing the file @@ -169,13 +169,13 @@ import javax.security.auth.callback.UnsupportedCallbackException; * name (with absolute or relative path-name) of a key store --as if the * protocol was <code>file:</code>. * <p></dd> - * + * * <dt>-storepass PASSWORD</dt> * <dd>Use this option to specify the password protecting the key store. If * this option is omitted from the command line, you will be prompted to * provide a password. * <p></dd> - * + * * <dt>-provider PROVIDER_CLASS_NAME</dt> * <dd>A fully qualified class name of a Security Provider to add to the * current list of Security Providers already installed in the JVM in-use. @@ -183,7 +183,7 @@ import javax.security.auth.callback.UnsupportedCallbackException; * added to the runtime --i.e. it was not already installed-- then the tool * will attempt to removed this Security Provider before exiting. * <p></dd> - * + * * <dt>-v</dt> * <dd>Use this option to enable more verbose output.</dd> * </dl> @@ -468,14 +468,14 @@ class ImportCmd extends Command * with the option of aborting the import operation. If however the option * <code>-noprompt</code> was detected on the command line, no interaction * with the user will take place and the import operation will abort. - * + * * @throws CertificateException * @throws KeyStoreException * @throws NoSuchAlgorithmException - * @throws UnsupportedCallbackException - * @throws IOException - * @throws UnrecoverableKeyException - * @throws CertPathValidatorException + * @throws UnsupportedCallbackException + * @throws IOException + * @throws UnrecoverableKeyException + * @throws CertPathValidatorException */ private void importNewTrustedCertificate() throws CertificateException, KeyStoreException, NoSuchAlgorithmException, IOException, @@ -514,7 +514,7 @@ class ImportCmd extends Command * found in the key store, of type <code>JKS</code> named <code>cacerts</code> * located in <code>${JAVA_HOME}/lib/security</code>, where * <code>${JAVA_HOME}</code> is the root folder location of a Java runtime. - * + * * @throws CertificateException * @throws UnsupportedCallbackException * @throws IOException @@ -552,15 +552,15 @@ class ImportCmd extends Command * out the certificate, nor does it prompt the user to verify it. This is * because it is very hard (if not impossible) for a user to determine the * authenticity of the certificate reply. - * + * * @param certificate the certificate reply to import into the key store. - * @throws NoSuchAlgorithmException - * @throws CertPathValidatorException - * @throws UnsupportedCallbackException - * @throws IOException - * @throws UnrecoverableKeyException - * @throws KeyStoreException - * @throws CertificateException + * @throws NoSuchAlgorithmException + * @throws CertPathValidatorException + * @throws UnsupportedCallbackException + * @throws IOException + * @throws UnrecoverableKeyException + * @throws KeyStoreException + * @throws CertificateException */ private void importCertificate(Certificate certificate) throws NoSuchAlgorithmException, CertPathValidatorException, @@ -596,16 +596,16 @@ class ImportCmd extends Command * The user then has the option of aborting the import operation. If the * -noprompt option is given, however, there will be no interaction with the * user. - * + * * @param chain the collection of certificates parsed from the user * designated input. - * @throws UnsupportedCallbackException - * @throws IOException - * @throws UnrecoverableKeyException - * @throws KeyStoreException - * @throws CertPathValidatorException - * @throws NoSuchAlgorithmException - * @throws CertificateException + * @throws UnsupportedCallbackException + * @throws IOException + * @throws UnrecoverableKeyException + * @throws KeyStoreException + * @throws CertPathValidatorException + * @throws NoSuchAlgorithmException + * @throws CertificateException */ private void importChain(Collection chain) throws NoSuchAlgorithmException, CertPathValidatorException, KeyStoreException, UnrecoverableKeyException, @@ -629,7 +629,7 @@ class ImportCmd extends Command * Check to ensure that alias's public key is the subject of the first * certificate in the passed certificate collection. Throws an exception if * the public keys do not match. - * + * * @param certificates a {@link Collection} of certificate replies (either a * signle certificate reply, or a PKCS#7 certificate reply chain) * usually sent by a CA as a response to a Certificate Signing @@ -720,7 +720,7 @@ class ImportCmd extends Command * designated collection which can be used as the start of the chain, or (b) * if a chain can not be constructed using all the certificates in the * designated collection. - * + * * @param chain a collection of certificates, not necessarily ordered, but * assumed to include a CA certificate authenticating our alias * public key, which is the subject of the alias self-signed @@ -772,7 +772,7 @@ class ImportCmd extends Command * the import operation. On the other hand if the <code>promptUser</code> * parameter is <code>false</code> then this method will throw an exception * if no trust anchor is to be found. - * + * * @param reply an ordered certificate path, where the last entry is the CA's * self-signed certificate. * @param promptUser a boolean flag indicating whether or not to prompt the @@ -863,7 +863,7 @@ class ImportCmd extends Command /** * Return an instance of {@link PKIXParameters} constructed using a key store * of the designated type and located at the designated path. - * + * * @param type the type of the key-store to load. * @param pathName the local File System fully qualified path name to the key * store. diff --git a/libjava/classpath/tools/gnu/classpath/tools/keytool/KeyCloneCmd.java b/libjava/classpath/tools/gnu/classpath/tools/keytool/KeyCloneCmd.java index 973ed46..a05a596 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/keytool/KeyCloneCmd.java +++ b/libjava/classpath/tools/gnu/classpath/tools/keytool/KeyCloneCmd.java @@ -77,12 +77,12 @@ import javax.security.auth.callback.UnsupportedCallbackException; * a default value of <code>mykey</code> shall be used when this option is * omitted from the command line. * <p></dd> - * + * * <dt>-dest ALIAS</dt> * <dd>Use this option to specify the new <i>Alias</i> which will be used * to identify the cloned copy of the <i>Key Entry</i>. * <p></dd> - * + * * <dt>-keypass PASSWORD</dt> * <dd>Use this option to specify the password which the tool will use to * unlock the <i>Key Entry</i> associated with the designated <i>Alias</i>. @@ -91,12 +91,12 @@ import javax.security.auth.callback.UnsupportedCallbackException; * <i>Key Entry</i> using the same password protecting the key store. If * this fails, you will then be prompted to provide a password. * <p></dd> - * + * * <dt>-new PASSWORD</dt> * <dd>Use this option to specify the password protecting the private key * material of the newly cloned copy of the <i>Key Entry</i>. * <p></dd> - * + * * <dt>-storetype STORE_TYPE</dt> * <dd>Use this option to specify the type of the key store to use. The * default value, if this option is omitted, is that of the property @@ -104,7 +104,7 @@ import javax.security.auth.callback.UnsupportedCallbackException; * obtained by invoking the {@link java.security.KeyStore#getDefaultType()} * static method. * <p></dd> - * + * * <dt>-keystore URL</dt> * <dd>Use this option to specify the location of the key store to use. * The default value is a file {@link java.net.URL} referencing the file @@ -117,13 +117,13 @@ import javax.security.auth.callback.UnsupportedCallbackException; * name (with absolute or relative path-name) of a key store --as if the * protocol was <code>file:</code>. * <p></dd> - * + * * <dt>-storepass PASSWORD</dt> * <dd>Use this option to specify the password protecting the key store. If * this option is omitted from the command line, you will be prompted to * provide a password. * <p></dd> - * + * * <dt>-provider PROVIDER_CLASS_NAME</dt> * <dd>A fully qualified class name of a Security Provider to add to the * current list of Security Providers already installed in the JVM in-use. @@ -131,7 +131,7 @@ import javax.security.auth.callback.UnsupportedCallbackException; * added to the runtime --i.e. it was not already installed-- then the tool * will attempt to removed this Security Provider before exiting. * <p></dd> - * + * * <dt>-v</dt> * <dd>Use this option to enable more verbose output.</dd> * </dl> diff --git a/libjava/classpath/tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java b/libjava/classpath/tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java index 5f91bec..7652cc8 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java +++ b/libjava/classpath/tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java @@ -77,7 +77,7 @@ import javax.security.auth.callback.UnsupportedCallbackException; * a default value of <code>mykey</code> shall be used when this option is * omitted from the command line. * <p></dd> - * + * * <dt>-keypass PASSWORD</dt> * <dd>Use this option to specify the password which the tool will use to * unlock the <i>Key Entry</i> associated with the designated <i>Alias</i>. @@ -86,12 +86,12 @@ import javax.security.auth.callback.UnsupportedCallbackException; * <i>Key Entry</i> using the same password protecting the key store. If * this fails, you will then be prompted to provide a password. * <p></dd> - * + * * <dt>-new PASSWORD</dt> * <dd>The new, and different, password which will be used to protect the * private key material of the designated Key Entry. * <p></dd> - * + * * <dt>-storetype STORE_TYPE</dt> * <dd>Use this option to specify the type of the key store to use. The * default value, if this option is omitted, is that of the property @@ -99,7 +99,7 @@ import javax.security.auth.callback.UnsupportedCallbackException; * obtained by invoking the {@link java.security.KeyStore#getDefaultType()} * static method. * <p></dd> - * + * * <dt>-keystore URL</dt> * <dd>Use this option to specify the location of the key store to use. * The default value is a file {@link java.net.URL} referencing the file @@ -112,13 +112,13 @@ import javax.security.auth.callback.UnsupportedCallbackException; * name (with absolute or relative path-name) of a key store --as if the * protocol was <code>file:</code>. * <p></dd> - * + * * <dt>-storepass PASSWORD</dt> * <dd>Use this option to specify the password protecting the key store. If * this option is omitted from the command line, you will be prompted to * provide a password. * <p></dd> - * + * * <dt>-provider PROVIDER_CLASS_NAME</dt> * <dd>A fully qualified class name of a Security Provider to add to the * current list of Security Providers already installed in the JVM in-use. @@ -126,7 +126,7 @@ import javax.security.auth.callback.UnsupportedCallbackException; * added to the runtime --i.e. it was not already installed-- then the tool * will attempt to removed this Security Provider before exiting. * <p></dd> - * + * * <dt>-v</dt> * <dd>Use this option to enable more verbose output.</dd> * </dl> @@ -317,7 +317,7 @@ class KeyPasswdCmd extends Command /** * Set the new password to use for protecting Alias's private key. - * + * * @param password the new key password. if <code>null</code> prompt the * user to provide one. When prompting, the password is entered twice * and compared for a match. diff --git a/libjava/classpath/tools/gnu/classpath/tools/keytool/ListCmd.java b/libjava/classpath/tools/gnu/classpath/tools/keytool/ListCmd.java index 9c9f871..55c8c76 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/keytool/ListCmd.java +++ b/libjava/classpath/tools/gnu/classpath/tools/keytool/ListCmd.java @@ -69,7 +69,7 @@ import java.util.logging.Logger; * a default value of <code>mykey</code> shall be used when this option is * omitted from the command line. * <p></dd> - * + * * <dt>-storetype STORE_TYPE</dt> * <dd>Use this option to specify the type of the key store to use. The * default value, if this option is omitted, is that of the property @@ -77,7 +77,7 @@ import java.util.logging.Logger; * obtained by invoking the {@link java.security.KeyStore#getDefaultType()} * static method. * <p></dd> - * + * * <dt>-keystore URL</dt> * <dd>Use this option to specify the location of the key store to use. * The default value is a file {@link java.net.URL} referencing the file @@ -90,13 +90,13 @@ import java.util.logging.Logger; * name (with absolute or relative path-name) of a key store --as if the * protocol was <code>file:</code>. * <p></dd> - * + * * <dt>-storepass PASSWORD</dt> * <dd>Use this option to specify the password protecting the key store. If * this option is omitted from the command line, you will be prompted to * provide a password. * <p></dd> - * + * * <dt>-provider PROVIDER_CLASS_NAME</dt> * <dd>A fully qualified class name of a Security Provider to add to the * current list of Security Providers already installed in the JVM in-use. @@ -104,11 +104,11 @@ import java.util.logging.Logger; * added to the runtime --i.e. it was not already installed-- then the tool * will attempt to removed this Security Provider before exiting. * <p></dd> - * + * * <dt>-rfc</dt> * <dd>Use RFC-1421 specifications when encoding the output. * <p></dd> - * + * * <dt>-v</dt> * <dd>Output the certificate in human-readable format. If both this option * and the <code>-rfc</code> option are detected on the command line, the @@ -307,7 +307,7 @@ class ListCmd extends Command /** * Prints the certificate(s) associated with the designated alias. - * + * * @param anAlias a non-null string denoting an alias in the key-store. * @param writer where to print. * @throws KeyStoreException if an exception occurs while obtaining the @@ -355,7 +355,7 @@ class ListCmd extends Command * is generated. * <p>Note that both <code>v</code> and <code>rfc</code> cannot both be * <code>true</code> at the same time. - * + * * @param chain the certificate chain to process. * @param writer where to print. * @throws CertificateEncodingException if an exception occurs while obtaining @@ -395,7 +395,7 @@ class ListCmd extends Command * is generated. * <p>Note that both <code>v</code> and <code>rfc</code> cannot both be * <code>true</code> at the same time. - * + * * @param certificate the certificate to process. * @param writer where to print. * @throws CertificateEncodingException if an exception occurs while obtaining diff --git a/libjava/classpath/tools/gnu/classpath/tools/keytool/PrintCertCmd.java b/libjava/classpath/tools/gnu/classpath/tools/keytool/PrintCertCmd.java index 2100a60..cb9d035 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/keytool/PrintCertCmd.java +++ b/libjava/classpath/tools/gnu/classpath/tools/keytool/PrintCertCmd.java @@ -62,7 +62,7 @@ import java.util.logging.Logger; * <dd>The fully qualified path of the file to read the certificate from. * If this option is omitted, the tool will process STDIN. * <p></dd> - * + * * <dt>-v</dt> * <dd>Use this option to enable more verbose output.</dd> * </dl> diff --git a/libjava/classpath/tools/gnu/classpath/tools/keytool/SelfCertCmd.java b/libjava/classpath/tools/gnu/classpath/tools/keytool/SelfCertCmd.java index f297046..395bfe2 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/keytool/SelfCertCmd.java +++ b/libjava/classpath/tools/gnu/classpath/tools/keytool/SelfCertCmd.java @@ -81,7 +81,7 @@ import javax.security.auth.x500.X500Principal; * a default value of <code>mykey</code> shall be used when this option is * omitted from the command line. * <p></dd> - * + * * <dt>-sigalg ALGORITHM</dt> * <dd>The canonical name of the digital signature algorithm to use for * signing the certificate. If this option is omitted, a default value will @@ -91,7 +91,7 @@ import javax.security.auth.x500.X500Principal; * If on the other hand the private key is an <code>RSA</code> one, then * the tool will use <code>MD5withRSA</code> as the signature algorithm. * <p></dd> - * + * * <dt>-dname NAME</dt> * <dd>Use this option to specify the <i>Distinguished Name</i> of the * newly generated self-signed certificate. If this option is omitted, the @@ -105,19 +105,19 @@ import javax.security.auth.x500.X500Principal; * <dl> * <dt>CN</dt> * <dd>The Common Name; e.g. "host.domain.com"</dd> - * + * * <dt>OU</dt> * <dd>The Organizational Unit; e.g. "IT Department"</dd> - * + * * <dt>O</dt> * <dd>The Organization Name; e.g. "The Sample Company"</dd> - * + * * <dt>L</dt> * <dd>The Locality Name; e.g. "Sydney"</dd> - * + * * <dt>ST</dt> * <dd>The State Name; e.g. "New South Wales"</dd> - * + * * <dt>C</dt> * <dd>The 2-letter Country identifier; e.g. "AU"</dd> * </dl> @@ -130,11 +130,11 @@ import javax.security.auth.x500.X500Principal; * CN=host.domain.com, O=The Sample Company, L=Sydney, ST=NSW, C=AU * </pre> * <p></dd> - * + * * <dt>-validity DAY_COUNT</dt> - * + * * <dt>-keypass PASSWORD</dt> - * + * * <dt>-storetype STORE_TYPE</dt> * <dd>Use this option to specify the type of the key store to use. The * default value, if this option is omitted, is that of the property @@ -142,7 +142,7 @@ import javax.security.auth.x500.X500Principal; * obtained by invoking the {@link java.security.KeyStore#getDefaultType()} * static method. * <p></dd> - * + * * <dt>-keystore URL</dt> * <dd>Use this option to specify the location of the key store to use. * The default value is a file {@link java.net.URL} referencing the file @@ -155,13 +155,13 @@ import javax.security.auth.x500.X500Principal; * name (with absolute or relative path-name) of a key store --as if the * protocol was <code>file:</code>. * <p></dd> - * + * * <dt>-storepass PASSWORD</dt> * <dd>Use this option to specify the password protecting the key store. If * this option is omitted from the command line, you will be prompted to * provide a password. * <p></dd> - * + * * <dt>-provider PROVIDER_CLASS_NAME</dt> * <dd>A fully qualified class name of a Security Provider to add to the * current list of Security Providers already installed in the JVM in-use. @@ -169,7 +169,7 @@ import javax.security.auth.x500.X500Principal; * added to the runtime --i.e. it was not already installed-- then the tool * will attempt to removed this Security Provider before exiting. * <p></dd> - * + * * <dt>-v</dt> * <dd>Use this option to enable more verbose output.</dd> * </dl> diff --git a/libjava/classpath/tools/gnu/classpath/tools/keytool/StorePasswdCmd.java b/libjava/classpath/tools/gnu/classpath/tools/keytool/StorePasswdCmd.java index 489eccc..24a4b0f 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/keytool/StorePasswdCmd.java +++ b/libjava/classpath/tools/gnu/classpath/tools/keytool/StorePasswdCmd.java @@ -70,7 +70,7 @@ import javax.security.auth.callback.UnsupportedCallbackException; * <dd>The new, and different, password which will be used to protect the * designated key store. * <p></dd> - * + * * <dt>-storetype STORE_TYPE</dt> * <dd>Use this option to specify the type of the key store to use. The * default value, if this option is omitted, is that of the property @@ -78,7 +78,7 @@ import javax.security.auth.callback.UnsupportedCallbackException; * obtained by invoking the {@link java.security.KeyStore#getDefaultType()} * static method. * <p></dd> - * + * * <dt>-keystore URL</dt> * <dd>Use this option to specify the location of the key store to use. * The default value is a file {@link java.net.URL} referencing the file @@ -91,13 +91,13 @@ import javax.security.auth.callback.UnsupportedCallbackException; * name (with absolute or relative path-name) of a key store --as if the * protocol was <code>file:</code>. * <p></dd> - * + * * <dt>-storepass PASSWORD</dt> * <dd>Use this option to specify the password protecting the key store. If * this option is omitted from the command line, you will be prompted to * provide a password. * <p></dd> - * + * * <dt>-provider PROVIDER_CLASS_NAME</dt> * <dd>A fully qualified class name of a Security Provider to add to the * current list of Security Providers already installed in the JVM in-use. @@ -105,7 +105,7 @@ import javax.security.auth.callback.UnsupportedCallbackException; * added to the runtime --i.e. it was not already installed-- then the tool * will attempt to removed this Security Provider before exiting. * <p></dd> - * + * * <dt>-v</dt> * <dd>Use this option to enable more verbose output.</dd> * </dl> diff --git a/libjava/classpath/tools/gnu/classpath/tools/orbd/Main.java b/libjava/classpath/tools/gnu/classpath/tools/orbd/Main.java index 05951b7..7e970ad 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/orbd/Main.java +++ b/libjava/classpath/tools/gnu/classpath/tools/orbd/Main.java @@ -54,12 +54,12 @@ import java.io.PrintStream; import java.io.UnsupportedEncodingException; /** - * The server for the GNU Classpath persistent naming service. - * + * The server for the GNU Classpath persistent naming service. + * * GNU Classpath currently works with this naming service and is also * interoperable with the Sun Microsystems naming services from releases 1.3 and * 1.4, both transient <i>tnameserv</i> and persistent <i>orbd</i>. - * + * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ public class Main @@ -78,7 +78,7 @@ public class Main /** * Get the object key for the naming service. The default key is the string * "NameService" in ASCII. - * + * * @return the byte array. */ public static byte[] getDefaultKey() diff --git a/libjava/classpath/tools/gnu/classpath/tools/orbd/PersistentContext.java b/libjava/classpath/tools/gnu/classpath/tools/orbd/PersistentContext.java index 9b4f27a..4526813 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/orbd/PersistentContext.java +++ b/libjava/classpath/tools/gnu/classpath/tools/orbd/PersistentContext.java @@ -55,7 +55,7 @@ import org.omg.CosNaming.NamingContextPackage.NotFound; * This class implements the persistent naming service, defined by * {@link NamingContext}. The 'persistent' means that the service remembers the * mappings, stored between restarts. - * + * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ public class PersistentContext @@ -65,27 +65,27 @@ public class PersistentContext * Use serial version UID for interoperability. */ private static final long serialVersionUID = 2; - + /** * The folder, where the persistent context information is stored. */ File contextFolder; - + /** * The uinque context identifier. */ static long num = System.currentTimeMillis(); - + /** * The naming service orb. */ ORB orb; - + /** * Create the persistent naming context that will store the files in the given * folder of the local file system. This method also connects object to the * passed ORB. - * + * * @param an_orb the naming service ORB, used to obtain and produce the object * stringified references. * @param folder the folder, where the persistent information is stored. @@ -97,23 +97,23 @@ public class PersistentContext { super( new PersistentContextMap(an_orb, new File(folder, "contexts.txt"), reset), - new PersistentMap(an_orb, new File(folder, "objects.txt"), reset)); + new PersistentMap(an_orb, new File(folder, "objects.txt"), reset)); contextFolder = folder; folder.mkdirs(); orb = an_orb; orb.connect(this); } - + /** * Get the unique context number; - * + * * @return the context number */ static synchronized String getNum() { return Long.toHexString(num++); } - + /** * Create new persistent context. */ @@ -122,11 +122,11 @@ public class PersistentContext File ctxFolder = new File(contextFolder, "ctx_"+getNum()); return new PersistentContext(orb, ctxFolder, true); } - + /** * Create a new context and give it a given name (bound it) in the current * context. The method benefits from passing the better readable context name. - * + * * @param a_name the name being given to the new context. * @return the newly created context. * @throws AlreadyBound if the name is already in use. @@ -148,5 +148,5 @@ public class PersistentContext NamingContext child = new PersistentContext(orb, ctxFolder, true); bind_context(a_name, child); return child; - } + } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/orbd/PersistentContextMap.java b/libjava/classpath/tools/gnu/classpath/tools/orbd/PersistentContextMap.java index e983ef3..d83f2bf 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/orbd/PersistentContextMap.java +++ b/libjava/classpath/tools/gnu/classpath/tools/orbd/PersistentContextMap.java @@ -44,8 +44,8 @@ import org.omg.CORBA.ORB; import org.omg.CORBA.Object; /** - * The persistent context naming map for the persistent naming service. - * + * The persistent context naming map for the persistent naming service. + * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ public class PersistentContextMap extends PersistentMap @@ -53,7 +53,7 @@ public class PersistentContextMap extends PersistentMap /** * Create the persistent context map that stores information in the given * file. - * + * * @param an_orb the naming service ORB, used to obtain and produce the object * stringified references. * @param mapFile the file, where the persistent information is stored. diff --git a/libjava/classpath/tools/gnu/classpath/tools/orbd/PersistentMap.java b/libjava/classpath/tools/gnu/classpath/tools/orbd/PersistentMap.java index 87ade64..a39ff28 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/orbd/PersistentMap.java +++ b/libjava/classpath/tools/gnu/classpath/tools/orbd/PersistentMap.java @@ -61,7 +61,7 @@ import org.omg.CosNaming.NamingContextPackage.InvalidName; * inherited (super.) naming map implementation is transient and is used as a * cache. During the normal work, the naming map does not read from the disk, * just stores the changes there. Map only reads from the disk when it starts. - * + * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ public class PersistentMap @@ -158,7 +158,7 @@ public class PersistentMap /** * Get the key value from the name component. - * + * * @param id the component id * @param kind the component kind * @return the key value @@ -176,7 +176,7 @@ public class PersistentMap /** * Append the contents of the string to this string buffer, inserting the * escape sequences, where required. - * + * * @param b a buffer to append the contents to. * @param s a string to append. */ @@ -214,7 +214,7 @@ public class PersistentMap * references. */ ORB orb; - + /** * If true, all existing data on the file system are discarded. */ @@ -222,7 +222,7 @@ public class PersistentMap /** * Create the persistent map that stores information in the given file. - * + * * @param an_orb the naming service ORB, used to obtain and produce the object * stringified references. * @param mapFile the file, where the persistent information is stored. @@ -264,28 +264,28 @@ public class PersistentMap } } } - + /** * Restore object from its string description. - * + * * @param description the string, describing the object - * + * * @return the object. */ protected org.omg.CORBA.Object string_to_object(String description) { return orb.string_to_object(description); } - + /** * Convert the object to its string description - * + * * @param object the object to convert * @return the string description of the object */ protected String object_to_string(org.omg.CORBA .Object object) { - return orb.object_to_string(object); + return orb.object_to_string(object); } /** @@ -293,7 +293,7 @@ public class PersistentMap * with the given name already exists, or if the given object is already * mapped under another name, the {@link AlreadyBound} exception will be * thrown. - * + * * @param name the name * @param object the object */ @@ -312,7 +312,7 @@ public class PersistentMap /** * Put the given CORBA object, specifying the given name as a key. Remove all * pre - existing mappings for the given name and object. - * + * * @param name the name. * @param object the object */ @@ -324,7 +324,7 @@ public class PersistentMap org.omg.CORBA.Object existing = get(name); String ior = object_to_string(object); String xior = object_to_string(existing); - + // Same name and same ior - nothing to do. if (ior.equals(xior)) return; @@ -349,7 +349,7 @@ public class PersistentMap /** * Removes the given name, if present. - * + * * @param name a name to remove. */ public void remove(NameComponent name) @@ -360,7 +360,7 @@ public class PersistentMap /** * Register this name - object pair in the persistent storage. - * + * * @param name the name. * @param object the object */ @@ -399,7 +399,7 @@ public class PersistentMap /** * Remove this name from the persistent storage. - * + * * @param name the name to remove */ public void unregister(NameComponent name) diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java b/libjava/classpath/tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java index 492566a..7c6b722 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java @@ -44,10 +44,10 @@ public interface AbstractMethodGenerator * Generate this method for the Stub (remote caller) class. */ String generateStubMethod(); - + /** * Generate this method for the Tie (remote servant) class. */ String generateTieMethod(); - + } diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java b/libjava/classpath/tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java index 251e219..9ac103c 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java @@ -17,7 +17,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -109,12 +109,12 @@ public class ClassRmicCompiler for (int i = next; i < args.length; i++) { - try - { + try + { if (verbose) - System.out.println("[Processing class " + args[i] + ".class]"); - processClass(args[i].replace(File.separatorChar, '.')); - } + System.out.println("[Processing class " + args[i] + ".class]"); + processClass(args[i].replace(File.separatorChar, '.')); + } catch (IOException e) { errors.add(e); @@ -1587,15 +1587,15 @@ public class ClassRmicCompiler { for (int i = 0; i < except.length; i++) { - for (int j = i + 1; j < except.length; j++) - { - if (except[i].isAssignableFrom(except[j])) - { - Class tmp = except[i]; - except[i] = except[j]; - except[j] = tmp; - } - } + for (int j = i + 1; j < except.length; j++) + { + if (except[i].isAssignableFrom(except[j])) + { + Class tmp = except[i]; + except[i] = except[j]; + except[j] = tmp; + } + } } return (except); } @@ -1732,14 +1732,14 @@ public class ClassRmicCompiler StringBuilder str = new StringBuilder(); for (int count = 0;; count++) { - if (! cls.isArray()) - { - str.append(cls.getName()); - for (; count > 0; count--) - str.append("[]"); - return (str.toString()); - } - cls = cls.getComponentType(); + if (! cls.isArray()) + { + str.append(cls.getName()); + for (; count > 0; count--) + str.append("[]"); + return (str.toString()); + } + cls = cls.getComponentType(); } } diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmic/CompilationError.java b/libjava/classpath/tools/gnu/classpath/tools/rmic/CompilationError.java index 244b469..2bfea7c 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmic/CompilationError.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmic/CompilationError.java @@ -41,15 +41,15 @@ package gnu.classpath.tools.rmic; /** * This error is thrown when the target being compiled has illegal * strutures. - * + * * @author Audrius Meskauskas, Lithuania (audriusa@Bioinformatics.org) */ public class CompilationError extends Error { - /** - * Use serialVersionUID for interoperability. + /** + * Use serialVersionUID for interoperability. */ - private static final long serialVersionUID = 1; + private static final long serialVersionUID = 1; /** * Create error with explaining message and cause. diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmic/Generator.java b/libjava/classpath/tools/gnu/classpath/tools/rmic/Generator.java index 270f6ea..ba659d2 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmic/Generator.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmic/Generator.java @@ -49,14 +49,14 @@ import java.util.Map; /** * Contains basic methods, used in code generation. - * + * * @author Audrius Meskauskas, Lithuania (audriusa@Bioinformatics.org) */ public class Generator { /** * Get resource with the given name, as string. - * + * * @param name the resource name * @return the resourse string (in subfolder /templates). */ @@ -96,7 +96,7 @@ public class Generator * Replace the variable references (starting from #) in the template string by * the values, present in the given map. The strings, not present in the * variable map, are ignored. - * + * * @param template * the template string * @param variables diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmic/GiopIo.java b/libjava/classpath/tools/gnu/classpath/tools/rmic/GiopIo.java index 42f291b..c3b3bc0 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmic/GiopIo.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmic/GiopIo.java @@ -44,7 +44,7 @@ import org.omg.CORBA.portable.ObjectImpl; /** * Generates the code for reading and writing data over GIOP stream. - * + * * @author Audrius Meskauskas, Lithuania (audriusa@Bioinformatics.org) */ public class GiopIo @@ -52,7 +52,7 @@ public class GiopIo /** * Get the statement for writing the variable of the given type to the GIOP ({@link org.omg.CORBA_2_3.portable.OutputStream) stream. The * stream is always named "out". - * + * * @param c * the class of the object being written * @param variable @@ -90,7 +90,7 @@ public class GiopIo /** * Get the statement for reading the value of the given type from to the GIOP ({@link org.omg.CORBA_2_3.portable.InputStream) stream. The * stream is always named "in". - * + * * @param c * the class of the object being written * @param r diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmic/HashFinder.java b/libjava/classpath/tools/gnu/classpath/tools/rmic/HashFinder.java index c3e363c..7b6fc9b 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmic/HashFinder.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmic/HashFinder.java @@ -45,15 +45,15 @@ import java.util.HashSet; * the passed array of strings). This character is used to accelerate the * method invocation by name. * - * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) + * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ public class HashFinder { /** * Find the hash char position in the given collection of strings. - * + * * @param strings the string collection - * + * * @return the optimal hash character position, always less then the * length of the shortest string. */ @@ -81,10 +81,10 @@ public class HashFinder { charLists[p].add(new Integer(strings[i].charAt(p))); } - + int m = 0; int v = charLists[0].size(); - + for (int i = 1; i < charLists.length; i++) { // Replace on equality also, seeking the hash char closer to the end diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmic/Main.java b/libjava/classpath/tools/gnu/classpath/tools/rmic/Main.java index 204bb3b..868fc758 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmic/Main.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmic/Main.java @@ -47,8 +47,8 @@ import java.util.ArrayList; /** * Generates the ordinary stubs (not GIOP based) for java.rmi.* package. - * - * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) + * + * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ public class Main { diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmic/MethodGenerator.java b/libjava/classpath/tools/gnu/classpath/tools/rmic/MethodGenerator.java index ecac907..27a4bd2 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmic/MethodGenerator.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmic/MethodGenerator.java @@ -46,7 +46,7 @@ import java.util.Properties; /** * Keeps information about the single method and generates the code fragments, * related to that method. - * + * * @author Audrius Meskauskas, Lithuania (audriusa@Bioinformatics.org) */ public class MethodGenerator implements AbstractMethodGenerator @@ -60,13 +60,13 @@ public class MethodGenerator implements AbstractMethodGenerator * The parent code generator. */ SourceGiopRmicCompiler rmic; - + /** - * The previous method in the list, null for the first element. + * The previous method in the list, null for the first element. * Used to avoid repretetive inclusion of the same hash code label. */ MethodGenerator previous = null; - + /** * The hash character position. */ @@ -74,7 +74,7 @@ public class MethodGenerator implements AbstractMethodGenerator /** * Create the new method generator for the given method. - * + * * @param aMethod * the related method. * @param aRmic @@ -86,10 +86,10 @@ public class MethodGenerator implements AbstractMethodGenerator method = aMethod; rmic = aRmic; } - + /** * Get the method name. - * + * * @return the name of the method. */ public String getGiopMethodName() @@ -105,7 +105,7 @@ public class MethodGenerator implements AbstractMethodGenerator /** * Get the method parameter declaration. - * + * * @return the string - method parameter declaration. */ public String getArgumentList() @@ -127,7 +127,7 @@ public class MethodGenerator implements AbstractMethodGenerator /** * Get the method parameter list only (no type declarations). This is used to * generate the method invocations statement. - * + * * @return the string - method parameter list. */ public String getArgumentNames() @@ -147,7 +147,7 @@ public class MethodGenerator implements AbstractMethodGenerator /** * Get the list of exceptions, thrown by this method. - * + * * @return the list of exceptions. */ public String getThrows() @@ -167,7 +167,7 @@ public class MethodGenerator implements AbstractMethodGenerator /** * Generate this method for the Stub class. - * + * * @return the method body for the stub class. */ public String generateStubMethod() @@ -177,7 +177,7 @@ public class MethodGenerator implements AbstractMethodGenerator Properties vars = new Properties(rmic.vars); vars.put("#return_type", rmic.name(method.getReturnType())); vars.put("#method_name", method.getName()); - vars.put("#giop_method_name", getGiopMethodName()); + vars.put("#giop_method_name", getGiopMethodName()); vars.put("#argument_list", getArgumentList()); vars.put("#argument_names", getArgumentNames()); @@ -204,15 +204,15 @@ public class MethodGenerator implements AbstractMethodGenerator rmic)); templateName = "StubMethod.jav"; } - - String template = rmic.getResource(templateName); + + String template = rmic.getResource(templateName); String generated = rmic.replaceAll(template, vars); return generated; } - + /** * Generate this method handling fragment for the Tie class. - * + * * @return the fragment to handle this method for the Tie class. */ public String generateTieMethod() @@ -222,12 +222,12 @@ public class MethodGenerator implements AbstractMethodGenerator Properties vars = new Properties(rmic.vars); vars.put("#return_type", rmic.name(method.getReturnType())); vars.put("#method_name", method.getName()); - vars.put("#giop_method_name", getGiopMethodName()); + vars.put("#giop_method_name", getGiopMethodName()); vars.put("#argument_list", getArgumentList()); vars.put("#argument_names", getArgumentNames()); vars.put("#argument_write", getStubParaWriteStatement()); - + if (previous == null || previous.getHashChar()!=getHashChar()) vars.put("#hashCodeLabel"," case '"+getHashChar()+"':"); else @@ -247,11 +247,11 @@ public class MethodGenerator implements AbstractMethodGenerator String template = rmic.getResource(templateName); String generated = rmic.replaceAll(template, vars); return generated; - } - + } + /** * Generate sentences for Reading and Defining Arguments. - * + * * @return the sequence of sentences for reading and defining arguments. */ public String getRda() @@ -275,7 +275,7 @@ public class MethodGenerator implements AbstractMethodGenerator /** * Get the write statement for writing parameters inside the stub. - * + * * @return the write statement. */ public String getStubParaWriteStatement() @@ -291,7 +291,7 @@ public class MethodGenerator implements AbstractMethodGenerator } return b.toString(); } - + /** * Get the hash char. */ diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmic/RMICException.java b/libjava/classpath/tools/gnu/classpath/tools/rmic/RMICException.java index 28eb8d4..ca9983d 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmic/RMICException.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmic/RMICException.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -40,7 +40,7 @@ package gnu.classpath.tools.rmic; /** * Thrown by the underlying compiler used by RMIC when it fails to compile a * file. - * + * * @author Dalibor Topic (robilad@kaffe.org) */ public class RMICException @@ -48,7 +48,7 @@ public class RMICException { /** * Create an exception with a message. The cause remains uninitialized. - * + * * @param message the message string * @see #initCause(Throwable) */ @@ -59,7 +59,7 @@ public class RMICException /** * Create an exception with a message and a cause. - * + * * @param message the message string * @param cause the cause of this exception */ diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java b/libjava/classpath/tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java index 8d1a1e8..e02f086 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java @@ -31,7 +31,7 @@ independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend - this exception to your version of the library, but you are not + this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. */ @@ -46,7 +46,7 @@ import java.util.Properties; /** * Keeps information about the single method and generates the code fragments, * related to that method. - * + * * @author Audrius Meskauskas, Lithuania (audriusa@Bioinformatics.org) */ public class RmiMethodGenerator @@ -61,10 +61,10 @@ public class RmiMethodGenerator * The parent code generator. */ SourceRmicCompiler rmic; - + /** * Create the new method generator for the given method. - * + * * @param aMethod the related method. * @param aRmic the Rmic generator instance, where more class - related * information is defined. @@ -79,7 +79,7 @@ public class RmiMethodGenerator /** * Get the method parameter declaration. - * + * * @return the string - method parameter declaration. */ public String getArgumentList() @@ -101,7 +101,7 @@ public class RmiMethodGenerator /** * Get the method parameter list only (no type declarations). This is used to * generate the method invocations statement. - * + * * @return the string - method parameter list. */ public String getArgumentNames() @@ -121,7 +121,7 @@ public class RmiMethodGenerator /** * Get the list of exceptions, thrown by this method. - * + * * @return the list of exceptions. */ public String getThrows() @@ -141,7 +141,7 @@ public class RmiMethodGenerator /** * Generate this method for the Stub class. - * + * * @return the method body for the stub class. */ public String generateStubMethod() @@ -178,7 +178,7 @@ public class RmiMethodGenerator /** * Generate sentences for Reading and Defining Arguments. - * + * * @return the sequence of sentences for reading and defining arguments. */ public String getStaticMethodDeclarations() @@ -201,16 +201,16 @@ public class RmiMethodGenerator /** * Get the write statement for writing parameters inside the stub. - * + * * @return the write statement. */ public String getArgListAsObjectArray() { Class[] args = method.getParameterTypes(); - + if (args.length==0) return "NO_ARGS"; - + StringBuilder b = new StringBuilder("new Object[] {"); for (int i = 0; i < args.length; i++) @@ -228,7 +228,7 @@ public class RmiMethodGenerator b.append("}"); return b.toString(); } - + /** * Get the return statement, assuming that the returned object is placed into * the variable "result". @@ -250,7 +250,7 @@ public class RmiMethodGenerator return "return (" + rmic.name(r) + ") result;"; } } - + /** * Get argument list as class array. */ @@ -285,7 +285,7 @@ public class RmiMethodGenerator { return RMIHashes.getMethodHash(method)+"L"; } - + /** * Additional processing of the stub name (nothing to do for JRMP stubs). */ @@ -293,5 +293,5 @@ public class RmiMethodGenerator { return name; } - + } diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmic/RmicBackend.java b/libjava/classpath/tools/gnu/classpath/tools/rmic/RmicBackend.java index db71b21..92f982d 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmic/RmicBackend.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmic/RmicBackend.java @@ -17,7 +17,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java b/libjava/classpath/tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java index b7ad7f4..dd35c2b 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java @@ -46,7 +46,7 @@ import java.util.TreeSet; /** * Provides the extended rmic functionality to generate the POA - based classes * for GIOP (javax.rmi.CORBA package). - * + * * @author Audrius Meskauskas, Lithuania (audriusa@Bioinformatics.org) */ public class SourceGiopRmicCompiler @@ -121,7 +121,7 @@ public class SourceGiopRmicCompiler * Verbose output */ protected boolean verbose = false; - + /** * Force mode - do not check the exceptions */ @@ -148,10 +148,10 @@ public class SourceGiopRmicCompiler methods.clear(); vars.clear(); } - + /** * Set the class path (handle the -classpath key) - * + * * @param classPath the class path to set. */ public void setClassPath(String classPath) @@ -196,11 +196,11 @@ public class SourceGiopRmicCompiler } classLoader = new URLClassLoader(u, classLoader); - } - + } + /** * Loads the class with the given name (uses class path, if applicable) - * + * * @param name the name of the class. */ public Class loadClass(String name) @@ -224,7 +224,7 @@ public class SourceGiopRmicCompiler /** * Compile the given class (the instance of Remote), generating the stub and * tie for it. - * + * * @param remote * the class to compile. */ @@ -247,7 +247,7 @@ public class SourceGiopRmicCompiler packag = s.substring(0, p); implName = name = s.substring(p + 1); } - + name = convertStubName(name); stubName = name; @@ -297,12 +297,12 @@ public class SourceGiopRmicCompiler remEx = true; break; } - } - if (! remEx && !force) - throw new CompilationError(m[i].getName() + ", defined in " - + c.getName() - + ", does not throw " - + RemoteException.class.getName()); + } + if (! remEx && !force) + throw new CompilationError(m[i].getName() + ", defined in " + + c.getName() + + ", does not throw " + + RemoteException.class.getName()); AbstractMethodGenerator mm = createMethodGenerator(m[i]); methods.add(mm); } @@ -311,9 +311,9 @@ public class SourceGiopRmicCompiler /** * Create the method generator for the given method. - * + * * @param m the method - * + * * @return the created method generator */ protected AbstractMethodGenerator createMethodGenerator(Method m) @@ -324,7 +324,7 @@ public class SourceGiopRmicCompiler /** * Get the name of the given class. The class is added to imports, if not * already present and not from java.lang and not from the current package. - * + * * @param nameIt * the class to name * @return the name of class as it should appear in java language @@ -369,7 +369,7 @@ public class SourceGiopRmicCompiler /** * Get the RMI-style repository Id for the given class. - * + * * @param c * the interface, for that the repository Id must be created. * @return the repository id @@ -381,7 +381,7 @@ public class SourceGiopRmicCompiler /** * Get repository Id string array declaration. - * + * * @param remotes * the collection of interfaces * @return the fully formatted string array. @@ -412,7 +412,7 @@ public class SourceGiopRmicCompiler /** * Generate stub. Can only be called from {@link #compile}. - * + * * @return the string, containing the text of the generated stub. */ public String generateStub() @@ -439,7 +439,7 @@ public class SourceGiopRmicCompiler /** * Get the list of all interfaces, implemented by the class, that are * derived from Remote. - * + * * @return the string - all interfaces. */ public String getAllInterfaces() @@ -459,7 +459,7 @@ public class SourceGiopRmicCompiler /** * Generate Tie. Can only be called from {@link #compile}. - * + * * @return the string, containing the text of the generated Tie. */ public String generateTie() @@ -525,7 +525,7 @@ public class SourceGiopRmicCompiler /** * Import the extra classes, used as the method parameters and return values. - * + * * @return the additional import block. */ protected String getImportStatements() @@ -561,7 +561,7 @@ public class SourceGiopRmicCompiler /** * Set the verbose output mode (false by default) - * + * * @param isVerbose the verbose output mode */ public void setVerbose(boolean isVerbose) @@ -576,7 +576,7 @@ public class SourceGiopRmicCompiler { warnings = warn; } - + /** * Set the error ignore mode. */ @@ -600,7 +600,7 @@ public class SourceGiopRmicCompiler { return stubName; } - + /** * Additional processing of the stub name. */ diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java b/libjava/classpath/tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java index a6f642b..413d91a 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java @@ -46,7 +46,7 @@ import gnu.classpath.tools.rmic.AbstractMethodGenerator; /** * RMI stub source code generator, required to support java.rmi.* * - * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) + * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ public class SourceRmicCompiler extends SourceGiopRmicCompiler { @@ -55,10 +55,10 @@ public class SourceRmicCompiler extends SourceGiopRmicCompiler * garbage generation. */ public boolean addZeroSizeObjecArray; - + /** * Generate a RMI stub. - * + * * @return the string, containing the text of the generated stub. */ public String generateStub() @@ -89,7 +89,7 @@ public class SourceRmicCompiler extends SourceGiopRmicCompiler else { vars.put("#zeroSizeObjecArray",""); - vars.put("#zeroSizeClassArray",""); + vars.put("#zeroSizeClassArray",""); } String output = replaceAll(template, vars); @@ -102,17 +102,17 @@ public class SourceRmicCompiler extends SourceGiopRmicCompiler protected AbstractMethodGenerator createMethodGenerator(Method m) { return new RmiMethodGenerator(m, this); - } - + } + /** * Get the stub method declarations. */ public String getStubMethodDeclarations() { StringBuilder b = new StringBuilder(); - + Iterator iter = methods.iterator(); - + while (iter.hasNext()) { RmiMethodGenerator method = (RmiMethodGenerator) iter.next(); @@ -125,7 +125,7 @@ public class SourceRmicCompiler extends SourceGiopRmicCompiler } return b.toString(); } - + /** * Get stub method initializations. These must be done in a try-catch * statement to catch {@link NoSuchMethodException}. @@ -133,9 +133,9 @@ public class SourceRmicCompiler extends SourceGiopRmicCompiler public String getStubMethodInitializations() { StringBuilder b = new StringBuilder(); - + Iterator iter = methods.iterator(); - + while (iter.hasNext()) { RmiMethodGenerator method = (RmiMethodGenerator) iter.next(); @@ -147,7 +147,7 @@ public class SourceRmicCompiler extends SourceGiopRmicCompiler b.append(".class.getMethod("); b.append('"'); b.append(method.method.getName()); - b.append("\", "); + b.append("\", "); if (method.method.getParameterTypes().length == 0) b.append("NO_ARGSc);"); else @@ -177,7 +177,7 @@ public class SourceRmicCompiler extends SourceGiopRmicCompiler public String convertStubName(String name) { return name; - } + } /** * Override to do nothing. diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmic/Variables.java b/libjava/classpath/tools/gnu/classpath/tools/rmic/Variables.java index e3568e9..1fc6a80 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmic/Variables.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmic/Variables.java @@ -17,7 +17,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmic/WrapUnWrapper.java b/libjava/classpath/tools/gnu/classpath/tools/rmic/WrapUnWrapper.java index 3737334..cb41285 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmic/WrapUnWrapper.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmic/WrapUnWrapper.java @@ -43,9 +43,9 @@ public class WrapUnWrapper { /** * Get the wrapper class for the primitive type - * + * * @param primitive the class of the primitive type - * + * * @return the wrapper class */ public static Class getWrappingClass(Class primitive) @@ -67,12 +67,12 @@ public class WrapUnWrapper else return null; } - + /** * Get the method, invocation of that would return the wrapped value. - * + * * @param primitive the class of the primitive type. - * + * * @return the wrapper method that unwraps the value to the primitive type. */ public static String getUnwrappingMethod(Class primitive) @@ -92,8 +92,8 @@ public class WrapUnWrapper if (primitive.equals(char.class)) return "charValue()"; else - return null; + return null; } - - + + } diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java b/libjava/classpath/tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java index 402727f..fb27648 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -61,7 +61,7 @@ import java.rmi.activation.UnknownObjectException; /** * Implements the rmid activation system. - * + * * @author Audrius Meskauskas (audriusa@bioinformatics.org) */ public class ActivationSystemImpl extends ActivationSystemTransient implements @@ -71,15 +71,15 @@ public class ActivationSystemImpl extends ActivationSystemTransient implements * Use for interoperability. */ private static final long serialVersionUID = 1; - + /** * The singleton instance of this class. */ public static ActivationSystemImpl singleton2; - + /** * Obtain the singleton instance of this class. - * + * * @param folder the folder, where the activation system will keep its files. * @param cold do the cold start if true, hot (usual) if false. */ @@ -88,11 +88,11 @@ public class ActivationSystemImpl extends ActivationSystemTransient implements if (singleton2 == null) singleton2 = new ActivationSystemImpl(folder, cold); return singleton2; - } - + } + /** * Creates the group with transient maps. - * + * * @param folder * the folder, where the activation system will keep its files. * @param cold @@ -106,8 +106,8 @@ public class ActivationSystemImpl extends ActivationSystemTransient implements new File(folder, "asi_objects.data"), cold); ((PersistentBidiHashTable) descriptions).init( new File(folder, "asi_groups.data"), cold); - } - + } + /** @inheritDoc */ public MarshalledObject activate(ActivationID id, boolean force) throws ActivationException, UnknownObjectException, RemoteException @@ -190,12 +190,12 @@ public class ActivationSystemImpl extends ActivationSystemTransient implements /** * This method saves the state of the activation system and then - * terminates in 10 seconds. + * terminates in 10 seconds. */ public void shutdown() throws RemoteException { super.shutdown(); - System.out.println("Shutdown command received. Will terminate in 10 s"); + System.out.println("Shutdown command received. Will terminate in 10 s"); Persistent.timer.schedule(new Persistent.ExitTask(), 10000); } @@ -215,9 +215,9 @@ public class ActivationSystemImpl extends ActivationSystemTransient implements /** * Read the object from the input stream. - * + * * @param in the stream to read from - * + * * @throws IOException if thrown by the stream * @throws ClassNotFoundException */ @@ -226,10 +226,10 @@ public class ActivationSystemImpl extends ActivationSystemTransient implements { // Read no fields. } - + /** * Write the object to the output stream. - * + * * @param out the stream to write int * @throws IOException if thrown by the stream * @throws ClassNotFoundException @@ -238,6 +238,6 @@ public class ActivationSystemImpl extends ActivationSystemTransient implements ClassNotFoundException { // Write no fields. - } - + } + } diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java b/libjava/classpath/tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java index 535f8ab..446a87f 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -59,23 +59,23 @@ import java.rmi.UnexpectedException; /** * This class delegates its method calls to the remote RMI object, referenced - * by {@link RemoteRef}. + * by {@link RemoteRef}. * * It is normally generated with rmic. */ -public final class ActivationSystemImpl_Stub +public final class ActivationSystemImpl_Stub extends RemoteStub implements ActivationMonitor, Activator, ActivationSystem { /** - * Use serialVersionUID for interoperability + * Use serialVersionUID for interoperability */ private static final long serialVersionUID = 2; - + /** * The explaining message for {@ling UnexpectedException}. */ - private static final String exception_message = + private static final String exception_message = "undeclared checked exception"; /* All remote methods, invoked by this stub: */ @@ -96,8 +96,8 @@ public final class ActivationSystemImpl_Stub private static final Object[] NO_ARGS = new Object[0]; static { - final Class[] NO_ARGSc = new Class[0]; - try + final Class[] NO_ARGSc = new Class[0]; + try { met_setActivationGroupDesc = ActivationSystem.class.getMethod("setActivationGroupDesc", new Class[] @@ -174,20 +174,20 @@ public final class ActivationSystemImpl_Stub "ActivationSystemImpl_Stub class initialization failed"); err.initCause(nex); throw err; - } + } } - + /** * Create the instance for _ActivationSystemImpl_Stub that forwards method calls to the * remote object. * * @para the reference to the remote object. */ - public ActivationSystemImpl_Stub(RemoteRef reference) + public ActivationSystemImpl_Stub(RemoteRef reference) { super(reference); - } - + } + /* Methods */ /** @inheritDoc */ public ActivationGroupDesc setActivationGroupDesc(ActivationGroupID p0, @@ -216,7 +216,7 @@ public final class ActivationSystemImpl_Stub throw uex; } } - + /** @inheritDoc */ public void inactiveGroup(ActivationGroupID p0, long p1) throws UnknownGroupException, RemoteException @@ -241,7 +241,7 @@ public final class ActivationSystemImpl_Stub throw uex; } } - + /** @inheritDoc */ public void unregisterObject(ActivationID p0) throws ActivationException, UnknownObjectException, RemoteException @@ -266,7 +266,7 @@ public final class ActivationSystemImpl_Stub throw uex; } } - + /** @inheritDoc */ public ActivationDesc getActivationDesc(ActivationID p0) throws ActivationException, UnknownObjectException, RemoteException @@ -292,7 +292,7 @@ public final class ActivationSystemImpl_Stub throw uex; } } - + /** @inheritDoc */ public ActivationDesc setActivationDesc(ActivationID p0, ActivationDesc p1) throws ActivationException, UnknownObjectException, @@ -320,7 +320,7 @@ public final class ActivationSystemImpl_Stub throw uex; } } - + /** @inheritDoc */ public void shutdown() throws RemoteException { @@ -343,7 +343,7 @@ public final class ActivationSystemImpl_Stub throw uex; } } - + /** @inheritDoc */ public MarshalledObject activate(ActivationID p0, boolean p1) throws ActivationException, UnknownObjectException, RemoteException @@ -370,7 +370,7 @@ public final class ActivationSystemImpl_Stub throw uex; } } - + /** @inheritDoc */ public ActivationMonitor activeGroup(ActivationGroupID p0, ActivationInstantiator p1, long p2) @@ -398,7 +398,7 @@ public final class ActivationSystemImpl_Stub throw uex; } } - + /** @inheritDoc */ public ActivationGroupID registerGroup(ActivationGroupDesc p0) throws ActivationException, RemoteException @@ -424,7 +424,7 @@ public final class ActivationSystemImpl_Stub throw uex; } } - + /** @inheritDoc */ public ActivationGroupDesc getActivationGroupDesc(ActivationGroupID p0) throws ActivationException, UnknownGroupException, RemoteException @@ -450,7 +450,7 @@ public final class ActivationSystemImpl_Stub throw uex; } } - + /** @inheritDoc */ public void activeObject(ActivationID p0, MarshalledObject p1) throws UnknownObjectException, RemoteException @@ -475,7 +475,7 @@ public final class ActivationSystemImpl_Stub throw uex; } } - + /** @inheritDoc */ public ActivationID registerObject(ActivationDesc p0) throws ActivationException, UnknownGroupException, RemoteException @@ -501,7 +501,7 @@ public final class ActivationSystemImpl_Stub throw uex; } } - + /** @inheritDoc */ public void inactiveObject(ActivationID p0) throws UnknownObjectException, RemoteException @@ -526,7 +526,7 @@ public final class ActivationSystemImpl_Stub throw uex; } } - + /** @inheritDoc */ public void unregisterGroup(ActivationGroupID p0) throws ActivationException, UnknownGroupException, RemoteException @@ -551,6 +551,6 @@ public final class ActivationSystemImpl_Stub throw uex; } } - - + + } diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmid/Main.java b/libjava/classpath/tools/gnu/classpath/tools/rmid/Main.java index 4ee079c..3cc2a12 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmid/Main.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmid/Main.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -58,7 +58,7 @@ import java.rmi.server.RMIServerSocketFactory; /** * The persistent RMI activation daemon. - * + * * @author Audrius Meskauskas (audriusa@bioinformatics.org) */ public class Main @@ -67,17 +67,17 @@ public class Main * The RMI server socket factory. */ static RMIServerSocketFactory ACTIVATION_REGISTY_SOCKET_FACTORY = null; - + /** * The activation registry port. */ static int ACTIVATION_REGISTRY_PORT = ActivationSystem.SYSTEM_PORT; - + /** * The activation system name. */ static String ACTIVATION_SYSTEM_NAME = "java.rmi.activation.ActivationSystem"; - + // Parse parameters: private boolean stop = false; private String directory = "."; @@ -169,16 +169,16 @@ public class Main if (!dataDirectory.exists()) dataDirectory.mkdirs(); ActivationSystem system; - + if (!persistent) system = ActivationSystemTransient.getInstance(); else system = ActivationSystemImpl.getInstance(dataDirectory, cold); - + // We must export with the specific activation id that is only // possible when going into the gnu.java.rmi.activation. UnicastServerRef sref = new UnicastServerRef( - new ObjID(ObjID.ACTIVATOR_ID), ACTIVATION_REGISTRY_PORT, + new ObjID(ObjID.ACTIVATOR_ID), ACTIVATION_REGISTRY_PORT, ACTIVATION_REGISTY_SOCKET_FACTORY); Remote systemStub = sref.exportObject(system); @@ -200,7 +200,7 @@ public class Main r.rebind(ACTIVATION_SYSTEM_NAME, systemStub); } String host = InetAddress.getLocalHost().getCanonicalHostName(); - System.out.println("The RMI daemon is listening on " + host + + System.out.println("The RMI daemon is listening on " + host + " (port " + ACTIVATION_REGISTRY_PORT + ")"); @@ -216,7 +216,7 @@ public class Main // Expect the naming service running first. // The local host may want to use the shared registry r = LocateRegistry.getRegistry(ACTIVATION_REGISTRY_PORT); - ActivationSystem asys = + ActivationSystem asys = (ActivationSystem) r.lookup(ACTIVATION_SYSTEM_NAME); asys.shutdown(); System.out.println("OK."); @@ -236,7 +236,7 @@ public class Main if (ActivationSystemTransient.debug) e.printStackTrace(); } - } + } /** * The activation system entry point. diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java b/libjava/classpath/tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java index d213373..9d98496 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java @@ -61,7 +61,7 @@ import java.util.TimerTask; * database change or at most after ALWAYS_UPDATE, if the database is updated * very frequently. To ensure that no information is lost, the shutdown method * must be called before exit. - * + * * @author Audrius Meskauskas (audriusa@bioinformatics.org) */ public class PersistentBidiHashTable extends BidiTable implements @@ -129,7 +129,7 @@ public class PersistentBidiHashTable extends BidiTable implements /** * Create a new persistent table that stores its information into the given * file. The ActivationSystemImpl.singleton2 must be assigned. - * + * * @param file * the file, where the table stores its information. * @param coldStart diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmiregistry/Main.java b/libjava/classpath/tools/gnu/classpath/tools/rmiregistry/Main.java index e5c4193..f22e81b 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmiregistry/Main.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmiregistry/Main.java @@ -59,7 +59,7 @@ import java.util.Map; /** * The optionally persistent RMI registry implementation. - * + * * @author Audrius Meskauskas (audriusa@bioinformatics.org) */ public class Main @@ -68,7 +68,7 @@ public class Main * The stop command. */ public static String STOP = "gnu.classpath.tools.rmi.registry.command.STOP"; - + /** * If true, the registry prints registration events to console. */ @@ -195,7 +195,7 @@ public class Main { Registry r = LocateRegistry.getRegistry(port); // Search for this specific line will command to stop the registry. - + // Our service returns null, but any other service will thrown // NotBoundException. r.unbind(STOP); diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java b/libjava/classpath/tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java index 89d66ce..3202a84 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java @@ -56,11 +56,11 @@ import java.util.TimerTask; * SAVE_AT_MOST_AFTER time from the latest database change or at most after * ALWAYS_UPDATE, if the database is updated very frequently. To ensure that no * information is lost, the shutdown method must be called before exit. - * + * * @author Audrius Meskauskas (audriusa@bioinformatics.org) */ -public class PersistentHashTable - extends Hashtable +public class PersistentHashTable + extends Hashtable implements Serializable, Persistent { @@ -95,14 +95,14 @@ public class PersistentHashTable * The time, when the disk database was last updated. */ long lastUpdated; - + /** * Setting to false prevents the automated disk update. * The initial value is true to prevent writing while reading and is set * to false in createInstance. */ transient boolean ready; - + /** * Use static method to obtain the instance. */ @@ -116,7 +116,7 @@ public class PersistentHashTable /** * Create a new persistent table that stores its information into the given * file. - * + * * @param file * the file, where the table stores its information. * @param coldStart @@ -161,7 +161,7 @@ public class PersistentHashTable k2v = new PersistentHashTable(file); System.out.println ("Here7"); } - + System.out.println ("Here8"); k2v.ready = true; return k2v; @@ -174,8 +174,8 @@ public class PersistentHashTable throw ierr; } } - - + + /** * Write the database content to the disk. */ diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java b/libjava/classpath/tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java index b93d3c1..80d0fe0 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java @@ -8,7 +8,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -51,7 +51,7 @@ import java.util.Map; /** * The optionally persistent registry implementation. - * + * * @author Audrius Meskauskas (audriusa@bioinformatics.org) */ public class RegistryImpl implements Registry @@ -60,16 +60,16 @@ public class RegistryImpl implements Registry * The binding table. */ Map bindings; - + /** * Create the registry implementation that uses the given bidirectinal * table to keep the data. */ public RegistryImpl(Map aTable) { - bindings = aTable; + bindings = aTable; } - + /** @inheritDoc */ public Remote lookup(String name) throws RemoteException, NotBoundException, AccessException @@ -107,7 +107,7 @@ public class RegistryImpl implements Registry { if (Main.verbose) System.out.println("Unbind "+name); - + if (!bindings.containsKey(name)) throw new NotBoundException(name); else @@ -124,7 +124,7 @@ public class RegistryImpl implements Registry bindings.put(name, obj); } - /** @inheritDoc */ + /** @inheritDoc */ public String[] list() throws RemoteException, AccessException { // Create a separated array to prevent race conditions. diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java b/libjava/classpath/tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java index 5150deb..fa71789 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java @@ -49,7 +49,7 @@ import java.rmi.server.RemoteCall; import java.rmi.server.SkeletonMismatchException; /** - * This skeleton supports unlikely cases when the naming service is + * This skeleton supports unlikely cases when the naming service is * contacted from other interoperable java implementation that still uses * the old style skeleton-dependent invocations. */ @@ -57,18 +57,18 @@ public final class RegistryImpl_Skel implements java.rmi.server.Skeleton { private static final long interfaceHash = 4905912898345647071L; - + /** * Repeated multiple times. */ static final String EUM = "error unmarshalling arguments for Registry"; - + /** * Repeated multiple times. */ static final String EMR = "error marshalling return from Registry"; - - private static final Operation[] operations = + + private static final Operation[] operations = { new Operation("void bind(java.lang.String, Remote"), new Operation("java.lang.String[] list("), @@ -76,12 +76,12 @@ public final class RegistryImpl_Skel new Operation("void rebind(java.lang.String, Remote"), new Operation("void unbind(java.lang.String") }; - + public Operation[] getOperations() { return ((Operation[]) operations.clone()); } - + public void dispatch(Remote obj, RemoteCall call, int opnum, long hash) throws java.lang.Exception { diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java b/libjava/classpath/tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java index 94d35e9..dfb277f 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java +++ b/libjava/classpath/tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -51,23 +51,23 @@ import java.rmi.UnexpectedException; /** * This class delegates its method calls to the remote RMI object, referenced - * by {@link RemoteRef}. + * by {@link RemoteRef}. * * It is normally generated with rmic. */ -public final class RegistryImpl_Stub +public final class RegistryImpl_Stub extends RemoteStub implements Registry { /** - * Use serialVersionUID for interoperability + * Use serialVersionUID for interoperability */ private static final long serialVersionUID = 3; - + /** * The explaining message for {@ling UnexpectedException}. */ - private static final String exception_message = + private static final String exception_message = "undeclared checked exception"; /* All remote methods, invoked by this stub: */ @@ -79,8 +79,8 @@ public final class RegistryImpl_Stub private static final Object[] NO_ARGS = new Object[0]; static { - final Class[] NO_ARGSc = new Class[0]; - try + final Class[] NO_ARGSc = new Class[0]; + try { met_list = Registry.class.getMethod("list", NO_ARGSc); @@ -112,23 +112,23 @@ public final class RegistryImpl_Stub "RegistryImpl_Stub class initialization failed"); err.initCause(nex); throw err; - } + } } - + /** * Create the instance for _RegistryImpl_Stub that forwards method calls to the * remote object. * * @para the reference to the remote object. */ - public RegistryImpl_Stub(RemoteRef reference) + public RegistryImpl_Stub(RemoteRef reference) { super(reference); - } - - /* Methods */ + } + + /* Methods */ /** @inheritDoc */ - public String [] list() + public String [] list() throws RemoteException, AccessException { try @@ -136,7 +136,7 @@ public final class RegistryImpl_Stub Object result = ref.invoke(this, met_list, NO_ARGS, 2571371476350237748L); - return (String []) result; + return (String []) result; } catch (RuntimeException e) { @@ -153,9 +153,9 @@ public final class RegistryImpl_Stub throw uex; } } - + /** @inheritDoc */ - public void rebind(String p0, Remote p1) + public void rebind(String p0, Remote p1) throws RemoteException, AccessException { try @@ -179,9 +179,9 @@ public final class RegistryImpl_Stub throw uex; } } - + /** @inheritDoc */ - public void unbind(String p0) + public void unbind(String p0) throws RemoteException, NotBoundException, AccessException { try @@ -205,9 +205,9 @@ public final class RegistryImpl_Stub throw uex; } } - + /** @inheritDoc */ - public Remote lookup(String p0) + public Remote lookup(String p0) throws RemoteException, NotBoundException, AccessException { try @@ -215,7 +215,7 @@ public final class RegistryImpl_Stub Object result = ref.invoke(this, met_lookup, new Object[] {p0}, -7538657168040752697L); - return (Remote) result; + return (Remote) result; } catch (RuntimeException e) { @@ -232,9 +232,9 @@ public final class RegistryImpl_Stub throw uex; } } - + /** @inheritDoc */ - public void bind(String p0, Remote p1) + public void bind(String p0, Remote p1) throws RemoteException, AlreadyBoundException, AccessException { try @@ -258,6 +258,6 @@ public final class RegistryImpl_Stub throw uex; } } - - + + } diff --git a/libjava/classpath/tools/gnu/classpath/tools/serialver/SerialVer.java b/libjava/classpath/tools/gnu/classpath/tools/serialver/SerialVer.java index ba58617..5fd7419 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/serialver/SerialVer.java +++ b/libjava/classpath/tools/gnu/classpath/tools/serialver/SerialVer.java @@ -7,7 +7,7 @@ it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. + 02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -176,4 +176,4 @@ public class SerialVer { new SerialVer().run(args); } -}
\ No newline at end of file +} diff --git a/libjava/classpath/tools/gnu/classpath/tools/taglets/AuthorTaglet.java b/libjava/classpath/tools/gnu/classpath/tools/taglets/AuthorTaglet.java index fd6e924..1a1f32b 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/taglets/AuthorTaglet.java +++ b/libjava/classpath/tools/gnu/classpath/tools/taglets/AuthorTaglet.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -52,7 +52,7 @@ import com.sun.javadoc.Tag; * @author Julian Scheid (julian@sektor37.de) */ public class AuthorTaglet implements Taglet { - + /** * Enum class which denotes whether and how to replace email * addresses in author tags. @@ -86,7 +86,7 @@ public class AuthorTaglet implements Taglet { * specified by AuthorTaglet.emailAtReplacement and * AuthorTaglet.emailDotReplacement. */ - public static final EmailReplacement NAME_MANGLED_ADDRESS = new EmailReplacement(); + public static final EmailReplacement NAME_MANGLED_ADDRESS = new EmailReplacement(); } private static EmailReplacement emailReplacementType = EmailReplacement.NO_REPLACEMENT; @@ -98,7 +98,7 @@ public class AuthorTaglet implements Taglet { private static final String MULTI_HEADER = "Authors:"; private static boolean enabled = true; - + /** * Matches <code>.</code> (dot). */ @@ -119,9 +119,9 @@ public class AuthorTaglet implements Taglet { + "(?:[^\t\r\n ]|\\()+" // first name + "(?:\\s+(?:[^\t\r\n ]|\\()+)*" // additional names + ")" // group #1 end - + "\\s*" // optional whitespace + + "\\s*" // optional whitespace + "[(<]" // opening paren - + "\\s*" // optional whitespace + + "\\s*" // optional whitespace + "(" // group #2 start (email address) + "(" // group #3 start (email user) + "[A-z0-9_\\-\\.]+" // username @@ -132,11 +132,11 @@ public class AuthorTaglet implements Taglet { + "\\s*" // optional whitespace + "(?:\\)|>)" // closing paren + "$"); - + public String getName() { return NAME; } - + public boolean inField() { return true; } @@ -144,11 +144,11 @@ public class AuthorTaglet implements Taglet { public boolean inConstructor() { return true; } - + public boolean inMethod() { return true; } - + public boolean inOverview() { return true; } @@ -160,10 +160,10 @@ public class AuthorTaglet implements Taglet { public boolean inType() { return true; } - + public boolean isInlineTag() { return false; - } + } public static void register(Map tagletMap) { AuthorTaglet authorTaglet = new AuthorTaglet(); @@ -190,7 +190,7 @@ public class AuthorTaglet implements Taglet { haveValidTag = true; } } - + if (haveValidTag) { StringBuffer result = new StringBuffer(); result.append("<dl class=\"tag list\">"); @@ -214,7 +214,7 @@ public class AuthorTaglet implements Taglet { return null; } } - } + } /** * Reformat the tag text according to {@link #emailReplacementType}. @@ -229,7 +229,7 @@ public class AuthorTaglet implements Taglet { if (matcher.matches()) { String realName = matcher.group(1); String emailAddress = matcher.group(2); - if (EmailReplacement.MAILTO_NAME == emailReplacementType) { + if (EmailReplacement.MAILTO_NAME == emailReplacementType) { return "<a href=\"mailto:" + emailAddress + "\">" + realName + "</a>"; } else if (EmailReplacement.NAME_MAILTO_ADDRESS == emailReplacementType) { diff --git a/libjava/classpath/tools/gnu/classpath/tools/taglets/CodeTaglet.java b/libjava/classpath/tools/gnu/classpath/tools/taglets/CodeTaglet.java index f76e779..adc34f3 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/taglets/CodeTaglet.java +++ b/libjava/classpath/tools/gnu/classpath/tools/taglets/CodeTaglet.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -53,7 +53,7 @@ import com.sun.javadoc.SeeTag; * * @author Julian Scheid (julian@sektor37.de) */ -public class CodeTaglet +public class CodeTaglet implements Taglet { private static final String NAME = "code"; @@ -61,7 +61,7 @@ public class CodeTaglet public String getName() { return NAME; } - + public boolean inField() { return true; } @@ -69,11 +69,11 @@ public class CodeTaglet public boolean inConstructor() { return true; } - + public boolean inMethod() { return true; } - + public boolean inOverview() { return true; } @@ -85,10 +85,10 @@ public class CodeTaglet public boolean inType() { return true; } - + public boolean isInlineTag() { return true; - } + } public String toString(Tag tag) { return "<code>" + tag.text() + "</code>"; diff --git a/libjava/classpath/tools/gnu/classpath/tools/taglets/CopyrightTaglet.java b/libjava/classpath/tools/gnu/classpath/tools/taglets/CopyrightTaglet.java index 6f744a9..60e3e40 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/taglets/CopyrightTaglet.java +++ b/libjava/classpath/tools/gnu/classpath/tools/taglets/CopyrightTaglet.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -50,11 +50,11 @@ public class CopyrightTaglet implements Taglet { private static final String NAME = "copyright"; private static final String HEADER = "Copyright:"; - + public String getName() { return NAME; } - + public boolean inField() { return true; } @@ -62,11 +62,11 @@ public class CopyrightTaglet implements Taglet { public boolean inConstructor() { return true; } - + public boolean inMethod() { return true; } - + public boolean inOverview() { return true; } @@ -78,10 +78,10 @@ public class CopyrightTaglet implements Taglet { public boolean inType() { return true; } - + public boolean isInlineTag() { return false; - } + } public static void register(Map tagletMap) { CopyrightTaglet copyrightTaglet = new CopyrightTaglet(); @@ -103,7 +103,7 @@ public class CopyrightTaglet implements Taglet { haveValidTag = true; } } - + if (haveValidTag) { StringBuffer result = new StringBuffer(); result.append("<dl>"); diff --git a/libjava/classpath/tools/gnu/classpath/tools/taglets/DeprecatedTaglet.java b/libjava/classpath/tools/gnu/classpath/tools/taglets/DeprecatedTaglet.java index aae4ad3..d292c7f 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/taglets/DeprecatedTaglet.java +++ b/libjava/classpath/tools/gnu/classpath/tools/taglets/DeprecatedTaglet.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -49,16 +49,16 @@ import com.sun.javadoc.Tag; * @author Julian Scheid (julian@sektor37.de) */ public class DeprecatedTaglet implements Taglet { - + private static final String NAME = "deprecated"; private static final String HEADER = "Deprecated:"; private static boolean enabled = true; - + public String getName() { return NAME; } - + public boolean inField() { return true; } @@ -66,11 +66,11 @@ public class DeprecatedTaglet implements Taglet { public boolean inConstructor() { return true; } - + public boolean inMethod() { return true; } - + public boolean inOverview() { return true; } @@ -82,10 +82,10 @@ public class DeprecatedTaglet implements Taglet { public boolean inType() { return true; } - + public boolean isInlineTag() { return false; - } + } public static void register(Map tagletMap) { DeprecatedTaglet deprecatedTaglet = new DeprecatedTaglet(); @@ -106,7 +106,7 @@ public class DeprecatedTaglet implements Taglet { return null; } else { - + StringBuffer result = new StringBuffer(); result.append("<div class=\"classdoc-tag-section-header\">"); result.append(HEADER); diff --git a/libjava/classpath/tools/gnu/classpath/tools/taglets/GenericTaglet.java b/libjava/classpath/tools/gnu/classpath/tools/taglets/GenericTaglet.java index 34eac2b..31ff289 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/taglets/GenericTaglet.java +++ b/libjava/classpath/tools/gnu/classpath/tools/taglets/GenericTaglet.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -49,7 +49,7 @@ import com.sun.javadoc.Tag; * @author Julian Scheid (julian@sektor37.de) */ public class GenericTaglet implements Taglet { - + private String name = "since"; private String header = "Since:"; @@ -80,11 +80,11 @@ public class GenericTaglet implements Taglet { this.scopeMethod = scopeMethod; this.scopeField = scopeField; } - + public String getName() { return name; } - + public boolean inField() { return scopeField; } @@ -92,11 +92,11 @@ public class GenericTaglet implements Taglet { public boolean inConstructor() { return scopeConstructor; } - + public boolean inMethod() { return scopeMethod; } - + public boolean inOverview() { return scopeOverview; } @@ -108,10 +108,10 @@ public class GenericTaglet implements Taglet { public boolean inType() { return scopeType; } - + public boolean isInlineTag() { return false; - } + } public void register(Map tagletMap) { tagletMap.put(getName(), this); @@ -131,7 +131,7 @@ public class GenericTaglet implements Taglet { return null; } else { - + StringBuffer result = new StringBuffer(); result.append("<div class=\"classdoc-tag-section-header\">"); result.append(header); diff --git a/libjava/classpath/tools/gnu/classpath/tools/taglets/GnuExtendedTaglet.java b/libjava/classpath/tools/gnu/classpath/tools/taglets/GnuExtendedTaglet.java index 5f8726a..e780190 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/taglets/GnuExtendedTaglet.java +++ b/libjava/classpath/tools/gnu/classpath/tools/taglets/GnuExtendedTaglet.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/taglets/SinceTaglet.java b/libjava/classpath/tools/gnu/classpath/tools/taglets/SinceTaglet.java index aa1e114..c373752 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/taglets/SinceTaglet.java +++ b/libjava/classpath/tools/gnu/classpath/tools/taglets/SinceTaglet.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -51,7 +51,7 @@ import gnu.classpath.tools.doclets.InlineTagRenderer; * @author Julian Scheid (julian@sektor37.de) */ public class SinceTaglet implements GnuExtendedTaglet { - + private static final String NAME = "since"; private static final String HEADER = "Since:"; @@ -63,11 +63,11 @@ public class SinceTaglet implements GnuExtendedTaglet { { this.inlineTagRenderer = inlineTagRenderer; } - + public String getName() { return NAME; } - + public boolean inField() { return true; } @@ -75,11 +75,11 @@ public class SinceTaglet implements GnuExtendedTaglet { public boolean inConstructor() { return true; } - + public boolean inMethod() { return true; } - + public boolean inOverview() { return true; } @@ -91,10 +91,10 @@ public class SinceTaglet implements GnuExtendedTaglet { public boolean inType() { return true; } - + public boolean isInlineTag() { return false; - } + } public String toString(Tag tag) { // should raise assertion @@ -111,12 +111,12 @@ public class SinceTaglet implements GnuExtendedTaglet { return toString(tags, null); } - public String toString(Tag tag, TagletContext context) + public String toString(Tag tag, TagletContext context) { return null; } - public String toString(Tag[] tags, TagletContext context) + public String toString(Tag[] tags, TagletContext context) { if (!enabled || tags.length == 0) { return null; @@ -128,7 +128,7 @@ public class SinceTaglet implements GnuExtendedTaglet { haveValidTag = true; } } - + if (haveValidTag) { StringBuffer result = new StringBuffer(); result.append("<dl class=\"tag list\">"); diff --git a/libjava/classpath/tools/gnu/classpath/tools/taglets/TagletContext.java b/libjava/classpath/tools/gnu/classpath/tools/taglets/TagletContext.java index ff26747..82d8aea 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/taglets/TagletContext.java +++ b/libjava/classpath/tools/gnu/classpath/tools/taglets/TagletContext.java @@ -1,4 +1,4 @@ -/* TagletContext.java - +/* TagletContext.java - Copyright (C) 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and diff --git a/libjava/classpath/tools/gnu/classpath/tools/taglets/ValueTaglet.java b/libjava/classpath/tools/gnu/classpath/tools/taglets/ValueTaglet.java index cfc3938..1b07ada 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/taglets/ValueTaglet.java +++ b/libjava/classpath/tools/gnu/classpath/tools/taglets/ValueTaglet.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -52,7 +52,7 @@ import com.sun.javadoc.SeeTag; * * @author Julian Scheid (julian@sektor37.de) */ -public class ValueTaglet +public class ValueTaglet implements GnuExtendedTaglet { private static final String NAME = "value"; @@ -60,7 +60,7 @@ public class ValueTaglet public String getName() { return NAME; } - + public boolean inField() { return true; } @@ -68,11 +68,11 @@ public class ValueTaglet public boolean inConstructor() { return true; } - + public boolean inMethod() { return true; } - + public boolean inOverview() { return true; } @@ -84,10 +84,10 @@ public class ValueTaglet public boolean inType() { return true; } - + public boolean isInlineTag() { return true; - } + } public static void register(Map tagletMap) { ValueTaglet valueTaglet = new ValueTaglet(); diff --git a/libjava/classpath/tools/gnu/classpath/tools/taglets/VersionTaglet.java b/libjava/classpath/tools/gnu/classpath/tools/taglets/VersionTaglet.java index fadb972..fed926e 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/taglets/VersionTaglet.java +++ b/libjava/classpath/tools/gnu/classpath/tools/taglets/VersionTaglet.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -49,16 +49,16 @@ import com.sun.javadoc.Tag; * @author Julian Scheid (julian@sektor37.de) */ public class VersionTaglet implements Taglet { - + private static final String NAME = "version"; private static final String HEADER = "Version:"; private static boolean enabled = true; - + public String getName() { return NAME; } - + public boolean inField() { return true; } @@ -66,11 +66,11 @@ public class VersionTaglet implements Taglet { public boolean inConstructor() { return true; } - + public boolean inMethod() { return true; } - + public boolean inOverview() { return true; } @@ -82,10 +82,10 @@ public class VersionTaglet implements Taglet { public boolean inType() { return true; } - + public boolean isInlineTag() { return false; - } + } public static void register(Map tagletMap) { VersionTaglet versionTaglet = new VersionTaglet(); @@ -112,9 +112,9 @@ public class VersionTaglet implements Taglet { haveValidTag = true; } } - + if (haveValidTag) { - + StringBuffer result = new StringBuffer(); result.append("<dl class=\"tag list\">"); result.append("</dl>"); diff --git a/libjava/classpath/tools/gnu/classpath/tools/tnameserv/Main.java b/libjava/classpath/tools/gnu/classpath/tools/tnameserv/Main.java index 78a8f98..b163fd5 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/tnameserv/Main.java +++ b/libjava/classpath/tools/gnu/classpath/tools/tnameserv/Main.java @@ -48,12 +48,12 @@ import gnu.classpath.tools.getopt.Parser; * is a kind of the network server that registers local and remote objects * by name, and later can provide the object reference in response to the * given name. - * + * * GNU Classpath currently works with this naming service and is also * interoperable with the Sun Microsystems naming services from releases 1.3 and * 1.4, both transient <i>tnameserv</i> and persistent <i>orbd</i>. - * - * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) + * + * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ public class Main { |