mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Remove dumb comments containing only @author annotation
This commit is contained in:
parent
b477a7dcad
commit
cdec4560ba
|
@ -17,10 +17,6 @@ package org.teavm.classlib.impl;
|
|||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public final class Base64 {
|
||||
private static char[] alphabet = new char[64];
|
||||
private static int[] reverse = new int[256];
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.impl;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class CharFlow {
|
||||
public final char[] characters;
|
||||
public int pointer;
|
||||
|
|
|
@ -21,10 +21,6 @@ import org.teavm.model.ClassReader;
|
|||
import org.teavm.model.MethodReference;
|
||||
import org.teavm.platform.metadata.*;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class DeclaringClassMetadataGenerator implements ClassScopedMetadataGenerator {
|
||||
@Override
|
||||
public Map<String, Resource> generateMetadata(MetadataGeneratorContext context, MethodReference method) {
|
||||
|
|
|
@ -18,10 +18,6 @@ package org.teavm.classlib.impl;
|
|||
import java.util.Map;
|
||||
import org.teavm.classlib.impl.unicode.CLDRReader;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class FirstDayOfWeekMetadataGenerator extends WeekMetadataGenerator {
|
||||
@Override
|
||||
protected Map<String, Integer> getWeekData(CLDRReader reader) {
|
||||
|
|
|
@ -18,10 +18,6 @@ package org.teavm.classlib.impl;
|
|||
import java.util.Map;
|
||||
import org.teavm.classlib.impl.unicode.CLDRReader;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class MinimalDaysInFirstWeekMetadataGenerator extends WeekMetadataGenerator {
|
||||
@Override
|
||||
protected Map<String, Integer> getWeekData(CLDRReader reader) {
|
||||
|
|
|
@ -39,10 +39,6 @@ import org.teavm.model.MethodDescriptor;
|
|||
import org.teavm.model.MethodReference;
|
||||
import org.teavm.model.ValueType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class ServiceLoaderSupport extends AbstractDependencyListener implements Generator {
|
||||
private Set<String> achievedClasses = new HashSet<>();
|
||||
private Map<String, List<String>> serviceMap = new HashMap<>();
|
||||
|
|
|
@ -20,10 +20,6 @@ import org.teavm.classlib.impl.unicode.CLDRReader;
|
|||
import org.teavm.model.MethodReference;
|
||||
import org.teavm.platform.metadata.*;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public abstract class WeekMetadataGenerator implements MetadataGenerator {
|
||||
@Override
|
||||
public Resource generateMetadata(MetadataGeneratorContext context, MethodReference method) {
|
||||
|
|
|
@ -20,10 +20,6 @@ import org.teavm.platform.metadata.ResourceArray;
|
|||
import org.teavm.platform.metadata.ResourceMap;
|
||||
import org.teavm.platform.metadata.StringResource;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public final class CurrencyHelper {
|
||||
private CurrencyHelper() {
|
||||
}
|
||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.impl.currency;
|
|||
|
||||
import org.teavm.platform.metadata.Resource;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface CurrencyResource extends Resource {
|
||||
String getCode();
|
||||
|
||||
|
|
|
@ -18,10 +18,6 @@ package org.teavm.classlib.impl.report;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class JCLClass {
|
||||
public final String name;
|
||||
public JCLStatus status;
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.impl.report;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
enum JCLClassType {
|
||||
CLASS,
|
||||
INTERFACE,
|
||||
|
|
|
@ -26,10 +26,6 @@ import org.objectweb.asm.ClassReader;
|
|||
import org.objectweb.asm.Type;
|
||||
import org.teavm.parsing.ClasspathClassHolderSource;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class JCLComparisonBuilder {
|
||||
private static final String JAR_PREFIX = "jar:file:";
|
||||
private static final String JAR_SUFFIX = "!/java/lang/Object.class";
|
||||
|
|
|
@ -20,10 +20,6 @@ import org.objectweb.asm.*;
|
|||
import org.teavm.model.*;
|
||||
import org.teavm.model.ClassReader;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class JCLComparisonVisitor extends ClassVisitor {
|
||||
private Map<String, JCLPackage> packageMap;
|
||||
private ClassReaderSource classSource;
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.impl.report;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class JCLItem {
|
||||
public final JCLItemType type;
|
||||
public final String name;
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.impl.report;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
enum JCLItemType {
|
||||
FIELD,
|
||||
METHOD
|
||||
|
|
|
@ -18,10 +18,6 @@ package org.teavm.classlib.impl.report;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class JCLPackage {
|
||||
public final String name;
|
||||
public JCLStatus status;
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.impl.report;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
enum JCLStatus {
|
||||
FOUND,
|
||||
MISSING,
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.impl.report;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
enum JCLVisibility {
|
||||
PUBLIC,
|
||||
PROTECTED
|
||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.impl.tz;
|
|||
|
||||
import org.teavm.classlib.impl.Base46;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class AliasDateTimeZone extends StorableDateTimeZone {
|
||||
private DateTimeZone innerZone;
|
||||
|
||||
|
|
|
@ -20,10 +20,6 @@ import org.teavm.classlib.impl.CharFlow;
|
|||
import org.teavm.classlib.impl.tz.DateTimeZoneBuilder.DSTZone;
|
||||
import org.teavm.classlib.impl.tz.DateTimeZoneBuilder.PrecalculatedZone;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public abstract class StorableDateTimeZone extends DateTimeZone {
|
||||
public static final int PRECALCULATED = 0;
|
||||
public static final int FIXED = 1;
|
||||
|
|
|
@ -20,10 +20,6 @@ import java.util.*;
|
|||
import org.teavm.classlib.impl.Base46;
|
||||
import org.teavm.classlib.impl.CharFlow;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TimeZoneCache {
|
||||
public void write(OutputStream output, Collection<StorableDateTimeZone> timeZones) throws IOException {
|
||||
BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(output, "UTF-8"));
|
||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.impl.tz;
|
|||
|
||||
import org.teavm.platform.metadata.Resource;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface TimeZoneResource extends Resource {
|
||||
String getData();
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.impl.unicode;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class CLDRCurrency {
|
||||
String symbol;
|
||||
String name;
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.impl.unicode;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class CLDRDateFormats {
|
||||
private String shortFormat;
|
||||
private String mediumFormat;
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.impl.unicode;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class CLDRDecimalData {
|
||||
int groupingSeparator;
|
||||
int decimalSeparator;
|
||||
|
|
|
@ -19,10 +19,6 @@ import org.teavm.classlib.impl.FirstDayOfWeekMetadataGenerator;
|
|||
import org.teavm.classlib.impl.MinimalDaysInFirstWeekMetadataGenerator;
|
||||
import org.teavm.platform.metadata.*;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public final class CLDRHelper {
|
||||
private CLDRHelper() {
|
||||
}
|
||||
|
|
|
@ -20,10 +20,6 @@ import java.util.Collections;
|
|||
import java.util.LinkedHashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class CLDRLocale {
|
||||
final Map<String, String> languages = new LinkedHashMap<>();
|
||||
final Map<String, String> territories = new LinkedHashMap<>();
|
||||
|
|
|
@ -21,10 +21,6 @@ import org.teavm.classlib.java.lang.TString;
|
|||
import org.teavm.classlib.java.lang.TStringBuilder;
|
||||
import org.teavm.classlib.java.util.TArrays;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TBufferedReader extends TReader {
|
||||
private TReader innerReader;
|
||||
private char[] buffer;
|
||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.io;
|
|||
|
||||
import org.teavm.classlib.java.lang.TMath;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TByteArrayInputStream extends TInputStream {
|
||||
protected byte[] buf;
|
||||
protected int pos;
|
||||
|
|
|
@ -19,10 +19,6 @@ import org.teavm.classlib.java.lang.TMath;
|
|||
import org.teavm.classlib.java.lang.TString;
|
||||
import org.teavm.classlib.java.util.TArrays;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TByteArrayOutputStream extends TOutputStream {
|
||||
protected byte[] buf;
|
||||
protected int count;
|
||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.io;
|
|||
|
||||
import org.teavm.classlib.java.lang.TAutoCloseable;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface TCloseable extends TAutoCloseable {
|
||||
@Override
|
||||
void close() throws TIOException;
|
||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.io;
|
|||
|
||||
import org.teavm.classlib.java.lang.TString;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface TDataInput {
|
||||
void readFully(byte[] b) throws TIOException;
|
||||
|
||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.io;
|
|||
|
||||
import org.teavm.classlib.java.lang.*;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TDataInputStream extends TFilterInputStream implements TDataInput {
|
||||
byte[] buff;
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@ package org.teavm.classlib.java.io;
|
|||
|
||||
import org.teavm.classlib.java.lang.TString;
|
||||
|
||||
|
||||
public interface TDataOutput {
|
||||
void write(int b) throws TIOException;
|
||||
|
||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.io;
|
|||
|
||||
import org.teavm.classlib.java.lang.TString;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TEOFException extends TIOException {
|
||||
private static final long serialVersionUID = 3045477060413545010L;
|
||||
|
||||
|
|
|
@ -15,9 +15,5 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.io;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface TExternalizable {
|
||||
}
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.io;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TFilterOutputStream extends TOutputStream {
|
||||
protected TOutputStream out;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.io;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface TFlushable {
|
||||
void flush() throws TIOException;
|
||||
}
|
||||
|
|
|
@ -19,10 +19,6 @@ import org.teavm.classlib.java.lang.TException;
|
|||
import org.teavm.classlib.java.lang.TString;
|
||||
import org.teavm.classlib.java.lang.TThrowable;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TIOException extends TException {
|
||||
private static final long serialVersionUID = 3626109154700059455L;
|
||||
|
||||
|
|
|
@ -18,10 +18,6 @@ package org.teavm.classlib.java.io;
|
|||
import org.teavm.classlib.java.lang.TInteger;
|
||||
import org.teavm.classlib.java.lang.TObject;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public abstract class TInputStream extends TObject implements TCloseable {
|
||||
public TInputStream() {
|
||||
}
|
||||
|
|
|
@ -24,10 +24,6 @@ import org.teavm.classlib.java.nio.charset.TCodingErrorAction;
|
|||
import org.teavm.classlib.java.nio.charset.TUnsupportedCharsetException;
|
||||
import org.teavm.classlib.java.nio.charset.impl.TUTF8Charset;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TInputStreamReader extends TReader {
|
||||
private TInputStream stream;
|
||||
private TCharsetDecoder decoder;
|
||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.io;
|
|||
|
||||
import org.teavm.classlib.java.lang.TObject;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public abstract class TOutputStream extends TObject implements TCloseable, TFlushable {
|
||||
public abstract void write(int b) throws TIOException;
|
||||
|
||||
|
|
|
@ -24,10 +24,6 @@ import org.teavm.classlib.java.nio.TCharBuffer;
|
|||
import org.teavm.classlib.java.nio.charset.*;
|
||||
import org.teavm.classlib.java.nio.charset.impl.TUTF8Charset;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TPrintStream extends TFilterOutputStream {
|
||||
private boolean autoFlush;
|
||||
private boolean errorState;
|
||||
|
|
|
@ -18,10 +18,6 @@ package org.teavm.classlib.java.io;
|
|||
import org.teavm.classlib.java.lang.TArrayIndexOutOfBoundsException;
|
||||
import org.teavm.classlib.java.lang.TString;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TPushbackInputStream extends TFilterInputStream {
|
||||
protected byte[] buf;
|
||||
protected int pos;
|
||||
|
|
|
@ -18,10 +18,6 @@ package org.teavm.classlib.java.io;
|
|||
import org.teavm.classlib.java.lang.TMath;
|
||||
import org.teavm.classlib.java.lang.TObject;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public abstract class TReader implements TCloseable {
|
||||
protected TObject lock;
|
||||
|
||||
|
|
|
@ -15,9 +15,5 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.io;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface TSerializable {
|
||||
}
|
||||
|
|
|
@ -20,10 +20,6 @@ import org.teavm.classlib.java.lang.TMath;
|
|||
import org.teavm.classlib.java.lang.TNullPointerException;
|
||||
import org.teavm.classlib.java.lang.TString;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TStringReader extends TReader {
|
||||
private TString string;
|
||||
private int index;
|
||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.io;
|
|||
|
||||
import org.teavm.classlib.java.lang.TString;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TUTFDataFormatException extends TIOException {
|
||||
private static final long serialVersionUID = -6383472574962319733L;
|
||||
|
||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.io;
|
|||
|
||||
import org.teavm.classlib.java.lang.TString;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TUnsupportedEncodingException extends TIOException {
|
||||
private static final long serialVersionUID = 2403781130729330252L;
|
||||
|
||||
|
|
|
@ -23,10 +23,6 @@ import org.teavm.platform.metadata.MetadataGeneratorContext;
|
|||
import org.teavm.platform.metadata.Resource;
|
||||
import org.teavm.platform.metadata.StringResource;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class CharacterMetadataGenerator implements MetadataGenerator {
|
||||
@Override
|
||||
public Resource generateMetadata(MetadataGeneratorContext context, MethodReference method) {
|
||||
|
|
|
@ -21,10 +21,6 @@ import org.teavm.backend.javascript.spi.Generator;
|
|||
import org.teavm.backend.javascript.spi.GeneratorContext;
|
||||
import org.teavm.model.MethodReference;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class MathNativeGenerator implements Generator {
|
||||
@Override
|
||||
public void generate(GeneratorContext context, SourceWriter writer, MethodReference methodRef) throws IOException {
|
||||
|
|
|
@ -18,10 +18,6 @@ package org.teavm.classlib.java.lang;
|
|||
import org.teavm.classlib.java.io.TSerializable;
|
||||
import org.teavm.classlib.java.util.TArrays;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TAbstractStringBuilder extends TObject implements TSerializable, TCharSequence {
|
||||
private static final float[] powersOfTen = { 1E1f, 1E2f, 1E4f, 1E8f, 1E16f, 1E32f };
|
||||
private static final double[] doublePowersOfTen = { 1E1, 1E2, 1E4, 1E8, 1E16, 1E32, 1E64, 1E128, 1E256 };
|
||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
import org.teavm.classlib.java.io.TIOException;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface TAppendable {
|
||||
TAppendable append(TCharSequence csq) throws TIOException;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TArithmeticException extends TRuntimeException {
|
||||
private static final long serialVersionUID = 8084592456171302650L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TArrayIndexOutOfBoundsException extends TIndexOutOfBoundsException {
|
||||
private static final long serialVersionUID = 5221353436321708950L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TArrayStoreException extends TRuntimeException {
|
||||
private static final long serialVersionUID = 3911921304974631232L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TAssertionError extends TError {
|
||||
private static final long serialVersionUID = -4113942229209340013L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface TAutoCloseable {
|
||||
void close() throws TException;
|
||||
}
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface TCharSequence {
|
||||
int length();
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TClassCastException extends TRuntimeException {
|
||||
private static final long serialVersionUID = 5744987817019231273L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TClassNotFoundException extends TReflectiveOperationException {
|
||||
private static final long serialVersionUID = -1162632869775788325L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TCloneNotSupportedException extends TException {
|
||||
private static final long serialVersionUID = 4908200987785128012L;
|
||||
|
||||
|
|
|
@ -15,9 +15,5 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface TCloneable {
|
||||
}
|
||||
|
|
|
@ -19,10 +19,6 @@ import org.teavm.classlib.java.io.TEOFException;
|
|||
import org.teavm.classlib.java.io.TIOException;
|
||||
import org.teavm.classlib.java.io.TInputStream;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TConsoleInputStream extends TInputStream {
|
||||
@Override
|
||||
public int read(byte[] b) throws TIOException {
|
||||
|
|
|
@ -21,10 +21,6 @@ import org.teavm.interop.DelegateTo;
|
|||
import org.teavm.interop.Import;
|
||||
import org.teavm.platform.Platform;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TConsoleOutputStreamStderr extends TOutputStream {
|
||||
@Override
|
||||
@DelegateTo("writeLowLevel")
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TError extends TThrowable {
|
||||
private static final long serialVersionUID = 3256540693876647405L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TException extends TThrowable {
|
||||
private static final long serialVersionUID = -2188339106250208952L;
|
||||
|
||||
|
|
|
@ -21,10 +21,6 @@ import java.lang.annotation.Retention;
|
|||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.TYPE)
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TIllegalAccessException extends ReflectiveOperationException {
|
||||
private static final long serialVersionUID = 8240407889170934565L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TIllegalArgumentException extends TRuntimeException {
|
||||
private static final long serialVersionUID = -1225768288500984373L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TIllegalMonitorStateException extends TRuntimeException {
|
||||
private static final long serialVersionUID = 7694307746228488658L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TIllegalStateException extends TException {
|
||||
private static final long serialVersionUID = 218741044430713159L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TIncompatibleClassChangeError extends TLinkageError {
|
||||
private static final long serialVersionUID = 366119408566298082L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TIndexOutOfBoundsException extends TRuntimeException {
|
||||
private static final long serialVersionUID = -7329782331640782287L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TInheritableThreadLocal<T> extends TThreadLocal<T> {
|
||||
protected T childValue(T parentValue) {
|
||||
return parentValue;
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TInstantiationException extends ReflectiveOperationException {
|
||||
private static final long serialVersionUID = 8771605296206833516L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TInterruptedException extends Exception {
|
||||
private static final long serialVersionUID = -7832805114281254695L;
|
||||
}
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TLinkageError extends TError {
|
||||
private static final long serialVersionUID = 9176544705010852435L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TNegativeArraySizeException extends TRuntimeException {
|
||||
private static final long serialVersionUID = 4838944281468611671L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TNoClassDefFoundError extends TLinkageError {
|
||||
private static final long serialVersionUID = -7662272618403764942L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TNoSuchFieldError extends TIncompatibleClassChangeError {
|
||||
private static final long serialVersionUID = 7907885242472547035L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TNoSuchMethodError extends TIncompatibleClassChangeError {
|
||||
private static final long serialVersionUID = 7907885242472547035L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TNullPointerException extends TRuntimeException {
|
||||
private static final long serialVersionUID = 2639861320773057190L;
|
||||
|
||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
import org.teavm.classlib.java.io.TSerializable;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public abstract class TNumber extends TObject implements TSerializable {
|
||||
public abstract int intValue();
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TNumberFormatException extends TIllegalArgumentException {
|
||||
private static final long serialVersionUID = 6872736757931546482L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TOutOfMemoryError extends TVirtualMachineError {
|
||||
private static final long serialVersionUID = -1891949851728458692L;
|
||||
|
||||
|
|
|
@ -18,10 +18,6 @@ package org.teavm.classlib.java.lang;
|
|||
import org.teavm.classlib.java.io.TIOException;
|
||||
import org.teavm.classlib.java.nio.TCharBuffer;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface TReadable {
|
||||
int read(TCharBuffer cb) throws TIOException;
|
||||
}
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TReflectiveOperationException extends TException {
|
||||
private static final long serialVersionUID = -455785869284249992L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface TRunnable {
|
||||
void run();
|
||||
}
|
||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
import org.teavm.interop.Superclass;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
@Superclass("java.lang.Exception")
|
||||
public class TRuntimeException extends TException {
|
||||
private static final long serialVersionUID = 3506083061304642891L;
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TSecurityException extends TRuntimeException {
|
||||
private static final long serialVersionUID = 720572643357872552L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public final class TStrictMath extends TObject {
|
||||
public static final double E = 2.71828182845904523536;
|
||||
public static final double PI = 3.14159265358979323846;
|
||||
|
|
|
@ -27,10 +27,6 @@ import org.teavm.classlib.java.util.THashMap;
|
|||
import org.teavm.classlib.java.util.TMap;
|
||||
import org.teavm.classlib.java.util.regex.TPattern;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TString extends TObject implements TSerializable, TComparable<TString>, TCharSequence {
|
||||
public static final TComparator<TString> CASE_INSENSITIVE_ORDER = (o1, o2) -> o1.compareToIgnoreCase(o2);
|
||||
private char[] characters;
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TStringBuffer extends TAbstractStringBuilder implements TAppendable {
|
||||
public TStringBuffer(int capacity) {
|
||||
super(capacity);
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TStringBuilder extends TAbstractStringBuilder implements TAppendable {
|
||||
public TStringBuilder(int capacity) {
|
||||
super(capacity);
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TStringIndexOutOfBoundsException extends TIndexOutOfBoundsException {
|
||||
private static final long serialVersionUID = 6706349858694463085L;
|
||||
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TSystemClassLoader extends TClassLoader {
|
||||
TSystemClassLoader() {
|
||||
}
|
||||
|
|
|
@ -20,10 +20,6 @@ import org.teavm.platform.Platform;
|
|||
import org.teavm.platform.PlatformRunnable;
|
||||
import org.teavm.platform.async.AsyncCallback;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TThread extends TObject implements TRunnable {
|
||||
private static TThread mainThread = new TThread(TString.wrap("main"));
|
||||
private static TThread currentThread = mainThread;
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface TThreadInterruptHandler {
|
||||
void interrupted();
|
||||
}
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
*/
|
||||
package org.teavm.classlib.java.lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TUnsupportedOperationException extends TRuntimeException {
|
||||
private static final long serialVersionUID = 3820374864664609707L;
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user