public ProblemLocation(int offset, int length, IJavaAnnotation annotation) { super(offset, length, annotation.getId(), annotation.getArguments() != null ? annotation.getArguments() : new String[0], JavaMarkerAnnotation.ERROR_ANNOTATION_TYPE.equals(annotation.getType()), annotation.getMarkerType() != null ? annotation.getMarkerType() : IJavaModelMarker.JAVA_MODEL_PROBLEM_MARKER); }
public ProblemLocation(int offset, int length, IJavaAnnotation annotation) { fId= annotation.getId(); fArguments= annotation.getArguments(); fOffset= offset; fLength= length; fIsError= JavaMarkerAnnotation.ERROR_ANNOTATION_TYPE.equals(annotation.getType()); String markerType= annotation.getMarkerType(); fMarkerType= markerType != null ? markerType : IJavaModelMarker.JAVA_MODEL_PROBLEM_MARKER; }
public ProblemLocation(int offset, int length, IJavaAnnotation annotation) { fId= annotation.getId(); String[] arguments= annotation.getArguments(); fArguments= arguments != null ? arguments : new String[0]; fOffset= offset; fLength= length; fIsError= JavaMarkerAnnotation.ERROR_ANNOTATION_TYPE.equals(annotation.getType()); String markerType= annotation.getMarkerType(); fMarkerType= markerType != null ? markerType : IJavaModelMarker.JAVA_MODEL_PROBLEM_MARKER; }