List of usage examples for org.eclipse.jdt.core.compiler IProblem Javadoc
int Javadoc
To view the source code for org.eclipse.jdt.core.compiler IProblem Javadoc.
Click Source Link
From source file:astview.ProblemNode.java
License:Open Source License
private String getErrorLabel() { int id = fProblem.getID(); StringBuffer buf = new StringBuffer(); if ((id & IProblem.TypeRelated) != 0) { buf.append("TypeRelated + "); //$NON-NLS-1$ }/*from w w w . ja v a 2 s . c o m*/ if ((id & IProblem.FieldRelated) != 0) { buf.append("FieldRelated + "); //$NON-NLS-1$ } if ((id & IProblem.ConstructorRelated) != 0) { buf.append("ConstructorRelated + "); //$NON-NLS-1$ } if ((id & IProblem.MethodRelated) != 0) { buf.append("MethodRelated + "); //$NON-NLS-1$ } if ((id & IProblem.ImportRelated) != 0) { buf.append("ImportRelated + "); //$NON-NLS-1$ } if ((id & IProblem.Internal) != 0) { buf.append("Internal + "); //$NON-NLS-1$ } if ((id & IProblem.Syntax) != 0) { buf.append("Syntax + "); //$NON-NLS-1$ } if ((id & IProblem.Javadoc) != 0) { buf.append("Javadoc + "); //$NON-NLS-1$ } buf.append(id & IProblem.IgnoreCategoriesMask); buf.append(" = 0x").append(Integer.toHexString(id)).append(" = ").append(id); return buf.toString(); }
From source file:fromastview.ProblemNode.java
License:Open Source License
private String getErrorLabel() { int id = fProblem.getID(); StringBuffer buf = new StringBuffer(); if ((id & IProblem.TypeRelated) != 0) { buf.append("TypeRelated + "); }//from ww w . j a v a 2s . c om if ((id & IProblem.FieldRelated) != 0) { buf.append("FieldRelated + "); } if ((id & IProblem.ConstructorRelated) != 0) { buf.append("ConstructorRelated + "); } if ((id & IProblem.MethodRelated) != 0) { buf.append("MethodRelated + "); } if ((id & IProblem.ImportRelated) != 0) { buf.append("ImportRelated + "); } if ((id & IProblem.Internal) != 0) { buf.append("Internal + "); } if ((id & IProblem.Syntax) != 0) { buf.append("Syntax + "); } if ((id & IProblem.Javadoc) != 0) { buf.append("Javadoc + "); } buf.append(id & IProblem.IgnoreCategoriesMask); buf.append(" = 0x").append(Integer.toHexString(id)).append(" = ").append(id); return buf.toString(); }