Commits

Jan Lahoda committed f5e257d

Cannot use SourceUtils as that would force loading of parsing.api.

  • Participants
  • Parent commits e1ba027

Comments (0)

Files changed (1)

remoting/server/web/resolve.web.api/src/org/netbeans/modules/jackpot30/resolve/api/JavaUtils.java

 import java.util.Set;
 import javax.lang.model.element.ElementKind;
 import org.netbeans.api.java.source.ElementHandle;
-import org.netbeans.api.java.source.SourceUtils;
+import org.netbeans.modules.java.source.ElementHandleAccessor;
 
 /**
  *
 
         result.append(h.getKind());
 
-        String[] signatures = SourceUtils.getJVMSignature(h);
+        //was:
+//        String[] signatures = SourceUtils.getJVMSignature(h);
+        //but that was forcing loading of UserTask from parsing.api
+        String[] signatures = ElementHandleAccessor.getInstance().getJVMSignature(h);
 
         for (String sig : signatures) {
             result.append(":");