src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Annotate.java
changeset 59285 7799a51dbe30
parent 58906 d58a21542c04
equal deleted inserted replaced
59284:88502b1cf76f 59285:7799a51dbe30
  1120                 deferPos = prevPos;
  1120                 deferPos = prevPos;
  1121             }
  1121             }
  1122         }
  1122         }
  1123 
  1123 
  1124         @Override
  1124         @Override
       
  1125         public void visitBindingPattern(JCTree.JCBindingPattern tree) {
       
  1126             //type binding pattern's type will be annotated separatelly, avoid
       
  1127             //adding its annotations into the owning method here (would clash
       
  1128             //with repeatable annotations).
       
  1129         }
       
  1130 
       
  1131         @Override
  1125         public void visitClassDef(JCClassDecl tree) {
  1132         public void visitClassDef(JCClassDecl tree) {
  1126             // We can only hit a classdef if it is declared within
  1133             // We can only hit a classdef if it is declared within
  1127             // a method. Ignore it - the class will be visited
  1134             // a method. Ignore it - the class will be visited
  1128             // separately later.
  1135             // separately later.
  1129         }
  1136         }