Optimize imports \o/
This commit is contained in:
parent
54e96d965b
commit
75841417c8
163 changed files with 377 additions and 1175 deletions
|
@ -21,6 +21,8 @@
|
|||
******************************************************************************/
|
||||
package com.eclipsesource.json;
|
||||
|
||||
import com.eclipsesource.json.JsonObject.Member;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.ObjectInputStream;
|
||||
import java.io.Reader;
|
||||
|
@ -29,8 +31,6 @@ import java.util.Collections;
|
|||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
import com.eclipsesource.json.JsonObject.Member;
|
||||
|
||||
|
||||
/**
|
||||
* Represents a JSON object, a set of name/value pairs, where the names are strings and the values
|
||||
|
|
|
@ -21,11 +21,7 @@
|
|||
******************************************************************************/
|
||||
package com.eclipsesource.json;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.Reader;
|
||||
import java.io.Serializable;
|
||||
import java.io.StringWriter;
|
||||
import java.io.Writer;
|
||||
import java.io.*;
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -2,7 +2,10 @@ package com.jhe.hexed;
|
|||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
import java.awt.event.KeyEvent;
|
||||
import java.awt.event.KeyListener;
|
||||
import java.awt.event.MouseEvent;
|
||||
import java.awt.event.MouseListener;
|
||||
|
||||
/**
|
||||
* Created by IntelliJ IDEA. User: laullon Date: 09-abr-2003 Time: 12:47:18
|
||||
|
|
|
@ -2,7 +2,10 @@ package com.jhe.hexed;
|
|||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
import java.awt.event.KeyEvent;
|
||||
import java.awt.event.KeyListener;
|
||||
import java.awt.event.MouseEvent;
|
||||
import java.awt.event.MouseListener;
|
||||
|
||||
/**
|
||||
* Created by IntelliJ IDEA. User: laullon Date: 09-abr-2003 Time: 12:47:32
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
package jd.cli;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.PrintStream;
|
||||
|
||||
import jd.cli.loader.DirectoryLoader;
|
||||
import jd.cli.preferences.CommonPreferences;
|
||||
import jd.cli.printer.text.PlainTextPrinter;
|
||||
|
@ -10,6 +7,9 @@ import jd.cli.util.ClassFileUtil;
|
|||
import jd.core.Decompiler;
|
||||
import jd.core.process.DecompilerImpl;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.PrintStream;
|
||||
|
||||
|
||||
public class Main
|
||||
{
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
package jd.cli.loader;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
import jd.core.loader.Loader;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
public abstract class BaseLoader implements Loader
|
||||
{
|
||||
protected String codebase;
|
||||
|
|
|
@ -1,13 +1,9 @@
|
|||
package jd.cli.loader;
|
||||
|
||||
import java.io.BufferedInputStream;
|
||||
import java.io.DataInputStream;
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileNotFoundException;
|
||||
|
||||
import jd.core.loader.LoaderException;
|
||||
|
||||
import java.io.*;
|
||||
|
||||
|
||||
public class DirectoryLoader extends BaseLoader
|
||||
{
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
package jd.cli.loader;
|
||||
|
||||
import jd.core.loader.LoaderException;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.zip.ZipEntry;
|
||||
import java.util.zip.ZipFile;
|
||||
|
||||
import jd.core.loader.LoaderException;
|
||||
|
||||
|
||||
public class JarLoader extends BaseLoader
|
||||
{
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
package jd.cli.loader;
|
||||
|
||||
import jd.core.loader.LoaderException;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
import jd.core.loader.LoaderException;
|
||||
|
||||
public class LoaderManager
|
||||
{
|
||||
protected final static String JAR_SUFFIX = ".jar";
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
package jd.cli.printer.html;
|
||||
|
||||
import java.io.PrintStream;
|
||||
|
||||
import jd.cli.util.VersionUtil;
|
||||
import jd.core.CoreConstants;
|
||||
import jd.core.printer.Printer;
|
||||
|
||||
import java.io.PrintStream;
|
||||
|
||||
/*
|
||||
* CSS
|
||||
* .javacode{font-size:11px}
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
package jd.cli.printer.text;
|
||||
|
||||
import java.io.PrintStream;
|
||||
|
||||
import jd.cli.preferences.CommonPreferences;
|
||||
import jd.core.model.instruction.bytecode.instruction.Instruction;
|
||||
import jd.core.printer.Printer;
|
||||
|
||||
import java.io.PrintStream;
|
||||
|
||||
public class PlainTextPrinter implements Printer
|
||||
{
|
||||
protected static final String TAB = " ";
|
||||
|
|
|
@ -18,12 +18,7 @@
|
|||
package org.apache.commons.cli;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.Properties;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* Represents list of arguments parsed against a {@link Options} descriptor.
|
||||
|
|
|
@ -17,18 +17,8 @@
|
|||
|
||||
package org.apache.commons.cli;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.PrintWriter;
|
||||
import java.io.Serializable;
|
||||
import java.io.StringReader;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.Comparator;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.io.*;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* A formatter of help messages for command line options.
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
|
||||
package org.apache.commons.cli;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Thrown when a required option has not been provided.
|
||||
|
|
|
@ -18,14 +18,7 @@
|
|||
package org.apache.commons.cli;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* Main entry-point into the library.
|
||||
|
|
|
@ -17,12 +17,7 @@
|
|||
|
||||
package org.apache.commons.cli;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Enumeration;
|
||||
import java.util.List;
|
||||
import java.util.ListIterator;
|
||||
import java.util.Properties;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* <code>Parser</code> creates {@link CommandLine}s.
|
||||
|
|
|
@ -18,10 +18,8 @@
|
|||
package org.apache.commons.cli;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
|
|
|
@ -17,13 +17,13 @@
|
|||
|
||||
package org.apache.commons.codec.binary;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import org.apache.commons.codec.BinaryDecoder;
|
||||
import org.apache.commons.codec.BinaryEncoder;
|
||||
import org.apache.commons.codec.DecoderException;
|
||||
import org.apache.commons.codec.EncoderException;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* Abstract superclass for Base-N encoders and decoders.
|
||||
*
|
||||
|
|
|
@ -17,13 +17,13 @@
|
|||
|
||||
package org.apache.commons.codec.binary;
|
||||
|
||||
import static org.apache.commons.codec.binary.BaseNCodec.EOF;
|
||||
import org.apache.commons.codec.binary.BaseNCodec.Context;
|
||||
|
||||
import java.io.FilterInputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
import org.apache.commons.codec.binary.BaseNCodec.Context;
|
||||
import static org.apache.commons.codec.binary.BaseNCodec.EOF;
|
||||
|
||||
/**
|
||||
* Abstract superclass for Base-N input streams.
|
||||
|
|
|
@ -17,13 +17,13 @@
|
|||
|
||||
package org.apache.commons.codec.binary;
|
||||
|
||||
import static org.apache.commons.codec.binary.BaseNCodec.EOF;
|
||||
import org.apache.commons.codec.binary.BaseNCodec.Context;
|
||||
|
||||
import java.io.FilterOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.OutputStream;
|
||||
|
||||
import org.apache.commons.codec.binary.BaseNCodec.Context;
|
||||
import static org.apache.commons.codec.binary.BaseNCodec.EOF;
|
||||
|
||||
/**
|
||||
* Abstract superclass for Base-N output streams.
|
||||
|
|
|
@ -17,16 +17,11 @@
|
|||
|
||||
package org.apache.commons.codec.binary;
|
||||
|
||||
import org.apache.commons.codec.*;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
import java.nio.charset.Charset;
|
||||
|
||||
import org.apache.commons.codec.BinaryDecoder;
|
||||
import org.apache.commons.codec.BinaryEncoder;
|
||||
import org.apache.commons.codec.CharEncoding;
|
||||
import org.apache.commons.codec.Charsets;
|
||||
import org.apache.commons.codec.DecoderException;
|
||||
import org.apache.commons.codec.EncoderException;
|
||||
|
||||
/**
|
||||
* Converts hexadecimal Strings. The charset used for certain operation can be set, the default is set in
|
||||
* {@link #DEFAULT_CHARSET_NAME}
|
||||
|
|
|
@ -17,13 +17,13 @@
|
|||
|
||||
package org.apache.commons.codec.binary;
|
||||
|
||||
import org.apache.commons.codec.CharEncoding;
|
||||
import org.apache.commons.codec.Charsets;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.nio.charset.Charset;
|
||||
|
||||
import org.apache.commons.codec.CharEncoding;
|
||||
import org.apache.commons.codec.Charsets;
|
||||
|
||||
/**
|
||||
* Converts String to and from bytes using the encodings required by the Java specification. These encodings are
|
||||
* specified in <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">
|
||||
|
|
|
@ -17,15 +17,15 @@
|
|||
|
||||
package org.apache.commons.codec.digest;
|
||||
|
||||
import org.apache.commons.codec.binary.Hex;
|
||||
import org.apache.commons.codec.binary.StringUtils;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.security.MessageDigest;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
|
||||
import org.apache.commons.codec.binary.Hex;
|
||||
import org.apache.commons.codec.binary.StringUtils;
|
||||
|
||||
/**
|
||||
* Operations to simplify common {@link java.security.MessageDigest} tasks.
|
||||
* This class is immutable and thread-safe.
|
||||
|
|
|
@ -17,18 +17,17 @@
|
|||
|
||||
package org.apache.commons.codec.digest;
|
||||
|
||||
import org.apache.commons.codec.binary.Hex;
|
||||
import org.apache.commons.codec.binary.StringUtils;
|
||||
|
||||
import javax.crypto.Mac;
|
||||
import javax.crypto.spec.SecretKeySpec;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.security.InvalidKeyException;
|
||||
import java.security.Key;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
|
||||
import javax.crypto.Mac;
|
||||
import javax.crypto.spec.SecretKeySpec;
|
||||
|
||||
import org.apache.commons.codec.binary.Hex;
|
||||
import org.apache.commons.codec.binary.StringUtils;
|
||||
|
||||
/**
|
||||
* Simplifies common {@link javax.crypto.Mac} tasks. This class is immutable and thread-safe.
|
||||
*
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
*/
|
||||
package org.apache.commons.codec.digest;
|
||||
|
||||
import org.apache.commons.codec.Charsets;
|
||||
|
||||
import java.security.MessageDigest;
|
||||
import java.util.Arrays;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import org.apache.commons.codec.Charsets;
|
||||
|
||||
/**
|
||||
* The libc crypt() "$1$" and Apache "$apr1$" MD5-based hash algorithm.
|
||||
* <p>
|
||||
|
|
|
@ -16,14 +16,14 @@
|
|||
*/
|
||||
package org.apache.commons.codec.digest;
|
||||
|
||||
import org.apache.commons.codec.Charsets;
|
||||
|
||||
import java.security.MessageDigest;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import java.util.Arrays;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import org.apache.commons.codec.Charsets;
|
||||
|
||||
/**
|
||||
* SHA2-based Unix crypt implementation.
|
||||
* <p>
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
*/
|
||||
package org.apache.commons.codec.digest;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import org.apache.commons.codec.Charsets;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
/**
|
||||
* Unix crypt(3) algorithm implementation.
|
||||
* <p>
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
|
||||
package org.apache.commons.codec.language;
|
||||
|
||||
import java.util.Locale;
|
||||
|
||||
import org.apache.commons.codec.EncoderException;
|
||||
import org.apache.commons.codec.StringEncoder;
|
||||
|
||||
import java.util.Locale;
|
||||
|
||||
/**
|
||||
* Encodes a string into a Cologne Phonetic value.
|
||||
* <p>
|
||||
|
|
|
@ -16,22 +16,13 @@
|
|||
*/
|
||||
package org.apache.commons.codec.language;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.Comparator;
|
||||
import java.util.HashMap;
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Scanner;
|
||||
import java.util.Set;
|
||||
|
||||
import org.apache.commons.codec.CharEncoding;
|
||||
import org.apache.commons.codec.EncoderException;
|
||||
import org.apache.commons.codec.StringEncoder;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* Encodes a string into a Daitch-Mokotoff Soundex value.
|
||||
* <p>
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
*/
|
||||
package org.apache.commons.codec.language;
|
||||
|
||||
import java.util.Locale;
|
||||
|
||||
import org.apache.commons.codec.EncoderException;
|
||||
import org.apache.commons.codec.StringEncoder;
|
||||
|
||||
import java.util.Locale;
|
||||
|
||||
/**
|
||||
* Match Rating Approach Phonetic Algorithm Developed by <CITE>Western Airlines</CITE> in 1977.
|
||||
*
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
|
||||
package org.apache.commons.codec.language;
|
||||
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import org.apache.commons.codec.EncoderException;
|
||||
import org.apache.commons.codec.StringEncoder;
|
||||
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* Encodes a string into a NYSIIS value. NYSIIS is an encoding used to relate similar names, but can also be used as a
|
||||
* general purpose scheme to find word with similar phonemes.
|
||||
|
|
|
@ -18,16 +18,7 @@
|
|||
package org.apache.commons.codec.language.bm;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.EnumMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.Scanner;
|
||||
import java.util.Set;
|
||||
import java.util.*;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
|
|
|
@ -18,13 +18,7 @@
|
|||
package org.apache.commons.codec.language.bm;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.util.Collections;
|
||||
import java.util.EnumMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Map;
|
||||
import java.util.NoSuchElementException;
|
||||
import java.util.Scanner;
|
||||
import java.util.Set;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* Language codes.
|
||||
|
|
|
@ -17,22 +17,11 @@
|
|||
|
||||
package org.apache.commons.codec.language.bm;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.EnumMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.TreeMap;
|
||||
|
||||
import org.apache.commons.codec.language.bm.Languages.LanguageSet;
|
||||
import org.apache.commons.codec.language.bm.Rule.Phoneme;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* Converts words into potential phonetic representations.
|
||||
* <p>
|
||||
|
|
|
@ -17,23 +17,13 @@
|
|||
|
||||
package org.apache.commons.codec.language.bm;
|
||||
|
||||
import org.apache.commons.codec.language.bm.Languages.LanguageSet;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.Comparator;
|
||||
import java.util.EnumMap;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Scanner;
|
||||
import java.util.Set;
|
||||
import java.util.*;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import org.apache.commons.codec.language.bm.Languages.LanguageSet;
|
||||
|
||||
/**
|
||||
* A phoneme rule.
|
||||
* <p>
|
||||
|
|
|
@ -17,16 +17,12 @@
|
|||
|
||||
package org.apache.commons.codec.net;
|
||||
|
||||
import org.apache.commons.codec.*;
|
||||
import org.apache.commons.codec.binary.Base64;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.nio.charset.Charset;
|
||||
|
||||
import org.apache.commons.codec.Charsets;
|
||||
import org.apache.commons.codec.DecoderException;
|
||||
import org.apache.commons.codec.EncoderException;
|
||||
import org.apache.commons.codec.StringDecoder;
|
||||
import org.apache.commons.codec.StringEncoder;
|
||||
import org.apache.commons.codec.binary.Base64;
|
||||
|
||||
/**
|
||||
* Identical to the Base64 encoding defined by <a href="http://www.ietf.org/rfc/rfc1521.txt">RFC 1521</a>
|
||||
* and allows a character set to be specified.
|
||||
|
|
|
@ -17,16 +17,12 @@
|
|||
|
||||
package org.apache.commons.codec.net;
|
||||
|
||||
import org.apache.commons.codec.*;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.nio.charset.Charset;
|
||||
import java.util.BitSet;
|
||||
|
||||
import org.apache.commons.codec.Charsets;
|
||||
import org.apache.commons.codec.DecoderException;
|
||||
import org.apache.commons.codec.EncoderException;
|
||||
import org.apache.commons.codec.StringDecoder;
|
||||
import org.apache.commons.codec.StringEncoder;
|
||||
|
||||
/**
|
||||
* Similar to the Quoted-Printable content-transfer-encoding defined in
|
||||
* <a href="http://www.ietf.org/rfc/rfc1521.txt">RFC 1521</a> and designed to allow text containing mostly ASCII
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
package org.apache.commons.codec.net;
|
||||
|
||||
import org.apache.commons.codec.*;
|
||||
import org.apache.commons.codec.binary.StringUtils;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.nio.charset.Charset;
|
||||
|
@ -24,15 +27,6 @@ import java.nio.charset.IllegalCharsetNameException;
|
|||
import java.nio.charset.UnsupportedCharsetException;
|
||||
import java.util.BitSet;
|
||||
|
||||
import org.apache.commons.codec.BinaryDecoder;
|
||||
import org.apache.commons.codec.BinaryEncoder;
|
||||
import org.apache.commons.codec.Charsets;
|
||||
import org.apache.commons.codec.DecoderException;
|
||||
import org.apache.commons.codec.EncoderException;
|
||||
import org.apache.commons.codec.StringDecoder;
|
||||
import org.apache.commons.codec.StringEncoder;
|
||||
import org.apache.commons.codec.binary.StringUtils;
|
||||
|
||||
/**
|
||||
* Codec for the Quoted-Printable section of <a href="http://www.ietf.org/rfc/rfc1521.txt">RFC 1521</a>.
|
||||
* <p>
|
||||
|
|
|
@ -17,13 +17,13 @@
|
|||
|
||||
package org.apache.commons.codec.net;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.nio.charset.Charset;
|
||||
|
||||
import org.apache.commons.codec.DecoderException;
|
||||
import org.apache.commons.codec.EncoderException;
|
||||
import org.apache.commons.codec.binary.StringUtils;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.nio.charset.Charset;
|
||||
|
||||
/**
|
||||
* Implements methods common to all codecs defined in RFC 1522.
|
||||
* <p>
|
||||
|
|
|
@ -17,19 +17,13 @@
|
|||
|
||||
package org.apache.commons.codec.net;
|
||||
|
||||
import org.apache.commons.codec.*;
|
||||
import org.apache.commons.codec.binary.StringUtils;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.util.BitSet;
|
||||
|
||||
import org.apache.commons.codec.BinaryDecoder;
|
||||
import org.apache.commons.codec.BinaryEncoder;
|
||||
import org.apache.commons.codec.CharEncoding;
|
||||
import org.apache.commons.codec.DecoderException;
|
||||
import org.apache.commons.codec.EncoderException;
|
||||
import org.apache.commons.codec.StringDecoder;
|
||||
import org.apache.commons.codec.StringEncoder;
|
||||
import org.apache.commons.codec.binary.StringUtils;
|
||||
|
||||
/**
|
||||
* Implements the 'www-form-urlencoded' encoding scheme, also misleadingly known as URL encoding.
|
||||
* <p>
|
||||
|
|
|
@ -15,23 +15,17 @@
|
|||
*/
|
||||
package org.imgscalr;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.awt.image.BufferedImageOp;
|
||||
import java.awt.image.ImagingOpException;
|
||||
import java.util.concurrent.Callable;
|
||||
import java.util.concurrent.ExecutorService;
|
||||
import java.util.concurrent.Executors;
|
||||
import java.util.concurrent.Future;
|
||||
import java.util.concurrent.ThreadFactory;
|
||||
import java.util.concurrent.ThreadPoolExecutor;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
import org.imgscalr.Scalr.Method;
|
||||
import org.imgscalr.Scalr.Mode;
|
||||
import org.imgscalr.Scalr.Rotation;
|
||||
|
||||
import java.awt.*;
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.awt.image.BufferedImageOp;
|
||||
import java.awt.image.ImagingOpException;
|
||||
import java.util.concurrent.*;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
/**
|
||||
* Class used to provide the asynchronous versions of all the methods defined in
|
||||
* {@link Scalr} for the purpose of efficiently handling large amounts of image
|
||||
|
|
|
@ -15,28 +15,12 @@
|
|||
*/
|
||||
package org.imgscalr;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.Image;
|
||||
import java.awt.RenderingHints;
|
||||
import java.awt.Transparency;
|
||||
import javax.imageio.ImageIO;
|
||||
import java.awt.*;
|
||||
import java.awt.color.ColorSpace;
|
||||
import java.awt.geom.AffineTransform;
|
||||
import java.awt.geom.Rectangle2D;
|
||||
import java.awt.image.AreaAveragingScaleFilter;
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.awt.image.BufferedImageOp;
|
||||
import java.awt.image.ColorConvertOp;
|
||||
import java.awt.image.ColorModel;
|
||||
import java.awt.image.ConvolveOp;
|
||||
import java.awt.image.ImagingOpException;
|
||||
import java.awt.image.IndexColorModel;
|
||||
import java.awt.image.Kernel;
|
||||
import java.awt.image.RasterFormatException;
|
||||
import java.awt.image.RescaleOp;
|
||||
|
||||
import javax.imageio.ImageIO;
|
||||
import java.awt.image.*;
|
||||
|
||||
/**
|
||||
* Class used to implement performant, high-quality and intelligent image
|
||||
|
|
|
@ -29,17 +29,13 @@
|
|||
*/
|
||||
package org.objectweb.asm.commons;
|
||||
|
||||
import org.objectweb.asm.*;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.Handle;
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.Type;
|
||||
|
||||
/**
|
||||
* A {@link org.objectweb.asm.MethodVisitor} to insert before, after and around
|
||||
* advices in methods and constructors.
|
||||
|
|
|
@ -29,17 +29,13 @@
|
|||
*/
|
||||
package org.objectweb.asm.commons;
|
||||
|
||||
import org.objectweb.asm.*;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.Handle;
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.Type;
|
||||
|
||||
/**
|
||||
* A {@link MethodVisitor} that keeps track of stack map frame changes between
|
||||
* {@link #visitFrame(int, int, Object[], int, Object[]) visitFrame} calls. This
|
||||
|
|
|
@ -29,17 +29,12 @@
|
|||
*/
|
||||
package org.objectweb.asm.commons;
|
||||
|
||||
import org.objectweb.asm.*;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.objectweb.asm.ClassVisitor;
|
||||
import org.objectweb.asm.Handle;
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.Type;
|
||||
|
||||
/**
|
||||
* A {@link org.objectweb.asm.MethodVisitor} with convenient methods to generate
|
||||
* code. For example, using this adapter, the class below
|
||||
|
|
|
@ -30,11 +30,7 @@
|
|||
|
||||
package org.objectweb.asm.commons;
|
||||
|
||||
import org.objectweb.asm.Handle;
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.Type;
|
||||
import org.objectweb.asm.*;
|
||||
|
||||
/**
|
||||
* A {@link MethodVisitor} providing a more detailed API to generate and
|
||||
|
|
|
@ -29,30 +29,13 @@
|
|||
*/
|
||||
package org.objectweb.asm.commons;
|
||||
|
||||
import java.util.AbstractMap;
|
||||
import java.util.ArrayList;
|
||||
import java.util.BitSet;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.Type;
|
||||
import org.objectweb.asm.tree.AbstractInsnNode;
|
||||
import org.objectweb.asm.tree.InsnList;
|
||||
import org.objectweb.asm.tree.InsnNode;
|
||||
import org.objectweb.asm.tree.JumpInsnNode;
|
||||
import org.objectweb.asm.tree.LabelNode;
|
||||
import org.objectweb.asm.tree.LocalVariableNode;
|
||||
import org.objectweb.asm.tree.LookupSwitchInsnNode;
|
||||
import org.objectweb.asm.tree.MethodNode;
|
||||
import org.objectweb.asm.tree.TableSwitchInsnNode;
|
||||
import org.objectweb.asm.tree.TryCatchBlockNode;
|
||||
import org.objectweb.asm.tree.*;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* A {@link org.objectweb.asm.MethodVisitor} that removes JSR instructions and
|
||||
|
|
|
@ -29,12 +29,7 @@
|
|||
*/
|
||||
package org.objectweb.asm.commons;
|
||||
|
||||
import org.objectweb.asm.AnnotationVisitor;
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.Type;
|
||||
import org.objectweb.asm.TypePath;
|
||||
import org.objectweb.asm.*;
|
||||
|
||||
/**
|
||||
* A {@link MethodVisitor} that renumbers local variables in their order of
|
||||
|
|
|
@ -29,11 +29,11 @@
|
|||
*/
|
||||
package org.objectweb.asm.commons;
|
||||
|
||||
import org.objectweb.asm.Type;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.Type;
|
||||
|
||||
/**
|
||||
* A named method descriptor.
|
||||
*
|
||||
|
|
|
@ -30,12 +30,7 @@
|
|||
|
||||
package org.objectweb.asm.commons;
|
||||
|
||||
import org.objectweb.asm.AnnotationVisitor;
|
||||
import org.objectweb.asm.ClassVisitor;
|
||||
import org.objectweb.asm.FieldVisitor;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.TypePath;
|
||||
import org.objectweb.asm.*;
|
||||
|
||||
/**
|
||||
* A {@link ClassVisitor} for type remapping.
|
||||
|
|
|
@ -30,12 +30,7 @@
|
|||
|
||||
package org.objectweb.asm.commons;
|
||||
|
||||
import org.objectweb.asm.AnnotationVisitor;
|
||||
import org.objectweb.asm.Handle;
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.TypePath;
|
||||
import org.objectweb.asm.*;
|
||||
|
||||
/**
|
||||
* A {@link LocalVariablesSorter} for type mapping.
|
||||
|
|
|
@ -29,6 +29,11 @@
|
|||
*/
|
||||
package org.objectweb.asm.commons;
|
||||
|
||||
import org.objectweb.asm.ClassVisitor;
|
||||
import org.objectweb.asm.FieldVisitor;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.DataOutput;
|
||||
import java.io.DataOutputStream;
|
||||
|
@ -38,11 +43,6 @@ import java.util.ArrayList;
|
|||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.objectweb.asm.ClassVisitor;
|
||||
import org.objectweb.asm.FieldVisitor;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
|
||||
/**
|
||||
* A {@link ClassVisitor} that adds a serial version unique identifier to a
|
||||
* class if missing. Here is typical usage of this class:
|
||||
|
|
|
@ -30,14 +30,14 @@
|
|||
|
||||
package org.objectweb.asm.commons;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.Comparator;
|
||||
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.tree.MethodNode;
|
||||
import org.objectweb.asm.tree.TryCatchBlockNode;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.Comparator;
|
||||
|
||||
/**
|
||||
* A {@link MethodVisitor} adapter to sort the exception handlers. The handlers
|
||||
* are sorted in a method innermost-to-outermost. This allows the programmer to
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
package org.objectweb.asm.commons.cfg;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.Stack;
|
||||
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.commons.cfg.query.InsnQuery;
|
||||
import org.objectweb.asm.commons.cfg.tree.NodeTree;
|
||||
|
@ -15,6 +9,8 @@ import org.objectweb.asm.tree.AbstractInsnNode;
|
|||
import org.objectweb.asm.tree.LabelNode;
|
||||
import org.objectweb.asm.tree.MethodNode;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* @author Tyler Sedlar
|
||||
*/
|
||||
|
|
|
@ -1,12 +1,6 @@
|
|||
package org.objectweb.asm.commons.cfg;
|
||||
|
||||
import org.objectweb.asm.AnnotationVisitor;
|
||||
import org.objectweb.asm.Attribute;
|
||||
import org.objectweb.asm.Handle;
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.TypePath;
|
||||
import org.objectweb.asm.*;
|
||||
|
||||
public class InsnVisitor extends MethodVisitor {
|
||||
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
package org.objectweb.asm.commons.cfg.graph;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.objectweb.asm.commons.cfg.Block;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* @author Tyler Sedlar
|
||||
*/
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
package org.objectweb.asm.commons.cfg.tree;
|
||||
|
||||
import static org.objectweb.asm.tree.AbstractInsnNode.LABEL;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import org.objectweb.asm.commons.cfg.Block;
|
||||
import org.objectweb.asm.commons.cfg.tree.node.AbstractNode;
|
||||
import org.objectweb.asm.tree.AbstractInsnNode;
|
||||
import org.objectweb.asm.tree.MethodNode;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import static org.objectweb.asm.tree.AbstractInsnNode.LABEL;
|
||||
|
||||
/**
|
||||
* @author Tyler Sedlar
|
||||
*/
|
||||
|
|
|
@ -1,36 +1,17 @@
|
|||
package org.objectweb.asm.commons.cfg.tree.node;
|
||||
|
||||
import static org.objectweb.asm.tree.AbstractInsnNode.FIELD_INSN;
|
||||
import static org.objectweb.asm.tree.AbstractInsnNode.FRAME;
|
||||
import static org.objectweb.asm.tree.AbstractInsnNode.IINC_INSN;
|
||||
import static org.objectweb.asm.tree.AbstractInsnNode.INSN;
|
||||
import static org.objectweb.asm.tree.AbstractInsnNode.INT_INSN;
|
||||
import static org.objectweb.asm.tree.AbstractInsnNode.JUMP_INSN;
|
||||
import static org.objectweb.asm.tree.AbstractInsnNode.LABEL;
|
||||
import static org.objectweb.asm.tree.AbstractInsnNode.LDC_INSN;
|
||||
import static org.objectweb.asm.tree.AbstractInsnNode.LINE;
|
||||
import static org.objectweb.asm.tree.AbstractInsnNode.LOOKUPSWITCH_INSN;
|
||||
import static org.objectweb.asm.tree.AbstractInsnNode.METHOD_INSN;
|
||||
import static org.objectweb.asm.tree.AbstractInsnNode.MULTIANEWARRAY_INSN;
|
||||
import static org.objectweb.asm.tree.AbstractInsnNode.TABLESWITCH_INSN;
|
||||
import static org.objectweb.asm.tree.AbstractInsnNode.TYPE_INSN;
|
||||
import static org.objectweb.asm.tree.AbstractInsnNode.VAR_INSN;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.commons.cfg.tree.NodeTree;
|
||||
import org.objectweb.asm.commons.cfg.tree.NodeVisitor;
|
||||
import org.objectweb.asm.commons.cfg.tree.Tree;
|
||||
import org.objectweb.asm.commons.util.Assembly;
|
||||
import org.objectweb.asm.tree.AbstractInsnNode;
|
||||
import org.objectweb.asm.tree.ClassNode;
|
||||
import org.objectweb.asm.tree.FieldInsnNode;
|
||||
import org.objectweb.asm.tree.LdcInsnNode;
|
||||
import org.objectweb.asm.tree.MethodInsnNode;
|
||||
import org.objectweb.asm.tree.MethodNode;
|
||||
import org.objectweb.asm.tree.*;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import static org.objectweb.asm.tree.AbstractInsnNode.*;
|
||||
|
||||
public class AbstractNode extends Tree<AbstractNode> implements Opcodes {
|
||||
|
||||
|
|
|
@ -1,39 +1,17 @@
|
|||
package org.objectweb.asm.commons.cfg.tree.util;
|
||||
|
||||
import static org.objectweb.asm.Opcodes.*;
|
||||
import org.objectweb.asm.Type;
|
||||
import org.objectweb.asm.commons.cfg.Block;
|
||||
import org.objectweb.asm.commons.cfg.tree.NodeTree;
|
||||
import org.objectweb.asm.commons.cfg.tree.node.*;
|
||||
import org.objectweb.asm.tree.*;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import static org.objectweb.asm.Opcodes.*;
|
||||
|
||||
//import org.nullbool.api.obfuscation.cfg.FlowBlock;
|
||||
import org.objectweb.asm.Type;
|
||||
import org.objectweb.asm.commons.cfg.Block;
|
||||
import org.objectweb.asm.commons.cfg.tree.NodeTree;
|
||||
import org.objectweb.asm.commons.cfg.tree.node.AbstractNode;
|
||||
import org.objectweb.asm.commons.cfg.tree.node.ArithmeticNode;
|
||||
import org.objectweb.asm.commons.cfg.tree.node.ConstantNode;
|
||||
import org.objectweb.asm.commons.cfg.tree.node.ConversionNode;
|
||||
import org.objectweb.asm.commons.cfg.tree.node.FieldMemberNode;
|
||||
import org.objectweb.asm.commons.cfg.tree.node.IincNode;
|
||||
import org.objectweb.asm.commons.cfg.tree.node.JumpNode;
|
||||
import org.objectweb.asm.commons.cfg.tree.node.MethodMemberNode;
|
||||
import org.objectweb.asm.commons.cfg.tree.node.NumberNode;
|
||||
import org.objectweb.asm.commons.cfg.tree.node.TypeNode;
|
||||
import org.objectweb.asm.commons.cfg.tree.node.VariableNode;
|
||||
import org.objectweb.asm.tree.AbstractInsnNode;
|
||||
import org.objectweb.asm.tree.FieldInsnNode;
|
||||
import org.objectweb.asm.tree.IincInsnNode;
|
||||
import org.objectweb.asm.tree.InsnNode;
|
||||
import org.objectweb.asm.tree.IntInsnNode;
|
||||
import org.objectweb.asm.tree.JumpInsnNode;
|
||||
import org.objectweb.asm.tree.LdcInsnNode;
|
||||
import org.objectweb.asm.tree.LookupSwitchInsnNode;
|
||||
import org.objectweb.asm.tree.MethodInsnNode;
|
||||
import org.objectweb.asm.tree.MethodNode;
|
||||
import org.objectweb.asm.tree.MultiANewArrayInsnNode;
|
||||
import org.objectweb.asm.tree.TableSwitchInsnNode;
|
||||
import org.objectweb.asm.tree.TypeInsnNode;
|
||||
import org.objectweb.asm.tree.VarInsnNode;
|
||||
|
||||
/**
|
||||
* @author Tyler Sedlar
|
||||
|
|
|
@ -1,30 +1,12 @@
|
|||
package org.objectweb.asm.commons.util;
|
||||
|
||||
import static org.objectweb.asm.tree.AbstractInsnNode.*;
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.tree.*;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.tree.AbstractInsnNode;
|
||||
import org.objectweb.asm.tree.ClassNode;
|
||||
import org.objectweb.asm.tree.FieldInsnNode;
|
||||
import org.objectweb.asm.tree.FieldNode;
|
||||
import org.objectweb.asm.tree.FrameNode;
|
||||
import org.objectweb.asm.tree.IincInsnNode;
|
||||
import org.objectweb.asm.tree.IntInsnNode;
|
||||
import org.objectweb.asm.tree.InvokeDynamicInsnNode;
|
||||
import org.objectweb.asm.tree.JumpInsnNode;
|
||||
import org.objectweb.asm.tree.LabelNode;
|
||||
import org.objectweb.asm.tree.LdcInsnNode;
|
||||
import org.objectweb.asm.tree.LineNumberNode;
|
||||
import org.objectweb.asm.tree.LookupSwitchInsnNode;
|
||||
import org.objectweb.asm.tree.MethodInsnNode;
|
||||
import org.objectweb.asm.tree.MethodNode;
|
||||
import org.objectweb.asm.tree.MultiANewArrayInsnNode;
|
||||
import org.objectweb.asm.tree.TableSwitchInsnNode;
|
||||
import org.objectweb.asm.tree.TypeInsnNode;
|
||||
import org.objectweb.asm.tree.VarInsnNode;
|
||||
import static org.objectweb.asm.tree.AbstractInsnNode.*;
|
||||
|
||||
/**
|
||||
* @author Tyler Sedlar
|
||||
|
|
|
@ -29,12 +29,12 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
|
||||
/**
|
||||
* A node that represents a bytecode instruction. <i>An instruction can appear
|
||||
* at most once in at most one {@link InsnList} at a time</i>.
|
||||
|
|
|
@ -29,12 +29,12 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.objectweb.asm.AnnotationVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* A node that represents an annotationn.
|
||||
*
|
||||
|
|
|
@ -29,19 +29,9 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import org.objectweb.asm.*;
|
||||
|
||||
import org.objectweb.asm.AnnotationVisitor;
|
||||
import org.objectweb.asm.Attribute;
|
||||
import org.objectweb.asm.ClassVisitor;
|
||||
import org.objectweb.asm.FieldVisitor;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.TypePath;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* A node that represents a class.
|
||||
|
|
|
@ -29,10 +29,10 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 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.
|
||||
|
|
|
@ -29,16 +29,11 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import org.objectweb.asm.*;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.objectweb.asm.AnnotationVisitor;
|
||||
import org.objectweb.asm.Attribute;
|
||||
import org.objectweb.asm.ClassVisitor;
|
||||
import org.objectweb.asm.FieldVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.TypePath;
|
||||
|
||||
/**
|
||||
* A node that represents a field.
|
||||
*
|
||||
|
|
|
@ -29,14 +29,14 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
|
||||
/**
|
||||
* A node that represents a stack map frame. These nodes are pseudo instruction
|
||||
* nodes in order to be inserted in an instruction list. In fact these nodes
|
||||
|
|
|
@ -29,11 +29,11 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* A node that represents an IINC instruction.
|
||||
*
|
||||
|
|
|
@ -29,11 +29,11 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
|
||||
import java.util.ListIterator;
|
||||
import java.util.NoSuchElementException;
|
||||
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
|
||||
/**
|
||||
* A doubly linked list of {@link AbstractInsnNode} objects. <i>This
|
||||
* implementation is not thread safe</i>.
|
||||
|
|
|
@ -29,10 +29,10 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* A node that represents a zero operand instruction.
|
||||
*
|
||||
|
|
|
@ -29,11 +29,11 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.util.Printer;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* A node that represents an instruction with a single int operand.
|
||||
*
|
||||
|
|
|
@ -29,12 +29,12 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.Handle;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* A node that represents an invokedynamic instruction.
|
||||
*
|
||||
|
|
|
@ -29,10 +29,10 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* A node that represents a jump instruction. A jump instruction is an
|
||||
* instruction that may jump to another instruction.
|
||||
|
|
|
@ -29,11 +29,11 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* An {@link AbstractInsnNode} that encapsulates a {@link Label}.
|
||||
*/
|
||||
|
|
|
@ -29,11 +29,11 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* A node that represents an LDC instruction.
|
||||
*
|
||||
|
|
|
@ -29,10 +29,10 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* A node that represents a line number declaration. These nodes are pseudo
|
||||
* instruction nodes in order to be inserted in an instruction list.
|
||||
|
|
|
@ -30,16 +30,12 @@
|
|||
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import org.objectweb.asm.*;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.TypePath;
|
||||
import org.objectweb.asm.TypeReference;
|
||||
|
||||
/**
|
||||
* A node that represents a type annotation on a local or resource variable.
|
||||
*
|
||||
|
|
|
@ -29,15 +29,15 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
|
||||
/**
|
||||
* A node that represents a LOOKUPSWITCH instruction.
|
||||
*
|
||||
|
|
|
@ -29,11 +29,11 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* A node that represents a method instruction. A method instruction is an
|
||||
* instruction that invokes a method.
|
||||
|
|
|
@ -29,21 +29,13 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import org.objectweb.asm.*;
|
||||
import org.objectweb.asm.commons.cfg.query.InsnQuery;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.objectweb.asm.AnnotationVisitor;
|
||||
import org.objectweb.asm.Attribute;
|
||||
import org.objectweb.asm.ClassVisitor;
|
||||
import org.objectweb.asm.Handle;
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.Type;
|
||||
import org.objectweb.asm.TypePath;
|
||||
import org.objectweb.asm.commons.cfg.query.InsnQuery;
|
||||
|
||||
/**
|
||||
* A node that represents a method.
|
||||
*
|
||||
|
|
|
@ -29,11 +29,11 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* A node that represents a MULTIANEWARRAY instruction.
|
||||
*
|
||||
|
|
|
@ -29,15 +29,15 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
|
||||
/**
|
||||
* A node that represents a TABLESWITCH instruction.
|
||||
*
|
||||
|
|
|
@ -29,10 +29,10 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* A node that represents a try catch block.
|
||||
*
|
||||
|
|
|
@ -29,10 +29,10 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* A node that represents a type instruction. A type instruction is an
|
||||
* instruction that takes a type descriptor as parameter.
|
||||
|
|
|
@ -29,10 +29,10 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* A node that represents a local variable instruction. A local variable
|
||||
* instruction is an instruction that loads or stores the value of a local
|
||||
|
|
|
@ -29,24 +29,15 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree.analysis;
|
||||
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.Type;
|
||||
import org.objectweb.asm.tree.*;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.Type;
|
||||
import org.objectweb.asm.tree.AbstractInsnNode;
|
||||
import org.objectweb.asm.tree.IincInsnNode;
|
||||
import org.objectweb.asm.tree.InsnList;
|
||||
import org.objectweb.asm.tree.JumpInsnNode;
|
||||
import org.objectweb.asm.tree.LabelNode;
|
||||
import org.objectweb.asm.tree.LookupSwitchInsnNode;
|
||||
import org.objectweb.asm.tree.MethodNode;
|
||||
import org.objectweb.asm.tree.TableSwitchInsnNode;
|
||||
import org.objectweb.asm.tree.TryCatchBlockNode;
|
||||
import org.objectweb.asm.tree.VarInsnNode;
|
||||
|
||||
/**
|
||||
* A semantic bytecode analyzer. <i>This class does not fully check that JSR and
|
||||
* RET instructions are valid.</i>
|
||||
|
|
|
@ -29,19 +29,12 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree.analysis;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.objectweb.asm.Handle;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.Type;
|
||||
import org.objectweb.asm.tree.AbstractInsnNode;
|
||||
import org.objectweb.asm.tree.FieldInsnNode;
|
||||
import org.objectweb.asm.tree.IntInsnNode;
|
||||
import org.objectweb.asm.tree.InvokeDynamicInsnNode;
|
||||
import org.objectweb.asm.tree.LdcInsnNode;
|
||||
import org.objectweb.asm.tree.MethodInsnNode;
|
||||
import org.objectweb.asm.tree.MultiANewArrayInsnNode;
|
||||
import org.objectweb.asm.tree.TypeInsnNode;
|
||||
import org.objectweb.asm.tree.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* An {@link Interpreter} for {@link BasicValue} values.
|
||||
|
|
|
@ -29,14 +29,14 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree.analysis;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.objectweb.asm.Type;
|
||||
import org.objectweb.asm.tree.AbstractInsnNode;
|
||||
import org.objectweb.asm.tree.FieldInsnNode;
|
||||
import org.objectweb.asm.tree.InvokeDynamicInsnNode;
|
||||
import org.objectweb.asm.tree.MethodInsnNode;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* An extended {@link BasicInterpreter} that checks that bytecode instructions
|
||||
* are correctly used.
|
||||
|
|
|
@ -29,17 +29,12 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree.analysis;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.Type;
|
||||
import org.objectweb.asm.tree.AbstractInsnNode;
|
||||
import org.objectweb.asm.tree.IincInsnNode;
|
||||
import org.objectweb.asm.tree.InvokeDynamicInsnNode;
|
||||
import org.objectweb.asm.tree.MethodInsnNode;
|
||||
import org.objectweb.asm.tree.MultiANewArrayInsnNode;
|
||||
import org.objectweb.asm.tree.VarInsnNode;
|
||||
import org.objectweb.asm.tree.*;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* A symbolic execution stack frame. A stack frame contains a set of local
|
||||
|
|
|
@ -29,11 +29,11 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree.analysis;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.objectweb.asm.Type;
|
||||
import org.objectweb.asm.tree.AbstractInsnNode;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* A semantic bytecode interpreter. More precisely, this interpreter only
|
||||
* manages the computation of values from other values: it does not manage the
|
||||
|
|
|
@ -29,10 +29,10 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree.analysis;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.objectweb.asm.Type;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* An extended {@link BasicVerifier} that performs more precise verifications.
|
||||
* This verifier computes exact class types, instead of using a single "object
|
||||
|
|
|
@ -29,11 +29,7 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree.analysis;
|
||||
|
||||
import java.util.AbstractSet;
|
||||
import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
import java.util.NoSuchElementException;
|
||||
import java.util.Set;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* A set of at most two elements.
|
||||
|
|
|
@ -29,18 +29,14 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree.analysis;
|
||||
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.Type;
|
||||
import org.objectweb.asm.tree.*;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.Type;
|
||||
import org.objectweb.asm.tree.AbstractInsnNode;
|
||||
import org.objectweb.asm.tree.FieldInsnNode;
|
||||
import org.objectweb.asm.tree.InvokeDynamicInsnNode;
|
||||
import org.objectweb.asm.tree.LdcInsnNode;
|
||||
import org.objectweb.asm.tree.MethodInsnNode;
|
||||
|
||||
/**
|
||||
* An {@link Interpreter} for {@link SourceValue} values.
|
||||
*
|
||||
|
|
|
@ -29,10 +29,10 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree.analysis;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
import org.objectweb.asm.tree.AbstractInsnNode;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* A {@link Value} that is represented by its type in a two types type system.
|
||||
* This type system distinguishes the ONEWORD and TWOWORDS types.
|
||||
|
|
|
@ -29,12 +29,12 @@
|
|||
*/
|
||||
package org.objectweb.asm.tree.analysis;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.objectweb.asm.tree.JumpInsnNode;
|
||||
import org.objectweb.asm.tree.LabelNode;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* A method subroutine (corresponds to a JSR instruction).
|
||||
*
|
||||
|
|
|
@ -29,10 +29,10 @@
|
|||
*/
|
||||
package org.objectweb.asm.util;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.Label;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* An {@link org.objectweb.asm.Attribute Attribute} that can print the ASM code
|
||||
* to create an equivalent attribute.
|
||||
|
|
|
@ -29,19 +29,13 @@
|
|||
*/
|
||||
package org.objectweb.asm.util;
|
||||
|
||||
import org.objectweb.asm.*;
|
||||
|
||||
import java.io.FileInputStream;
|
||||
import java.io.PrintWriter;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.Attribute;
|
||||
import org.objectweb.asm.ClassReader;
|
||||
import org.objectweb.asm.Handle;
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.Type;
|
||||
import org.objectweb.asm.TypePath;
|
||||
|
||||
/**
|
||||
* A {@link Printer} that prints the ASM code to generate the classes if visits.
|
||||
*
|
||||
|
|
|
@ -29,25 +29,7 @@
|
|||
*/
|
||||
package org.objectweb.asm.util;
|
||||
|
||||
import java.io.FileInputStream;
|
||||
import java.io.PrintWriter;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.objectweb.asm.AnnotationVisitor;
|
||||
import org.objectweb.asm.Attribute;
|
||||
import org.objectweb.asm.ClassReader;
|
||||
import org.objectweb.asm.ClassVisitor;
|
||||
import org.objectweb.asm.FieldVisitor;
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.Type;
|
||||
import org.objectweb.asm.TypePath;
|
||||
import org.objectweb.asm.TypeReference;
|
||||
import org.objectweb.asm.*;
|
||||
import org.objectweb.asm.tree.ClassNode;
|
||||
import org.objectweb.asm.tree.MethodNode;
|
||||
import org.objectweb.asm.tree.analysis.Analyzer;
|
||||
|
@ -55,6 +37,10 @@ import org.objectweb.asm.tree.analysis.BasicValue;
|
|||
import org.objectweb.asm.tree.analysis.Frame;
|
||||
import org.objectweb.asm.tree.analysis.SimpleVerifier;
|
||||
|
||||
import java.io.FileInputStream;
|
||||
import java.io.PrintWriter;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* A {@link ClassVisitor} that checks that its methods are properly used. More
|
||||
* precisely this class adapter checks each method call individually, based
|
||||
|
|
|
@ -29,12 +29,7 @@
|
|||
*/
|
||||
package org.objectweb.asm.util;
|
||||
|
||||
import org.objectweb.asm.AnnotationVisitor;
|
||||
import org.objectweb.asm.Attribute;
|
||||
import org.objectweb.asm.FieldVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.TypePath;
|
||||
import org.objectweb.asm.TypeReference;
|
||||
import org.objectweb.asm.*;
|
||||
|
||||
/**
|
||||
* A {@link FieldVisitor} that checks that its methods are properly used.
|
||||
|
|
|
@ -29,30 +29,17 @@
|
|||
*/
|
||||
package org.objectweb.asm.util;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
import java.io.StringWriter;
|
||||
import java.lang.reflect.Field;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.objectweb.asm.AnnotationVisitor;
|
||||
import org.objectweb.asm.Attribute;
|
||||
import org.objectweb.asm.Handle;
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.Type;
|
||||
import org.objectweb.asm.TypePath;
|
||||
import org.objectweb.asm.TypeReference;
|
||||
import org.objectweb.asm.*;
|
||||
import org.objectweb.asm.tree.MethodNode;
|
||||
import org.objectweb.asm.tree.analysis.Analyzer;
|
||||
import org.objectweb.asm.tree.analysis.BasicValue;
|
||||
import org.objectweb.asm.tree.analysis.BasicVerifier;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
import java.io.StringWriter;
|
||||
import java.lang.reflect.Field;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* A {@link MethodVisitor} that checks that its methods are properly used. More
|
||||
* precisely this method adapter checks each instruction individually, i.e.,
|
||||
|
|
|
@ -29,16 +29,12 @@
|
|||
*/
|
||||
package org.objectweb.asm.util;
|
||||
|
||||
import org.objectweb.asm.*;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.objectweb.asm.Attribute;
|
||||
import org.objectweb.asm.Handle;
|
||||
import org.objectweb.asm.Label;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.TypePath;
|
||||
|
||||
/**
|
||||
* An abstract converter from visit events to text.
|
||||
*
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue