implementation classes implement JetObject; initial implementation of getTypeInfo() method and typeof operator

This commit is contained in:
Dmitry Jemerov
2011-05-13 13:42:17 +02:00
parent 7d96459357
commit 1966d6d12c
11 changed files with 140 additions and 20 deletions
+6 -1
View File
@@ -8,7 +8,12 @@ import jet.JetObject;
public class TypeInfo<T> implements JetObject {
private TypeInfo<?> typeInfo;
private final TypeInfo<?> typeArgument;
private TypeInfo<?> typeArgument;
private Class<T> theClass;
public TypeInfo(Class<T> theClass) {
this.theClass = theClass;
}
private TypeInfo(TypeInfo<?> typeArgument) {
this.typeArgument = typeArgument;