code: public boolean inConstructor(Environment env)
  	{
  		PDefinition encl = env.getEnclosingDefinition();
  	
  		if (encl != null)
  		{
  			return isConstructor(encl);
  		}
  		
  		return false;
  	}
docs: Test whether the calling environment indicates that we are within a constructor.