langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeMaker.java
changeset 33706 0d21ecb55e6a
parent 30404 952a476681b2
child 33707 d74fef6b01e0
equal deleted inserted replaced
33705:96aa1b93de52 33706:0d21ecb55e6a
   624 
   624 
   625     /** Create a tree representing `this', given its type.
   625     /** Create a tree representing `this', given its type.
   626      */
   626      */
   627     public JCExpression This(Type t) {
   627     public JCExpression This(Type t) {
   628         return Ident(new VarSymbol(FINAL, names._this, t, t.tsym));
   628         return Ident(new VarSymbol(FINAL, names._this, t, t.tsym));
       
   629     }
       
   630 
       
   631     /** Create a tree representing qualified `this' given its type
       
   632      */
       
   633     public JCExpression QualThis(Type t) {
       
   634         return Select(Type(t), new VarSymbol(FINAL, names._this, t, t.tsym));
   629     }
   635     }
   630 
   636 
   631     /** Create a tree representing a class literal.
   637     /** Create a tree representing a class literal.
   632      */
   638      */
   633     public JCExpression ClassLiteral(ClassSymbol clazz) {
   639     public JCExpression ClassLiteral(ClassSymbol clazz) {