| Package | Description |
|---|---|
| org.teavm.codegen | |
| org.teavm.dependency | |
| org.teavm.diagnostics | |
| org.teavm.javascript | |
| org.teavm.javascript.ast | |
| org.teavm.javascript.spi | |
| org.teavm.model |
Represents a class model that is alternative to
java.lang.reflection package. |
| org.teavm.model.emit | |
| org.teavm.model.instructions | |
| org.teavm.model.util | |
| org.teavm.parsing |
| Modifier and Type | Method and Description |
|---|---|
SourceWriter |
SourceWriter.appendMethod(String name,
ValueType... params) |
SourceWriter |
SourceWriter.appendMethodBody(String className,
String name,
ValueType... params) |
| Modifier and Type | Method and Description |
|---|---|
void |
DataFlowGraphBuilder.cast(VariableReader receiver,
VariableReader value,
ValueType targetType) |
void |
DataFlowGraphBuilder.classConstant(VariableReader receiver,
ValueType cst) |
void |
DataFlowGraphBuilder.createArray(VariableReader receiver,
ValueType itemType,
List<? extends VariableReader> dimensions) |
void |
DataFlowGraphBuilder.createArray(VariableReader receiver,
ValueType itemType,
VariableReader size) |
void |
DataFlowGraphBuilder.getField(VariableReader receiver,
VariableReader instance,
FieldReference field,
ValueType fieldType) |
void |
DataFlowGraphBuilder.isInstance(VariableReader receiver,
VariableReader value,
ValueType type) |
void |
DataFlowGraphBuilder.putField(VariableReader instance,
FieldReference field,
VariableReader value,
ValueType fieldType) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProblemTextConsumer.appendType(ValueType type) |
void |
DefaultProblemTextConsumer.appendType(ValueType type) |
| Modifier and Type | Method and Description |
|---|---|
static String |
Renderer.typeToClsString(NamingStrategy naming,
ValueType type) |
| Modifier and Type | Method and Description |
|---|---|
ValueType |
FieldNode.getType() |
ValueType |
StaticClassExpr.getType() |
ValueType |
NewArrayExpr.getType() |
ValueType |
NewMultiArrayExpr.getType() |
ValueType |
InstanceOfExpr.getType() |
| Modifier and Type | Method and Description |
|---|---|
static Expr |
Expr.createArray(ValueType type,
Expr... dimensions) |
static Expr |
Expr.createArray(ValueType type,
Expr length) |
static Expr |
Expr.instanceOf(Expr target,
ValueType className) |
void |
StaticClassExpr.setType(ValueType type) |
void |
NewArrayExpr.setType(ValueType type) |
void |
NewMultiArrayExpr.setType(ValueType type) |
void |
InstanceOfExpr.setType(ValueType type) |
static Expr |
Expr.staticClass(ValueType type) |
| Constructor and Description |
|---|
FieldNode(String name,
ValueType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
InjectorContext.writeType(ValueType type) |
| Modifier and Type | Class and Description |
|---|---|
static class |
ValueType.Array |
static class |
ValueType.Null |
static class |
ValueType.Object |
static class |
ValueType.Primitive |
static class |
ValueType.Void |
| Modifier and Type | Method and Description |
|---|---|
static ValueType |
ValueType.arrayOf(ValueType type) |
ValueType |
ValueType.Array.getItemType() |
ValueType |
AnnotationValue.getJavaClass() |
ValueType[] |
MethodHolder.getParameterTypes() |
ValueType[] |
MethodReference.getParameterTypes() |
ValueType[] |
MethodReader.getParameterTypes() |
ValueType[] |
MethodDescriptor.getParameterTypes() |
ValueType |
MethodHolder.getResultType() |
ValueType |
MethodReader.getResultType() |
ValueType |
MethodDescriptor.getResultType() |
ValueType |
MethodReference.getReturnType() |
ValueType[] |
MethodHolder.getSignature() |
ValueType[] |
MethodReference.getSignature() |
ValueType[] |
MethodReader.getSignature() |
ValueType[] |
MethodDescriptor.getSignature() |
ValueType |
FieldReader.getType() |
ValueType |
FieldHolder.getType() |
static ValueType |
ValueType.object(String cls) |
ValueType |
MethodHolder.parameterType(int index) |
ValueType |
MethodReference.parameterType(int index) |
ValueType |
MethodReader.parameterType(int index) |
ValueType |
MethodDescriptor.parameterType(int index) |
static ValueType |
ValueType.parse(Class<?> cls) |
static ValueType |
ValueType.parse(String string) |
static ValueType[] |
ValueType.parseMany(String text) |
static ValueType[] |
MethodDescriptor.parseSignature(String text) |
static ValueType |
ValueType.primitive(PrimitiveType type) |
| Modifier and Type | Method and Description |
|---|---|
static ValueType |
ValueType.arrayOf(ValueType type) |
boolean |
ValueType.isSubtypeOf(ValueType supertype) |
static String |
ValueType.manyToString(ValueType[] types) |
void |
FieldHolder.setType(ValueType type) |
| Constructor and Description |
|---|
AnnotationValue(ValueType value) |
Array(ValueType itemType) |
MethodDescriptor(String name,
ValueType... signature) |
MethodHolder(String name,
ValueType... signature) |
MethodReference(String className,
String name,
ValueType... signature)
Creates a new reference to a method.
|
| Modifier and Type | Method and Description |
|---|---|
ValueEmitter |
ValueEmitter.cast(ValueType type) |
ValueEmitter |
ProgramEmitter.constant(ValueType value) |
ValueEmitter |
ProgramEmitter.constructArray(ValueType type,
int size) |
ValueEmitter |
ProgramEmitter.constructArray(ValueType type,
ValueEmitter size) |
ValueEmitter |
ProgramEmitter.getField(FieldReference field,
ValueType type) |
ValueEmitter |
ValueEmitter.getField(FieldReference field,
ValueType type) |
ValueEmitter |
ValueEmitter.instanceOf(ValueType type) |
ProgramEmitter |
ProgramEmitter.setField(FieldReference field,
ValueType type,
ValueEmitter value) |
void |
ValueEmitter.setField(FieldReference field,
ValueType type,
ValueEmitter value) |
| Modifier and Type | Method and Description |
|---|---|
ValueType |
ClassConstantInstruction.getConstant() |
ValueType |
GetFieldInstruction.getFieldType() |
ValueType |
PutFieldInstruction.getFieldType() |
ValueType |
ConstructArrayInstruction.getItemType() |
ValueType |
ConstructMultiArrayInstruction.getItemType() |
ValueType |
CastInstruction.getTargetType() |
ValueType |
IsInstanceInstruction.getType() |
| Modifier and Type | Method and Description |
|---|---|
void |
InstructionReader.cast(VariableReader receiver,
VariableReader value,
ValueType targetType) |
void |
InstructionReader.classConstant(VariableReader receiver,
ValueType cst) |
void |
InstructionReader.createArray(VariableReader receiver,
ValueType itemType,
List<? extends VariableReader> dimensions) |
void |
InstructionReader.createArray(VariableReader receiver,
ValueType itemType,
VariableReader size) |
void |
InstructionReader.getField(VariableReader receiver,
VariableReader instance,
FieldReference field,
ValueType fieldType) |
void |
InstructionReader.isInstance(VariableReader receiver,
VariableReader value,
ValueType type) |
void |
InstructionReader.putField(VariableReader instance,
FieldReference field,
VariableReader value,
ValueType fieldType) |
void |
ClassConstantInstruction.setConstant(ValueType constant) |
void |
GetFieldInstruction.setFieldType(ValueType fieldType) |
void |
PutFieldInstruction.setFieldType(ValueType fieldType) |
void |
ConstructArrayInstruction.setItemType(ValueType itemType) |
void |
ConstructMultiArrayInstruction.setItemType(ValueType itemType) |
void |
CastInstruction.setTargetType(ValueType targetType) |
void |
IsInstanceInstruction.setType(ValueType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
InstructionStringifier.cast(VariableReader receiver,
VariableReader value,
ValueType targetType) |
void |
InstructionStringifier.classConstant(VariableReader receiver,
ValueType cst) |
void |
InstructionStringifier.createArray(VariableReader receiver,
ValueType itemType,
List<? extends VariableReader> dimensions) |
void |
InstructionStringifier.createArray(VariableReader receiver,
ValueType itemType,
VariableReader size) |
void |
InstructionStringifier.getField(VariableReader receiver,
VariableReader instance,
FieldReference field,
ValueType fieldType) |
void |
InstructionStringifier.isInstance(VariableReader receiver,
VariableReader value,
ValueType type) |
void |
InstructionStringifier.putField(VariableReader instance,
FieldReference field,
VariableReader value,
ValueType fieldType) |
| Modifier and Type | Method and Description |
|---|---|
void |
SSATransformer.transformToSSA(Program program,
VariableDebugInformation variableDebugInfo,
ValueType[] arguments) |
Copyright © 2015. All rights reserved.