From dc6715320db92089b3c1b046157b56b5680738a5 Mon Sep 17 00:00:00 2001
From: Andrew John Hughes
* The behavior is like this:
* 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
* must 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;
* visitField(ACC_PUBLIC, "i", "I", null) visitField(ACC_PUBLIC,
* "i", "D", null)
* will not 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. 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 The trace printed when
* visiting the Hello class is the following:
* 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 null.
* @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 null.
*/
@@ -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 true 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 In order to use a concrete XSLT engine,
* system property javax.xml.transform.TransformerFactory must be set
* to one of the following values.
- *
+ *
*
* If no Security Provider 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
*
* IMPORTANT: 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
* Security Provider to add if it is not already installed.
* @return an instance of {@link SecurityProviderInfo} referencing the
@@ -110,7 +110,7 @@ public abstract class ProviderUtil
*
* IMPORTANT: This method overrides the security check usually carried
* out by the security manager when inserting a new {@link Provider}.
- *
+ *
* @param provider a non-null Security Provider 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
*
* IMPORTANT: 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
*
* Used by {@link ProviderUtil} to indicate the result of adding a provider,
* given its class name.
- *
+ *
* @param provider the possibly is a ClassDoc
instance for the name class
* or interface.
- *
+ *
* @param name
* The class or interface to look up.
* @return The requested ClassDoc
, or null if the specified
@@ -100,7 +100,7 @@ public interface RootDoc extends Doc, DocErrorReporter
/**
* This method returns a PackageDoc
instance for the named
* package.
- *
+ *
* @param name
* The package to look up.
* @return The requested PackageDoc
, 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: (visit | visitEnum |
+ * called in the following order: (visit | visitEnum |
* visitAnnotation | visitArray)* visitEnd.
*
* @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;
/**
- * true if values are named, false otherwise. Annotation
+ * true if values are named, false 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 true if values are named, false 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 parent the number of annotation values must
+ * @param offset where in parent 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 null.
*/
@@ -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 true if this type of attribute is unknown. The default
* implementation of this method always returns true.
- *
+ *
* @return true if this type of attribute is unknown.
*/
public boolean isUnknown() {
@@ -73,7 +73,7 @@ public class Attribute {
/**
* Returns true if this type of attribute is a code attribute.
- *
+ *
* @return true 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 null 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 len 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 null to put len
* 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 true 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 (not
* including the value name constant pool index).
* @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. This method is intended for {@link Attribute} sub classes, and is
* normally not needed by class generators or adapters.
- *
+ *
* @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}. This method is intended for
* {@link Attribute} sub classes, and is normally not needed by class
* generators or adapters.
- *
+ *
* @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}. This method is
* intended for {@link Attribute} sub classes, and is normally not needed by
* class generators or adapters.
- *
+ *
* @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}. This method is intended
* for {@link Attribute} sub classes, and is normally not needed by class
* generators or adapters.
- *
+ *
* @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}. This method is intended for
* {@link Attribute} sub classes, and is normally not needed by class
* generators or adapters.
- *
+ *
* @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}. This method is intended
* for {@link Attribute} sub classes, and is normally not needed by class
* generators or adapters.
- *
+ *
* @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}. This method
* is intended for {@link Attribute} sub classes, and is normally not needed
* by class generators or adapters.
- *
+ *
* @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}. This method is
* intended for {@link Attribute} sub classes, and is normally not needed by
* class generators or adapters.
- *
+ *
* @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}. This
* method is intended for {@link Attribute} sub classes, and is normally not
* needed by class generators or adapters.
- *
+ *
* @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;
* visitOuterClass ] ( visitAnnotation |
* visitAttribute )* (visitInnerClass |
* visitField | visitMethod )* visitEnd.
- *
+ *
* @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 null.
* @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
* null 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 true 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 must return a new
* {@link MethodVisitor} instance (or null) 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 true if the maximum stack size and the
* maximum number of local variables must be automatically computed.
* If this flag is true, then the arguments of the
@@ -458,7 +458,7 @@ public class ClassWriter implements ClassVisitor {
/**
* Constructs a new {@link ClassWriter} object.
- *
+ *
* @param computeMaxs true if the maximum stack size and the
* maximum number of local variables must be automatically computed.
* If this flag is true, 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:
- *
+ *
*
- *
+ *
* @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.
* This method is intended for {@link Attribute} sub classes, and is
* normally not needed by class generators or adapters.
- *
+ *
* @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. This
* method is intended for {@link Attribute} sub classes, and is normally not
* needed by class generators or adapters.
- *
+ *
* @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.
* This method is intended for {@link Attribute} sub classes, and is
* normally not needed by class generators or adapters.
- *
+ *
* @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.
* This method is intended for {@link Attribute} sub classes, and is
* normally not needed by class generators or adapters.
- *
+ *
* @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.
* This method is intended for {@link Attribute} sub classes, and is
* normally not needed by class generators or adapters.
- *
+ *
* @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.
* This method is intended for {@link Attribute} sub classes, and is
* normally not needed by class generators or adapters.
- *
+ *
* @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. This
* method is intended for {@link Attribute} sub classes, and is normally not
* needed by class generators or adapters.
- *
+ *
* @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 null 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
* must 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: ( visitAnnotation |
* visitAttribute )* visitEnd.
- *
+ *
* @author Eric Bruneton
*/
public interface FieldVisitor {
/**
* Visits an annotation of the field.
- *
+ *
* @param desc the class descriptor of the annotation class.
* @param visible true 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 true if the given item if equal to this one,
* false 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. This method is intended for
* {@link Attribute} sub classes, and is normally not needed by class
* generators or adapters.
- *
+ *
* @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 visitLocalVariable and visitLineNumber
* methods must be called after 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 true 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 true 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.
@@ -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. labels[i] 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. 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 last
* byte, plus one (or, in other words, by the index of the first
@@ -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 indexes
* and sizes: 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 last
* byte, plus one (or, in other words, by the index of the first
@@ -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 last
* byte, plus one (or, in other words, by the index of the first
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 long and
* double, 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 true 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.
* stack_map { // attribute StackMap
* u2 attribute_name_index;
@@ -65,9 +65,9 @@ import org.objectweb.asm.Label;
* stack_map_frame entries[number_of_entries];
* }
*
- *
+ *
* Each stack map frame has the following format:
- *
+ *
*
* stack_map_frame {
* uoffset offset;
@@ -77,12 +77,12 @@ import org.objectweb.asm.Label;
* verification_type_info stack[number_of_stack_items];
* }
*
- *
+ *
* The verification_type_info structure consists of a one-byte tag
* followed by zero or more bytes, giving more information about the tag. Each
* verification_type_info structure specifies the verification type
* of one or two locations.
- *
+ *
*
* 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;
* }
*
- *
+ *
* @see JSR 139 : Connected
* Limited Device Configuration 1.1
- *
+ *
* @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.
- *
+ *
* Note that Long and Double types are represented by two entries in locals
* and stack. Second entry should be always of type Top.
- *
+ *
* @see JSR 139 : Connected
* Limited Device Configuration 1.1
- *
+ *
* @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 ustack
* represents the type u2; otherwise ustack represents the type u4.
- *
+ *
*
* stack_map { // attribute StackMapTable
* u2 attribute_name_index;
@@ -76,7 +76,7 @@ import org.objectweb.asm.Type;
* stack_map_frame entries[number_of_entries];
* }
*
- *
+ *
* 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;
*
The stack_map_frame structure consists of a one-byte tag followed
* by zero or more bytes, giving more information, depending upon the tag.
*
A stack map frame may belong to one of several frame types
- *
+ *
*
* union stack_map_frame {
* same_frame;
@@ -108,65 +108,65 @@ import org.objectweb.asm.Type;
* full_frame;
* }
*
- *
+ *
* 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:
- *
+ *
*
* same_frame {
* u1 frame_type = SAME; // 0-63
* }
*
- *
+ *
* 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:
- *
+ *
*
* same_locals_1_stack_item_frame {
* u1 frame_type = SAME_LOCALS_1_STACK_ITEM; // 64-127
* verification_type_info stack[1];
* }
*
- *
+ *
* Tags in the range [128-247] are reserved for future use.
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.
The form of
* such a frame is then:
- *
+ *
*
* chop_frame {
* u1 frame_type=CHOP; // 248-250
* uoffset offset_delta;
* }
*
- *
+ *
* 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:
- *
+ *
*
* same_frame_extended {
* u1 frame_type = SAME_FRAME_EXTENDED; // 251
* uoffset offset_delta;
* }
*
- *
+ *
* 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.
The
* form of such a frame is then:
- *
+ *
*
* append_frame {
* u1 frame_type =APPEND; // 252-254
@@ -174,7 +174,7 @@ import org.objectweb.asm.Type;
* verification_type_info locals[frame_type -251];
* }
*
- *
+ *
* 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.
The frame type full_frame is represented by the tag
* value 255. The form of such a frame is then:
- *
+ *
*
* 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];
* }
*
- *
+ *
* 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.
- *
+ *
*
* union verification_type_info {
* Top_variable_info;
@@ -236,119 +236,119 @@ import org.objectweb.asm.Type;
* Uninitialized_variable_info;
* }
*
- *
+ *
* The Top_variable_info type indicates that the local variable has the
* verification type top (T.)
- *
+ *
*
* Top_variable_info {
* u1 tag = ITEM_Top; // 0
* }
*
- *
+ *
* The Integer_variable_info type indicates that the location contains the
* verification type int.
- *
+ *
*
* Integer_variable_info {
* u1 tag = ITEM_Integer; // 1
* }
*
- *
+ *
* The Float_variable_info type indicates that the location contains the
* verification type float.
- *
+ *
*
* Float_variable_info {
* u1 tag = ITEM_Float; // 2
* }
*
- *
+ *
* The Long_variable_info type indicates that the location contains the
* verification type long. If the location is a local variable, then:
- *
+ *
*
- *
+ *
* If the location is an operand stack entry, then:
- *
+ *
*
- *
+ *
* This structure gives the contents of two locations in the operand stack or in
* the local variables.
- *
+ *
*
* Long_variable_info {
* u1 tag = ITEM_Long; // 4
* }
*
- *
+ *
* The Double_variable_info type indicates that the location contains the
* verification type double. If the location is a local variable, then:
- *
+ *
*
- *
+ *
* If the location is an operand stack entry, then:
- *
+ *
*
- *
+ *
* This structure gives the contents of two locations in in the operand stack or
* in the local variables.
- *
+ *
*
* Double_variable_info {
* u1 tag = ITEM_Double; // 3
* }
*
- *
+ *
* The Null_variable_info type indicates that location contains the verification
* type null.
- *
+ *
*
* Null_variable_info {
* u1 tag = ITEM_Null; // 5
* }
*
- *
+ *
* The UninitializedThis_variable_info type indicates that the location contains
* the verification type uninitializedThis.
- *
+ *
*
* UninitializedThis_variable_info {
* u1 tag = ITEM_UninitializedThis; // 6
* }
*
- *
+ *
* The Object_variable_info type indicates that the location contains an
* instance of the class referenced by the constant pool entry.
- *
+ *
*
* Object_variable_info {
* u1 tag = ITEM_Object; // 7
* u2 cpool_index;
* }
*
- *
+ *
* 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.
- *
+ *
*
* Uninitialized_variable_info {
* u1 tag = ITEM_Uninitialized // 8
* uoffset offset;
* }
*
- *
+ *
* @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 JSR 139 : Connected
* Limited Device Configuration 1.1
- *
+ *
* @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;
*
- *
+ *
*
- *
+ *
* @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.
*
- *
+ *
* Custom code can use or change all the local variables,
* but should not change state of the stack.
*/
@@ -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:
- *
+ *
*
* 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) {
* ...
*
- *
+ *
*
- *
+ *
* Custom code can use or change all the local variables,
* but should not change state of the stack.
- *
- * @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
- *
+ *
*
* public class Example {
* public static void main(String[] args) {
@@ -50,20 +50,20 @@ import org.objectweb.asm.Type;
* }
* }
*
- *
+ *
* can be generated as follows:
- *
+ *
*
* 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();
*
- *
+ *
* @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 null.
*/
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 true.
@@ -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 true.
@@ -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 true.
*/
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 true.
*/
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 true.
*/
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 true 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:
- *
+ *
*
* ClassWriter cw = new ClassWriter(...);
* ClassVisitor sv = new SerialVersionUIDAdder(cw);
* ClassVisitor ca = new MyClassAdapter(sv);
* new ClassReader(orginalClass).accept(ca, false);
*
- *
+ *
* The SVUID algorithm can be found http://java.sun.com/j2se/1.4.2/docs/guide/serialization/spec/class.html:
- *
+ *
*
* 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;
*
- *
+ *
* @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
* isHasSVUID
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 DataOutputStream
value
* @param dotted a boolean
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 ClassSignature, MethodTypeSignature,
* or FieldTypeSignature.
*/
@@ -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 FieldTypeSignature, such as the
* signature
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):
- *
+ *
* @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
* void.
*/
@@ -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 0d49747..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. labels[i] 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 null.
- *
+ *
* @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 null.
- *
+ *
* @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 null.
- *
+ *
* @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 true 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 null.
- *
+ *
* @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 null.
- *
+ *
* @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 null
- *
+ *
* @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 null
- *
+ *
* @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 i
* at line 5 are the txo ISTORE instructions at line 1 and 3:
- *
+ *
*
* 1: i = 0;
* 2: if (...) {
@@ -58,7 +58,7 @@ public class DataflowValue implements Value {
* 4: }
* 5: return i;
*
- *
+ *
* 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 two slots in local variables, and by one 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 true 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 this
),
- * exception handler variable and with null
type
+ * exception handler variable and with null
type
* for variables reserved by long and double types.
- *
+ *
* @param type a primitive or reference type, or null 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 v,
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 true 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 null.
*/
@@ -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 null.
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);
- *
+ *
*
where Hello is defined by:
* 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();
* }
* }
- *
+ *
*
- *
+ *
*
- *
+ *
*
- *
+ *
* @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.
* public class Hello {
- *
+ *
* public static void main(String[] args) {
* System.out.println("hello");
* }
* }
*
- *
+ *
* ClassReader
that contains bytecode for the analysis.
+ *
+ * @param cr a ClassReader
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 void m (), the invalid instruction
* IRETURN, or the invalid sequence IADD L2I will not 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 true if V 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 true if V 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 true 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 true 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.
- *
+ *
*
where Hello is defined by:
* // class version 49.0 (49)
* // access flags 33
@@ -74,9 +74,9 @@ import org.objectweb.asm.signature.SignatureReader;
* MAXLOCALS = 1
* }
*
- *
+ *
*
- *
+ *
*
- *
+ *
* @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.
* public class Hello {
*
@@ -85,9 +85,9 @@ import org.objectweb.asm.signature.SignatureReader;
* }
* }
*
- *
+ *
* null
.
- *
+ *
* @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 null
.
- *
+ *
* @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 null
.
- *
+ *
* @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.
- *
+ *
* @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}.
- *
+ *
*
- *
+ *
* jd.xslt
* jd.xml.xslt.trax.TransformerFactoryImpl
- *
+ *
* Saxon net.sf.saxon.TransformerFactoryImpl
- *
+ *
* Caucho com.caucho.xsl.Xsl
- *
+ *
* Xalan interpeter org.apache.xalan.processor.TransformerFactory
* Xalan xsltc org.apache.xalan.xsltc.trax.TransformerFactoryImpl
* This implementation does not support namespaces, entity
* definitions (uncluding DTD), CDATA and text elements.
*/
@@ -602,7 +602,7 @@ public class Processor {
/**
* Creates SAXWriter
.
- *
+ *
* @param w writer
* @param optimizeEmptyElements if set to true
, 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 true 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 3a21fe9..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; iContainerEvent
indicating component
* addition
*/
@@ -113,7 +113,7 @@ class PluginAppletWindow
/**
* This method is called when a component is removed from the container.
- *
+ *
* @param event the ContainerEvent
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 MouseEvent
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
* getChangeFlags()
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 =
"";
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 ContainerEvent
indicating component
* addition
*/
@@ -277,7 +277,7 @@ class StandaloneAppletWindow
/**
* This method is called when a component is removed from the container.
- *
+ *
* @param event the ContainerEvent
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 MouseEvent
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
* getChangeFlags()
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
* null
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 @
* 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
* null
{@link Provider}.
* @param position the position of provider
in the list of
* Security Providers in the underlying JVM runtime. -1
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; iindentStep
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
is a
- else if (!isAtomTag) {
- tag += "/";
- isAtomTag = true;
- }
+ // throw away
is a
and every\n
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
*
* The text to print may contain \n
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
*
* The text to print may contain \n
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
*
* The text to print may contain \n
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 --help
option.
*
* 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
* 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
*
* 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
@@ -171,9 +171,9 @@ public class SFHelper
* crls [1] IMPLICIT CertificateRevocationLists OPTIONAL,
* signerInfos SignerInfos
* }
- *
+ *
* DigestAlgorithmIdentifiers ::= SET OF DigestAlgorithmIdentifier
- *
+ *
* SignerInfos ::= SET OF SignerInfo
*
*
@@ -189,18 +189,18 @@ public class SFHelper
* encryptedDigest EncryptedDigest,
* unauthenticatedAttributes [1] IMPLICIT Attributes OPTIONAL
* }
- *
+ *
* EncryptedDigest ::= OCTET STRING
*
- *
+ *
* @param jar the JAR output stream to write a text
,
* starting at startIndex
and stopping at
- * endIndex
.
+ * endIndex
.
*
* @param text the text to be searched
* @param startIndex index in text
at which to start
* @param endIndex index in text
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, endIndex
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=(itrue
, 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..d5b1b1e 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; iinheritDoc
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 (; startIndexnull
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 = "foo()
will hold no more references to the array
* and so it can be garbage collected in bar()
.
- *
+ *
*/
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.SF
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 true
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
* .SF
file to the designated JAR
* output stream. Line-endings are platform-independent and consist of the
* 2-codepoint sequence 0x0D
and 0x0A
.
- *
+ *
* @param jar the JAR output stream to write a .SF
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
*
* .DSA
file to.
* @param signerKey the private key to sign with.
* @param certificates the possibly null signer certificate chain.
* @param internalSF if true
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("\r\n");
+ bufferOut.append("\r\n");
if (isXHTML_1_1)
{
bufferOut.append("\r\n");
}
bufferOut.append(" \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()),
"");
}
bufferOut.append("\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), "");
- bufferOut.insert((bufferOut.length() -
+ bufferOut.insert((bufferOut.length() -
(" ").length()), "");
}
spaceLength = 0;
}
}
- else
+ else
{
- // line numbers are in lineNumberColor
+ // line numbers are in lineNumberColor
bufferOut.append("");
bufferOut.append(codeLineNumber);
bufferOut.append(": ");
@@ -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,
"");
@@ -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,
"");
bufferOut.append("");
@@ -941,7 +941,7 @@ public class Java2xhtml
else if (State.PACKAGE_NAME == presentState)
{
// package identifier
- bufferOut.insert(bufferOut.length() -
+ bufferOut.insert(bufferOut.length() -
qualifiedIdentifierLength,
"");
bufferOut.append("");
@@ -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,
"");
bufferOut.append("");
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,
"");
@@ -982,14 +982,14 @@ public class Java2xhtml
{
// identifier is a constant
bufferOut.insert(bufferOut.length() -
- qualifiedIdentifierLength,
+ qualifiedIdentifierLength,
"");
bufferOut.append("");
}
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,
- "");
bufferOut.append("");
}
@@ -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,
"");
- bufferOut.append("");
+ bufferOut.append("");
}
else if (bufferIn.charAt(saveIndex) == ',')
{
// comma seperated variables
- bufferOut.insert(bufferOut.length() -
- qualifiedIdentifierLength,
+ bufferOut.insert(bufferOut.length() -
+ qualifiedIdentifierLength,
"");
- bufferOut.append("");
+ bufferOut.append("");
}
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,
"");
- bufferOut.append("");
+ bufferOut.append("");
}
}
else
@@ -1069,17 +1069,17 @@ public class Java2xhtml
bufferOut.append("");
}
// 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,
"");
bufferOut.append("");
@@ -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(),
"");
- }
+ }
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(),
"");
}
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(), "");
}
else
- {
+ {
presentState = State.TRADITIONAL_COMMENT;
- bufferOut.insert(bufferOut.length() -
+ bufferOut.insert(bufferOut.length() -
("/*").length(), "");
}
@@ -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("");
presentState = State.TEXT;
}
- if ((State.TEXT == presentState) &&
+ if ((State.TEXT == presentState) &&
(presentIndex > 0) &&
(bufferIn.charAt(presentIndex - 1) == '/'))
- {
- bufferOut.insert(bufferOut.length() - ("//").length(),
- "");
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("");
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("");
}
break;
- default: // everything else
+ default: // everything else
bufferOut.append(presentChar);
}
qualifiedIdentifierLength = 0;
@@ -1254,7 +1254,7 @@ public class Java2xhtml
bufferOut.append("\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(" \r\n");
@@ -1315,8 +1315,8 @@ public class Java2xhtml
}
else
{
- bufferOut.append(" This is a valid\r\n");
- bufferOut.append(" CSS\r\n");
- bufferOut.append(" document \r\n");
+ bufferOut.append(" document \r\n");
if (hasFooterDate)
{
bufferOut.append("