Examples of ProblemData


Examples of org.erlide.engine.model.builder.ProblemData

              final String tag = ((OtpErlangAtom) _elementAt).atomValue();
              OtpErlangObject _elementAt_1 = item.elementAt(1);
              String _stringValue = ((OtpErlangString) _elementAt_1).stringValue();
              final String message = _stringValue.replaceAll("\\\\n", "\n");
              final int myarity = ErlProblems.arity(message);
              final ProblemData problemData = new ProblemData(tag, message, myarity);
              this.data.add(problemData);
              String _tag = problemData.getTag();
              boolean _containsKey = this.tagMap.containsKey(_tag);
              if (_containsKey) {
                String _tag_1 = problemData.getTag();
                String _plus = ("duplicate problem tags are not allowed: \'" + _tag_1);
                String _plus_1 = (_plus + "\'");
                throw new IllegalStateException(_plus_1);
              }
              String _tag_2 = problemData.getTag();
              this.tagMap.put(_tag_2, problemData);
            }
          }
        } catch (final Throwable _t) {
          if (_t instanceof Exception) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.