1 16 package com.google.gwt.dev.jjs.ast; 17 18 21 public class JClassLiteral extends JLiteral { 22 23 private final JType refType; 24 25 28 JClassLiteral(JProgram program, JType type) { 29 super(program); 30 refType = type; 31 } 32 33 public JType getRefType() { 34 return refType; 35 } 36 37 public JType getType() { 38 return program.getTypeJavaLangClass(); 39 } 40 41 public void traverse(JVisitor visitor, Context ctx) { 42 if (visitor.visit(this, ctx)) { 43 } 44 visitor.endVisit(this, ctx); 45 } 46 } 47 | Popular Tags |