new FieldUnit(getSignature("length"), clazz);
TypeDeclaration typeDecl= new TypeDeclaration(new ObjectType(clazz.getName()), 0, new HashMap<String, String>());//revisar annotations
typeDecl.setSuperType(Type.OBJECT);
typeDecl.visit(DragomeJsCompiler.compiler.generator);
}
else
{
TypeResolver resolver= new TypeResolver(this, DragomeJsCompiler.compiler.generator);
visitSuperTypes(clazz, resolver);