Kind kind = getKind(); if ( (kind == MethodExecution)  || (kind == ConstructorExecution) || (kind == AdviceExecution) || (kind == StaticInitialization) || (kind == PreInitialization) || (kind == Initialization)) { if (getEnclosingMethod().hasDeclaredLineNumberInfo()) { return getEnclosingMethod().getDeclarationLineNumber(); } }
    public int getSourceLine() {    	if (range == null) {    		if (getEnclosingMethod().hasBody()) {    			return Utility.getSourceLine(getEnclosingMethod().getBody().getStart());    		} else {    			return 0;    		}    	}    	int ret = Utility.getSourceLine(range.getStart());    	if (ret < 0) return 0;    	return ret;    }